/* ============================================================
   Zulassungswerk NRW – Stylesheet
   Fonts: Barlow Condensed (headlines) · Barlow (body)
   Breakpoints: 1024px · 900px · 600px · 380px
   Container: 1300px max-width
   ============================================================ */

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

:root {
  --navy:       #0a1f44;
  --blue:       #1455a4;
  --sky:        #2a7de1;
  --light:      #e8f1fb;
  --white:      #ffffff;
  --gray-50:    #f7f9fc;
  --gray-100:   #eaf0f8;
  --gray-300:   #bfcfe6;
  --gray-500:   #6b85a8;
  --gray-700:   #3a4f6b;
  --text:       #0d1b30;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */

.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { font-size: 1.05rem; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

/* ── NAVIGATION ─────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 70px;
  background: rgba(10, 31, 68, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  transition: border-color var(--transition);
}

.nav-inner {
  width: 100%; max-width: 1300px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--sky);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg { width: 22px; height: 22px; fill: white; }

.nav-logo-text { color: white; font-weight: 700; font-size: 1rem; line-height: 1.2; }
.nav-logo-text span { display: block; color: var(--gray-300); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: white; }

.nav-cta {
  background: var(--sky); color: white; border: none;
  padding: 0.55rem 1.4rem; border-radius: 6px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition);
  text-decoration: none;
}
.nav-cta:hover { background: #1a6ad4; }

.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; transition: var(--transition); }

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 5rem;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; width: 100%; margin: 0 auto;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(42,125,225,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(20,85,164,0.25) 0%, transparent 60%),
    var(--navy);
}

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,125,225,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,125,225,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-accent-bar {
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--sky) 0%, transparent 100%);
}

.hero-scroll-hint {
  position: absolute; right: clamp(1.5rem, 5vw, 4rem); bottom: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(42,125,225,0.6) 0%, transparent 100%);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(42,125,225,0.15);
  border: 1px solid rgba(42,125,225,0.3);
  color: #7ab8f5;
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky); flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: white;
  margin-bottom: 1.5rem;
}
.hero-headline .accent { color: var(--sky); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.62);
  max-width: 580px;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats {
  display: flex; gap: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900; color: white; line-height: 1;
}
.hero-stat-num .unit { color: var(--sky); }
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; }

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn-primary {
  background: var(--sky); color: white;
  padding: 0.9rem 2.2rem; border-radius: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--sky);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition); cursor: pointer;
}
.btn-primary:hover { background: #1a6ad4; border-color: #1a6ad4; transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: white;
  padding: 0.9rem 2.2rem; border-radius: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition); cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

/* ── TRUST BAR / MARQUEE ─────────────────────────────────── */

.trust-bar {
  background: white;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.trust-bar::before,
.trust-bar::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.trust-bar::before { left: 0;  background: linear-gradient(90deg,  white 0%, transparent 100%); }
.trust-bar::after  { right: 0; background: linear-gradient(270deg, white 0%, transparent 100%); }

.trust-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  padding: 1.1rem 0;
}
.trust-bar:hover .trust-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0 2.5rem;
  border-right: 1px solid var(--gray-100);
  white-space: nowrap; flex-shrink: 0;
}
.trust-item:last-child { border-right: none; }
.trust-item svg   { width: 18px; height: 18px; fill: var(--sky); flex-shrink: 0; }
.trust-item span  { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }

/* ── SECTIONS ────────────────────────────────────────────── */

section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); }
.section-inner { max-width: 1300px; margin: 0 auto; }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { max-width: 600px; margin: 1rem auto 0; color: var(--gray-500); }

/* ── LEISTUNGEN ──────────────────────────────────────────── */

.leistungen { background: var(--gray-50); }
.leistungen-intro p { color: var(--gray-700); font-size: 1.1rem; max-width: 640px; margin-top: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { border-color: var(--gray-300); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,31,68,0.08); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 24px; height: 24px; fill: var(--blue); }
.service-card h3 { margin-bottom: 0.5rem; color: var(--navy); }
.service-card p  { font-size: 0.92rem; color: var(--gray-500); line-height: 1.6; }

.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
}
.service-card.featured h3  { color: white; }
.service-card.featured p   { color: rgba(255,255,255,0.75); }
.service-card.featured .service-icon { background: rgba(42,125,225,0.2); }
.service-card.featured .service-icon svg { fill: var(--sky); }

/* ── NETWORK ─────────────────────────────────────────────── */

.network { background: var(--navy); color: white; }
.network h2, .network .section-label { color: white; }

