/* Schroer Digital CI v3 · bestand.css (BAUPLAN 16, 29.11.2026)
   Löst styles.css (178 KB), ai.css (51 KB) und shell.css auf den Seiten ab, die ihr altes Innenleben behalten:
   /ar/*, /legal/*, 404, /aml-check, /e-invoicing-readiness (+ Berichte). Nur das alte Klassen-Vokabular dieser Seiten,
   gesetzt aus tokens.css (keine eigenen Farben, Radien, Schatten, Schriftgrößen). Gilt nur unter .ci-alt bzw. .einv-report.
   Kein Wort der Seiten geändert; Icons, Glow, Raster und Punkt-Deko der alten Fassung bleiben aus. */

/* Alte Variablen (einvoicing.css, aml.css) auf die Tokens */
:where(body.ci-alt, body.einv-report) {
  --ink: var(--text); --ink-2: var(--text); --ink-3: var(--text-soft);
  --bg: var(--navy-900); --bg-2: var(--navy-800); --bg-3: var(--navy-700);
  --line-2: var(--line); --gold-2: var(--gold-hi); --gold-3: var(--gold-lo); --gold-soft: rgb(from var(--gold) r g b / .14);
  --ok: var(--gold-hi); --danger: var(--alert);
  --radius: var(--r-card); --radius-sm: var(--r-card); --radius-lg: var(--r-card);
  --step-00: var(--fs-small); --step-0: var(--fs-text); --step-1: var(--fs-h3); --step-2: var(--fs-h3); --step-3: var(--fs-h2); --step-5: var(--fs-h1);
  --ease-out: var(--ease);
}
body.einv-report { --text: var(--paper-ink); --text-soft: var(--paper-soft); --ink-3: var(--paper-soft); --line: var(--paper-soft); font-family: var(--font); }
html[dir="rtl"] body.einv-report { font-family: var(--font-ar); }

/* Raster und Abschnitte */
.ci-alt .container { width: min(100% - 2 * var(--margin), var(--content)); margin-inline: auto; }
.ci-alt .container.narrow { width: min(100% - 2 * var(--margin), 820px); }
.ci-alt .section { position: relative; padding-block: var(--s8); }
.ci-alt .section + .section { padding-top: 0; }
.ci-alt .section--hero, .ci-alt .section--page-hero { padding-block: var(--s8) var(--s7); }
.ci-alt .section--page-hero + .section { padding-top: 0; }
.ci-alt .center { text-align: center; }
.ci-alt .center :is(h1, h2, p, .h1, .h2, .lead) { margin-inline: auto; }
.ci-alt .mt-3 { margin-top: var(--s5); }
.ci-alt .reveal { opacity: 1; transform: none; }
.ci-alt .section__head { margin-bottom: var(--s6); }
.ci-alt .section__head .h2 { margin-top: var(--s2); }
.ci-alt .section__head .lead { margin-top: var(--s4); }

/* Schrift: eine Familie, Größen aus den Tokens, keine Versal-Kicker */
.ci-alt .v2-chip img { display: none; }
.ci-alt .eyebrow, .ci-alt .v2-chip { display: block; font-size: var(--fs-small); font-weight: var(--fw-small); line-height: var(--lh-small); color: var(--text-soft); letter-spacing: 0; text-transform: none; }
.ci-alt .h1 { margin-top: var(--s3); max-width: 20ch; }
.ci-alt .h2 { max-width: 26ch; }
.ci-alt .lead { margin-top: var(--s4); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-text); color: var(--text); max-width: 60ch; }
.ci-alt .muted { color: var(--text-soft); }
.ci-alt .prose { margin-top: var(--s4); }
.ci-alt .prose-block h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin: var(--s7) 0 var(--s3); max-width: none; }
.ci-alt .prose-block h2:first-child { margin-top: 0; }
.ci-alt .prose-block h3 { margin: var(--s5) 0 var(--s2); }
.ci-alt .prose-block :is(ul, ol) { display: grid; gap: var(--s2); margin-top: var(--s3); padding-inline-start: var(--s5); }
.ci-alt .prose-block p + p { margin-top: var(--s3); }
.ci-alt :is(.prose-block, .prose, .faq, .lead, .muted, .contact-card) a:not([class]) { color: var(--text); text-decoration-color: var(--gold); }
html[dir="rtl"] body.ci-alt { font-family: var(--font-ar); }
html[dir="rtl"] .ci-alt :is(h1, h2, h3, .h1, .h2) { letter-spacing: 0; line-height: 1.3; }
html[dir="rtl"] .ci-alt .h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); }

