/**
 * Startseite (Standard-Design)
 *
 * Alle Klassen sind mit .v2 / .v2-* geprefixt bzw. mit .am-home-v2 gescopet
 * und greifen nur auf der Startseite (Body-Klasse .am-home-v2, gesetzt in
 * front-page.php). Andere Seiten bleiben unverändert. Farben und Schriften
 * kommen aus den Theme-Tokens (style.css).
 */

.am-home-v2 {
  --v2-ink: #0f1d2f;
  --v2-text: #4b5563;
  --v2-muted: #6b7280;
  --v2-navy: #0f1d2f;
  --v2-navy-2: #1e3a5f;
  --v2-amber: #f59e0b;
  --v2-amber-hi: #fbbf24;
  --v2-amber-dark: #d97706;
  --v2-blue: #2563eb;
  --v2-soft: #eef2f7;
  --v2-line: #e3e8f1;
  --v2-radius: 22px;
  --v2-shadow: 0 18px 50px rgba(15, 29, 47, 0.14);
  --v2-shadow-sm: 0 6px 18px rgba(15, 29, 47, 0.08);
  --v2-bar: 0px;
  --v2-stats-h: 130px;
}

@media (min-width: 768px) {
  .am-home-v2 { --v2-bar: var(--top-bar-height); }
}

/* ============================================================
   Top-Bar + Header: transparent über dem Hero, weiß nach dem Scrollen
   ============================================================ */