.network-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.network-text p {
  color: rgba(255,255,255,0.65); font-size: 1.05rem;
  margin-top: 1rem; max-width: 480px; line-height: 1.75;
}
.network-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.network-highlight {
  background: rgba(42,125,225,0.12);
  border: 1px solid rgba(42,125,225,0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-top: 2.5rem;
}
.network-highlight p   { font-size: 1.15rem; font-weight: 600; color: white; margin: 0; line-height: 1.5; }
.network-highlight span { color: var(--sky); }

.network-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}

/* ── VORTEILE ────────────────────────────────────────────── */

.vorteile { background: white; }
.vorteile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }

.vorteil {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.vorteil::after {
  content: attr(data-num);
  position: absolute; right: -10px; bottom: -20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8rem; font-weight: 900;
  color: var(--light); line-height: 1; z-index: 0;
  user-select: none;
}
.vorteil > * { position: relative; z-index: 1; }

.vorteil-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.vorteil-icon svg { width: 22px; height: 22px; fill: var(--blue); }
.vorteil h3 { color: var(--navy); margin-bottom: 0.6rem; }
.vorteil p  { font-size: 0.92rem; color: var(--gray-500); line-height: 1.65; }

/* ── ZIELGRUPPEN ─────────────────────────────────────────── */

.zielgruppen { background: var(--light); }
.zielgruppen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.zielgruppe-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--gray-100);
  position: relative; overflow: hidden;
}
.zielgruppe-card.highlight { background: var(--navy); border-color: var(--navy); }
.zielgruppe-card.highlight h3  { color: white; }
.zielgruppe-card.highlight p   { color: rgba(255,255,255,0.6); }
.zielgruppe-card.highlight .zg-tag { background: rgba(42,125,225,0.2); color: #7ab8f5; }

.zg-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sky); margin-bottom: 0.75rem; }
.zg-label.light { color: rgba(255,255,255,0.5); }
.zielgruppe-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.zielgruppe-card p  { font-size: 0.95rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1.5rem; }
.zg-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zg-tag  {
  background: var(--light); color: var(--blue);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 100px;
}

/* ── ABLAUF ──────────────────────────────────────────────── */

.ablauf { background: white; }
.ablauf-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }

.step {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 0 2rem; align-items: start;
  padding-bottom: 2.5rem;
}
.step:last-child { padding-bottom: 0; }

.step-num-wrap { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sky); color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
}
.step-line {
  width: 2px; flex: 1; min-height: 40px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--light) 100%);
  margin-top: 4px;
}
.step:last-child .step-line { display: none; }

.step-content { padding-top: 0.6rem; }
.step-content h3 { color: var(--navy); margin-bottom: 0.4rem; }
.step-content p  { font-size: 0.95rem; color: var(--gray-500); max-width: 500px; }

.ablauf-tip {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 4px solid var(--sky);
}
.ablauf-tip p:first-child { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.ablauf-tip p:last-child  { font-size: 0.92rem; color: var(--gray-500); margin-top: 0.3rem; }

/* ── CTA BAND ────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center; color: white;
}
.cta-band .section-inner { text-align: center; }
.cta-band h2 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; }
.cta-band .btn-primary { background: white; color: var(--navy); border-color: white; }
.cta-band .btn-primary:hover { background: var(--light); border-color: var(--light); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── KONTAKT ─────────────────────────────────────────────── */

.kontakt { background: var(--gray-50); }
.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.kontakt-info h2 { margin-bottom: 1rem; }
.kontakt-info > p { color: var(--gray-500); font-size: 1rem; margin-bottom: 2rem; }

.kontakt-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--gray-100);
}
.kontakt-detail:last-child { border-bottom: none; }

.kontakt-detail-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kontakt-detail-icon svg { width: 18px; height: 18px; fill: var(--blue); }
.kontakt-detail-text strong { display: block; color: var(--navy); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.kontakt-detail-text span   { color: var(--gray-500); font-size: 0.95rem; }

.kontakt-form {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--gray-100);
}
.kontakt-form h3 { margin-bottom: 1.75rem; color: var(--navy); }

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  transition: border-color var(--transition);
  background: var(--gray-50);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sky); background: white; }
.form-group textarea { height: 110px; resize: vertical; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--sky); color: white; border: none;
  border-radius: 8px; font-family: inherit; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
}
.form-submit:hover { background: var(--blue); transform: translateY(-1px); }

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--navy);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
  color: rgba(255,255,255,0.55);
}
.footer-inner { max-width: 1300px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: white; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: white; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.35); font-size: 0.82rem; text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ── STICKY CTA ──────────────────────────────────────────── */