/* Knöpfe: dieselben zwei wie im System */
.ci-alt .btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--ctl-h); padding: 0 var(--s5); border: 1px solid transparent; border-radius: var(--r-pill); background: var(--gold); color: var(--on-gold); box-shadow: var(--shadow-card); font-family: inherit; font-size: var(--fs-text); font-weight: var(--fw-btn); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color var(--dur-tap) var(--ease), color var(--dur-tap) var(--ease); forced-color-adjust: none; }
.ci-alt .btn:hover { background: var(--gold-hi); color: var(--on-gold); }
.ci-alt .btn:active { background: var(--gold-lo); }
.ci-alt .btn--ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; }
.ci-alt .btn--ghost:hover { background: var(--navy-700); color: var(--text); }
.ci-alt .btn--sm { min-height: 44px; padding: 0 var(--s4); font-size: var(--fs-small); }
.ci-alt .btn[hidden] { display: none; }
.ci-alt :is(.hero__cta, .cta-band__actions, .solution__actions, .booking-card__actions, .mt-3) { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Listen, FAQ */
.ci-alt :is(.list, .guarantees-list, .solution__bullets, .einv-get__list) { display: grid; gap: var(--s3); padding: 0; margin-top: var(--s4); list-style: none; }
.ci-alt :is(.list, .guarantees-list, .solution__bullets, .einv-get__list) > li { position: relative; padding-inline-start: var(--s5); max-width: var(--measure); }
.ci-alt :is(.list, .guarantees-list, .solution__bullets, .einv-get__list) > li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: var(--s3); height: 1px; background: var(--gold); }
.ci-alt .faq-list { border-top: 1px solid var(--line); }
.ci-alt .faq { border-bottom: 1px solid var(--line); }
.ci-alt .faq summary { display: flex; justify-content: space-between; gap: var(--s5); padding-block: var(--s5); cursor: pointer; list-style: none; font-size: var(--fs-h3); font-weight: var(--fw-h3); line-height: var(--lh-h3); }
.ci-alt .faq summary::-webkit-details-marker { display: none; }
.ci-alt .faq summary::after { content: "+"; flex: none; color: var(--text-soft); transition: transform var(--dur-ui) var(--ease); }
.ci-alt .faq[open] summary::after { transform: rotate(45deg); }
.ci-alt .faq > p { padding-bottom: var(--s5); color: var(--text); }