.am-home-v2 .top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.am-home-v2 .header {
  margin-top: var(--v2-bar);
  margin-bottom: calc(var(--header-height) * -1);
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.am-home-v2 .header .custom-logo,
.am-home-v2 .header__logo-text { transition: filter 0.25s ease, color 0.25s ease; }
.am-home-v2 .header .custom-logo { filter: brightness(0) invert(1); }
.am-home-v2 .header__logo { color: #fff; }

.am-home-v2 .nav__link { color: rgba(255, 255, 255, 0.92); }
.am-home-v2 .nav__link:hover,
.am-home-v2 .nav__link--active { color: #fff; background: rgba(255, 255, 255, 0.14); }

.am-home-v2 .header__cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
  border-radius: 999px;
  padding: 10px 22px;
}
.am-home-v2 .header__cta:hover { background: #fff; color: var(--v2-ink); transform: none; box-shadow: none; }
.am-home-v2 .mobile-toggle span { background: #fff; }

/* Weißer Zustand: gescrollt oder mobiles Menü offen */
.am-home-v2 .header.header--scrolled,
.am-home-v2.mobile-nav-open .header {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--grey-100);
  box-shadow: var(--shadow-sm);
}
.am-home-v2 .header.header--scrolled .custom-logo,
.am-home-v2.mobile-nav-open .header .custom-logo { filter: none; }
.am-home-v2 .header.header--scrolled .header__logo,
.am-home-v2.mobile-nav-open .header .header__logo { color: var(--blue-900); }
.am-home-v2 .header.header--scrolled .nav__link { color: var(--grey-700); }
.am-home-v2 .header.header--scrolled .nav__link:hover,
.am-home-v2 .header.header--scrolled .nav__link--active { color: var(--blue-600); background: var(--blue-50); }
.am-home-v2 .header.header--scrolled .header__cta,
.am-home-v2.mobile-nav-open .header .header__cta {
  background: var(--v2-amber);
  border-color: var(--v2-amber);
  color: var(--v2-ink);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.am-home-v2 .header.header--scrolled .header__cta:hover,
.am-home-v2.mobile-nav-open .header .header__cta:hover { background: var(--v2-amber-dark); border-color: var(--v2-amber-dark); }
.am-home-v2 .header.header--scrolled .mobile-toggle span,
.am-home-v2.mobile-nav-open .header .mobile-toggle span { background: var(--grey-800); }

/* ============================================================
   Basis
   ============================================================ */
/* flow-root: der negative Hero-Margin kollabiert sonst mit dem Header-Margin */
.v2 { display: flow-root; color: var(--v2-text); background: #fff; overflow-x: clip; }
.v2 :where(h1, h2, h3) { color: var(--v2-ink); font-family: var(--font-heading); letter-spacing: -0.02em; }
.v2-container { width: 100%; max-width: var(--container-header); margin: 0 auto; padding: 0 var(--container-pad); }

.v2-section { padding: 104px 0; }
.v2-section--tight { padding: 72px 0; }
.v2-section--flush-top { padding-top: 0; }
.v2-section--panel { padding: 0; }

.v2-h2 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); line-height: 1.15; font-weight: 700; margin: 0 0 20px; overflow-wrap: break-word; }
@media (max-width: 640px) { .v2-h2 { -webkit-hyphens: auto; hyphens: auto; } }
.v2-h2--center { text-align: center; }
.v2 .v2-h2--light { color: #fff; }
.v2-sub { font-size: 1.125rem; line-height: 1.6; color: var(--v2-muted); max-width: 660px; margin: 0 auto; text-align: center; }
.v2-sub--light { color: rgba(255, 255, 255, 0.76); }
.v2-text { font-size: 1.0625rem; line-height: 1.7; color: var(--v2-text); margin: 0 0 24px; }
.v2-text--light { color: rgba(255, 255, 255, 0.78); }
.v2-head { margin-bottom: 56px; }
.v2-head .v2-h2 { margin-bottom: 14px; }

.v2-label { display: inline-block; font-size: 0.9375rem; font-weight: 600; color: var(--v2-blue); margin-bottom: 10px; }
.v2-label--center { display: block; text-align: center; }
.v2-label--light { color: #9fb7d8; }

.v2-pill {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: #e5edf8;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Buttons: Pillen */
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border: 0; border-radius: 999px;
  font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.v2-btn svg { width: 17px; height: 17px; }
.v2-btn--lg { padding: 18px 40px; font-size: 1rem; }
.v2-btn--accent { background: var(--v2-amber); color: var(--v2-ink); font-weight: 700; box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35); }
.v2-btn--accent:hover { background: var(--v2-amber-dark); color: var(--v2-ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45); }
.v2-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); padding: 13.5px 28px; }
.v2-btn--ghost:hover { background: #fff; color: var(--v2-ink); border-color: #fff; }
.v2-btn--outline { background: transparent; color: var(--v2-navy-2); border: 1.5px solid #b9c4d9; padding: 13.5px 30px; }
.v2-btn--outline:hover { background: var(--v2-navy-2); color: #fff; border-color: var(--v2-navy-2); }

.v2-center { display: flex; justify-content: center; margin-top: 48px; }
.v2-center--cta { margin-top: 40px; }

/* ============================================================
   Hero
   ============================================================ */
.v2-hero {
  /* Wie weit die Karten der „Vier Bereiche" über die Navy-Kante ragen */
  --v2-overlap: 100px;
  position: relative;
  /* Der Header hat oben den Top-Bar-Abstand (margin-top); der Hero zieht sich
     darunter wieder bis zum Seitenrand, damit die Navy-Fläche hinter der
     (transparenten) Top-Bar beginnt. */
  margin-top: calc(var(--v2-bar) * -1);
  padding: calc(var(--v2-bar) + var(--header-height) + 10px) 0 0;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}
.v2-hero__shape { position: absolute; inset: 0 0 var(--v2-overlap) 0; z-index: -1; }
.v2-hero__shape svg { display: block; width: 100%; height: 100%; }

.v2-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.v2 .v2-hero__title { color: #fff; font-size: clamp(2.1rem, min(1.4rem + 2.8vw, 5.6vh), 3.4rem); line-height: 1.1; font-weight: 800; margin: 0 0 18px; }
.v2-hero__typed { color: var(--v2-amber-hi); }
.v2-hero__lead { font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 0 24px; }

.v2-hero__visual { position: relative; }

/* SEO-Analyse-Karte */
.v2-formcard {
  position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto;
  background: #fff; border-radius: 24px; padding: 24px 28px 18px; color: var(--v2-text);
  box-shadow: 0 34px 80px rgba(2, 8, 20, 0.45), 0 0 0 1px rgba(15, 29, 47, 0.06);
}
.v2-formcard__title { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; line-height: 1.25; font-weight: 700; margin: 0 0 8px; }
.v2-formcard__icon { flex: none; width: 38px; height: 38px; border-radius: 12px; background: #fdf1d8; color: #b45309; display: grid; place-items: center; }
.v2-formcard__icon svg { width: 20px; height: 20px; }
.v2-formcard__sub { font-size: 0.875rem; line-height: 1.55; color: var(--v2-muted); margin: 0 0 16px; }

.v2-formcard .alber-seo-step1-form { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.v2-formcard .aseo-field { width: 100%; }
.v2-formcard .aseo-field input[type="url"],
.v2-formcard .aseo-field input[type="email"] {
  width: 100%; padding: 12px 16px; background: #f4f6f9; color: var(--v2-ink);
  border: 1.5px solid #e1e7ef; border-radius: 14px; font-size: 0.9375rem; font-family: inherit; line-height: 1.4;
  box-shadow: none; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.v2-formcard .aseo-field input[type="url"]::placeholder,
.v2-formcard .aseo-field input[type="email"]::placeholder { color: #8c97ab; }
.v2-formcard .aseo-field input[type="url"]:focus,
.v2-formcard .aseo-field input[type="email"]:focus { background: #fff; border-color: var(--v2-navy-2); box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12); }
.v2-formcard .aseo-field input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12); }
.v2-formcard .aseo-field-btn { width: 100%; margin-top: 4px; }
.v2-formcard .aseo-submit-btn {
  width: 100%; padding: 14px 24px; border-radius: 999px; background: var(--v2-amber); color: var(--v2-ink);
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.38);
}
.v2-formcard .aseo-submit-btn:hover:not(:disabled) { background: var(--v2-amber-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45); }
.v2-formcard .alber-seo-spinner { border-color: rgba(15, 29, 47, 0.25); border-top-color: var(--v2-ink); margin-right: 6px; }
.v2-formcard .alber-seo-trust { margin-top: 2px; font-size: 0.8125rem; color: #8c97ab; text-align: center; }
.v2-formcard .alber-seo-error { margin-top: 4px; }

.v2-formcard__alt { margin: 6px 0 0; text-align: center; font-size: 0.875rem; color: #8c97ab; }
.v2-formcard__alt a { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-family: var(--font-heading); font-weight: 600; color: var(--v2-navy-2); text-decoration: none; }
.v2-formcard__alt a:hover { color: var(--v2-blue); }
.v2-formcard__alt svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.v2-formcard__alt a:hover svg { transform: translateX(3px); }

/* Schwebende Hinweis-Karten (Kennzahlen aus dem Dashboard) */
.v2-float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; background: #fff; border-radius: 14px;
  box-shadow: var(--v2-shadow); border: 1px solid rgba(15, 29, 47, 0.06);
  animation: v2-float 6s ease-in-out infinite;
}
.v2-float strong { display: block; font-size: 12.5px; color: var(--v2-ink); line-height: 1.2; white-space: nowrap; }
.v2-float small { display: block; font-size: 11px; color: #7a849c; margin-top: 2px; }
.v2-float__icon { width: 34px; height: 34px; border-radius: 10px; background: #e6eefb; color: var(--v2-navy-2); display: grid; place-items: center; flex: none; }
.v2-float__icon svg { width: 18px; height: 18px; }
.v2-float__icon--accent { background: #fdf1d8; color: #b45309; }
.v2-float--a { right: -22px; top: -22px; }
@keyframes v2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Kennzahlen */
.v2-stats {
  list-style: none; display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap;
  height: var(--v2-stats-h); margin: 0; padding: 0; align-content: center;
}
.v2-stats li { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 clamp(24px, 5vw, 72px); text-align: center; }
.v2-stats li + li { border-left: 1px solid #cdd5e4; }
.v2-stats strong { font-family: var(--font-heading); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; color: var(--v2-ink); line-height: 1.1; }
.v2-stats span { margin-top: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--v2-navy-2); opacity: 0.85; }

/* ============================================================
   Soft-Container + vier Karten
   ============================================================ */
/* Vier Bereiche im ersten Bildschirm: Überschrift auf Navy, Karten überlappen die Kante */
.v2-intro { margin-top: 26px; }
.v2-intro__head { text-align: center; margin-bottom: 16px; }
.v2-intro .v2-label { margin-bottom: 4px; }
.v2 .v2-intro__title { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); line-height: 1.15; font-weight: 700; margin: 0 0 8px; }
.v2-intro__desc { max-width: 900px; margin: 0 auto; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.v2-soft--intro { padding: 12px; border-radius: 24px; box-shadow: 0 24px 60px rgba(10, 21, 35, 0.22); }
#cases-teaser { padding-bottom: 72px; }
#problem { padding-top: 28px; }
.v2-soft { background: var(--v2-soft); border-radius: 28px; padding: 22px; }
.v2-soft--visual { padding: 28px; }
.v2-pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.v2-pillar {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: #fff; border-radius: 16px; padding: 20px 22px 18px;
  text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v2-pillar:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-pillar__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.v2-pillar__icon { flex: none; width: 44px; height: 44px; border-radius: 13px; background: #e6eefb; color: var(--v2-navy-2); display: grid; place-items: center; }
.v2-pillar__icon svg { width: 22px; height: 22px; }
.v2-pillar__title { font-size: 1.125rem; line-height: 1.25; font-weight: 700; margin: 0; }
.v2-pillar__text { font-size: 0.875rem; line-height: 1.55; color: var(--v2-muted); margin: 0 0 12px; }
.v2-pillar__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--v2-blue); }
.v2-pillar__more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.v2-pillar:hover .v2-pillar__more svg { transform: translateX(4px); }

/* ============================================================
   Feature-Reihe (Problem)
   ============================================================ */
.v2-feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.v2-feature__copy { max-width: 540px; }
.v2-checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.v2-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.5; color: var(--v2-ink); }
.v2-checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: #d1fae5; color: #059669; stroke-width: 3; }

/* ============================================================
   Navy-Panels (Leistungen, GEO)
   ============================================================ */
.v2-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 80px 32px; border-radius: 32px;
  background: linear-gradient(135deg, #0a1523 0%, #112239 55%, #1e3a5f 100%);
  box-shadow: 0 30px 70px rgba(10, 21, 35, 0.28);
}
.v2-panel__shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.v2-panel--split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.v2-panel__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.v2-svcs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.v2-svc {
  display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff; text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
a.v2-svc:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-4px); }
.v2-svc__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(245, 158, 11, 0.16); color: var(--v2-amber-hi); display: grid; place-items: center; margin-bottom: 20px; }
.v2-svc__icon svg { width: 24px; height: 24px; }
.v2-svc__title { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; color: #fff; margin: 0 0 10px; }
.v2-svc__text { font-size: 0.9375rem; line-height: 1.65; color: rgba(255, 255, 255, 0.72); margin: 0 0 22px; }
.v2-svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--v2-amber-hi); }
.v2-svc__more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
a.v2-svc:hover .v2-svc__more svg { transform: translateX(4px); }
.v2-svc--cta { align-items: center; justify-content: center; text-align: center; border-style: dashed; border-color: rgba(255, 255, 255, 0.28); background: transparent; }
.v2-svc--cta .v2-svc__text { margin-bottom: 24px; }

/* ============================================================
   Warum alber marketing
   ============================================================ */
.v2-why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.v2-why__item {
  background: #fff; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 34px 30px 32px;
  box-shadow: var(--v2-shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v2-why__item:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-why__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 22px; color: #fff; background: linear-gradient(135deg, var(--v2-navy), var(--v2-navy-2)); }
.v2-why__icon svg { width: 26px; height: 26px; }
.v2-why__title { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; margin: 0 0 12px; }
.v2-why__text { font-size: 0.9375rem; line-height: 1.7; color: var(--v2-muted); margin: 0; }

/* KI-Chat-Grafik im Panel */
.v2-panel__visual { min-width: 0; }

/* ============================================================
   Cases
   ============================================================ */
.v2-cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.am-home-v2 .case-card { border-radius: var(--v2-radius); border-color: var(--v2-line); box-shadow: var(--v2-shadow-sm); }
.am-home-v2 .case-card:hover { box-shadow: var(--v2-shadow); }
.am-home-v2 .case-card__label { color: var(--v2-blue); }

/* ============================================================
   Prozess
   ============================================================ */
.v2-process { background: linear-gradient(180deg, #fff 0%, #f4f7fb 28%, #f4f7fb 72%, #fff 100%); }
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.v2-step { position: relative; background: #fff; border: 1px solid var(--v2-line); border-radius: 20px; padding: 30px 26px 28px; box-shadow: var(--v2-shadow-sm); }
.v2-step__no {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, var(--v2-navy), var(--v2-navy-2)); color: var(--v2-amber-hi);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; margin-bottom: 20px;
}
.v2-step__title { font-size: 1.1875rem; font-weight: 700; margin: 0 0 10px; }
.v2-step__text { font-size: 0.9375rem; line-height: 1.65; color: var(--v2-muted); margin: 0; }

/* ============================================================
   Zitat
   ============================================================ */
.v2-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.v2-quote__mark { width: 44px; color: var(--v2-amber); opacity: 0.95; margin: 0 auto 26px; display: block; }
.v2-quote__text { font-family: var(--font-heading); font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); line-height: 1.5; font-weight: 500; font-style: normal; color: var(--v2-ink); margin: 0 0 32px; padding: 0; border: 0; letter-spacing: -0.01em; }
.v2-quote__author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.v2-quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--v2-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; }
.v2-quote__author strong { display: block; color: var(--v2-ink); font-size: 1rem; }
.v2-quote__author small { display: block; color: var(--v2-muted); font-size: 0.875rem; margin-top: 2px; }

/* ============================================================
   CTA
   ============================================================ */
.v2-cta { position: relative; overflow: hidden; padding-bottom: 210px; background: #fff; }
.v2-cta::before {
  content: ''; position: absolute; left: 50%; bottom: -480px; width: 980px; height: 980px; transform: translateX(-50%);
  border-radius: 50%; border: 22px solid #f1f3f8; pointer-events: none;
}
.v2-cta__inner { position: relative; }
.v2-cta .v2-h2 { margin-bottom: 14px; }

/* ============================================================
   Footer-Anpassung: gerundete Oberkante, überlappt den CTA-Ring
   ============================================================ */
body.am-home-v2 footer.bg-brand-900 {
  position: relative; z-index: 1; margin-top: -70px;
  border-radius: 120px 120px 0 0 / 70px 70px 0 0;
}
body.am-home-v2 footer.bg-brand-900 > .am-container { padding-top: 6.5rem; }

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 640px) {
  .v2-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .v2-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; }
  .v2-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  .v2-panel { padding: 88px 64px; }
  .v2-panel--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
  .v2-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .v2-hero__grid { grid-template-columns: minmax(0, 1fr) 480px; gap: 56px; }
  .v2-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .v2-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .v2-svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-step:not(:last-child)::after {
    content: ''; position: absolute; top: 56px; right: -22px; width: 22px; height: 2px;
    background: repeating-linear-gradient(90deg, #b9c4d9 0 4px, transparent 4px 8px);
  }
}

@media (max-width: 1279px) {
  .v2-float--a { right: -8px; }
}

@media (max-width: 899px) {
  .v2-hero { --v2-overlap: 56px; padding-top: calc(var(--v2-bar) + var(--header-height) + 32px); }
  .v2-intro { margin-top: 40px; }
  .v2-intro__head { margin-bottom: 22px; }
  /* Mobil: Navy-Fläche per CSS statt gedehntem SVG */
  .v2-hero__shape {
    background: linear-gradient(135deg, #0a1523 0%, #112239 55%, #1e3a5f 100%);
    border-radius: 0 0 50% 50% / 0 0 56px 56px;
  }
  .v2-hero__shape svg { display: none; }
  .v2-float--a { right: -6px; top: -26px; }
  .v2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: var(--v2-stats-h); align-content: center; }
  .v2-stats li { padding: 0 6px; }
  .v2-stats strong { font-size: 1.35rem; }
  .v2-stats span { font-size: 0.75rem; }
  .v2-section { padding: 72px 0; }
  .v2-section--tight { padding: 48px 0; }
  .v2-section--flush-top { padding-top: 0; }
  .v2-section--panel { padding: 0; }
  .v2-head { margin-bottom: 40px; }
  .v2-panel { border-radius: 26px; }
  .v2-cta { padding-bottom: 150px; }
  body.am-home-v2 footer.bg-brand-900 { margin-top: -40px; border-radius: 56px 56px 0 0 / 36px 36px 0 0; }
  body.am-home-v2 footer.bg-brand-900 > .am-container { padding-top: 4.5rem; }
}

@media (max-width: 520px) {
  .v2-formcard { padding: 28px 22px 24px; border-radius: 22px; }
  .v2-soft--visual { padding: 14px; }
  .v2-float { transform: scale(0.88); }
  .v2-panel { padding: 52px 20px; }
  .v2-btn--lg { padding: 16px 28px; }
  .v2-panel__actions .v2-btn { width: 100%; }
}

/* Kurze Desktop-Fenster (z. B. MacBook mit Browserleisten): alles etwas kompakter, unter
   860 px Höhe zusätzlich ohne Top-Bar, damit „Was wir machen" auch dort ohne Scrollen sichtbar bleibt. */
@media (min-width: 1024px) and (max-height: 920px) {
  .v2-hero { --v2-overlap: 84px; padding-top: calc(var(--v2-bar) + var(--header-height) + 14px); }
  .v2-hero__title { margin-bottom: 14px; }
  .v2-hero__lead { font-size: 1rem; line-height: 1.55; margin-bottom: 18px; }
  .v2-btn--ghost { padding: 11.5px 26px; }
  .v2-formcard { padding: 20px 24px 14px; }
  .v2-formcard__sub { font-size: 0.8125rem; margin-bottom: 12px; }
  .v2-formcard .alber-seo-step1-form { gap: 8px; }
  .v2-formcard .aseo-field input[type="url"],
  .v2-formcard .aseo-field input[type="email"] { padding: 10px 14px; }
  .v2-formcard .aseo-submit-btn { padding: 12px 22px; }
  .v2-intro { margin-top: 16px; }
  .v2-intro__head { margin-bottom: 10px; }
  .v2-intro__desc { font-size: 0.9375rem; line-height: 1.5; }
  .v2-soft--intro { padding: 10px; }
  .v2-pillars { gap: 10px; }
  .v2-pillar { padding: 14px 18px 12px; }
  .v2-pillar__head { margin-bottom: 8px; }
  .v2-pillar__icon { width: 38px; height: 38px; border-radius: 11px; }
  .v2-pillar__icon svg { width: 20px; height: 20px; }
  .v2-pillar__text { font-size: 0.8125rem; line-height: 1.5; margin-bottom: 8px; }
}

@media (min-width: 1024px) and (max-height: 860px) {
  .am-home-v2 { --v2-bar: 0px; }
  .am-home-v2 .top-bar { display: none; }
  /* ohne Top-Bar läge der Chip direkt unter dem Header-Button */
  .v2-float--a { display: none; }
}

/* Schmale und niedrige Desktop-Fenster (Tablet quer, kleine Laptops): Hero noch kompakter. */
@media (min-width: 1024px) and (max-width: 1279px) and (max-height: 820px) {
  .v2-hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; }
  .v2 .v2-hero__title { font-size: clamp(1.8rem, 4.4vh, 2.25rem); margin-bottom: 10px; }
  .v2-hero__lead { font-size: 0.9375rem; margin-bottom: 14px; }
  .v2-btn--ghost { padding: 9.5px 22px; }
  .v2-formcard { padding: 16px 20px 10px; }
  .v2-formcard__sub { display: none; }
  .v2-float { display: none; }
  .v2-intro { margin-top: 12px; }
  .v2-intro__desc { display: none; }
  .v2-intro__head { margin-bottom: 8px; }
  .v2-pillar { padding: 12px 14px 10px; }
  .v2-pillar__text { font-size: 0.78125rem; line-height: 1.4; margin-bottom: 6px; }
  .v2-pillar__more { font-size: 0.8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-float { animation: none; }
  .v2-pillar, .v2-btn, .v2-svc, .v2-why__item { transition: none; }
}
