/* ============================================================
   KFZ Steiner Landauer — Werkstatt-Redesign 2026
   Klar, kantig, regional. Keine austauschbaren UI-Karten.
   ============================================================ */

:root {
    --ink: #091b29;
    --ink-soft: #102c40;
    --steel: #587080;
    --yellow: #f6b900;
    --yellow-dark: #d79c00;
    --paper: #f2efe7;
    --paper-light: #faf9f5;
    --white: #ffffff;
    --line: #ccd3d5;
    --muted: #667680;
    --danger: #c4362f;
    --success: #26764b;

    --color-primary: var(--ink);
    --color-primary-dark: var(--ink);
    --color-primary-light: var(--ink-soft);
    --color-accent: var(--yellow);
    --color-accent-dark: var(--yellow-dark);
    --color-white: var(--white);
    --color-light: var(--paper);
    --color-text: #243741;
    --color-text-light: var(--muted);
    --color-danger: var(--danger);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: .35rem;
    --space-sm: .7rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --space-4xl: 7rem;

    --container-max: 1240px;
    --container-narrow: 860px;
    --header-height: 88px;
    --border-radius: 0;
    --border-radius-lg: 0;
    --shadow-sm: 0 8px 24px rgba(9, 27, 41, .08);
    --shadow-md: 0 18px 50px rgba(9, 27, 41, .14);
    --transition-fast: .18s ease;
    --transition-base: .3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    overflow-x: hidden;
    color: var(--color-text);
    background: var(--paper-light);
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ink-soft);
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

a:hover { color: var(--yellow-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 800;
    hyphens: auto;
    line-height: 1.05;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 4.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 800; }

::selection {
    color: var(--ink);
    background: var(--yellow);
}

.container {
    width: min(100% - 48px, var(--container-max));
    margin-inline: auto;
}

.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.25rem;
    color: var(--yellow);
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: '';
    width: 42px;
    height: 3px;
    flex: 0 0 auto;
    background: currentColor;
}

.eyebrow--dark { color: var(--ink); }

/* Header ---------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(9, 27, 41, .96);
    border-bottom: 1px solid rgba(255,255,255,.1);
    /* Kein backdrop-filter: sonst wird das mobile fixed-Menü auf die
       Header-Höhe begrenzt, weil der Header zum Containing Block wird. */
    backdrop-filter: none;
    transition: height var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.site-header .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.site-logo__img {
    width: auto;
    height: 56px;
    padding: 10px 24px 10px 14px;
    object-fit: contain;
}

.header-claim {
    margin-left: 1rem;
    padding-left: 1rem;
    color: rgba(255,255,255,.55);
    border-left: 1px solid rgba(255,255,255,.18);
    font-size: .64rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: .2rem;
}

.main-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .85rem .8rem;
    color: rgba(255,255,255,.76);
    border: 0;
    background: transparent;
    font: 700 .78rem/1 var(--font-main);
    letter-spacing: .04em;
    white-space: nowrap;
    cursor: pointer;
}

