/* =============================================================================
   Vulcan 2026 — Design-Mockup
   Tokens, Typo und Komponenten abgeleitet aus:
     data/Vulcan_Website_2026_Layout_Indd/Layout.pdf|.idml|.svg
     data/Designparts/*.svg|.png   ·   data/Design/content-elements/USER-STORIES.md
     data/Feedback/CHANGES-V3.md
   Statische Präsentationsfassung — keine Build-Kette, kein Framework.
   ========================================================================== */

/* ---------- Fonts ------------------------------------------------------- */
@font-face {
    font-family: 'Gill Sans MT';
    src: url('../fonts/GillSansMT-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Gill Sans MT';
    src: url('../fonts/GillSansMT-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-ExtraLight.otf') format('opentype');
    font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Regular.otf') format('opentype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Source Sans Pro';
    src: url('../fonts/SourceSansPro-Semibold.otf') format('opentype');
    font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------ */
:root {
    /* Marke */
    --brand: #005195;          /* PANTONE 2945 */
    --brand-dark: #003a68;
    --accent: #44ac33;         /* Akzent-Grün (helle Gründe) */
    --accent-strong: #389029;
    --logo-green: #63aa47;     /* Logo-Grün — Header-CTA */
    --trust-green: #8ec163;    /* helleres Grün auf dunklem Grund */

    /* Flächen */
    --surface: #f3f5f5;
    --panel: #f3f4f4;
    --cream: #f5f0e8;
    --footer: #12302b;
    --footer-2: #1a3f38;
    --white: #ffffff;
    --header-stuck: #fafcfe;

    /* Text */
    --ink-strong: #1d1d1b;     /* Headlines, Navigation */
    --ink: #404040;
    --body: #646363;           /* Fließtext */
    --muted: #8a8a88;

    /* Linien */
    --line: #e2e6e7;
    --line-soft: #ebeeee;

    /* Typo */
    --font-heading: 'Gill Sans MT', 'Gill Sans', 'Gill Sans Nova', Calibri, 'Trebuchet MS', system-ui, sans-serif;
    --font-sans: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --text-meta: .95rem;
    --text-micro: .8rem;

    /* Raster */
    --container: 1320px;
    --gutter: 1rem;
    --block: 3rem;
    --section: 6rem;

    /* Radien — Layout-Notiz „abgerundete Bilder und Buttons immer gleich 0,5 mm" */
    --radius: .375rem;
    --radius-card: .5rem;
    --radius-pill: 9999px;

    --header-h: 88px;
    --shadow-card: 0 1px 2px rgba(29,29,27,.04), 0 8px 24px rgba(29,29,27,.06);
    --shadow-bar: 0 2px 14px rgba(29,29,27,.09);
}

/* ---------- Reset / Basis ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--ink-strong);
    margin: 0 0 .5em;
    line-height: 1.2;
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Editoriale Typo-Skala (aus dem Layout) ---------------------- */
h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.85rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.lead { font-size: 1.3rem; line-height: 1.6; }

/* ---------- Layout-Helfer ----------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding-block: clamp(3.25rem, 6vw, var(--section)); }
.section--surface { background: var(--surface); }
.section--cream   { background: var(--cream); }
.section--tight   { padding-block: clamp(2rem, 3.5vw, 3.25rem); }

/* Intro links / Karten rechts — Spaltenverhältnis aus dem Layout gemessen */
.split {
    display: grid;
    gap: 2.75rem;
    align-items: start;
    /* minmax(0,1fr) statt der impliziten auto-Spalte: sonst zieht der max-content
       des Case-Studies-Sliders die Einspalten-Ansicht auf 522 px auf. */
    grid-template-columns: minmax(0, 1fr);
}
.split > * { min-width: 0; }
@media (min-width: 1000px) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2.75fr); gap: 2.7rem; }
    .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
}

.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Bausteine --------------------------------------------------- */
.eyebrow {
    display: block;
    font-size: var(--text-micro);
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-strong);
    margin-bottom: .9rem;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--light  { color: rgba(255,255,255,.72); }

