:root {
      --bg-main: #fffefc;
      --bg-soft-yellow: #fff7b8;
      --bg-card: #fffef8;
      --border-yellow: #ffe066;
      --accent-pink: #00376c;
      --text-main: #3a3a3a;
      --text-soft: #666;
      --text-nav: #5a5a5a;
      --text-footer: #3a4a3a;
      --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
      --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.10);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.7;
    }

header {
  background-color: white;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.logo {
  margin-left: -25px;
}


.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: var(--text-nav);
  font-weight: 600;
  font-size: 0.97rem;
}

nav a:hover,
nav a.active {
  color: var(--accent-pink);
}

@media (max-width: 800px) {
  header {
    padding: 16px 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .logo img {
    height: 45px !important;
  }
}

nav ul {
  list-style: none;

  display: flex;
  flex-direction: row;

  align-items: center;
  gap: 34px;

  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  z-index: 999;
}

nav ul li:hover > ul {
  display: block;
}

.dropdown-inner {
  background-color: white;
  padding: 8px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  min-width: 190px;
  border: 1px solid var(--border-yellow);
}

nav ul li ul li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-nav);
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

nav ul li ul li a:hover {
  background-color: var(--bg-soft-yellow);
  color: var(--accent-pink);
}

nav a {
  text-decoration: none;
  color: var(--text-nav);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.25s ease;
}

nav > ul > li > a {
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--accent-pink);
}

nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: var(--border-yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav > ul > li > a:hover::after,
nav > ul > li > a.active::after {
  transform: scaleX(1);
}


    .hero {
      position: relative;
      background-image: url("images/wallpaper_frau.jpg");
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      min-height: 720px;
      display: flex;
      align-items: center;
      padding: 90px 60px;
      overflow: hidden;
    }

   .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 254, 248, 0.82) 0%,
    rgba(255, 254, 248, 0.55) 34%,
    rgba(255, 254, 248, 0.18) 62%,
    rgba(255, 254, 248, 0.02) 100%
  );
  z-index: 1;
  pointer-events: none;
}

    .hero::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -75px;
      transform: translateX(-50%);
      width: 120%;
      height: 145px;
      background: var(--bg-main);
      border-radius: 50% 50% 0 0;
      z-index: 2;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 560px;
      text-align: left;
      background: rgba(255, 254, 248, 0.78);
      border: 2px solid rgba(255, 224, 102, 0.80);
      border-radius: 26px;
      padding: 34px 36px;
      box-shadow: 0 18px 42px rgba(0, 55, 108, 0.14);
      backdrop-filter: blur(4px);
    }

    .hero-eyebrow {
      display: inline-block;
      margin-bottom: 12px;
      padding: 7px 15px;
      border-radius: 999px;
      background-color: var(--bg-soft-yellow);
      border: 1.5px solid var(--border-yellow);
      color: var(--accent-pink);
      font-weight: 700;
      font-size: 0.88rem;
    }

    .hero-content h1 {
      color: var(--accent-pink);
      font-size: clamp(2rem, 4vw, 3.25rem);
      line-height: 1.08;
      margin-bottom: 16px;
      letter-spacing: -0.03em;
    }

    .hero-content p {
      color: #4f4f4f;
      font-size: 1.08rem;
      line-height: 1.65;
      margin-bottom: 0;
      max-width: 500px;
    }

    .hero-buttons {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 13px;
      flex-wrap: wrap;
    }

    .hero-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 46px;
      padding: 12px 24px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 800;
      font-size: 0.98rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    }

    .hero-btn.primary {
      background-color: var(--accent-pink);
      color: white;
      box-shadow: 0 8px 22px rgba(0, 55, 108, 0.24);
    }

    .hero-btn.secondary {
      background-color: var(--bg-soft-yellow);
      color: var(--accent-pink);
      border: 2px solid var(--accent-pink);
      box-shadow: 0 6px 18px rgba(255, 224, 102, 0.26);
    }

    .hero-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(0, 55, 108, 0.24);
    }

    .quick-links {
      max-width: 1100px;
      margin: 48px auto 10px auto;
      padding: 0 20px;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
    }

    .quick-links a {
      text-decoration: none;
      background-color: white;
      border: 2px solid var(--border-yellow);
      color: var(--text-main);
      padding: 11px 22px;
      border-radius: 999px;
      box-shadow: var(--shadow-soft);
      font-weight: 600;
      font-size: 0.95rem;
      transition: 0.2s ease;
    }

    .quick-links a:hover {
      color: var(--accent-pink);
      border-color: var(--accent-pink);
      transform: translateY(-2px);
    }

    .section-intro {
      max-width: 820px;
      margin: 70px auto 40px auto;
      padding: 0 20px;
      text-align: center;
    }

    .section-intro h2,
    .stories-heading h2,
    .interactive-box h2,
    .facts-section h2,
    .audio-moment-box h2,
    .licht-teaser-text h2 {
      font-size: 2rem;
      margin-bottom: 16px;
      color: var(--accent-pink);
    }

    .section-intro p,
    .stories-heading p,
    .interactive-box p.intro-text {
      font-size: 1.05rem;
      color: var(--text-soft);
    }

    .audio-moment-section,
    .licht-teaser,
    .interactive-section {
      max-width: 1100px;
      margin: 0 auto 80px auto;
      padding: 0 20px;
    }

    .audio-moment-box,
    .interactive-box {
      background: linear-gradient(135deg, #edf5ff 0%, #fffdf2 55%, #fff6be 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 28px;
      padding: 42px 30px;
      box-shadow: var(--shadow-soft);
      text-align: center;
    }

    .interactive-box {
      padding: 54px 44px 50px 44px;
    }

    .audio-moment-box p {
      max-width: 760px;
      margin: 0 auto 26px auto;
      color: var(--text-soft);
      font-size: 1.05rem;
    }

    .audio-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 14px 0 26px 0;
      min-height: 140px;
    }

    .breathing-circle {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: radial-gradient(circle at center, rgba(255,255,255,0.95) 0%, rgba(255, 224, 102, 0.65) 55%, rgba(0,55,108,0.10) 100%);
      box-shadow: 0 0 0 14px rgba(255, 224, 102, 0.16), 0 0 35px rgba(0,55,108,0.08);
    }

    .breathing-circle.playing {
      animation: breathe 4.8s ease-in-out infinite;
    }

    @keyframes breathe {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.28); }
    }

    .audio-controls,
    .interactive-buttons {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .interactive-buttons {
      gap: 16px;
      margin: 30px auto 34px auto;
      max-width: 920px;
    }

    .audio-btn,
    .interactive-buttons button {
      border: none;
      padding: 13px 24px;
      border-radius: 999px;
      font-weight: bold;
      font-size: 0.98rem;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .audio-btn.primary,
    .interactive-buttons button.active,
    .interactive-buttons button:hover {
      background-color: var(--accent-pink);
      color: white;
      border-color: var(--accent-pink);
    }

    .audio-btn.secondary,
    .interactive-buttons button {
      background-color: white;
      color: var(--accent-pink);
      border: 2px solid var(--accent-pink);
    }

    .audio-progress-wrap {
      max-width: 620px;
      margin: 0 auto 12px auto;
    }

    .audio-progress-bar {
      width: 100%;
      height: 12px;
      background: rgba(255,255,255,0.78);
      border: 2px solid var(--border-yellow);
      border-radius: 999px;
      overflow: hidden;
      cursor: pointer;
    }

    .audio-progress {
      width: 0%;
      height: 100%;
      background: linear-gradient(90deg, #ffd43b 0%, #00376c 100%);
      border-radius: 999px;
    }

    .audio-time {
      display: flex;
      justify-content: space-between;
      max-width: 620px;
      margin: 0 auto;
      font-size: 0.92rem;
      color: var(--text-soft);
    }

    .audio-caption {
      margin-top: 18px;
      color: var(--text-soft);
      font-size: 0.98rem;
    }

    .licht-teaser-inner {
      background: linear-gradient(135deg, #e8f0f8 0%, #fff9df 55%, #fff7b8 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 28px;
      padding: 50px 45px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
      box-shadow: var(--shadow-soft);
    }

    .licht-teaser-text p {
      color: var(--text-soft);
      font-size: 1.05rem;
      margin-bottom: 14px;
    }

    .licht-teaser-text a {
      display: inline-block;
      margin-top: 8px;
      padding: 13px 28px;
      background-color: var(--accent-pink);
      color: white;
      text-decoration: none;
      border-radius: 999px;
      font-weight: bold;
    }

    .licht-teaser-visual {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .licht-step {
      background-color: white;
      border: 1.5px solid #ffe066;
      border-radius: 16px;
      padding: 16px 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }

    .licht-step strong {
      display: block;
      color: var(--accent-pink);
      font-size: 0.95rem;
      margin-bottom: 4px;
    }

    .licht-step span {
      color: var(--text-soft);
      font-size: 0.9rem;
    }

    .stories-section {
      max-width: 1320px;
      margin: 0 auto 90px auto;
      padding: 0 20px;
    }

    .stories-heading {
      text-align: center;
      margin-bottom: 34px;
    }

    .stories-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
      align-items: flex-start;
    }

    .steckbrief {
      flex: 0 1 calc((100% - 48px) / 3);
      min-width: 280px;
      background: linear-gradient(135deg, #eaf3ff 0%, #fffef8 55%, #fff7cf 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 24px;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      position: relative;
      transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .steckbrief:hover {
      box-shadow: var(--shadow-strong);
      border-color: #ffd43b;
      z-index: 3;
    }

    .steckbrief summary {
      list-style: none;
      cursor: pointer;
      padding: 18px 18px 84px 18px;
      position: relative;
    }

    .steckbrief summary::after {
      content: 'Aufklappen  +';
      position: absolute;
      left: 18px;
      bottom: 26px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 7px 15px;
      border-radius: 999px;
      background-color: var(--accent-pink);
      color: white;
      font-size: 0.86rem;
      font-weight: 800;
      letter-spacing: 0.01em;
      box-shadow: 0 6px 16px rgba(0,55,108,0.20);
      transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .steckbrief:hover summary::after {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0,55,108,0.26);
    }

    .steckbrief[open] summary::after {
      content: 'Schließen  −';
      background-color: #ffe066;
      color: var(--accent-pink);
      border: 2px solid var(--accent-pink);
    }

    .steckbrief[open] .story-image {
      transform: scale(1.03);
    }

    .steckbrief summary::-webkit-details-marker {
      display: none;
    }

    .story-image {
      width: 100%;
      object-fit: cover;
      object-position: center 42%;
      border-radius: 18px;
      margin-bottom: 16px;
      display: block;
      border: none;
      background: #fff;
      transition: transform 0.35s ease;
    }

    .user-story .story-image,
    .user-story-image {
      object-fit: contain;
      object-position: center center;
      background: linear-gradient(135deg, #fffdf7 0%, #eef6ff 55%, #fff6d8 100%);
      padding: 8px;
      border: 1px solid rgba(0, 55, 108, 0.10);
    }

    .user-story.img-h-sm .story-image,
    .user-story.img-h-md .story-image,
    .user-story.img-h-lg .story-image {
      height: 270px;
    }

    .steckbrief:hover .story-image {
      transform: scale(1.03);
    }

    .user-story:hover .story-image,
    .user-story[open] .story-image {
      transform: none;
    }

    .img-h-sm .story-image { height: 220px; }
    .img-h-md .story-image { height: 270px; }
    .img-h-lg .story-image { height: 340px; }

    .steckbrief h3 {
      margin-bottom: 8px;
      color: var(--accent-pink);
      font-size: 1.15rem;
    }

    .quote {
      color: var(--text-soft);
      font-size: 0.97rem;
      line-height: 1.55;
      font-style: italic;
    }

    .story-content {
      padding: 0 18px 18px 18px;
      border-top: 2px solid var(--border-yellow);
      margin-top: 8px;
      background: rgba(255,255,255,0.78);
    }

    .story-content p {
      color: var(--text-soft);
      margin: 14px 0;
      font-size: 0.97rem;
    }

    .more-link {
      display: inline-block;
      padding: 9px 18px;
      background-color: var(--accent-pink);
      color: white;
      text-decoration: none;
      border-radius: 999px;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .steckbrief.wide,
    .steckbrief.tall {
      flex-basis: calc((100% - 48px) / 3);
    }
    .steckbrief.rotate-left { --base-rotation: -0.45deg; }
    .steckbrief.rotate-right { --base-rotation: 0.45deg; }
    .steckbrief:not(.rotate-left):not(.rotate-right) { --base-rotation: 0deg; }

    .steckbrief.soft-blue {
      background: linear-gradient(135deg, #e6f1ff 0%, #f7fbff 45%, #fff7c8 100%);
    }

    .steckbrief.soft-yellow {
      background: linear-gradient(135deg, #edf5ff 0%, #fff9e8 55%, #fff2a8 100%);
    }

    .steckbrief.soft-cream {
      background: linear-gradient(135deg, #edf4ff 0%, #fffdf4 58%, #ffeeb0 100%);
    }

    .interactive-panels {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .interactive-panel {
      background-color: rgba(255, 255, 255, 0.92);
      border: 2px solid var(--border-yellow);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
      display: none;
      text-align: left;
    }

    .interactive-panel.open {
      display: block;
    }

    .interactive-panel-inner {
      padding: 36px 40px 32px 40px;
    }

    .panel-extra {
      padding: 26px 40px 30px 40px;
    }

    .interactive-panel h3,
    .panel-extra strong {
      color: var(--accent-pink);
      margin-bottom: 18px;
      font-size: 1.25rem;
    }

    .interactive-panel p,
    .interactive-panel ul,
    .panel-extra span {
      color: var(--text-soft);
      line-height: 1.8;
    }

    .interactive-panel ul {
      padding-left: 26px;
      margin-top: 18px;
    }

    .interactive-panel li {
      margin-bottom: 12px;
    }

    .panel-extra {
      background: rgba(255, 255, 255, 0.95);
      border-top: 1px solid var(--border-yellow);
      margin-top: 4px;
    }

    .facts-section {
      max-width: 1200px;
      margin: 0 auto 100px auto;
      padding: 0 20px;
    }

    .facts-section h2 {
      text-align: center;
      margin-bottom: 32px;
    }

    .facts-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .fact-card {
      background: linear-gradient(135deg, #edf5ff 0%, #fffdf4 58%, #fff3b8 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 20px;
      padding: 28px 24px;
      box-shadow: var(--shadow-soft);
    }

    .fact-card h3 {
      color: var(--accent-pink);
      margin-bottom: 12px;
      font-size: 1.1rem;
    }

    .fact-card p {
      color: var(--text-soft);
      font-size: 0.98rem;
    }

    footer {
      background-color: var(--bg-soft-yellow);
      color: var(--text-footer);
      padding: 55px 20px 32px 20px;
      margin-top: 40px;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }

    .footer-column h3 {
      color: var(--accent-pink);
      margin-bottom: 14px;
      font-size: 1.05rem;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
      color: var(--text-footer);
      font-size: 0.97rem;
      line-height: 1.75;
      text-decoration: none;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 30px auto 0 auto;
      padding-top: 20px;
      border-top: 1px solid rgba(0,55,108, 0.15);
      text-align: center;
      font-size: 0.93rem;
    }

    @media (max-width: 1100px) {
      .steckbrief,
      .steckbrief.wide,
      .steckbrief.tall {
        flex-basis: calc((100% - 24px) / 2);
      }
    }

    @media (max-width: 1000px) {
      .facts-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .licht-teaser-inner {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 800px) {
      header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
      }

      .hero {
        min-height: 520px;
      }


      .facts-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 600px) {
     .logo img {
  height: 14px;
}

      .hero {
        min-height: 520px;
        background-position: center center;
        padding: 50px 20px;
        align-items: flex-end;
      }

      .hero-content {
        padding: 26px 22px;
        border-radius: 22px;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: stretch;
      }

      .hero-btn {
        width: 100%;
      }

      .steckbrief,
      .steckbrief.wide,
      .steckbrief.tall {
        flex-basis: 100%;
        min-width: 0;
      }

      .img-h-sm .story-image,
      .img-h-md .story-image,
      .img-h-lg .story-image,
      .user-story.img-h-sm .story-image,
      .user-story.img-h-md .story-image,
      .user-story.img-h-lg .story-image {
        height: 230px;
      }
    }

/* Einheitliche Textgrößen – Abschlusskorrektur */
body { font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
nav a { font-size: 0.97rem; }
.hero p, .intro p, .section-intro p, .trauertext p, .memory-card p, .story-card p { font-size: 1.05rem; line-height: 1.75; }
section h2, .section-title, .intro h2 { font-size: clamp(1.75rem, 2.6vw, 2.15rem); line-height: 1.25; }
.card h3, .memory-card h3, .story-card h3 { font-size: 1.22rem; line-height: 1.3; }
button, .btn, .btn-primary, .btn-secondary, input, textarea, select { font-size: 1rem; }
.footer-column p, .footer-column li, .footer-column a { font-size: 0.97rem; line-height: 1.75; }



.footer-phone {
  color: var(--text-footer);
  cursor: default;
  text-decoration: none;
}