.main-nav__link::after {
    content: '';
    position: absolute;
    right: .8rem;
    bottom: .45rem;
    left: .8rem;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.main-nav__link:hover,
.main-nav__link.active { color: var(--white); }
.main-nav__link:hover::after,
.main-nav__link.active::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.dropdown-chevron { width: 13px; height: 13px; transition: transform var(--transition-fast); }
.has-dropdown:hover .dropdown-chevron,
.has-dropdown.open .dropdown-chevron { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    z-index: 10;
    min-width: 250px;
    padding: .65rem;
    visibility: hidden;
    opacity: 0;
    background: var(--ink);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
    transform: translateX(-50%) translateY(8px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    right: 0;
    left: 0;
    height: 16px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu__link {
    display: block;
    padding: .68rem .85rem;
    color: rgba(255,255,255,.7);
    border-left: 2px solid transparent;
    font-size: .82rem;
    font-weight: 650;
}

.dropdown-menu__link:hover,
.dropdown-menu__link.active {
    color: var(--white);
    background: rgba(255,255,255,.06);
    border-left-color: var(--yellow);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255,255,255,.76);
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.header-phone:hover { color: var(--yellow); }
.header-phone svg { width: 16px; height: 16px; color: var(--yellow); }
.nav-mobile-cta, .menu-toggle { display: none; }

/* Buttons --------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 46px;
    padding: .75rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--sm { min-height: 40px; padding: .65rem 1.15rem; font-size: .72rem; }
.btn--lg { min-height: 54px; padding: .95rem 1.75rem; }

.btn--primary {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
}

.btn--primary:hover {
    color: var(--ink);
    background: #ffd238;
    border-color: #ffd238;
    transform: translateY(-2px);
}

.btn--secondary {
    --button-outline: rgba(255,255,255,.55);
    --button-surface: rgba(9,27,41,.78);
    position: relative;
    isolation: isolate;
    color: var(--white);
    background: transparent;
    border: 0;
}

.btn--secondary::before,
.btn--secondary::after,
.btn--outline::before,
.btn--outline::after {
    content: '';
    position: absolute;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.btn--secondary::before,
.btn--outline::before {
    inset: 0;
    z-index: -2;
    background: var(--button-outline);
}

.btn--secondary::after,
.btn--outline::after {
    inset: 2px;
    z-index: -1;
    background: var(--button-surface);
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.btn--secondary:hover {
    --button-outline: var(--white);
    --button-surface: rgba(255,255,255,.1);
    color: var(--white);
    background: transparent;
}

.btn--outline {
    --button-outline: var(--ink);
    --button-surface: var(--paper-light);
    position: relative;
    isolation: isolate;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.btn--outline:hover {
    --button-outline: var(--ink);
    --button-surface: var(--ink);
    color: var(--white);
    background: transparent;
}

.nav-mobile-cta .btn--outline {
    --button-outline: rgba(255,255,255,.55);
    --button-surface: var(--ink);
    color: var(--white);
}

/* Hero ------------------------------------------------------ */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 510px;
    padding: 6rem 0 5rem;
    overflow: hidden;
    color: var(--white);
    background-color: var(--ink);
    background-position: center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(92deg, rgba(5,18,28,.97) 0%, rgba(7,25,38,.87) 43%, rgba(7,25,38,.38) 76%, rgba(7,25,38,.55) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero h1 { max-width: 900px; color: var(--white); text-wrap: balance; }
.hero > .container { position: relative; z-index: 2; }
.hero:not(.hero--home) p { max-width: 760px; margin-top: 1.5rem; color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 1.75; }

.hero--home {
    min-height: 760px;
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 4.5rem;
    background-position: center 46%;
}

.hero--home::before {
    background: linear-gradient(90deg, rgba(5,18,28,.98) 0%, rgba(6,22,34,.92) 42%, rgba(6,22,34,.22) 78%, rgba(6,22,34,.5) 100%);
}

.hero__content { position: relative; max-width: 790px; }
.hero--home h1 {
    margin-bottom: 1.6rem;
    font-size: clamp(3.7rem, 7vw, 6.9rem);
    line-height: .89;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.hero--home h1 span { color: var(--yellow); }
.hero__lead {
    max-width: 650px;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.8);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.72;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__proof {
    display: flex;
    gap: 0;
    max-width: 760px;
    margin-top: 3.2rem;
    border-top: 1px solid rgba(255,255,255,.25);
}

.hero__proof > span {
    flex: 1 1 0;
    padding: 1rem 1.3rem 0 0;
    color: rgba(255,255,255,.6);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .035em;
}

.hero__proof > span + span { padding-left: 1.3rem; border-left: 1px solid rgba(255,255,255,.2); }
.hero__proof strong { display: block; margin-bottom: .15rem; color: var(--white); font-size: 1.05rem; letter-spacing: -.01em; }
.hero__marker {
    position: absolute;
    right: -1.5rem;
    bottom: -4rem;
    z-index: 0;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,.12);
    font-size: clamp(12rem, 25vw, 28rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.12em;
    user-select: none;
}

/* Breadcrumb ------------------------------------------------ */
.breadcrumb {
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.breadcrumb__list a { color: var(--ink); }
.breadcrumb__list a:hover { color: var(--yellow-dark); }
.breadcrumb__separator { color: #9da9ad; }

/* Direct service strip -------------------------------------- */
.service-strip { background: var(--yellow); }
.service-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-strip a {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 78px;
    padding: 1rem 1.3rem;
    color: var(--ink);
    border-right: 1px solid rgba(9,27,41,.25);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.service-strip a:first-child { border-left: 1px solid rgba(9,27,41,.25); }
.service-strip a:hover { color: var(--white); background: var(--ink); }
.service-strip a span { font-size: .68rem; opacity: .65; }

/* Sections -------------------------------------------------- */
.section { position: relative; padding: var(--space-4xl) 0; }
.section--gray { background: var(--paper); }
.section--dark { color: var(--white); background: var(--ink); }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.72); }

.section__header {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.section__header h2 { margin-bottom: 1.25rem; }
.section__header p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.05rem; }

/* Story ----------------------------------------------------- */
.story-section { background: var(--paper-light); }
.story-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
    margin-bottom: 4rem;
}

.story-intro h2 { max-width: 650px; }
.story-copy { padding-top: 2rem; border-top: 4px solid var(--yellow); color: #455963; font-size: 1.05rem; }

.werkstatt-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
    grid-template-rows: minmax(230px, 1fr) minmax(150px, .55fr);
    gap: 1rem;
}

.werkstatt-gallery__item {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: var(--ink);
}

.werkstatt-gallery__item--main { grid-row: 1 / 3; min-height: 580px; }
.werkstatt-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.werkstatt-gallery__item:hover img { transform: scale(1.025); }
.werkstatt-gallery__item figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem 1.2rem;
    color: rgba(255,255,255,.8);
    background: linear-gradient(transparent, rgba(9,27,41,.88));
    font-size: .72rem;
    font-weight: 650;
}

.story-badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.3rem;
    color: var(--ink);
    background: var(--yellow);
}

.story-badge strong { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: .95; letter-spacing: -.06em; }
.story-badge span { margin-top: .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Service cards --------------------------------------------- */
.card-grid { display: grid; gap: 1rem; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 2rem;
    overflow: hidden;
    background: var(--paper-light);
    border: 1px solid var(--line);
    box-shadow: none;
    transition: color var(--transition-base), background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.card:hover { border-color: var(--ink); transform: translateY(-4px); }
.card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 2.5rem;
    color: var(--ink);
    border: 2px solid var(--ink);
}

.card__icon svg { width: 23px; height: 23px; }
.card__title { margin-bottom: .8rem; font-size: 1.16rem; line-height: 1.2; letter-spacing: -.025em; }
.card__text { margin-bottom: 1.5rem; color: var(--muted); font-size: .87rem; line-height: 1.65; }
.card__link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.card__link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.card__link:hover { color: var(--yellow-dark); }
.card__link:hover svg { transform: translateX(4px); }
.card--compact { min-height: 180px; justify-content: flex-end; border-top: 4px solid var(--yellow); }

.section--services .section__header { display: grid; grid-template-columns: 1.1fr .7fr; column-gap: 5rem; max-width: none; }
.section--services .section__header .eyebrow { grid-column: 1 / -1; }
.section--services .section__header h2 { grid-column: 1; grid-row: 2; }
.section--services .section__header p:not(.eyebrow) { grid-column: 2; grid-row: 2; padding-top: .35rem; }
.section--services .card-grid { counter-reset: service; }
.section--services .card { counter-increment: service; min-height: 330px; padding-top: 5rem; }
.section--services .card::before {
    content: '0' counter(service);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #b2bcc0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.section--services .card:nth-child(1),
.section--services .card:nth-child(2) { grid-column: span 1; }

.section--services .card:nth-child(7) {
    grid-column: 1 / -1;
    min-height: 400px;
    justify-content: flex-end;
    color: var(--white);
    background: linear-gradient(90deg, rgba(9,27,41,.96), rgba(9,27,41,.76) 52%, rgba(9,27,41,.18)), url('../img/hero-karosserie.webp') center 58% / cover;
    border-color: var(--ink);
}

.section--services .card:nth-child(7)::before { color: rgba(255,255,255,.55); }
.section--services .card:nth-child(7) .card__icon { color: var(--yellow); border-color: var(--yellow); margin-bottom: 1.5rem; }
.section--services .card:nth-child(7) .card__title { max-width: 520px; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.8rem); }
.section--services .card:nth-child(7) .card__text { max-width: 560px; color: rgba(255,255,255,.74); }
.section--services .card:nth-child(7) .card__link { color: var(--yellow); }

/* Trust ----------------------------------------------------- */
.section--trust {
    color: var(--white);
    background: var(--ink);
    overflow: hidden;
}

.section--trust::after {
    content: '30+';
    position: absolute;
    right: -2rem;
    bottom: -5rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.08);
    font-size: clamp(14rem, 30vw, 32rem);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.1em;
}

.section--trust .container { position: relative; z-index: 1; }
.section--trust h2 { color: var(--white); }
.section--trust .section__header { margin-bottom: 3rem; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.trust-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1.4rem;
    min-height: 215px;
    padding: 2.1rem;
    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.trust-item__icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--yellow); border: 1px solid rgba(246,185,0,.55); }
.trust-item__icon svg { width: 25px; height: 25px; }
.trust-item__title { margin-bottom: .55rem; color: var(--white); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.trust-item__text { max-width: 390px; color: rgba(255,255,255,.62); font-size: .87rem; line-height: 1.7; }

/* FAQ ------------------------------------------------------- */
.section--faq .container { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section--faq .section__header { position: sticky; top: calc(var(--header-height) + 2rem); margin: 0; }
.faq-list { border-top: 3px solid var(--ink); }
.faq-item { border-bottom: 1px solid #bfc9cc; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.4rem 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    font: 750 .95rem/1.4 var(--font-main);
    text-align: left;
    cursor: pointer;
}

.faq-question:hover { color: var(--yellow-dark); }
.faq-question svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform var(--transition-base); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-base), padding var(--transition-base); }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 2.5rem 1.5rem 0; }
.faq-answer p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.faq-answer a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

/* Contact --------------------------------------------------- */
.section--contact { background: var(--paper-light); }
.section--contact .section__header { margin-bottom: 2.5rem; }
.contact-info { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 4px solid var(--ink); border-bottom: 1px solid var(--line); }
.contact-card {
    min-height: 245px;
    padding: 2rem;
    background: transparent;
    border-right: 1px solid var(--line);
}

.contact-card:last-child { border-right: 0; }
.contact-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 2rem; color: var(--yellow-dark); border: 1px solid var(--ink); }
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card__title { margin-bottom: .7rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-card__content { color: var(--ink); font-size: .92rem; line-height: 1.65; }
.contact-card__content a { color: var(--ink); font-weight: 800; }

/* Interior content pages ----------------------------------- */
.content-section { padding: var(--space-3xl) 0; background: var(--paper-light); }
.content-section:nth-of-type(even) { background: var(--paper); }
.content-section .container {
    display: grid;
    grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
    column-gap: clamp(3rem, 9vw, 9rem);
    align-items: start;
}

.content-section .container > * { grid-column: 2; }
.content-section .container > h2:first-child {
    grid-column: 1;
    grid-row: 1 / span 40;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    padding-top: 1.2rem;
    border-top: 4px solid var(--yellow);
    font-size: clamp(1.7rem, 3vw, 2.75rem);
    line-height: 1.08;
}

.content-section h3 { margin: 1.8rem 0 .65rem; font-size: 1.2rem; }
.content-section p, .content-section li { color: #455963; line-height: 1.78; }
.content-section p { max-width: 780px; }
.content-section ul { margin: .5rem 0 1.5rem; }
.content-section li { position: relative; margin-bottom: .55rem; padding-left: 1.4rem; }
.content-section li::before { content: ''; position: absolute; top: .75rem; left: 0; width: 7px; height: 7px; background: var(--yellow); }
.content-section strong { display: inline; color: var(--ink); }

/* Error page ------------------------------------------------ */
.error-page {
    display: flex;
    min-height: 75vh;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    align-items: center;
}

.error-page__inner { max-width: 820px; text-align: center; }
.error-page__code { margin-bottom: .4rem; color: var(--yellow-dark); font-size: clamp(3.8rem, 10vw, 7rem); font-weight: 900; line-height: .9; letter-spacing: -.07em; }
.error-page h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 6vw, 4.5rem); }
.error-page__text { max-width: 620px; margin: 0 auto 2rem; color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.error-page__links { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.error-page__links h2 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.error-page__links ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: center; list-style: none; }
.error-page__links a { color: var(--ink); font-size: .85rem; font-weight: 750; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.legal-date { margin-top: var(--space-xl); color: var(--muted); font-size: .85rem; }

/* CTA banner ------------------------------------------------ */
.cta-banner {
    position: relative;
    isolation: isolate;
    padding: 5.5rem 0;
    overflow: hidden;
    color: var(--white);
    background: var(--ink-soft);
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12%;
    z-index: -1;
    width: 48%;
    height: 100%;
    background: var(--yellow);
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    opacity: .96;
}

.cta-banner .container { text-align: left; }
.cta-banner h2 { max-width: 720px; margin-bottom: 1rem; color: var(--white); }
.cta-banner p { max-width: 620px; margin-bottom: 2rem; color: rgba(255,255,255,.7); }
.cta-banner .container > div { justify-content: flex-start !important; }

/* Forms, map, legal ---------------------------------------- */
.contact-form {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-top: 5px solid var(--yellow);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; }
.form-group--full, .form-checkbox, .form-submit { grid-column: 1 / -1; }
.form-group label { margin-bottom: .5rem; color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-group label .required { color: var(--danger); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: .85rem 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #aebbc0;
    border-radius: 0;
    font: .95rem/1.4 var(--font-main);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(246,185,0,.35); }
.form-checkbox { display: flex; align-items: flex-start; gap: .8rem; }
.form-checkbox input { width: 20px; height: 20px; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--yellow-dark); }
.form-checkbox label { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.form-submit { margin-top: .5rem; }
.input-error { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(196,54,47,.14) !important; }

.map-container { overflow: hidden; border: 1px solid var(--line); border-bottom: 5px solid var(--yellow); }
.map-container iframe { display: block; width: 100%; height: 430px; border: 0; }
.legal-content { color: #455963; }
.legal-content h2 { margin: 2.3rem 0 .8rem; font-size: 1.65rem; }
.legal-content h3 { margin: 1.7rem 0 .6rem; font-size: 1.1rem; }
.legal-note { padding: 1rem 1.2rem; background: var(--paper); border-left: 4px solid var(--yellow); }

.alert { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 5px solid; font-size: .9rem; }
.alert--success { color: #17472d; background: #dceee3; border-color: var(--success); }
.alert--error { color: #6f211d; background: #f3dedc; border-color: var(--danger); }

/* Footer ---------------------------------------------------- */
.site-footer { padding-top: 4.5rem; color: rgba(255,255,255,.64); background: #06141f; border-top: 6px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.65fr .8fr .75fr 1.25fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: 3.5rem; }
.footer-about .site-logo { margin-bottom: 1.2rem; }
.site-logo__img--footer { height: 54px; }
.footer-about p { max-width: 300px; color: rgba(255,255,255,.46); font-size: .8rem; line-height: 1.65; }
.footer-heading { margin-bottom: 1rem; color: var(--yellow); font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links li { margin-bottom: .32rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .79rem; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .7rem; color: rgba(255,255,255,.55); font-size: .78rem; line-height: 1.5; }
.footer-contact-item svg { width: 15px; height: 15px; margin-top: .15rem; flex: 0 0 auto; color: var(--yellow); }
.footer-contact-item a { color: rgba(255,255,255,.72); }
.footer-contact-item a:hover { color: var(--yellow); }
.footer-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,.12);
}
.footer-credit__label {
    color: rgba(255,255,255,.42);
    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.footer-credit__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}
.footer-credit__brand {
    font-size: 1.15rem;
    font-weight: 850;
    letter-spacing: .045em;
}
.footer-credit__brand strong { color: var(--yellow); }
.footer-credit__domain { color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 700; }
.footer-credit__link svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    color: var(--yellow);
    border: 1px solid rgba(246,185,0,.5);
    transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.footer-credit__link:hover { color: var(--white); }
.footer-credit__link:hover svg { color: var(--ink); background: var(--yellow); transform: translate(2px,-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--white); }

/* Responsive ------------------------------------------------ */
@media (max-width: 1120px) {
    .header-claim, .header-phone { display: none; }
    .header-cta { margin-left: .65rem; }
    .main-nav__link { padding-inline: .65rem; }
    .section--services .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .section--services .card:nth-child(7) { grid-column: 1 / -1; }
    .card-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 920px) {
    :root { --header-height: 74px; --space-4xl: 5.5rem; }
    .container { width: min(100% - 36px, var(--container-max)); }
    .site-logo__img { height: 48px; padding: 8px 21px 8px 11px; }
    .header-cta { margin-left: auto; }
    .main-nav {
        position: fixed;
        inset: var(--header-height) 0 0;
        display: none;
        align-items: stretch;
        margin: 0;
        padding: 1.5rem 1.2rem 2rem;
        overflow-y: auto;
        background: var(--ink);
    }

    .main-nav.open { display: flex; flex-direction: column; }
    .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .main-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
    .main-nav__link { justify-content: space-between; width: 100%; padding: 1.1rem .2rem; font-size: 1rem; }
    .main-nav__link::after { display: none; }
    .dropdown-menu {
        position: static;
        min-width: 0;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        visibility: visible;
        opacity: 1;
        border: 0;
        box-shadow: none;
        transform: none;
        transition: max-height var(--transition-base);
    }

    .has-dropdown.open .dropdown-menu { max-height: 600px; transform: none; }
    .has-dropdown:hover .dropdown-menu { transform: none; }
    .dropdown-menu__link { padding: .7rem 1rem; }
    .nav-mobile-cta { display: flex; flex-direction: column; gap: .7rem; margin-top: auto; padding-top: 1.5rem; }
    .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: .7rem; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.25); cursor: pointer; }
    .menu-toggle svg { width: 24px; height: 24px; }

    .hero--home { min-height: 700px; }
    .hero--home h1 { font-size: clamp(3.7rem, 11vw, 6rem); }
    .hero__marker { display: none; }
    .service-strip .container { grid-template-columns: repeat(2, 1fr); width: 100%; }
    .service-strip a:nth-child(2) { border-right: 0; }
    .service-strip a:nth-child(-n+2) { border-bottom: 1px solid rgba(9,27,41,.25); }
    .service-strip a:first-child, .service-strip a:nth-child(3) { border-left: 0; }

    .story-intro { grid-template-columns: 1fr; gap: 2rem; }
    .story-copy { padding-top: 1.5rem; }
    .werkstatt-gallery { grid-template-columns: 1.3fr .7fr; grid-template-rows: 260px 180px; }
    .werkstatt-gallery__item--main { min-height: 0; }
    .story-badge { padding: 1.5rem; }

    .section--services .section__header { display: block; }
    .section--services .section__header p:not(.eyebrow) { padding-top: 0; }
    .section--faq .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .section--faq .section__header { position: static; }
    .content-section .container { grid-template-columns: minmax(180px,.55fr) 1.45fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
    .footer-about .site-logo { margin-bottom: 0; }
}

@media (max-width: 700px) {
    :root { --space-3xl: 4rem; --space-4xl: 4.5rem; }
    h2 { font-size: clamp(2rem, 10vw, 3.2rem); }
    .container { width: min(100% - 32px, var(--container-max)); }
    .header-cta { display: none; }

    .hero { min-height: 480px; padding: 4.5rem 0 3.5rem; background-position: 62% center; }
    .hero:not(.hero--home) h1 { font-size: clamp(2.25rem, 10.5vw, 2.6rem); }
    .hero--home { align-items: flex-end; min-height: 690px; padding-top: calc(var(--header-height) + 4.5rem); padding-bottom: 3rem; background-position: 62% center; }
    .hero--home::before { background: linear-gradient(90deg, rgba(5,18,28,.98), rgba(6,22,34,.82) 75%, rgba(6,22,34,.7)); }
    .hero::after { background-size: 48px 48px; }
    .hero--home h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero__lead { font-size: .96rem; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .hero__proof { margin-top: 2.2rem; }
    .hero__proof > span { padding: .8rem .5rem 0 0; font-size: .61rem; }
    .hero__proof > span + span { padding-left: .6rem; }
    .hero__proof strong { font-size: .88rem; }
    .hero:not(.hero--home) p { font-size: .98rem; }

    .service-strip a { min-height: 68px; padding: .8rem 1rem; font-size: .68rem; }
    .story-intro { margin-bottom: 2.5rem; }
    .werkstatt-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: 270px 190px auto; }
    .werkstatt-gallery__item--main { grid-row: auto; }
    .story-badge { min-height: 140px; }

    .card-grid--2, .card-grid--3, .card-grid--4,
    .section--services .card-grid { grid-template-columns: 1fr; }
    .section--services .card { min-height: 280px; }
    .section--services .card:nth-child(7) { grid-column: auto; min-height: 430px; background-position: 65% center; }
    .section--services .card:nth-child(7) .card__text { max-width: 88%; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { min-height: 185px; padding: 1.5rem; }

    .contact-info { grid-template-columns: 1fr; }
    .contact-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .contact-card:last-child { border-bottom: 0; }

    .content-section .container { display: block; }
    .content-section .container > h2:first-child { position: static; margin-bottom: 2.2rem; padding-top: 1rem; }
    .content-section h3 { margin-top: 1.6rem; }
    .cta-banner::after { display: none; }
    .cta-banner h2 { font-size: 2.4rem; }
    .cta-banner .container > div { flex-direction: column; align-items: stretch; }
    .cta-banner .btn { width: 100%; }

    .form-grid { grid-template-columns: 1fr; }
    .anfahrt-grid { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer-about { display: block; }
    .footer-about .site-logo { margin-bottom: 1rem; }
    .footer-credit { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .footer-credit__link { width: 100%; }
    .footer-credit__domain { margin-left: auto; }
    .footer-bottom { flex-direction: column; gap: .6rem; text-align: center; }
}

@media (max-width: 430px) {
    .hero__proof > span:nth-child(3) { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-credit__link { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
    .footer-credit__brand { grid-column: 1; font-size: 1.05rem; }
    .footer-credit__domain { grid-column: 1; grid-row: 2; margin-left: 0; }
    .footer-credit__link svg { grid-column: 2; grid-row: 1 / 3; }
}

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

@media print {
    .site-header, .site-footer, .menu-toggle, .cta-banner, .service-strip { display: none !important; }
    .breadcrumb { padding-top: 1rem; }
    .hero { min-height: 0; padding: 2rem 0; color: var(--ink); background: none !important; }
    .hero::before, .hero::after { display: none; }
    .hero h1, .hero p { color: var(--ink) !important; }
    body { font-size: 11pt; background: white; }
}
