 :root {
    --black: #000;
    --dark-gray: #0e0e0f;
    --medium-gray: #1a1a1c;
    --light-gray: #2b2b2f;
    --white: #fff;
    --accent: #d9d9e0;
    --highlight: #cfcfe6;
    --glow: #b9b9b9;
    --glow2: #636363;
}

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    height: 100%;
  }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* PRELOADER */
  .preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px 600px at 50% -20%, rgba(124, 121, 255, .25), transparent 60%), #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10000;
    transition: opacity .6s ease, visibility .6s ease;
  }

  .preloader.hide {
    opacity: 0;
    visibility: hidden;
  }

  .preloader-logo {
    width: 140px;
    height: 140px;
    background: url('logo.gif') center/contain no-repeat;
    filter: drop-shadow(0 0 12px rgba(122, 166, 255, .45));
    animation: float 2.6s ease-in-out infinite;
  }

  .preloader-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .07);
    border-top-color: rgba(255, 255, 255, .35);
    filter: drop-shadow(0 0 20px rgba(176, 122, 255, .35));
    position: absolute;
    animation: spin 2.8s linear infinite;
  }

  .preloader-text {
    margin-top: 180px;
    letter-spacing: .25em;
    font-weight: 700;
    color: #e9e9ff;
    text-transform: uppercase;
    font-size: .85rem;
    opacity: .85;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  /* HEADER */
  .main-header {
    position: fixed;
    inset: 0 auto auto 0;
    width: 100%;
    z-index: 900;
    transition: all .35s ease;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: saturate(130%) blur(6px);
    border-bottom: 1px solid transparent;
  }

  .main-header.scrolled {
    background: rgba(0, 0, 0, .85);
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  }

  .header-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .logo img {
    height: 42px;
    filter: drop-shadow(0 4px 12px rgba(127, 167, 255, .35));
    transition: transform .3s ease;
  }

  .logo:hover img {
    transform: scale(1.06) rotate(3deg);
  }

  .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    letter-spacing: .04em;
    color: #d9d9e0;
  }

  .logo-text span {
    background: linear-gradient(90deg, var(--glow), var(--glow2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(122, 166, 255, .35);
  }

  .main-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
  }

  .nav-link {
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .06em;
    opacity: .9;
    transition: opacity .25s ease;
  }

  .nav-link:hover {
    opacity: 1;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--glow), var(--glow2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s ease, box-shadow .35s ease;
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    box-shadow: 0 0 10px rgba(122, 166, 255, .6);
  }

  .header-actions {
    display: flex;
    gap: 12px;
  }

  .btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease;
  }

  .btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(120deg, rgba(68, 68, 68, 0.25), rgba(82, 82, 82, 0.25));
    opacity: 0;
    transition: opacity .3s ease;
  }

  .btn:hover {
    transform: translateY(-2px);
  }

  .btn:hover::before {
    opacity: 1;
  }

  .btn-primary {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    box-shadow: 0 6px 20px rgba(83, 83, 83, 0.15);
  }

  .btn-primary:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 10px 26px rgba(90, 90, 90, 0.35);
  }

  .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .8);
  }

  .btn-secondary:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 10px 26px rgba(122, 122, 122, 0.35);
  }

  /* HERO */
  .hero-section {
    height: 100vh;
    min-height: 760px;
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .7)), url('Header.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 86px;
    position: relative;
    overflow: hidden;
  }

  .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
  }

  .hero-text {
    max-width: 760px;
  }

  .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 16px rgba(255, 255, 255, .12);
  }

  .hero-title > span {
    display: inline-block;
    transform: translateY(18px);
    animation: dropIn .8s ease forwards .35s;
    opacity: 0;
  }

  @keyframes dropIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 36px;
  }

  .hero-stats {
    display: flex;
    gap: 18px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .stat-box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--light-gray);
    padding: 14px 22px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  .stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--glow2);
    box-shadow: 0 14px 30px rgba(75, 75, 75, 0.25);
  }

  .stat-box::after {
    content: '';
    position: absolute;
    inset: auto -40% 0 -40%;
    height: 120%;
    background: radial-gradient(120px 60px at 50% 100%, rgba(94, 94, 94, 0.35), transparent 70%);
    transform: translateY(100%);
    transition: transform .45s ease;
  }

  .stat-box:hover::after {
    transform: translateY(0);
  }

  .stat-value {
    font-size: 1.7rem;
    font-weight: 800;
  }

  .stat-label {
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .8;
  }

  .scroll-down {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    font-size: 1.3rem;
    opacity: .85;
    animation: bounce 2.2s infinite;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -12px); }
    60% { transform: translate(-50%, -6px); }
  }

  /* SECTIONS */
  .section {
    padding: 130px 5%;
  }

  .dark {
    background: var(--dark-gray);
  }

  .darker {
    background: #050506;
  }

  .section-header {
    text-align: center;
    margin-bottom: 64px;
  }

  .section-title {
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
  }

  .section-title::after {
    margin-bottom: -10px;
    content: '';
    position: absolute;
    left: 50%;
    bottom: 12px;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--glow), var(--glow2));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(122, 166, 255, .5);
  }

  .section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--accent);
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 34px 26px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .feature-card:hover {
    box-shadow: 0 20px 60px rgba(122, 166, 255, .18);
    border-color: rgba(190, 190, 190, 0.5);
  }

  .feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--glow), var(--glow2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 12px rgba(122, 166, 255, .35));
  }

  .feature-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
  }

  .feature-description {
    color: var(--accent);
    margin-bottom: 18px;
  }

  .feature-link {
    color: #e9e9ff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .07em;
    position: relative;
    padding-right: 18px;
  }

  .feature-link i {
    transition: transform .25s ease;
  }

  .feature-link:hover i {
    transform: translateX(6px);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 40px auto 0;
  }

  .stat-card {
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 40px 26px;
    text-align: center;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  .stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--glow2);
    box-shadow: 0 18px 46px rgba(129, 129, 129, 0.18);
  }

  .stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
  }

  .stat-text {
    color: var(--accent);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 64px auto 0;
  }

  .gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/9;
    transform: translateZ(0);
  }

  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.04);
    filter: contrast(1.05) saturate(1.05);
  }

  .gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    transform: translateY(100%);
    transition: transform .3s ease;
  }

  .gallery-item:hover .gallery-overlay {
    transform: translateY(0);
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 64px auto 0;
  }

  .team-member {
    text-align: center;
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 24px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  }

  .team-member:hover {
    transform: translateY(-6px);
    border-color: var(--glow);
    box-shadow: 0 16px 40px rgba(122, 166, 255, .16);
  }

  .member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-gray);
    filter: grayscale(25%);
    transition: all .35s ease;
    margin-bottom: 14px;
  }

  .team-member:hover .member-photo {
    filter: none;
    transform: scale(1.04);
    border-color: var(--glow2);
  }

  .member-name {
    font-weight: 800;
  }

  .member-role {
    color: var(--highlight);
    margin-bottom: 10px;
    font-weight: 700;
  }

  .member-bio {
    color: var(--accent);
    margin-bottom: 10px;
  }

  .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .social-link {
    color: white; 
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--light-gray);
    transition: all .25s ease;
  }

  .social-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, var(--glow), var(--glow2));
    border-color: transparent;
    color: #000;
  }

  .main-footer {
    background: #0c0c0f;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--light-gray);
  }

  .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
  }

  .footer-logo img {
    height: 40px;
    transition: transform .3s ease;
  }

  .footer-logo:hover img {
    transform: rotate(8deg) scale(1.05);
  }

  .footer-title {
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
  }

  .footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, var(--glow), var(--glow2));
  }

  .footer-link a {
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    transition: transform .25s ease, color .25s ease;
  }

  .footer-link a::before {
    content: '→';
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
  }

  .footer-link a:hover {
    transform: translateX(6px);
    color: #fff;
  }

  .footer-link a:hover::before {
    opacity: 1;
    transform: translateX(2px);
  }

  .copyright {
    text-align: center;
    margin-top: 50px;
    color: var(--accent);
    border-top: 1px solid var(--light-gray);
    padding-top: 14px;
  }

  /* REVEAL */
  .reveal {
    opacity: 0;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .7s ease;
  }

  .reveal.reveal-left {
    transform: translateX(-60px);
  }

  .reveal.reveal-right {
    transform: translateX(60px);
  }

  .reveal.in-view {
    opacity: 1;
    transform: translateX(0);
  }

  /* RESPONSIVE */
  @media(max-width: 1200px) {
    .hero-title {
      font-size: 4rem;
    }
  }

  @media(max-width: 992px) {
    .header-container {
      flex-direction: column;
      gap: 10px;
    }

    .main-nav ul {
      flex-wrap: wrap;
      justify-content: center;
    }

    .hero-title {
      font-size: 3.2rem;
    }
  }

  @media(max-width: 576px) {
    .hero-title {
      font-size: 2.4rem;
    }
  }


