/* ==========================================================================
   VIA-Abiball — landing page styles
   Two variants share the same base; a body class flips treatment.
   .var-editorial  — ivory page, deep-blue type, serif claim, gold accents
   .var-midnight   — near-black page, white type, sans claim, gold glow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --abi-gold:       #C8A464;
  --abi-gold-2:     #B98D45;
  --abi-champagne:  #E8D5A8;
  --abi-ivory:      #FAF6EE;
  --abi-ivory-2:    #F3ECDD;
  --abi-cream-line: rgba(10, 22, 40, .12);
  --abi-night:      #0A1628;
  --abi-night-2:    #060E1B;
  --abi-night-line: rgba(255, 255, 255, .10);
  --accent:         var(--abi-gold);

  --font-display-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-display-sans:  'Montserrat', 'Segoe UI', Arial, sans-serif;
  --font-body:          'Inter', 'Segoe UI', Arial, sans-serif;

  --via-deep-blue-2: #001F40;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 280ms cubic-bezier(.2, .7, .2, 1),
              color 280ms cubic-bezier(.2, .7, .2, 1);
}
a { text-decoration: none; color: inherit; }
a:hover { opacity: .85; }
button { font: inherit; cursor: pointer; }

.accent-color { color: var(--accent); }

/* ------- Editorial variant (ivory + deep blue + gold) ------- */
body.var-editorial {
  background: var(--abi-ivory);
  color: #1A2236;
}
.var-editorial .abi-header { background: rgba(250, 246, 238, .85); border-bottom: 1px solid var(--abi-cream-line); }
.var-editorial .abi-nav a { color: #44506A; }
.var-editorial .abi-nav a:hover { color: #0A1628; opacity: 1; }
.var-editorial .abi-hero { background: linear-gradient(180deg, var(--abi-ivory) 0%, var(--abi-ivory-2) 100%); color: #0A1628; }
.var-editorial .abi-hero-grain { display: none; }
.var-editorial .abi-claim { font-family: var(--font-display-serif); font-weight: 500; font-style: italic; }
.var-editorial .abi-sub { color: #44506A; }
.var-editorial .abi-h2 { color: #0A1628; font-family: var(--font-display-serif); font-weight: 500; font-style: italic; font-size: 64px; line-height: 1.05; letter-spacing: -.005em; }
.var-editorial .abi-vorteile { background: var(--abi-ivory); }
.var-editorial .abi-vorteile-card { background: #fff; border: 1px solid var(--abi-cream-line); }
.var-editorial .abi-vorteile-title { color: #0A1628; }
.var-editorial .abi-vorteile-desc { color: #44506A; }
.var-editorial .abi-process { background: #fff; border-top: 1px solid var(--abi-cream-line); border-bottom: 1px solid var(--abi-cream-line); }
.var-editorial .abi-process-title { color: #0A1628; }
.var-editorial .abi-process-desc { color: #44506A; }
.var-editorial .abi-anfrage { background: var(--abi-ivory-2); }
.var-editorial .abi-form { background: #fff; border: 1px solid var(--abi-cream-line); }
.var-editorial .abi-field input,
.var-editorial .abi-field select,
.var-editorial .abi-field textarea {
  background: #fff; border-color: var(--abi-cream-line); color: #0A1628;
}
.var-editorial .abi-field span { color: #44506A; }
.var-editorial .abi-faq { background: var(--abi-ivory); }
.var-editorial .abi-faq-item { background: #fff; border: 1px solid var(--abi-cream-line); }
.var-editorial .abi-faq-q { color: #0A1628; }
.var-editorial .abi-faq-a { color: #44506A; }
.var-editorial .abi-checks li { color: #44506A; }

/* ------- Midnight variant (near-black + champagne + glow) ------- */
body.var-midnight {
  background: var(--abi-night);
  color: rgba(255, 255, 255, .92);
}
.var-midnight .abi-header { background: rgba(10, 22, 40, .65); border-bottom: 1px solid var(--abi-night-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.var-midnight .abi-nav a { color: rgba(255, 255, 255, .7); }
.var-midnight .abi-nav a:hover { color: #fff; opacity: 1; }
.var-midnight .abi-hero {
  background: radial-gradient(ellipse 80% 60% at 75% 30%, rgba(200, 164, 100, .18) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 15% 80%, rgba(200, 164, 100, .08) 0%, transparent 60%),
              var(--abi-night);
  color: #fff;
}
.var-midnight .abi-hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='.9' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/></svg>");
}
.var-midnight .abi-claim { font-family: var(--font-display-sans); font-weight: 700; }
.var-midnight .abi-claim-2 { font-style: normal; }
.var-midnight .abi-sub { color: rgba(255, 255, 255, .7); }
.var-midnight .abi-h2 { color: #fff; font-family: var(--font-display-sans); font-weight: 700; font-size: 56px; line-height: 1.08; letter-spacing: -.01em; }
.var-midnight .abi-vorteile { background: var(--abi-night-2); }
.var-midnight .abi-vorteile-card { background: rgba(255, 255, 255, .03); border: 1px solid var(--abi-night-line); }
.var-midnight .abi-vorteile-title { color: #fff; font-family: var(--font-display-sans); font-style: normal; font-weight: 600; font-size: 24px; }
.var-midnight .abi-vorteile-desc { color: rgba(255, 255, 255, .65); }
.var-midnight .abi-process { background: var(--abi-night); border-top: 1px solid var(--abi-night-line); border-bottom: 1px solid var(--abi-night-line); }
.var-midnight .abi-process-title { color: #fff; font-family: var(--font-display-sans); font-style: normal; font-weight: 600; font-size: 19px; }
.var-midnight .abi-process-desc { color: rgba(255, 255, 255, .6); }
.var-midnight .abi-anfrage { background: var(--abi-night-2); }
.var-midnight .abi-form { background: rgba(255, 255, 255, .04); border: 1px solid var(--abi-night-line); }
.var-midnight .abi-field input,
.var-midnight .abi-field select,
.var-midnight .abi-field textarea {
  background: rgba(255, 255, 255, .04); border-color: var(--abi-night-line); color: #fff;
}
.var-midnight .abi-field input::placeholder,
.var-midnight .abi-field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.var-midnight .abi-field span { color: rgba(255, 255, 255, .55); }
.var-midnight .abi-faq { background: var(--abi-night); }
.var-midnight .abi-faq-item { background: rgba(255, 255, 255, .03); border: 1px solid var(--abi-night-line); }
.var-midnight .abi-faq-q { color: #fff; }
.var-midnight .abi-faq-a { color: rgba(255, 255, 255, .7); }
.var-midnight .abi-checks li { color: rgba(255, 255, 255, .7); }
.var-midnight .abi-hero-card { background: rgba(255, 255, 255, .04); }
.var-midnight .abi-hero-card-body { font-family: var(--font-display-sans); font-style: normal; font-weight: 500; font-size: 20px; }
.var-midnight .abi-form-success h3 { font-family: var(--font-display-sans); font-style: normal; font-weight: 600; }

/* ------- Eyebrow (shared) ------- */
.abi-eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}

/* ------- Buttons (shared) ------- */
.abi-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 28px;
  transition: all 220ms cubic-bezier(.2, .7, .2, 1);
  border: 1px solid transparent;
  display: inline-flex; gap: 10px; align-items: center;
  text-decoration: none;
  background: transparent;
}
.abi-btn-primary {
  background: var(--accent); color: #0A1628;
  border: 1px solid var(--accent);
}
.abi-btn-primary:hover { opacity: 1; filter: brightness(1.05); }
.var-editorial .abi-btn-ghost {
  color: var(--via-deep-blue-2);
  border: 1px solid rgba(10, 22, 40, .18);
}
.var-midnight .abi-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.abi-btn-block { width: 100%; justify-content: center; margin-top: 6px; }

/* ------- Header (shared) ------- */
.abi-header { position: sticky; top: 0; z-index: 30; }
.abi-header-inner { max-width: 1280px; margin: 0 auto; height: 76px; padding: 0 40px; display: flex; align-items: center; gap: 32px; }
.abi-brand { display: flex; align-items: baseline; gap: 6px; }
.abi-mark { font-family: var(--font-display-sans); font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.abi-brand-sub { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; opacity: .65; text-transform: uppercase; }
.abi-nav { display: flex; gap: 28px; margin-left: auto; }
.abi-nav a { font-family: var(--font-body); font-size: 13px; font-weight: 500; letter-spacing: .04em; transition: color 180ms cubic-bezier(.2, .7, .2, 1); }

/* ------- School strip (under header) ------- */
.abi-strip { position: sticky; top: 76px; z-index: 29; }
.abi-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: 24px;
  padding: 10px 40px;
}
.abi-strip-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  flex-shrink: 0; white-space: nowrap;
}
.abi-strip-label span { opacity: .5; margin-left: 4px; }
.abi-strip-nav {
  display: flex; gap: 4px; align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 32px), transparent 100%);
}
.abi-strip-nav::-webkit-scrollbar { display: none; }
.abi-strip-link {
  display: inline-flex; gap: 10px; align-items: center;
  padding: 6px 14px;
  font-family: var(--font-body); font-size: 12px;
  white-space: nowrap; flex-shrink: 0;
  transition: background 180ms cubic-bezier(.2, .7, .2, 1);
}
.abi-strip-code {
  font-family: var(--font-display-sans); font-weight: 700; font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid var(--accent); color: var(--accent);
  padding: 3px 7px;
  flex-shrink: 0;
}
.abi-strip-name { font-weight: 500; }
.abi-strip-add {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  flex-shrink: 0; white-space: nowrap;
  padding-left: 18px;
}
.var-editorial .abi-strip { background: rgba(243, 236, 221, .88); border-bottom: 1px solid var(--abi-cream-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.var-editorial .abi-strip-link { color: #44506A; }
.var-editorial .abi-strip-link:hover { background: rgba(200, 164, 100, .12); color: #0A1628; opacity: 1; }
.var-midnight .abi-strip { background: rgba(6, 14, 27, .85); border-bottom: 1px solid var(--abi-night-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.var-midnight .abi-strip-link { color: rgba(255, 255, 255, .7); }
.var-midnight .abi-strip-link:hover { background: rgba(255, 255, 255, .06); color: #fff; opacity: 1; }

@media (max-width: 900px) {
  .abi-strip { top: 60px; }
  .abi-strip-label, .abi-strip-add { display: none; }
}

/* ------- Hero ------- */
.abi-hero { position: relative; overflow: hidden; padding: 120px 40px 140px; }
.abi-hero-inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }
.abi-claim { font-size: 96px; line-height: 1.02; letter-spacing: -.015em; margin: 0 0 32px; }
.abi-claim span { display: block; }
.abi-claim-2 { font-style: italic; }
.abi-sub { font-size: 19px; line-height: 1.65; max-width: 600px; margin: 0; }
.abi-sub-narrow { max-width: 460px; margin-top: 18px; }
.abi-cta-row { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.abi-hero-meta { display: flex; gap: 28px; margin-top: 60px; font-family: var(--font-body); font-size: 14px; align-items: center; flex-wrap: wrap; }
.abi-hero-meta > div:not(.abi-hero-divider) { display: flex; gap: 10px; align-items: baseline; opacity: .8; }
.abi-hero-meta span { font-family: var(--font-display-sans); font-weight: 700; font-size: 24px; }
.abi-hero-divider { width: 1px; height: 20px; background: currentColor; opacity: .2; }
.abi-hero-side {
  position: absolute; right: 40px; top: 50%; transform: translateY(-30%);
  width: 320px; z-index: 1; pointer-events: none;
}
.abi-hero-card {
  border: 1px solid var(--accent); padding: 32px 28px;
  background: rgba(200, 164, 100, .04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: rotate(-2deg);
}
.abi-hero-card-label { font-family: var(--font-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.abi-hero-card-body { font-family: var(--font-display-serif); font-style: italic; font-size: 22px; line-height: 1.3; }

@media (max-width: 1100px) { .abi-hero-side { display: none; } }

/* ------- Section base ------- */
section { padding: 120px 40px; }
.abi-vorteile > *, .abi-process > *, .abi-anfrage > *, .abi-faq > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.abi-h2 { margin: 0 0 56px; }

/* ------- Vorteile ------- */
.abi-vorteile-head { display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.abi-vorteile-head .abi-h2 { margin: 0; }
.abi-vorteile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.abi-vorteile-card { padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.abi-vorteile-num {
  font-family: var(--font-display-sans); font-weight: 700; font-size: 14px;
  letter-spacing: .12em; padding-bottom: 10px;
  border-bottom: 1px solid var(--accent); color: var(--accent);
  align-self: flex-start; padding-right: 28px;
}
.abi-vorteile-title { font-family: var(--font-display-serif); font-weight: 500; font-style: italic; font-size: 30px; line-height: 1.15; margin: 0; }
.abi-vorteile-desc { font-size: 15px; line-height: 1.7; margin: 0; }

/* ------- Process ------- */
.abi-process-head { display: grid; grid-template-columns: 200px 1fr; gap: 60px; align-items: end; margin-bottom: 72px; }
.abi-process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.abi-process-step { position: relative; padding-top: 36px; }
.abi-process-dot { width: 12px; height: 12px; border-radius: 999px; position: absolute; top: 0; left: 0; background: var(--accent); }
.abi-process-list::before { content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--accent); opacity: .35; }
.abi-process-phase { font-family: var(--font-body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; color: var(--accent); }
.abi-process-title { font-family: var(--font-display-serif); font-weight: 500; font-style: italic; font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.abi-process-desc { font-size: 13px; line-height: 1.6; margin: 0; }

/* ------- Anfrage ------- */
.abi-anfrage-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.abi-checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.abi-checks li { display: flex; gap: 14px; font-size: 15px; align-items: center; }
.abi-checks i { font-style: normal; font-weight: 700; }
.abi-form { padding: 40px; display: grid; gap: 18px; }
.abi-form-fields { display: grid; gap: 18px; }
.abi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.abi-field { display: flex; flex-direction: column; gap: 8px; }
.abi-field span { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.abi-field input, .abi-field select, .abi-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 13px 16px;
  border: 1px solid; border-radius: 0; outline: none;
  transition: border-color 180ms cubic-bezier(.2, .7, .2, 1);
}
.abi-field input:focus, .abi-field select:focus, .abi-field textarea:focus { border-color: var(--accent); }
.abi-field textarea { resize: vertical; min-height: 80px; }
.abi-form-fineprint { font-size: 11px; opacity: .55; text-align: center; }
.abi-form-success { text-align: center; padding: 24px; }
.abi-form-success-mark {
  width: 56px; height: 56px; border-radius: 999px; color: #0A1628;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; margin-bottom: 18px;
  background: var(--accent);
}
.abi-form-success h3 { font-family: var(--font-display-serif); font-style: italic; font-weight: 500; font-size: 32px; margin: 0 0 12px; }

/* ------- FAQ ------- */
.abi-faq-list { display: grid; gap: 12px; }
.abi-faq-item { padding: 22px 28px; transition: background 180ms; }
.abi-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-weight: 600; font-size: 17px;
  background: transparent; border: 0; padding: 0;
  text-align: left; color: inherit;
}
.abi-faq-toggle { font-size: 28px; font-weight: 300; line-height: 1; font-family: var(--font-display-sans); }
.abi-faq-a { font-size: 15px; line-height: 1.7; margin-top: 14px; padding-right: 60px; display: none; }
.abi-faq-item.open .abi-faq-a { display: block; }

/* ------- Footer ------- */
.abi-footer { background: var(--abi-night-2); color: rgba(255, 255, 255, .85); padding: 96px 40px 36px; }
.abi-footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; }
.abi-footer-mark { font-size: 28px; }
.abi-footer-brand-sub { font-family: var(--font-body); color: rgba(255, 255, 255, .55); font-size: 13px; margin-top: 6px; letter-spacing: .08em; }
.abi-footer-blurb { color: rgba(255, 255, 255, .65); font-size: 14px; margin-top: 18px; max-width: 320px; line-height: 1.7; }
.abi-footer-h { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 16px; }
.abi-footer-l { font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.9; }
.abi-footer-l a:hover { opacity: 1; }
.abi-footer-spacer { margin-top: 12px; }
.abi-footer-spacer-lg { margin-top: 28px; }
.abi-footer-bottom { max-width: 1280px; margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--abi-night-line); font-size: 12px; color: rgba(255, 255, 255, .4); text-align: center; }

@media (max-width: 900px) {
  .abi-claim { font-size: 56px; }
  .abi-h2 { font-size: 40px !important; }
  .abi-vorteile-grid,
  .abi-vorteile-head,
  .abi-process-list,
  .abi-anfrage-grid,
  .abi-footer-grid,
  .abi-process-head,
  .abi-row { grid-template-columns: 1fr; }
  section { padding: 80px 24px; }
  .abi-header-inner { padding: 0 24px; }
  .abi-nav { display: none; }
}