/* Karten: eine Form (Navy-Fläche, 14 px, Schatten nach rechts unten) */
.ci-alt :is(.trust, .step, .value, .fact, .solution, .contact-form, .contact-card, .booking-card, .person, .notfound-card, .cta-band) { border-radius: var(--r-card); background: var(--navy-800); box-shadow: var(--shadow-card); }
.ci-alt :is(.trust__icon, .solution__icon, .service__icon, .hero__chip-dot, .video-card__dot) { display: none; }
.ci-alt :is(.trust-grid, .process-grid, .values-grid, .facts-grid, .notfound-grid, .team-grid) { display: grid; gap: var(--gutter); }
.ci-alt .trust-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ci-alt .process-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.ci-alt .values-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ci-alt .facts-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ci-alt :is(.trust, .step, .value) { padding: var(--s5); }
.ci-alt :is(.trust__title, .step__title, .value__title) { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.ci-alt :is(.trust__text, .step__text, .value__text) { color: var(--text-soft); }
.ci-alt .step__n { margin-bottom: var(--s4); font-size: var(--fs-small); font-weight: var(--fw-btn); color: var(--gold); font-variant-numeric: tabular-nums; }
.ci-alt .fact { display: grid; gap: var(--s1); padding: var(--s4) var(--s5); }
.ci-alt .fact__l { font-size: var(--fs-small); color: var(--text-soft); }
.ci-alt .fact__v { font-weight: var(--fw-h3); }

/* Aufruf am Seitenende */
.ci-alt .cta-band { display: grid; gap: var(--s5); align-items: end; padding: var(--s7); background: var(--light), var(--navy-800); }
.ci-alt .cta-band .lead { color: var(--text-soft); font-size: var(--fs-text); line-height: var(--lh-text); }
@media (min-width: 1024px) { .ci-alt .cta-band { grid-template-columns: 1fr auto; } }

/* Kopf mit Bild (/ar/* · Zukunftsbild). Das Bild steht NEBEN dem Text (Endseite der Zeile), nie unter ihm (Nachtrag 7). */
.ci-alt :is(.section--page-hero, .hero-shell):has(.alt-bild) { isolation: isolate; overflow: hidden; }
.ci-alt .alt-bild { position: absolute; inset-block: 0; inset-inline-start: 44%; inset-inline-end: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ci-alt .alt-bild picture { height: 100%; }
.ci-alt .alt-bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fp, 50% 50%); }
.ci-alt .alt-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, var(--navy-900) 0, rgb(from var(--navy-900) r g b / .7) 14%, transparent 42%), linear-gradient(0deg, var(--navy-900) 0, transparent 22%); }
html[dir="ltr"] .ci-alt .alt-bild::after { background: linear-gradient(to right, var(--navy-900) 0, rgb(from var(--navy-900) r g b / .7) 14%, transparent 42%), linear-gradient(0deg, var(--navy-900) 0, transparent 22%); }
.ci-alt .hero-shell .alt-bild { inset-inline-start: 50%; }
.ci-alt .section--page-hero:has(.alt-bild) { min-height: 520px; display: flex; align-items: center; }
.ci-alt .section--page-hero:has(.alt-bild) .container { width: min(100% - 2 * var(--margin), var(--content)); }
.ci-alt .section--page-hero:has(.alt-bild) :is(.h1, .lead) { max-width: min(48%, 24ch); }
.ci-alt .section--page-hero:has(.alt-bild) .lead { max-width: min(48%, 52ch); }

/* /ar/ Startseite */
.ci-alt .hero-shell { min-height: min(820px, calc(100svh - var(--head-h))); display: flex; align-items: center; }
.ci-alt .hero { display: grid; gap: var(--s6); }
.ci-alt .hero__content { max-width: 620px; }
.ci-alt .hero__chip { display: block; font-size: var(--fs-small); font-weight: var(--fw-small); color: var(--text); }
.ci-alt .hero__title { margin-top: var(--s4); max-width: 14ch; }
.ci-alt .hero__cta { margin-top: var(--s6); }
.ci-alt .hero__pills { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); font-size: var(--fs-small); font-weight: var(--fw-small); color: var(--text); }
.ci-alt .hero__pill { position: relative; padding-inline-start: var(--s4); }
.ci-alt .hero__pill::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: var(--s2); height: 1px; background: var(--gold); }
.ci-alt .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s6); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.ci-alt .stat__val { font-size: var(--fs-h3); font-weight: var(--fw-display); color: var(--text); }
.ci-alt .stat__lbl { font-size: var(--fs-small); color: var(--text-soft); max-width: 18ch; }
.ci-alt .section--film .container { display: grid; gap: var(--s6); align-items: center; }
.ci-alt .video-card { max-width: 340px; }
.ci-alt .video-card__frame { overflow: hidden; border-radius: var(--r-card); box-shadow: var(--shadow-doc); aspect-ratio: 9 / 16; background: var(--navy-800); }
.ci-alt .video-card__frame video { width: 100%; height: 100%; object-fit: cover; }
.ci-alt .video-card__caption { margin-top: var(--s3); font-size: var(--fs-small); color: var(--text-soft); }
@media (min-width: 768px) { .ci-alt .section--film .container { grid-template-columns: 340px 1fr; } }

