/* =============================================
   3 HFM GmbH – Stylesheet
   Primärfarbe: #1a2a5e | Akzentfarbe: #c9a84c
   ============================================= */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #1a2a5e;
  --navy-mid:   #243370;
  --navy-dark:  #111d40;
  --navy-light: #2a3d7a;
  --gold:       #c9a84c;
  --gold-light: #e0c47a;
  --gold-pale:  #f5edd8;
  --white:      #ffffff;
  --off-white:  #f6f6f4;
  --light-gray: #e8e8e6;
  --mid-gray:   #d0d0ce;
  --text:       #1e1e1e;
  --text-muted: #5a5a5a;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(26,42,94,0.09);
  --shadow-lg:  0 8px 40px rgba(26,42,94,0.16);
  --shadow-xl:  0 16px 64px rgba(26,42,94,0.20);
  --transition: 0.3s ease;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0.85rem 2.1rem;
  border-radius: 6px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.03em;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.85rem 2.1rem;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  letter-spacing: 0.03em;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  letter-spacing: 0.03em;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.02em;
}
.btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.full-width { width: 100%; text-align: center; }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.section-tag.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 1.1rem;
}
.section-title.light { color: var(--white); }
.section-title.centered { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-title { text-align: center; }

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }
.section-navy-mid { background: var(--navy-mid); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(26,42,94,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: height var(--transition);
}
.navbar.scrolled .nav-logo img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.86);
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:not(.btn-nav):hover { color: var(--white); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  max-height: 500px;
  padding: 12px 0 24px;
}
.mobile-link {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), background var(--transition);
}
.mobile-link:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.04);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('hero_bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(17,29,64,0.88) 0%,
    rgba(26,42,94,0.74) 55%,
    rgba(26,42,94,0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding-top: 90px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.45);
  background: rgba(201,168,76,0.08);
  padding: 0.38rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.13;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.32);
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 2.6rem;
  line-height: 1.78;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.68);
  font-size: 0.83rem;
  font-weight: 500;
}
.hero-trust-item svg {
  color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  margin: 0 auto;
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7); }
  50%       { opacity: 1;    transform: scaleY(1); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy);
  padding: 44px 0;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 52px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.80rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.13);
}

/* =============================================
   LEISTUNGEN CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.3);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 54px; height: 54px;
  background: rgba(26,42,94,0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.card:hover .card-icon {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
}
.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.card p {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* 4-column card variant for services section */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* =============================================
   ÜBER UNS
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.about-text .section-title { text-align: left; }
.about-text p { color: var(--text-muted); font-size: 0.97rem; }
.about-text strong { color: var(--navy); }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.about-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.about-value-icon svg { width: 18px; height: 18px; }
.about-value-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.about-value-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.about-visual { position: relative; }

.about-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateX(7px);
  box-shadow: var(--shadow-lg);
}

.ac-1 { border-left: 4px solid var(--gold); }
.ac-2 { border-left: 4px solid var(--navy); margin-left: 1.5rem; }
.ac-3 { border-left: 4px solid var(--gold-light); margin-left: 0.75rem; }
.ac-4 { border-left: 4px solid var(--navy-mid); }

.ac-icon { font-size: 1.9rem; flex-shrink: 0; }

.about-card strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.about-card p {
  font-size: 0.81rem;
  color: var(--text-muted);
  margin: 0;
}

/* =============================================
   VORTEILE
   ============================================= */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.vorteil {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.vorteil:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.3);
}

.vorteil-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  flex-shrink: 0;
  min-width: 58px;
  transition: color var(--transition);
}
.vorteil:hover .vorteil-num { color: var(--gold); }

.vorteil-text h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.55rem;
}
.vorteil-text p {
  font-size: 0.91rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.68;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
}
.cta-band p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}
.cta-band-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-info .section-title { text-align: left; }
.light-text {
  color: rgba(255,255,255,0.68);
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2.2rem;
}