/* ===== RULES / ACCORDION – CLEAN VERSION ===== */
.rules-section {
  background: var(--dark-gray);
    font-family: 'Montserrat', sans-serif;
}

/* Container */
.rules-accordion {
  font-family: 'Montserrat', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

/* Karte */
.rule-item {
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .18s ease, border-color .25s ease, background .25s ease;
  will-change: transform;
}
.rule-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 50px rgba(122,166,255,.16);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
}

/* Header: Text links, Toggle rechts */
.rule-header {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text, #e9eefb);
}

/* Titeltypografie – an Look & Feel deiner Seite angepasst */
.rule-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 1.06rem;
}

/* Toggle rechts (Chevron) */
.rule-toggle {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.rule-item:hover .rule-toggle {
  background: linear-gradient(90deg, var(--glow, #7aa6ff), var(--glow2, #a884ff));
  border-color: transparent;
  color: #111;
}
.rule-toggle i {
  transition: transform .25s ease;
}
.rule-item.open .rule-toggle i {
  transform: rotate(180deg);
}

/* Inhalt ohne weißen Balken – soft border + smooth height */
.rule-content {
  font-family: Montserrat;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .4s ease, opacity .28s ease;
  background:
    radial-gradient(800px 200px at 20% 0%, rgba(124,121,255,.07), transparent 60%),
    rgba(255,255,255,.03);
  border-top: 1px solid rgba(255,255,255,.08);
}
.rule-content-inner {
  padding: 18px 20px 18px 40px;
  color: var(--accent, #cfd8ff);
  line-height: 1.55;
}

/* Offener Zustand */
.rule-item.open .rule-content { opacity: 1; }

/* Accessibility */
.rule-header:focus-visible,
.rule-toggle:focus-visible {
  outline: 2px solid var(--glow, #7aa6ff);
  outline-offset: 2px;
}

/* Reveal Motion (greift deine bestehenden Reveal-Klassen auf) */
.rule-item.reveal.in-view {
  animation: rule-pop .35s ease both;
}
@keyframes rule-pop {
  from { transform: translateY(8px); opacity: .0; }
  to   { transform: translateY(0);   opacity: 1; }
}


/* =========================
   RESPONSIVE ADD-ONS (ONLY)
   ========================= */

/* --- leichte Verdichtung ab 1200px --- */
@media (max-width: 1200px) {
  .header-container { padding: 12px 4%; }
  .main-nav ul { gap: 18px; }
  .section { padding: 110px 4%; }
  .section-title { font-size: 2.6rem; }
  .stats-grid { gap: 20px; }
}

/* --- Tablets quer/hoch (≤ 992px) --- */
@media (max-width: 992px) {
  /* Header stapeln & zentrieren */
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .logo img { height: 38px; }
  .logo-text { font-size: 1.35rem; }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }
  .nav-link { font-size: .9rem; }

  .header-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .btn { padding: 10px 18px; }

  /* Hero kompakter */
  .hero-section {
    min-height: 640px;  /* statt 760px */
    background-position: center;
  }
  .hero-content { padding: 0 4%; }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-stats { gap: 12px; }

  /* Sektionen */
  .section { padding: 96px 4%; }
  .section-title { font-size: 2.3rem; }
  .section-subtitle { padding: 0 6px; }

  /* Cards/Gitter */
  .feature-card { padding: 26px 22px; }
  .stats-grid { margin-top: 28px; }
  .stat-card { padding: 30px 22px; }
  .stat-number { font-size: 2.4rem; }

  /* Galerie: kleinere Mindestbreite, damit nichts überläuft */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
  }

  /* Team */
  .team-grid { gap: 20px; }
  .team-member { padding: 20px; }
}

/* --- Smartphones (≤ 768px) --- */
@media (max-width: 768px) {
  /* Header: kleinere Abstände */
  .main-nav ul { gap: 10px; }
  .nav-link { font-size: .86rem; }

  .hero-title { font-size: 2.7rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 24px; }

  .hero-stats { gap: 10px; }
  .stat-box { padding: 12px 16px; }
  .stat-value { font-size: 1.4rem; }

  /* Feature-Grid enger */
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }

  /* Stats-Grid enger */
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 24px;
  }
  .stat-card { padding: 24px 18px; }
  .stat-number { font-size: 2rem; }

  /* Regelwerk – Innenabstände reduzieren */
  .rules-accordion { gap: 12px; }
  .rule-header { padding: 16px 16px; }
  .rule-content-inner { padding: 14px 16px; }
}

/* --- Kleine Phones (≤ 576px) --- */
@media (max-width: 576px) {
  .hero-section { min-height: 520px; }
  .hero-title { font-size: 2.2rem; }
  .scroll-down { bottom: 18px; }

  .btn { padding: 10px 16px; }
  .btn .fas, .btn .fab { font-size: .95em; }

  .section { padding: 84px 4% 76px; }
  .section-title { font-size: 2rem; }
  .section-title::after { width: 70px; }

  /* Galerie: noch kleineres Min */
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

  /* Footer Grid enger */
  .footer-container { gap: 22px; }
  .footer-title { margin-bottom: 10px; }
}

/* --- Extra-klein (≤ 400px) --- */
@media (max-width: 400px) {
  .hero-title { font-size: 1.9rem; }
  .nav-link { font-size: .8rem; }
  .feature-card { padding: 20px 16px; }
  .stat-card { padding: 20px 16px; }
  .stat-number { font-size: 1.8rem; }
  .rule-title { font-size: 1rem; }
}

/* ==== MOBILE FIX: 393px Breite (und ähnlich) ==== */
@media (max-width: 400px) {
  /* 1) Header zuverlässig oben halten, ohne Content zu überdecken */
  .main-header {
    position: sticky;       /* klebt oben, überlappt den Inhalt nicht */
    top: 0;
    z-index: 1000;
  }

  /* 2) Definiere eine saubere Header-Höhe (falls bei dir anders, hier anpassen) */
  .header-container {
    min-height: 68px;       /* typ. Höhe für Logo + Compact-Navi */
  }

  /* 3) Der Hero bekommt oben Platz in Höhe des Headers */
  .hero-section {
    padding-top: 76px;      /* min-height bleibt wie bei dir; nur „Luft oben“ */
    background-position: center top; /* vermeidet optisches „Verrutschen“ */
  }

  /* 4) Kleine Typo-/Layout-Anpassungen, damit nichts seitlich „schiebt“ */
  .hero-content { padding-left: 4%; padding-right: 4%; }
  .hero-title   { word-break: break-word; }
  .hero-buttons { flex-wrap: wrap; gap: 8px; }

  /* 5) Falls die Navi auf 2 Zeilen umbricht, etwas enger setzen */
  .main-nav ul { gap: 10px; flex-wrap: wrap; justify-content: center; }

  /* 6) Pfeil unten nicht aus dem Screen laufen lassen */
  .scroll-down { bottom: 18px; }
}

/* Optional: Touch-Geräte ohne Hover – 3D-Tilt deaktivieren, um Layout-Jumps zu vermeiden */
@media (hover: none) and (pointer: coarse) {
  .feature-card { transform: none !important; }
}


/* ==== Header-Verhalten auf mobilen Geräten anpassen ==== */
@media (max-width: 768px) {
  .main-header {
    position: relative !important;  /* nicht sticky/fixed */
    top: auto !important;
  }

  .hero-section {
    padding-top: 0 !important;      /* keine künstliche Lücke mehr */
  }
}

/* ==== Header auf Mobile nicht sticky, aber transparent ==== */
@media (max-width: 768px) {
  .main-header {
    position: relative !important;   /* statisch */
    top: auto !important;
    background: transparent !important; /* immer durchsichtig */
    box-shadow: none !important;
  }

  /* Scroll-Klasse auf Mobile deaktivieren (nicht abdunkeln) */
  .main-header.scrolled {
    background: transparent !important;
    box-shadow: none !important;
  }
}