.headline { margin-bottom: 1.1rem; }
.headline .accent { color: var(--accent); display: block; }

.copy { color: var(--body); font-size: 1.1rem; line-height: 1.7; max-width: 46ch; }
.copy--wide { max-width: none; }

/* Buttons — flach, kleiner Radius (Layout: 0,5 mm) */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .78rem 1.5rem;
    font-size: var(--text-meta);
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    transition: background .18s ease, transform .18s ease;
    text-decoration: none;
}
.btn:hover { background: var(--accent-strong); }
.btn--blue  { background: var(--brand); }
.btn--blue:hover { background: var(--brand-dark); }
.btn--white { background: #fff; color: var(--ink-strong); }
.btn--white:hover { background: #f0f2f2; }
.btn--outline {
    background: transparent; color: var(--ink-strong);
    border: 1px solid var(--ink-strong);
}
.btn--outline:hover { background: var(--ink-strong); color: #fff; }
.btn .arrow { flex: 0 0 auto; }

/* Langer Pfeil als geteiltes Atom (Changes_V3) */
.arrow { width: 26px; height: 8px; overflow: visible; }
.arrow path { stroke: currentColor; stroke-width: 1.4; fill: none; }

/* „Learn more →" — geteilter Textlink, nie unterstrichen */
.linkarrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: var(--text-meta);
    color: var(--ink-strong);
    transition: gap .18s ease, color .18s ease;
}
.linkarrow:hover { gap: .95rem; color: var(--accent); }
.linkarrow--light { color: #fff; }

/* ---------- Header ------------------------------------------------------ */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: transparent;
    transition: background .22s ease, box-shadow .22s ease;
}
.header.is-stuck { background: var(--header-stuck); box-shadow: var(--shadow-bar); }
.header__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--header-h);
    padding-block: .9rem;
}
.header__logo { flex: 0 0 auto; }
.header__logo img { height: 56px; width: auto; }
.header__nav { margin-left: auto; }
.header__nav ul { display: flex; align-items: center; gap: 2.25rem; }
.header__nav a {
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-strong);
    padding-block: .35rem;
    border-bottom: 2px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}
.header__nav a:hover { color: var(--accent); }
.header__nav a.is-active { color: var(--accent); }
.header__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: .78rem 1.5rem;
    background: var(--logo-green);
    color: #fff;
    font-size: var(--text-micro);
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background .18s ease;
}
.header__cta:hover { background: #56993c; }
.header__lang {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    color: var(--ink-strong);
}
.header__lang svg { width: 26px; height: 26px; }
.header__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.header__burger span,
.header__burger span::before,
.header__burger span::after {
    content: ''; display: block; width: 24px; height: 2px; background: var(--ink-strong);
    position: relative; transition: transform .2s ease;
}
.header__burger span::before { position: absolute; top: -7px; }
.header__burger span::after  { position: absolute; top: 7px; }

@media (max-width: 1150px) {
    .header__nav ul { gap: 1.3rem; }
    .header__nav a { font-size: .82rem; }
    .header__cta { font-size: .7rem; padding: .7rem 1rem; }
}
@media (max-width: 960px) {
    .header__burger { display: inline-flex; margin-left: auto; }
    .header__nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        background: var(--header-stuck);
        box-shadow: var(--shadow-bar);
        padding: 1.25rem var(--gutter) 1.75rem;
        display: none;
    }
    .header.is-open .header__nav { display: block; }
    .header__nav ul { flex-direction: column; align-items: flex-start; gap: .25rem; }
    .header__nav a { display: block; padding: .6rem 0; font-size: 1rem; }
    .header__cta { display: none; }
    .header__logo img { height: 44px; }
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: clamp(26rem, calc(100vh - var(--header-h)), 60rem);
    min-height: clamp(26rem, calc(100svh - var(--header-h)), 60rem);
    margin-top: calc(-1 * var(--header-h) - 1.8rem);
    padding-top: calc(var(--header-h) + 1.8rem);
    overflow: hidden;
    isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__inner {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-top: clamp(1.5rem, 9svh, 6rem);
    padding-bottom: 2rem;
}
.hero__title {
    font-size: clamp(2.5rem, 4.7vw, 4.75rem);
    line-height: 1.25;
    color: var(--ink-strong);
    margin: 0;
    max-width: 14em;
}
.hero__sub {
    font-size: clamp(1.25rem, 2.35vw, 2.375rem);
    line-height: 1.35;
    color: var(--ink-strong);
    margin: .32em 0 0;
    max-width: 13em;
}
.hero__badge { position: absolute; top: 1.4rem; right: var(--gutter); width: clamp(120px, 12vw, 165px); }
@media (min-width: 1024px) { .hero__badge { right: 2rem; } }
/* Lesbarkeits-Scrim: auf dem Desktop trägt das helle Layout-Foto die dunkle Schrift,
   im Hochformat schiebt sich das dunkle Geräte-Panel hinter die Headline. */
@media (max-width: 900px) {
    .hero__media::after {
        content: '';
        position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 38%, rgba(255,255,255,.25) 62%, rgba(255,255,255,0) 80%);
    }
}
@media (max-width: 640px) {
    .hero__badge { position: static; align-self: flex-end; margin-bottom: 1.25rem; }
    .hero__media img { object-position: 74% 55%; }
}