.sticky-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  background: var(--sky); color: white;
  padding: 0.85rem 1.75rem; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(42,125,225,0.4);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
  animation: slide-up 0.5s ease 1s both;
}
.sticky-cta:hover { background: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(42,125,225,0.5); }

/* Mobiler Kreis-Button – nur auf kleinen Screens */
.sticky-cta-mobile {
  display: none;
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sky); color: white;
  box-shadow: 0 8px 30px rgba(42,125,225,0.45);
  text-decoration: none;
  align-items: center; justify-content: center;
  transition: var(--transition);
  animation: slide-up 0.5s ease 1s both;
}
.sticky-cta-mobile:hover { background: var(--blue); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(42,125,225,0.55); }

@keyframes slide-up {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */

.fade-up { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.will-animate  { opacity: 0; transform: translateY(28px); }
.fade-up.will-animate.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE – Tablet wide (≤1024px) ─────────────────── */

@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  .nav-links { gap: 1.4rem; }
  section { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
  .hero { padding: 8rem 2rem 4rem; }
  .network-layout { gap: 3rem; }
  .ablauf-inner { gap: 3.5rem; }
}

/* ── RESPONSIVE – Tablet portrait (≤900px) ──────────────── */

@media (max-width: 900px) {
  .sticky-cta { display: none !important; }
  .sticky-cta-mobile { display: flex; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-cta { display: none; }

  .hero { padding: 7rem 1.5rem 3.5rem; }
  .hero-scroll-hint { display: none; }
  .hero-headline { font-size: clamp(3rem, 10vw, 5rem); }

  section { padding: 3.5rem 1.5rem; }

  .network-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .network-visual  { min-height: 280px; }
  .network-text p  { max-width: 100%; }

  .vorteile-grid    { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .zielgruppen-grid { grid-template-columns: 1fr; }

  .ablauf-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .kontakt-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
}

/* ── RESPONSIVE – Mobile (≤600px) ───────────────────────── */

@media (max-width: 600px) {
  nav { padding: 0 1rem; height: 62px; }
  .nav-logo-text span { display: none; }
  .nav-logo-text { font-size: 0.88rem; }
  .nav-logo-mark { width: 32px; height: 32px; border-radius: 6px; }
  .nav-logo-mark svg { width: 18px; height: 18px; }

  .hero { padding: 6rem 1rem 3rem; min-height: auto; }
  .hero-headline { font-size: clamp(2.8rem, 13vw, 4.5rem); margin-bottom: 1rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.8rem; margin-bottom: 1.25rem; }
  .hero-sub { font-size: 0.97rem; margin-bottom: 2rem; }
  .hero-actions { gap: 0.75rem; margin-bottom: 2.5rem; }
  .btn-primary, .btn-outline { padding: 0.8rem 1.4rem; font-size: 0.9rem; width: 100%; justify-content: center; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; padding-top: 1.75rem; }
  .hero-stats > div { min-width: calc(50% - 0.625rem); }
  .hero-stat-num { font-size: 2rem; }
  .hero-stat-label { font-size: 0.78rem; }

  section { padding: 3rem 1rem; }
  h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  h3 { font-size: 1.1rem; }

  .services-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .service-card  { padding: 1.4rem; }

  .vorteile-grid { grid-template-columns: 1fr; gap: 1rem; }
  .vorteil       { padding: 1.4rem; }
  .vorteil::after { font-size: 6rem; }

  .zielgruppe-card    { padding: 1.75rem 1.25rem; }
  .zielgruppe-card h3 { font-size: 1.2rem; }

  .step { grid-template-columns: 56px 1fr; gap: 0 1rem; }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }
  .step-content p { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .kontakt-form { padding: 1.5rem 1.25rem; }

  .cta-band { padding: 3.5rem 1rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { width: 100%; max-width: 360px; justify-content: center; }

  .footer-top   { grid-template-columns: 1fr; gap: 2rem; }
  footer        { padding: 3rem 1rem 1.5rem; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-legal   { flex-wrap: wrap; gap: 1rem; }

  /* Desktop sticky-cta ausblenden, mobilen Kreis einblenden */
  .sticky-cta { display: none !important; }
  .sticky-cta-mobile { display: flex; bottom: 1.25rem; right: 1.25rem; }

  .network { padding: 3rem 1rem; }
  .network-highlight { padding: 1.25rem; }
  .network-highlight p { font-size: 1rem; }
}

/* ── RESPONSIVE – Small mobile (≤380px) ─────────────────── */

@media (max-width: 380px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-stats > div { min-width: 100%; }
  .btn-primary, .btn-outline { font-size: 0.85rem; padding: 0.75rem 1rem; }
}