/* /ar/solutions */
.ci-alt .solutions-list { display: grid; gap: var(--gutter); }
.ci-alt .solution { display: grid; gap: var(--s5); padding: var(--s6); scroll-margin-top: calc(var(--head-h) + var(--s4)); }
.ci-alt .solution__title { font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: var(--fw-display); }
.ci-alt .solution__short { margin-top: var(--s3); color: var(--text-soft); }
.ci-alt .solution__price { margin-top: var(--s3); font-weight: var(--fw-h3); }
.ci-alt .solution__actions { margin-top: var(--s5); }
@media (min-width: 1024px) { .ci-alt .solution { grid-template-columns: 5fr 7fr; gap: var(--s7); } }

/* /ar/about */
.ci-alt .team-grid { grid-template-columns: 1fr; }
.ci-alt .person { display: grid; gap: var(--s5); padding: var(--s5); align-items: start; }
.ci-alt .person__img img { width: 100%; max-width: 280px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); }
.ci-alt .person__name { font-size: var(--fs-h3); }
.ci-alt .person__role { color: var(--text-soft); font-size: var(--fs-small); }
.ci-alt .person__bio { margin-top: var(--s3); }
.ci-alt .person__links { display: flex; gap: var(--s4); margin-top: var(--s4); }
@media (min-width: 768px) { .ci-alt .person { grid-template-columns: 280px 1fr; } }

/* Formulare (/ar/contact, Checks) */
.ci-alt .contact-grid { display: grid; gap: var(--gutter); align-items: start; }
.ci-alt .contact-form { padding: var(--s6); }
.ci-alt .contact-form form { display: grid; gap: var(--s4); margin-top: var(--s5); }
.ci-alt .contact-side { display: grid; gap: var(--s3); }
.ci-alt .contact-card { padding: var(--s5); }
.ci-alt .contact-card__h { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.ci-alt .contact-card__list { display: grid; gap: var(--s2); padding: 0; list-style: none; }
.ci-alt .contact-card .btn { margin-top: var(--s3); }
@media (min-width: 1024px) { .ci-alt .contact-grid { grid-template-columns: 7fr 5fr; } }
.ci-alt .field { display: grid; gap: var(--s2); }
.ci-alt .field label { font-size: var(--fs-small); font-weight: var(--fw-small); color: var(--text-soft); }
.ci-alt .field :is(input, select, textarea) { width: 100%; min-height: var(--ctl-h); padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--navy-900); color: var(--text); font: inherit; line-height: var(--lh-small); }
.ci-alt .field textarea { min-height: 140px; }
.ci-alt .field :is(input, select, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-color: var(--gold); }
.ci-alt .hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ci-alt .alert { padding: var(--s4); border-radius: var(--r-card); background: var(--navy-700); }
.ci-alt .booking-card { padding: var(--s6); }
.ci-alt .booking-card__actions { margin-top: var(--s5); }
.ci-alt .booking-card__note { margin-top: var(--s4); font-size: var(--fs-small); }
.ci-alt .booking-card__slot:not(:empty) { margin-top: var(--s5); }
.ci-alt .booking-card__slot iframe { width: 100%; min-height: 680px; border: 0; border-radius: var(--r-card); }

/* 404 */
.ci-alt .notfound-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: var(--s6); text-align: start; }
.ci-alt .notfound-card { display: grid; gap: var(--s1); padding: var(--s5); color: var(--text); text-decoration: none; transition: background-color var(--dur-tap) var(--ease); }
.ci-alt .notfound-card:hover { background: var(--navy-700); color: var(--text); }
.ci-alt .notfound-card span { font-size: var(--fs-small); color: var(--text-soft); }