/* Trust-Streifen im Fluss am Hero-Fuß */
.trust {
    position: relative;
    background: linear-gradient(100deg, rgba(40,53,46,.93), rgba(49,66,62,.93));
    color: #fff;
    backdrop-filter: blur(2px);
}
.trust__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding-block: 1.15rem;
    margin: 0;
}
.trust__item { display: flex; align-items: center; gap: .85rem; justify-content: center; }
.trust__icon { flex: 0 0 auto; width: 44px; height: 44px; color: var(--trust-green); }
.trust__icon svg { width: 100%; height: 100%; }
.trust__label { font-size: var(--text-meta); line-height: 1.3; color: #fff; }
.trust__label b { display: block; font-weight: 400; }
@media (max-width: 860px) {
    .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
    .trust__item { justify-content: flex-start; }
}
@media (max-width: 460px) { .trust__list { grid-template-columns: 1fr; } }

/* ---------- Section-Intro mit Video ------------------------------------- */
.intro__figures {
    display: flex;
    flex-wrap: wrap;
    gap: 2.75rem;
    margin-top: 2.25rem;
}
.figure__value {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: 1;
    color: var(--ink-strong);
    letter-spacing: -.02em;
}
.figure__label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-micro);
    color: var(--ink);
    margin-top: .4rem;
}
.video {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.video img { width: 100%; }
.video__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}
.video__play span {
    width: 74px; height: 74px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    display: grid; place-items: center;
    box-shadow: 0 6px 24px rgba(0,0,0,.28);
    transition: transform .2s ease, background .2s ease;
}
.video:hover .video__play span { transform: scale(1.08); background: #fff; }
.video__play svg { width: 22px; height: 24px; margin-left: 4px; fill: var(--ink-strong); }

/* ---------- Logo-Marquee ------------------------------------------------ */
.logoline { overflow: hidden; padding-block: 2.5rem; }
.logoline__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.logoline__row {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    width: max-content;
    will-change: transform;
}
.logoline__track {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    width: max-content;
}
.logoline__track img {
    max-height: 34px;
    max-width: 120px;
    width: auto;
    filter: grayscale(1);
    opacity: .78;
    transition: filter .2s ease, opacity .2s ease;
}
.logoline__track a:hover img { filter: none; opacity: 1; }

/* ---------- Feature-Grid (3 Vulcan Effects) ----------------------------- */
.featurecard { display: flex; flex-direction: column; }
.featurecard__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ddd;
}
.featurecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.featurecard:hover .featurecard__media img { transform: scale(1.06); }
.featurecard__body { padding: 1.1rem 0 0; }
.featurecard h3 { font-size: 1.55rem; margin-bottom: .55rem; }
.featurecard p { font-size: var(--text-meta); color: var(--body); margin-bottom: 1rem; }

