:root {
      --bg-main: #fffefc;
      --bg-soft-yellow: #fff7b8;
      --bg-card: #fffef8;
      --border-yellow: #ffe066;
      --accent-pink: #00376c;
      --brown-dark: #5a3b25;
      --brown-mid: #9b6b43;
      --brown-soft: #ead7bd;
      --cream: #fff4df;
      --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;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    }

.logo {
  margin-left: -25px;
  flex-shrink: 0;
}

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

.logo img {
  height: 35px !important;
  max-height: 35px !important;
  width: auto !important;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

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

    nav ul li {
      position: relative;
    }

  nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 18px;
  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;
      min-height: 680px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      padding: 90px 60px;
      overflow: hidden;
      background-image: url("images/header-ueber-uns.jpg");
      background-size: cover;
  background-position: 58% 18%;
      background-repeat: no-repeat;
    }

    .hero::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 52%;
      height: 100%;
      background: linear-gradient(
        90deg,
        rgba(255, 254, 248, 0.92) 0%,
        rgba(255, 254, 248, 0.82) 58%,
        rgba(255, 254, 248, 0.00) 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;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 430px;
      margin-left: 0;
      text-align: left;
      background: rgba(255, 254, 248, 0.90);
      border: 2px solid rgba(255, 224, 102, 0.82);
      border-radius: 24px;
      padding: 28px 30px;
      box-shadow: 0 18px 42px rgba(0, 55, 108, 0.12);
      backdrop-filter: none;
    }

    .hero-kicker {
      display: inline-block;
      margin-bottom: 14px;
      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 h1 {
      font-size: clamp(2rem, 3.2vw, 2.8rem);
      line-height: 1.08;
    }

    .hero p {
      font-size: 1rem;
      line-height: 1.6;
    }

    .hero-note {
      margin-top: 24px;
      display: flex;
      justify-content: flex-start;
      gap: 12px;
      flex-wrap: wrap;
    }

    .hero-note span {
      background: white;
      color: var(--accent-pink);
      border: 1.5px solid var(--border-yellow);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 0.9rem;
      font-weight: 700;
      box-shadow: 0 6px 16px rgba(0, 55, 108, 0.08);
    }

    .section-wrapper {
      max-width: 1100px;
      margin: 70px auto;
      padding: 0 20px;
    }

    .section-title {
      text-align: center;
      color: var(--accent-pink);
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .section-subtitle {
      text-align: center;
      color: var(--text-soft);
      font-size: 1.05rem;
      max-width: 750px;
      margin: 0 auto 50px auto;
    }

    .mission-banner {
      background: white;
      border: 2px solid var(--border-yellow);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      padding: 44px 48px;
      margin-bottom: 60px;
      display: flex;
      gap: 40px;
      align-items: center;
    }

    .mission-text h2 {
      color: var(--accent-pink);
      font-size: 1.6rem;
      margin-bottom: 14px;
    }

    .mission-text p {
      color: var(--text-soft);
      font-size: 1.02rem;
      line-height: 1.75;
    }

    .mission-text p + p {
      margin-top: 12px;
    }

    .timeline-section {
      background: linear-gradient(135deg, #edf5ff 0%, #fffdf4 58%, #fff3b8 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 24px;
      box-shadow: var(--shadow-soft);
      padding: 46px 48px;
      margin-bottom: 70px;
      position: relative;
      overflow: hidden;
    }

    .timeline-section::before {
      content: "";
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: rgba(0, 55, 108, 0.08);
      top: -90px;
      right: -70px;
    }

    .timeline-section h2 {
      color: var(--accent-pink);
      font-size: 1.8rem;
      text-align: center;
      margin-bottom: 10px;
      position: relative;
      z-index: 2;
    }

    .timeline-section > p {
      text-align: center;
      color: var(--text-soft);
      max-width: 720px;
      margin: 0 auto 36px auto;
      position: relative;
      z-index: 2;
    }

    .timeline-tabs {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 34px;
      position: relative;
      z-index: 2;
    }

    .timeline-tabs button {
      border: 2px solid var(--accent-pink);
      background: white;
      color: var(--accent-pink);
      border-radius: 999px;
      padding: 12px 18px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }

    .timeline-tabs button:hover,
    .timeline-tabs button.active {
      background: var(--accent-pink);
      border-color: var(--accent-pink);
      color: white;
      transform: translateY(-2px);
    }

    .timeline-display {
      display: grid;
      grid-template-columns: 120px 1fr;
      gap: 28px;
      align-items: stretch;
      max-width: 850px;
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .timeline-year {
      background: var(--accent-pink);
      color: white;
      border-radius: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 800;
      box-shadow: 0 10px 24px rgba(0, 55, 108, 0.24);
      min-height: 170px;
    }

    .timeline-card {
      background: white;
      border: 2px solid var(--border-yellow);
      border-radius: 22px;
      padding: 30px;
      box-shadow: 0 10px 24px rgba(0,0,0,0.05);
      min-height: 170px;
    }

    .timeline-card h3 {
      color: var(--accent-pink);
      font-size: 1.35rem;
      margin-bottom: 10px;
    }

    .timeline-card p {
      color: var(--text-soft);
      line-height: 1.75;
    }

    .timeline-progress {
      max-width: 850px;
      height: 8px;
      background: white;
      border-radius: 999px;
      margin: 28px auto 0 auto;
      overflow: hidden;
      border: 1px solid var(--border-yellow);
      position: relative;
      z-index: 2;
    }

    .timeline-progress span {
      display: block;
      height: 100%;
      width: 25%;
      background: linear-gradient(90deg, #ffd43b, var(--accent-pink));
      border-radius: 999px;
      transition: width 0.3s ease;
    }

    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 32px;
      margin-bottom: 70px;
      align-items: stretch;
    }

    .team-card {
      perspective: 1400px;
      min-height: 640px;
    }

    .team-card-inner {
      position: relative;
      width: 100%;
      min-height: 640px;
      height: 100%;
      transition: transform 0.8s ease;
      transform-style: preserve-3d;
    }

    .team-card:hover .team-card-inner,
    .team-card:focus-within .team-card-inner {
      transform: rotateY(180deg);
    }

    .team-card-front,
    .team-card-back {
      position: absolute;
      inset: 0;
      width: 100%;
      min-height: 640px;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      border: 2px solid var(--border-yellow);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      background: white;
    }

    .team-card-front {
      display: flex;
      flex-direction: column;
    }

    .team-card-back {
      transform: rotateY(180deg);
      padding: 28px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      background: linear-gradient(180deg, #fffef8 0%, #ffffff 100%);
      overflow-y: auto;
    }

    .team-card-front:hover,
    .team-card-back:hover {
      box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    }

    .team-card-header {
      background: linear-gradient(135deg, #edf5ff 0%, #fffdf4 58%, #fff7b8 100%);
      padding: 32px 28px 24px 28px;
      text-align: center;
      border-bottom: 2px solid var(--border-yellow);
    }

    .team-avatar-photo {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      object-position: center top;
      margin: 0 auto 16px auto;
      display: block;
      border: 4px solid white;
      box-shadow: 0 6px 20px rgba(0,55,108,0.3);
    }

    .team-card-header h3 {
      color: var(--accent-pink);
      font-size: 1.3rem;
      margin-bottom: 4px;
    }

    .team-card-header .team-role {
      color: var(--text-soft);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .team-card-body {
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 14px;
      flex: 1;
    }

    .team-card-body .story-label,
    .team-card-back .story-label {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--accent-pink);
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 14px;
    }

    .team-card-body .story-label span,
    .team-card-back .story-label span {
      font-size: 1.2rem;
    }

    .team-card-body p,
    .team-card-back p {
      color: var(--text-soft);
      font-size: 0.97rem;
      line-height: 1.75;
    }

    .team-card-back p + p {
      margin-top: 12px;
    }

    .team-card-back h3 {
      color: var(--accent-pink);
      font-size: 1.35rem;
      margin-bottom: 6px;
      text-align: center;
    }

    .team-card-back .team-role {
      color: var(--text-soft);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-align: center;
      margin-bottom: 24px;
    }

    .flip-hint {
      margin-top: auto;
      text-align: center;
      font-size: 0.88rem;
      color: var(--accent-pink);
      font-weight: 700;
      opacity: 0.8;
    }

    .placeholder-hint {
      background: var(--bg-soft-yellow);
      border: 2px dashed var(--border-yellow);
      border-radius: 12px;
      padding: 14px 18px;
      margin-top: 16px;
      font-size: 0.85rem;
      color: var(--text-soft);
      font-style: italic;
    }

    .values-section {
      background: white;
      border: 2px solid var(--border-yellow);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      padding: 44px 48px;
      margin-bottom: 60px;
    }

    .values-section h2 {
      color: var(--accent-pink);
      font-size: 1.6rem;
      margin-bottom: 30px;
      text-align: center;
    }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
    }

    .value-item {
      text-align: center;
      padding: 24px 16px;
      background: linear-gradient(135deg, #edf5ff 0%, #fffdf4 58%, #fff7b8 100%);
      border-radius: 16px;
      border: 2px solid var(--border-yellow);
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
      cursor: pointer;
    }

    .value-item:hover,
    .value-item.active {
      border-color: var(--accent-pink);
      transform: translateY(-3px);
      box-shadow: 0 12px 28px rgba(0, 55, 108, 0.13);
    }

    .value-item h4 {
      color: var(--accent-pink);
      font-size: 1rem;
      margin-bottom: 6px;
    }

    .value-item p {
      color: var(--text-soft);
      font-size: 0.88rem;
      line-height: 1.55;
    }

    .value-detail {
      margin-top: 28px;
      padding: 28px 30px;
      background: linear-gradient(135deg, #ffffff 0%, #fffdf4 65%, #fff7b8 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 18px;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
      display: none;
      animation: fadeInValue 0.25s ease;
    }

    .value-detail.show {
      display: block;
    }

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

    .value-detail p {
      color: var(--text-soft);
      line-height: 1.75;
    }

    .value-detail button {
      margin-top: 18px;
      border: 2px solid var(--accent-pink);
      background: white;
      color: var(--accent-pink);
      border-radius: 999px;
      padding: 9px 18px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .value-detail button:hover {
      background: var(--accent-pink);
      color: white;
    }

    @keyframes fadeInValue {
      from {
        opacity: 0;
        transform: translateY(8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .closing-quote {
      background: var(--bg-soft-yellow);
      border-left: 5px solid var(--accent-pink);
      border-radius: 0 16px 16px 0;
      padding: 28px 32px;
      margin: 0 0 70px 0;
      font-style: italic;
      color: var(--text-soft);
      font-size: 1.1rem;
      line-height: 1.7;
    }

    .closing-quote cite {
      display: block;
      margin-top: 10px;
      font-style: normal;
      font-weight: 700;
      color: var(--accent-pink);
      font-size: 0.92rem;
    }

    .contact-cta {
      background: white;
      border: 2px solid var(--border-yellow);
      border-radius: 22px;
      box-shadow: var(--shadow-soft);
      padding: 44px 48px;
      text-align: center;
      margin-bottom: 70px;
    }

    .contact-cta h2 {
      color: var(--accent-pink);
      font-size: 1.6rem;
      margin-bottom: 14px;
    }

    .contact-cta p {
      color: var(--text-soft);
      font-size: 1rem;
      max-width: 600px;
      margin: 0 auto 28px auto;
    }

    .btn-primary {
      display: inline-block;
      padding: 14px 32px;
      background: var(--accent-pink);
      color: white;
      border: none;
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.2s ease, transform 0.15s ease;
      box-shadow: 0 8px 22px rgba(0, 55, 108, 0.20);
    }

    .btn-primary:hover {
      background: #012a52;
      transform: translateY(-2px);
    }

    .btn-secondary {
      display: inline-block;
      padding: 14px 32px;
      background: var(--bg-soft-yellow);
      color: var(--accent-pink);
      border: 2px solid var(--accent-pink);
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      margin-left: 14px;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    }

    .btn-secondary:hover {
      border-color: var(--accent-pink);
      background: #fff0cf;
      transform: translateY(-2px);
    }

    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-column a:hover {
      text-decoration: underline;
      color: var(--accent-pink);
    }

    .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: 900px) {
      .mission-banner {
        flex-direction: column;
        gap: 20px;
        padding: 32px 28px;
      }

      .timeline-display {
        grid-template-columns: 1fr;
      }

      .timeline-year {
        min-height: 90px;
      }

      .values-section,
      .contact-cta {
        padding: 32px 24px;
      }

      .team-card,
      .team-card-inner,
      .team-card-front,
      .team-card-back {
        min-height: 680px;
      }
    }

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

  .logo {
    margin-left: 0;
  }

  .logo img {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
  }

}
      }

      .hero {
        min-height: 560px;
        padding: 70px 20px 130px 20px;
        align-items: flex-end;
      }

      .hero h1 {
        font-size: 2.2rem;
      }

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

      .btn-secondary {
        margin-left: 0;
        margin-top: 12px;
      }
    }

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

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

      .team-card,
      .team-card-inner,
      .team-card-front,
      .team-card-back {
        min-height: 720px;
      }

      .hero {
        min-height: 530px;
        background-position: center center;
        padding: 50px 20px 120px 20px;
      }

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

      .mission-banner,
      .timeline-section,
      .values-section,
      .contact-cta {
        padding: 28px 20px;
      }

      .team-avatar-photo {
        width: 120px;
        height: 120px;
      }
    }

/* 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, .section-subtitle, .mission-card p, .team-card p, .timeline-card p, .value-card p { font-size: 1.05rem; line-height: 1.75; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.section-title, section h2, .mission-card h2 { font-size: clamp(1.75rem, 2.6vw, 2.1rem); line-height: 1.25; }
.team-card h3, .timeline-card h3, .value-card h3 { font-size: 1.22rem; line-height: 1.3; }
button, .btn, 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;
}
