@font-face {
  font-family: "Fira Sans";
  src: url("fonts/FiraSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/FiraSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary: #ecf0f1;
  --secondary: #e74c3c;
  --accent: #ccc;
  --bg: #121212;
  --card-bg: #1e1e1e;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fira Sans", sans-serif;
}

body {
  line-height: 1.6;
  color: var(--primary);
  background: var(--bg);
}

header {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  padding: 4rem 2rem;
  text-align: center;
  color: #ecf0f1;
  position: relative;
  overflow: hidden;
}

header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #bbb;
  font-weight: 400;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Optional: leichte dekorative Linien oder Muster */
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -50px;
  width: 150%;
  height: 60%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 70%
  );
  transform: rotate(-25deg);
  pointer-events: none;
}

nav {
  background: #1b1b1b;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.purchase-btn:hover {
  background-color: #e68a00;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.story-text blockquote {
  border-left: 0px solid #6d4aff;
  padding-left: 16px;
  margin: 20px 0;
  font-style: italic;
  color: #999;
}


section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-align: center;
  font-weight: 700;
}

.intro {
  max-width: 800px;
  text-align: justify;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: #ccc;
}

.intro img {
  display: block;
  margin: 1.5rem auto;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #333;
  box-shadow: var(--shadow);
}

.story-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.story-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.story-card .date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.story-card img {
  width: 100%;
  max-width: 100%;
  height: auto;          /* statt 250px → passt sich an */
  object-fit: contain;   /* statt cover → kein Abschneiden */
  border-radius: 6px;
  margin-bottom: 1rem;
  display: block;        /* zentriert zuverlässiger */
  margin-left: auto;
  margin-right: auto;
}

.toggle-btn {
  background: #e0e0e0; /* helles, neutrales Grau */
  border: none;
  font-size: 1.2rem; /* kleiner und dezenter */
  width: 2rem;       /* schmaler */
  height: 2rem;
  cursor: pointer;
  color: #555;       /* dunkelgraue Schrift für besseren Kontrast */
  font-weight: 500;
  border-radius: 4px; /* leicht abgerundet statt komplett rund */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: 0.5rem;
}

.toggle-btn:hover {
  background: #bdbdbd; /* etwas dunkleres Grau beim Hover */
  transform: scale(1.05); /* subtilerer Zoom-Effekt */
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 0.5rem 0.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ddd;
}

.toggle-content p {
  margin-bottom: 0.8rem;
  text-align: justify;
}

.story-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.story-flex img {
  width: 200px; /* Portraitformat */
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.story-text {
  flex: 1;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: justify;
}

.story-text p {
  margin-bottom: 0.8rem;
  text-align: justify;
}

.toggle-content.active {
  max-height: 100%;
}

a { color: #ecf0f1; }

footer {
  background: #1b1b1b;
  color: #ccc;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  font-weight: 400;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;

}

   ------------------------------------------------- */


.fixed-top-btn:hover {
    background-color: #003774;     /* dunklere Variante */
    opacity: 1;
}

.fixed-top-btn:active {
    transform: translateY(1px);
}

#topRightBtn {
  position: fixed !important;
  bottom: 1rem !important;
  right: 1rem !important;
  z-index: 2000 !important;
  background-color: #0057b7 !important;
  color: white !important;
  border: none !important;
  padding: 10px 20px !important;
  font-size: 20px !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transition: background-color 0.3s, opacity 0.2s, transform 0.1s;
  display: none;
}

@media (max-width: 768px) {

  .fixed-top-btn {
    padding: 0.6rem 1rem; /* etwas größer */
    font-size: 1.2rem;     /* etwas größerer Text */
    bottom: 1rem;         /* bleibt gleich */
    right: 1rem;          /* bleibt gleich */
  }
  .story-flex {
    flex-direction: column;  /* stapeln statt nebeneinander */
    align-items: center;     /* zentriert */
  }

  .story-flex img {
    width: 100%;             /* volle Breite, aber nicht mehr */
    max-width: 300px;        /* sinnvolles Maximum */
    height: auto;
  }
  header h1 {
    font-size: 2rem;
  }
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  section {
    padding: 2rem 1rem;
  }
  .story-card img {
    height: auto;          /* statt 150px */
    object-fit: contain;
  }
  .intro {
    text-align: left;
  }
  .toggle-content p {
    text-align: left;
  }
  .story-text p {
    text-align: left;
  }

  .intro img {
    width: 100%;
  }
  nav {
    display: none;
  }
}