/* ---------- Cards (Tailored Solutions) ---------------------------------- */
.solcard {
    display: flex;
    flex-direction: column;
    background: var(--panel);
    border-radius: var(--radius);
    overflow: hidden;
}
.section--surface .solcard { background: #fff; }
.solcard__media { aspect-ratio: 4 / 3; overflow: hidden; }
.solcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.solcard:hover .solcard__media img { transform: scale(1.06); }
.solcard__body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.solcard h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.solcard p { font-size: var(--text-meta); color: var(--body); margin-bottom: 1.15rem; }
.solcard .linkarrow { margin-top: auto; }

/* ---------- Teaser-Overlay (CTA-Banner) --------------------------------- */
.teaser { position: relative; min-height: clamp(22rem, 38vw, 34rem); display: grid; place-items: center; overflow: hidden; }
.teaser__media { position: absolute; inset: 0; }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.teaser__box {
    position: relative;
    text-align: center;
    background: rgba(64,64,64,.62);   /* Layout-Annotation: „75 % schwarz, 20 % Transparenz, weißer Text" */
    color: #fff;
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 5vw, 4.5rem);
    max-width: 640px;
    margin-inline: 1rem;
}
.teaser__box h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin-bottom: 1.6rem; }

/* ---------- Statement --------------------------------------------------- */
.statement { text-align: center; }
.statement h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.3;
    max-width: 44ch;      /* Layout: zwei Zeilen — dunkel oben, grün darunter */
    margin-inline: auto;
}
.statement .accent { color: var(--accent); display: block; }

/* ---------- Before/After ------------------------------------------------ */
.compare__head { text-align: center; margin-bottom: 1.5rem; }
.compare__head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.ba {
    position: relative;
    border: 4px solid #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
    user-select: none;
    touch-action: pan-y;
}
.ba__pane { position: absolute; inset: 0; }
.ba__pane img { width: 100%; height: 100%; object-fit: cover; }
.ba__pane--after { clip-path: inset(0 0 0 calc(var(--split, 50%) + 3px)); }
.ba__pane--before { clip-path: inset(0 calc(100% - var(--split, 50%) + 3px) 0 0); }
.ba__split {
    position: absolute; top: 0; bottom: 0;
    left: var(--split, 50%);
    width: 6px; margin-left: -3px;
    background: #fff;
    pointer-events: none;
}
.ba__handle {
    position: absolute;
    top: 50%; left: var(--split, 50%);
    transform: translate(-50%, -50%);
    width: 34px; height: 34px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    display: grid; place-items: center;
    pointer-events: none;
}
.ba__handle svg { width: 18px; height: 12px; fill: var(--ink-strong); }
.ba__range {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    margin: 0; opacity: 0; cursor: ew-resize;
    -webkit-appearance: none; appearance: none; background: none;
}
.ba__chip {
    position: absolute; top: .75rem;
    font-size: var(--text-micro);
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(64,64,64,.8);
    color: #fff;
    padding: .3rem .7rem;
    border-radius: 3px;
}
.ba__chip--before { left: .75rem; }
.ba__chip--after  { right: .75rem; }
.ba__ref {
    position: absolute; left: .75rem; bottom: .75rem;
    background: rgba(64,64,64,.8);
    color: #fff;
    padding: .55rem .85rem;
    border-radius: 3px;
    max-width: 72%;
}
.ba__ref strong { display: block; font-weight: 400; font-size: var(--text-meta); }
.ba__ref a { font-size: var(--text-micro); color: #fff; display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; }
.ba__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.85);
    border-radius: 50%;
    color: var(--ink-strong);
    transition: background .15s ease, opacity .15s ease;
    z-index: 3;
}
.ba__nav:hover { background: #fff; }
.ba__nav[disabled] { opacity: .35; cursor: default; }
.ba__nav--prev { left: .6rem; }
.ba__nav--next { right: .6rem; }
.ba__nav svg { width: 9px; height: 15px; fill: currentColor; }

/* ---------- Case-Studies ------------------------------------------------ */
.caseslider { position: relative; }
.caseslider__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-block: .5rem;
    margin-block: -.5rem;
    scrollbar-width: none;
}
.caseslider__track::-webkit-scrollbar { display: none; }
.caseslider__track > * { scroll-snap-align: start; flex: 0 0 min(88%, 320px); }
@media (min-width: 1000px) { .caseslider__track > * { flex: 0 0 calc((100% - 3rem) / 3); } }
.caseslider__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 50%;
    color: var(--ink-strong); box-shadow: var(--shadow-card); z-index: 2;
    transition: opacity .18s ease;
}
.caseslider__nav[disabled] { opacity: .3; cursor: default; }
.caseslider__nav--prev { left: -1rem; }
.caseslider__nav--next { right: -1rem; }
.caseslider__nav svg { width: 9px; height: 15px; fill: currentColor; }
@media (min-width: 1200px) {
    .caseslider__nav--prev { left: -2.25rem; }
    .caseslider__nav--next { right: -2rem; }
}