.kd-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
}
.kd-item svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.kd-item a { color: rgba(255,255,255,0.78); transition: color var(--transition); }
.kd-item a:hover { color: var(--gold); }

/* Form */
.kontakt-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  box-shadow: var(--shadow-xl);
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  border-radius: 6px;
  padding: 0.78rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b0b0;
}
.form-group select option { color: var(--text); }

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.form-privacy a { color: var(--gold); text-decoration: underline; }

.form-success {
  background: rgba(26,42,94,0.06);
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 8px;
  padding: 1.1rem;
  font-size: 0.91rem;
  color: var(--navy);
  text-align: center;
}

.form-error {
  background: rgba(180,30,30,0.06);
  border: 1px solid rgba(180,30,30,0.35);
  border-radius: 8px;
  padding: 1.1rem;
  font-size: 0.91rem;
  color: #7a1a1a;
  text-align: center;
}
.form-error a { color: var(--gold); text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.footer-logo-wrap img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.88);
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-brand-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.86rem;
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 15px; height: 15px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.35);
  font-size: 0.76rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* =============================================
   FADE-IN ANIMATIONS
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger */
.card:nth-child(2)  { transition-delay: 0.08s; }
.card:nth-child(3)  { transition-delay: 0.16s; }
.card:nth-child(4)  { transition-delay: 0.24s; }
.card:nth-child(5)  { transition-delay: 0.32s; }
.card:nth-child(6)  { transition-delay: 0.40s; }
.card:nth-child(7)  { transition-delay: 0.48s; }
.card:nth-child(8)  { transition-delay: 0.56s; }

.vorteil:nth-child(2) { transition-delay: 0.1s; }
.vorteil:nth-child(3) { transition-delay: 0.2s; }
.vorteil:nth-child(4) { transition-delay: 0.3s; }
.vorteil:nth-child(5) { transition-delay: 0.4s; }
.vorteil:nth-child(6) { transition-delay: 0.5s; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.6rem;
  z-index: 2000;
  display: none;
  animation: slideUp 0.5s ease;
}
.cookie-banner.visible { display: block; }

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

.cookie-content h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 0.55rem;
  font-size: 1rem;
}
.cookie-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
  line-height: 1.6;
}
.cookie-content a { color: var(--gold); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-actions .btn-primary { padding: 0.5rem 1.3rem; font-size: 0.84rem; }
.cookie-actions .btn-text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font-sans);
}

/* =============================================
   LEGAL / SUBPAGES
   ============================================= */
.subpage-hero {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subpage-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.subpage-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.subpage-hero .breadcrumb {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.subpage-hero .breadcrumb a { color: var(--gold); }
.subpage-hero .breadcrumb a:hover { text-decoration: underline; }

.legal-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold-pale);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-serif);
  color: var(--navy-mid);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
}

.legal-content h4 {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  margin: 1.3rem 0 0.5rem;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0.75rem 0 1rem 1.5rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: 0.4rem; }

.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }

.legal-content strong { color: var(--navy); }

.legal-content .infobox {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .cards-grid     { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4   { grid-template-columns: repeat(2, 1fr); }
  .about-grid     { grid-template-columns: 1fr; gap: 3.5rem; }
  .kontakt-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .stat-item      { padding: 16px 28px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger    { display: flex; }

  .section { padding: 68px 0; }

  .cards-grid   { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .vorteile-grid{ grid-template-columns: 1fr; }

  .stats-grid    { flex-wrap: wrap; }
  .stat-divider  { width: 44px; height: 1px; }
  .stat-item     { padding: 12px 20px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero-cta { flex-direction: column; }
  .hero-cta a { text-align: center; }

  .cta-band-btns { flex-direction: column; align-items: center; }

  .subpage-hero { padding: 100px 0 50px; }
}

@media (max-width: 480px) {
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stat-divider { display: none; }
  .kontakt-form-wrap { padding: 1.6rem; }
  .legal-wrapper { padding: 40px 20px 60px; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