@media (max-width: 767px) {
  .ci-alt .section { padding-block: var(--s7); }
  .ci-alt .hero__stats { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .ci-alt :is(.contact-form, .booking-card, .solution, .cta-band) { padding: var(--s5); }
  .ci-alt :is(.hero__cta, .cta-band__actions, .booking-card__actions) .btn { width: 100%; }
  .ci-alt .hero-shell { min-height: 0; display: block; padding-top: 0; }
  .ci-alt :is(.hero-shell, .section--page-hero) .alt-bild { position: relative; inset: auto; z-index: 0; height: 60vw; margin-bottom: var(--s5); }
  .ci-alt :is(.hero-shell, .section--page-hero) .alt-bild::after, html[dir="ltr"] .ci-alt .alt-bild::after { background: linear-gradient(0deg, var(--navy-900) 0, transparent 40%); }
  .ci-alt :is(.hero-shell, .section--page-hero) .container { position: relative; z-index: 1; }
  .ci-alt .section--page-hero:has(.alt-bild) { display: block; min-height: 0; padding-top: 0; }
  .ci-alt .section--page-hero:has(.alt-bild) :is(.h1, .lead) { max-width: none; }
}
@media (forced-colors: active) { .ci-alt .btn { forced-color-adjust: auto; border-color: ButtonText; } }
/* Responsiv-Abnahme (30.11.2026): /ar/ Startseite bei 768–1023 px wie die englische Startseite – Bild als Streifen über dem Text.
   Vorher lief die 620 px breite Textspalte über die linke Bildhälfte (Einleitung über den Goldbändern). */
@media (min-width: 768px) and (max-width: 1023px) {
  .ci-alt .hero-shell { min-height: 0; display: block; padding-top: 0; }
  .ci-alt .hero-shell .alt-bild { position: relative; inset: auto; z-index: 0; height: min(52vw, 420px); margin-bottom: var(--s6); }
  .ci-alt .hero-shell .alt-bild::after { background: linear-gradient(0deg, var(--navy-900) 0, transparent 40%); }
  .ci-alt .hero-shell .container { position: relative; z-index: 1; }
}
/* Responsiv-Abnahme (30.11.2026): Ton- und Pause-Knopf des Films (main.js) waren ungestaltet und lagen unter dem Bild im
   abgeschnittenen Rahmen (bei 768 px nicht zu sehen, WCAG 2.2.2). Jetzt 44 px rund in der unteren Ecke. */
.ci-alt .video-card__frame { position: relative; }
.ci-alt :is(.video-mute, .video-pause) { position: absolute; bottom: var(--s3); z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgb(from var(--navy-900) r g b / .72); color: var(--text); cursor: pointer; }
.ci-alt .video-mute { inset-inline-end: var(--s3); }
.ci-alt .video-pause { inset-inline-end: calc(var(--s3) + 52px); }
.ci-alt :is(.video-mute, .video-pause):focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ci-alt :is(.video-mute, .video-pause) svg { width: 18px; height: 18px; }
/* Tippziele und Schrift am Handy (alte AR-Seiten) */
@media (max-width: 768px) {
  .ci-alt :is(.person__links, .contact-card p, p.muted) > a { position: relative; }
  .ci-alt :is(.person__links, .contact-card p, p.muted) > a::after { content: ""; position: absolute; inset: -15px 0; }
}
@media (max-width: 479px) {
  .ci-alt :is(.hero__chip, .stat__lbl, .booking-card__note) { font-size: 1rem; }
}
/* Responsiv-Abnahme: Der Film steht ohne Textspalte in seinem Abschnitt – ab 768 px mittig statt an der Kante mit leerer
   zweiter Spalte (vorher ~900 px leere Fläche neben dem Hochformat-Film bei 1280). */
@media (min-width: 768px) { .ci-alt .section--film .container { grid-template-columns: minmax(0, 340px); justify-content: center; } }