.casecard {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.casecard__media { aspect-ratio: 8 / 3; overflow: hidden; background: #eee; }
.casecard__media img { width: 100%; height: 100%; object-fit: cover; }
.casecard__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.casecard__logo { height: 26px; margin-bottom: .85rem; }
.casecard__logo img { height: 100%; width: auto; }
.casecard h3 { font-size: 1.28rem; line-height: 1.25; margin-bottom: .6rem; }
.casecard__quote {
    margin: 0 0 1rem;
    font-size: var(--text-meta);
    color: var(--body);
    border: 0; padding: 0;
}
.casecard__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: .9rem;
}
.casecard__metric { padding: .7rem .4rem; text-align: center; }
.casecard__metric + .casecard__metric { border-left: 1px solid var(--line); }
.casecard__metric b { display: block; font-weight: 400; font-size: 1.3rem; color: var(--ink-strong); }
.casecard__metric--accent b { color: var(--accent); }
.casecard__metric span { display: block; font-size: .68rem; line-height: 1.25; color: var(--muted); margin-top: .15rem; }
.casecard .linkarrow { margin-top: auto; }

/* ---------- Advantages (dunkles Band) ----------------------------------- */
.advantages { position: relative; color: #fff; overflow: hidden; }
.advantages__media { position: absolute; inset: 0; }
.advantages__media img { width: 100%; height: 100%; object-fit: cover; }
.advantages__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(14,34,26,.93) 0%, rgba(17,40,32,.88) 45%, rgba(20,45,36,.8) 100%);
}
.advantages .container { position: relative; }
.advantages h2 { color: #fff; }
.advantages .copy { color: rgba(255,255,255,.8); }
.advantages .eyebrow { color: var(--trust-green); font-weight: 600; }
.advlist { display: grid; gap: 1.6rem 2.5rem; }
@media (min-width: 720px) { .advlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.advitem { display: flex; gap: 1rem; align-items: flex-start; }
.advitem__icon {
    flex: 0 0 auto; width: 46px; height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--trust-green);
    color: var(--trust-green);
    display: grid; place-items: center;
}
.advitem__icon svg { width: 22px; height: 22px; }
.advitem h4 { color: #fff; font-size: 1.15rem; margin-bottom: .2rem; }
.advitem p { font-size: var(--text-meta); color: rgba(255,255,255,.72); margin: 0; }

/* ---------- Model-Finder ------------------------------------------------ */
.finder__head { text-align: center; margin-bottom: 2.5rem; }
.finder__head h2 { margin-bottom: 0; }
.findercard {
    display: flex; flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-card);
}
.findercard__media { aspect-ratio: 16 / 10; overflow: hidden; }
.findercard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.findercard:hover .findercard__media img { transform: scale(1.05); }
.findercard__body { padding: 1.25rem 1.25rem 1.6rem; display: flex; flex-direction: column; flex: 1 1 auto; align-items: center; }
.findercard h3 { font-size: 1.45rem; margin-bottom: .75rem; }
.findercard ul { font-size: var(--text-meta); color: var(--body); line-height: 1.75; margin-bottom: 1.4rem; }
.findercard .btn { margin-top: auto; font-size: var(--text-micro); }

/* ---------- FAQ --------------------------------------------------------- */
.faq__head { text-align: center; margin-bottom: 2.75rem; }
.faq__head h2 { margin-bottom: 0; }
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 3.5rem; } }
.faq__intro p { font-size: var(--text-meta); }
.faq__contact {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--text-meta);
    color: var(--ink-strong);
    border-bottom: 1px solid var(--ink-strong);
    padding-bottom: .3rem;
    margin: 1rem 0 1.75rem;
}
.faq__cats { display: grid; gap: .6rem; }
.faq__cat {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: .85rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: var(--text-meta);
    color: var(--ink-strong);
    text-align: left;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.faq__cat[aria-selected="true"] { background: #16392f; border-color: #16392f; color: #fff; }
.faq__cat svg { width: 12px; height: 12px; fill: currentColor; flex: 0 0 auto; }

.faq__items { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: 100%;
    padding: 1.15rem 0;
    font-size: 1.02rem;
    color: var(--ink-strong);
    text-align: left;
}
.faq__q svg { width: 14px; height: 9px; fill: currentColor; flex: 0 0 auto; transition: transform .22s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 2.5rem 1.35rem 0; font-size: var(--text-meta); color: var(--body); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- Guides ------------------------------------------------------ */
.guides__head { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.25rem; }
.guides__grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .guides__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.guidecard__media { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--radius); }
.guidecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.guidecard:hover .guidecard__media img { transform: scale(1.04); }
.guidecat { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--text-micro); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 1rem 0 .5rem; }
.guidecat svg { width: 14px; height: 14px; fill: currentColor; }
.guidecard h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: .75rem; }

