/* =========================================================================
   RMC – Radiologie Münster Centrum
   ========================================================================= */

:root {
    /* Farben */
    --brand:        #B1040E;   /* Markenrot (rgb 177,4,14) */
    --brand-dark:   #8E030B;
    --brand-soft:   #FBE9EA;   /* helles Rot für Hintergründe */
    --ink:          #1F2124;   /* Haupttext */
    --ink-soft:     #55585E;   /* Sekundärtext */
    --ink-faint:    #8A8D93;   /* Tertiärtext */
    --surface:      #FFFFFF;
    --bg:           #F4F5F6;   /* Seitenhintergrund */
    --bg-alt:       #ECEDEF;
    --line:         #E2E4E7;
    --nav:          #1F2124;   /* dunkle Nav */
    --white:        #FFFFFF;

    /* Typografie  */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, "Nimbus Sans L", sans-serif;
    --fs-base:   1rem;
    --fs-sm:     0.875rem;
    --fs-lg:     1.125rem;
    --fs-xl:     1.375rem;
    --fs-2xl:    clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
    --fs-3xl:    clamp(2rem, 1.4rem + 2.4vw, 3rem);
    --fs-hero:   clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem);
    --leading:   1.65;

    /* Layout */
    --container:  1160px;
    --gutter:     clamp(1rem, 4vw, 2rem);
    --radius:     14px;
    --radius-sm:  8px;
    --radius-lg:  22px;
    --shadow-sm:  0 1px 2px rgba(20, 22, 25, .06), 0 1px 3px rgba(20, 22, 25, .08);
    --shadow:     0 6px 20px rgba(20, 22, 25, .08);
    --shadow-lg:  0 18px 48px rgba(20, 22, 25, .14);
    --header-h:   72px;

    /* Bewegung */
    --ease:       cubic-bezier(.4, 0, .2, 1);
    --dur:        .25s;
}

/* ---------------------------------------------------------------------------
   2. Reset & Basis
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--leading);
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, svg, video { display: block; max-width: 100%; }

a {
    color: var(--brand);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

p { max-width: 70ch; }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .4rem; }

::selection { background: var(--brand); color: #fff; }

/* Fokus-Sichtbarkeit (Barrierefreiheit) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. Layout-Helfer
   --------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.site-main { flex: 1 1 auto; }

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(1.5rem, 4vw, 3rem); }
.section--alt { background: var(--surface); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }

.section-head { max-width: 60ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head .eyebrow { margin-bottom: .5rem; }
.section-head p { color: var(--ink-soft); margin-top: .75rem; }

.eyebrow {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand);
}

.lead { font-size: var(--fs-lg); color: var(--ink-soft); }

.text-center { text-align: center; }
.text-center .section-head { margin-inline: auto; }
.text-center p { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   4. Header & Navigation
   --------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

/* Logo */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--ink);
    min-width: 0; 
}
.brand__mark {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: var(--brand);
    border-radius: 50%;
}
.brand__mark svg { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name, .brand__sub { white-space: normal; word-break: break-word; }
.brand__name { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; color: var(--brand); }
.brand__sub { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

/* Desktop-Navigation */
.nav { display: none; }
.nav__list {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav__link {
    position: relative;
    display: inline-block;
    padding: .55rem .85rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--radius-sm);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .3rem;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--brand); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--brand); }

/* Dropdown (Leistungen) */
.nav__item--has-sub { position: relative; }
.nav__caret {
    display: inline-block;
    width: .55em; height: .55em;
    margin-left: .35em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--dur) var(--ease);
}
.nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__item--has-sub:hover .nav__caret { transform: rotate(225deg) translateY(-2px); }
.nav__sub a {
    display: block;
    padding: .6rem .8rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-weight: 500;
}
.nav__sub a:hover { background: var(--brand-soft); color: var(--brand); }

/* Header-CTA (Termin) */
.site-header .header-cta { display: none; }

/* Mobile-Nav  */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Menü-Panel */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--surface);
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); }
.mobile-menu__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
}
.mobile-menu__link.is-active { color: var(--brand); }
.mobile-menu__sub { list-style: none; padding: 0 0 .5rem 1rem; margin: 0; }
.mobile-menu__sub a { display: block; padding: .5rem 0; color: var(--ink-soft); }
.mobile-menu__cta { margin-top: 1.5rem; display: grid; gap: .75rem; }

/* ---------------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
                border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
    text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-soft); color: var(--brand-dark); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------------- */
.hero {
    position: relative;
    color: #fff;
    background: var(--brand);
    overflow: hidden;
}
.hero--image {
    background-color: var(--brand-dark);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}
.hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(142,3,11,.92) 0%, rgba(177,4,14,.72) 45%, rgba(31,33,36,.55) 100%);
}
.hero__inner {
    padding-block: clamp(3rem, 9vw, 6.5rem);
    max-width: 760px;
}
.hero__title {
    color: #fff;
    font-size: var(--fs-hero);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.hero__lead {
    font-size: var(--fs-lg);
    color: rgba(255,255,255,.92);
    margin-bottom: 2rem;
    max-width: 56ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------------------
   7. Karten
   --------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 12px;
    margin-bottom: 1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: var(--fs-lg); margin-bottom: .5rem; }
.card__text { color: var(--ink-soft); margin-bottom: 1rem; }
.card__link { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.card__link svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

.card--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.card--brand .card__title { color: #fff; }
.card--brand .card__text { color: rgba(255,255,255,.9); }
.card--brand .card__icon { background: rgba(255,255,255,.18); color: #fff; }
.card--brand .card__link { color: #fff; }

/* Kontakt-Karten (Telefon) */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); color: var(--ink); }
.contact-card__icon {
    width: 52px; height: 52px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--brand); color: #fff; border-radius: 12px;
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card__label { font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; }
.contact-card__value { font-size: 1.2rem; font-weight: 800; color: var(--brand); white-space: nowrap; }

/* ---------------------------------------------------------------------------
   8. Grids
   --------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Zweispaltige Inhalts-Sektion (Text + Bild) */
.split {
    display: grid;
    gap: 2rem;
    align-items: center;
}
.split__media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: var(--bg-alt) center/cover no-repeat;
}

/* ---------------------------------------------------------------------------
   9. Listen & Definitionen
   --------------------------------------------------------------------------- */
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: .75rem;
    color: var(--ink-soft);
}
.list-clean li::before {
    content: "";
    position: absolute;
    left: 0; top: .45em;
    width: .6rem; height: .6rem;
    background: var(--brand);
    border-radius: 50%;
}

.deflist dt { font-weight: 700; color: var(--ink); margin-top: 1rem; }
.deflist dt:first-child { margin-top: 0; }
.deflist dd { color: var(--ink-soft); margin: .35rem 0 0 0; }

/* ---------------------------------------------------------------------------
   10. Tabellen (Dosis)
   --------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    font-size: var(--fs-sm);
}
.table caption {
    text-align: left;
    font-weight: 700;
    padding: 1rem 1.25rem;
    background: var(--brand);
    color: #fff;
}
.table th, .table td { padding: .8rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: var(--bg); }
.table td:last-child, .table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { font-size: .8rem; color: var(--ink-faint); margin-top: .75rem; }

/* ---------------------------------------------------------------------------
   11. Team
   --------------------------------------------------------------------------- */
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card__photo {
    aspect-ratio: 4 / 5;
    background: var(--bg-alt) center/cover no-repeat;
}
.team-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.team-card__name { font-size: var(--fs-lg); font-weight: 800; }
.team-card__role { color: var(--brand); font-weight: 600; margin-top: .25rem; }
.team-card__tags { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.team-card__tags li {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: .25rem .6rem;
    border-radius: 999px;
}

/* ---------------------------------------------------------------------------
   12. Info-Boxen & Callouts
   --------------------------------------------------------------------------- */
.callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--brand-soft);
    border: 1px solid #F3C9CC;
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    color: var(--ink);
}
.callout__icon { flex-shrink: 0; color: var(--brand); margin-top: .1rem; }
.callout__icon svg { width: 26px; height: 26px; }
.callout p { color: var(--ink-soft); max-width: none; }
.callout strong { color: var(--ink); }

/* ---------------------------------------------------------------------------
   13. Formular (Kontakt / Termin)
   --------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .8rem 1rem;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field__hint { font-size: .8rem; color: var(--ink-faint); }
.form__consent { flex-direction: row; align-items: flex-start; gap: .6rem; }
.form__consent input { width: auto; margin-top: .2rem; }
.form__consent label { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   14. Rechtliches (Impressum / Datenschutz)
   --------------------------------------------------------------------------- */
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { font-size: var(--fs-xl); margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: var(--fs-lg); margin-top: 1.25rem; color: var(--ink-soft); }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: .75rem; }
.legal ul { margin-bottom: 1rem; }
.legal a { color: var(--brand); text-decoration: underline; }

/* ---------------------------------------------------------------------------
   15. Footer
   --------------------------------------------------------------------------- */
.site-footer {
    background: var(--nav);
    color: rgba(255,255,255,.75);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    gap: 2rem;
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__sub { color: rgba(255,255,255,.6); }
.footer-brand .brand__mark { background: var(--brand); }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .2rem; color: var(--brand); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-block: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-sm);
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1.25rem; }

/* ---------------------------------------------------------------------------
   16. Cookie-Banner
   --------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 30px rgba(20,22,25,.12);
    padding: 1.25rem var(--gutter);
    transform: translateY(0);
    transition: transform .35s var(--ease);
}
.cookie-banner.is-hidden { transform: translateY(120%); }
.cookie-banner__inner {
    max-width: var(--container);
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-banner__text { flex: 1 1 320px; font-size: var(--fs-sm); color: var(--ink-soft); max-width: none; }
.cookie-banner__text a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .65rem 1.1rem; font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   17. Breadcrumb
   --------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
    font-size: var(--fs-sm);
    color: var(--ink-faint);
    padding-block: 1rem;
    list-style: none;
    padding-inline: 0;
    margin: 0;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------------
   18. Seiten-Header
   --------------------------------------------------------------------------- */
.page-hero {
    background: var(--brand);
    color: #fff;
    padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); }
.page-hero p { color: rgba(255,255,255,.9); margin-top: .75rem; max-width: 60ch; }
.page-hero .breadcrumb { color: rgba(255,255,255,.7); padding-block: 0 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb li + li::before { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb li[aria-current] { color: #fff; font-weight: 600; }
.page-hero .breadcrumb li[aria-current] span { text-decoration: underline; }

/* ---------------------------------------------------------------------------
   19. Utility
   --------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 300;
    background: var(--brand); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */

/* >= 640px */
@media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .form__row--2 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

/* >= 900px */
@media (min-width: 900px) {
    .nav { display: block; }
    .nav-toggle { display: none; }
    .site-header .header-cta { display: inline-flex; }
    .mobile-menu { display: none; }

    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .split--reverse .split__media { order: -1; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
    .footer-brand { grid-column: auto; }
}

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