.guidelist { display: grid; gap: 1.5rem; align-content: start; }
.guideitem { display: flex; gap: 1.25rem; align-items: flex-start; }
.guideitem__media {
    flex: 0 0 auto;
    align-self: flex-start;      /* trägt die aspect-ratio — sonst streckt align-items:stretch sie aus */
    width: 9rem;
    aspect-ratio: 192 / 130;
    overflow: hidden;
    border-radius: var(--radius);
}
@media (min-width: 640px) { .guideitem__media { width: 12rem; } }
.guideitem__media img { width: 100%; height: 100%; object-fit: cover; }
.guideitem__body { min-width: 0; }
.guideitem .guidecat { margin-top: 0; }
.guideitem h4 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .55rem; }

/* ---------- Referenz-Katalog (Case-Studies-Seite) ----------------------- */
.catalog__head { text-align: center; margin-bottom: 2.5rem; }
.catalog__label { text-align: center; font-size: var(--text-meta); color: var(--body); margin-bottom: 1rem; }
.catalog__search { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 800px) { .catalog__search { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field {
    display: flex; align-items: center; gap: .75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .8rem 1.1rem;
    color: var(--muted);
    font-size: var(--text-meta);
}
.field svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.field span { color: var(--muted); }
.field--ai { border-color: #cfe3d3; }
.field--ai svg { color: var(--accent); }

.segmented { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.segbtn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .6rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: var(--text-meta);
    color: var(--ink-strong);
    transition: border-color .18s ease, color .18s ease;
}
.segbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.segbtn:hover { border-color: var(--accent); color: var(--accent); }
.segbtn.is-active { border-color: var(--accent); color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
    padding: .45rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: var(--text-meta);
    color: var(--ink);
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.filterbar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
    font-size: var(--text-meta);
}
.select {
    display: inline-flex; align-items: center; gap: .9rem;
    padding: .55rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink-strong);
}
.select svg { width: 11px; height: 7px; fill: currentColor; }
.filterbar__count { margin-left: auto; color: var(--body); }
.filterbar__count b { color: var(--ink-strong); font-weight: 400; }

.refcard { display: flex; flex-direction: column; }
.refcard h4 { font-size: 1.02rem; line-height: 1.3; margin-bottom: .6rem; min-height: 2.6em; }
.refcard__doc {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    aspect-ratio: 283 / 392;
    transition: box-shadow .2s ease, transform .2s ease;
}
.refcard:hover .refcard__doc { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.refcard__doc img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.refcard__badge {
    position: absolute; top: .55rem; right: .55rem;
    background: var(--accent);
    color: #fff;
    font-size: .68rem;
    letter-spacing: .04em;
    padding: .25rem .55rem;
    border-radius: 3px;
}
.refcard__badge--blue { background: var(--brand); }
.refcard__badge--dark { background: #4a4a48; }

/* ---------- Seiten-Hero (Unterseite) ------------------------------------ */
.pagehero {
    position: relative;
    min-height: clamp(20rem, 38vw, 30rem);
    display: flex; align-items: center;
    margin-top: calc(-1 * var(--header-h) - 1.8rem);
    padding-top: calc(var(--header-h) + 1.8rem);
    overflow: hidden;
    isolation: isolate;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.62) 38%, rgba(255,255,255,.08) 72%);
}
.pagehero h1 { font-size: clamp(2.25rem, 4.2vw, 4rem); line-height: 1.2; margin-bottom: .5rem; }
.pagehero p { font-size: clamp(1.05rem, 1.7vw, 1.45rem); line-height: 1.35; color: var(--ink-strong); max-width: 26ch; margin: 0; }
.pagehero__badge { position: absolute; top: calc(var(--header-h) + 1rem); right: var(--gutter); width: clamp(110px, 11vw, 150px); }
@media (min-width: 1024px) { .pagehero__badge { right: 2rem; } }

/* ---------- Footer ------------------------------------------------------ */
.footer { background: var(--footer); color: rgba(255,255,255,.78); font-size: var(--text-meta); }
.footer__main { display: grid; gap: 2.25rem; padding-block: 2.75rem; }
@media (min-width: 760px)  { .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .footer__main { grid-template-columns: 1.15fr repeat(5, minmax(0, 1fr)); gap: 1.75rem; } }
.footer__brand img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 190px; }
.footer__social a {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    transition: background .18s ease;
}
.footer__social a:hover { background: var(--accent); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__made { margin-top: 1.4rem; width: 130px; opacity: .92; }
.footer h5 {
    color: #fff;
    font-size: var(--text-micro);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}
.footer li + li { margin-top: .45rem; }
.footer a:hover { color: #fff; }
.footer__contact a { display: flex; gap: .5rem; align-items: center; }
.footer__contact svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }
.footer__bar {
    border-top: 1px solid rgba(255,255,255,.13);
    padding-block: 1rem;
    display: flex; flex-wrap: wrap; gap: .75rem 1.75rem;
    font-size: var(--text-micro);
}
.footer__bar nav { margin-left: auto; display: flex; gap: 1.75rem; }

/* ---------- Mockup-Hinweisleiste ---------------------------------------- */
.mockupbar {
    position: fixed;
    left: 50%; bottom: 1rem;
    transform: translateX(-50%);
    z-index: 200;
    display: flex; align-items: center; gap: .5rem;
    background: rgba(29,29,27,.92);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: .4rem .5rem .4rem 1rem;
    font-size: .78rem;
    letter-spacing: .04em;
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
    backdrop-filter: blur(6px);
}
.mockupbar span { opacity: .65; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.mockupbar a {
    padding: .35rem .85rem;
    border-radius: var(--radius-pill);
    color: #fff;
    transition: background .18s ease;
}
.mockupbar a:hover { background: rgba(255,255,255,.16); }
.mockupbar a.is-active { background: var(--accent); }
@media print { .mockupbar { display: none; } }

/* ---------- Reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
