/* PRUEFMARKE: site.css Stand 2026-07-13-BC (mobil kein Intro-Flug, Header-Logo sofort sichtbar) */
:root{ --arrow-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.25'%3E%3Cpath d='M1 12h20M15 7.5l5.5 4.5-5.5 4.5'/%3E%3C/svg%3E"); }

/* WIEDERHERGESTELLT: Kern-Variablen (waren versehentlich mitentfernt worden) */
:root {
    /* --- Grundflaechen & Text --- */
    --paper:        #FFFFFF;   /* Seiten-Hintergrund (hell) */
    --paper-2:      #F4F3F1;   /* leicht abgesetzte Flaeche (Logos, Testimonial) */
    --white:        #FFFFFF;   /* echtes Weiss (Overlay-Taefelchen, Karten) */
    --ink:          #000000;   /* Textfarbe - reines Schwarz */
    --ink-soft:     #000000;   /* gedaempfter Text - bewusst auch Schwarz, kein Grau */
    --line:         #E6E4DF;   /* Rahmen/Trennwert (im GD-Design kaum genutzt) */

    /* --- Markenfarben (Namen historisch) --- */
    --petrol:       #0B0B0B;   /* Markenschwarz: Footer, Knoepfe, dunkles Logo */
    --petrol-deep:  #000000;   /* tiefstes Schwarz */
    --petrol-tint:  #F4F3F1;   /* sehr helle Akzentflaeche */
    --coral:        #0B0B0B;   /* Akzent (monochrom = Schwarz) */
    --coral-soft:   #E6E4DF;   /* weicher Akzent / Raender */

    /* --- Typografie --- */
    --font-display: "circular-xx", system-ui, -apple-system, "Segoe UI", sans-serif;  /* Titel, Nav */
    --font-body:    "circular-xx", system-ui, -apple-system, "Segoe UI", sans-serif;  /* Fliesstext */

    /* --- Form & Abstand --- */
    --radius:        14px;    /* Eckenradius gross (Kacheln, Karten) */
    --radius-sm:     10px;    /* Eckenradius klein */
    --wrap:          1180px;  /* maximale Inhaltsbreite */
    --measure:       44rem;   /* angenehme Lesebreite fuer Textspalten */
    --space-section: clamp(3.5rem, 5vw, 5rem);              /* vertikaler Sektionsabstand */
    --step-fluid:    clamp(2.4rem, 1.4rem + 3.4vw, 4.1rem); /* fluide Ueberschrift-Groesse */

    /* --- Heller Seiten-Mesh (fixierter Hintergrund, body::before) --- */
    --mesh-base:  #FBFBFC;
    --mesh-image:
        radial-gradient(60% 55% at 14% 18%, #DCE3EC 0%, transparent 60%),
        radial-gradient(55% 55% at 88% 12%, #ECE6DC 0%, transparent 56%),
        radial-gradient(60% 60% at 82% 86%, #CAD6E4 0%, transparent 62%),
        radial-gradient(55% 55% at 16% 92%, #E3E9F1 0%, transparent 60%);

    /* --- Schatten (Trennung ohne Linien) --- */
    --shadow-sm:  0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
    --shadow-md:  0 10px 40px rgba(0,0,0,.12);
}

/* =========================================================
   SCHRIFT, Circular XX (Lineto) self-hosted unter /fonts/.
   .woff2 primaer (alle aktuellen Browser), .woff als Fallback.
   Book = 400 Fliesstext, Bold = 700 Titel/Navigation.
   Die Dateien liegen in public/fonts/ und sind Live-Daten:
   das Build-Zip enthaelt sie nicht, der Deploy laesst sie stehen.
   ========================================================= */
@font-face {
    font-family: 'circular-xx';
    src: url('/fonts/CircularXXWeb-Book.woff2') format('woff2'),
         url('/fonts/CircularXXWeb-Book.woff') format('woff');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'circular-xx';
    src: url('/fonts/CircularXXWeb-Bold.woff2') format('woff2'),
         url('/fonts/CircularXXWeb-Bold.woff') format('woff');
    font-weight: 700; font-style: normal; font-display: swap;
}*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--ink);
    background: transparent;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .5em;
}

p { margin: 0 0 1rem; }
a { color: var(--petrol-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--petrol-deep); }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.measure { max-width: var(--measure); }

.visually-hidden, .skip-link:not(:focus) {
    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: 1rem; top: 1rem; z-index: 100;
    background: var(--ink); color: var(--white); padding: .6rem 1rem;
    border-radius: var(--radius-sm); text-decoration: none;
}

:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
    font-size: .8rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--petrol-deep); margin: 0 0 .9rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-body); font-weight: 600; font-size: .98rem;
    padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none;
    border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--petrol-deep); color: var(--white); }
.btn-primary:hover { background: var(--petrol-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--petrol-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol-deep); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }

.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin .15s ease; }
.link-arrow:hover::after { margin-left: .25rem; }

/* ---------- Header (Taupe-Leiste, weisses Logo) ---------- */
html { background: var(--petrol); }
html.intro-seen { background: var(--paper); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--petrol); color: var(--white);
    height: 100px; display: flex; align-items: center; gap: 1.5rem;
    padding: 0 clamp(1.2rem, 4vw, 2.4rem);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); }
.brand-logo { display: block; height: 56px; overflow: hidden; transition: height .32s cubic-bezier(.65,0,.2,1); }
.brand .kk-logo { width: 106px; height: auto; display: block; opacity: 0; }
.brand .logo-wordmark { transition: opacity .24s ease; }
/* Beim Scrollen faltet die Wortmarke weg, das Signet bleibt */
.site-header.header-compact .brand-logo { height: 40px; }
.site-header.header-compact .brand .logo-wordmark { opacity: 0; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 1.9rem); }
.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -8px 0; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--white); cursor: pointer; opacity: 0; transition: opacity .45s ease, background-color .2s ease; }
.search-toggle:hover { background: rgba(255,255,255,.12); }
.site-nav {}
.nav-list { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; opacity: 0; }
.nav-list a { position: relative; color: var(--white); text-decoration: none; font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; opacity: 1; }
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%; background: var(--white); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform .35s ease; }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); animation: navUnderline .45s ease both; }
@keyframes navUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .nav-list a::after { transition: none; } .nav-list a[aria-current="page"]::after { animation: none; } }

/* Hamburger, nur mobil */
.burger { display: none; width: 30px; height: 20px; position: relative; background: none; border: 0; padding: 0; cursor: pointer; opacity: 0; }
.burger::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; }
.burger span { position: absolute; left: 0; right: 0; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .3s cubic-bezier(.65,0,.2,1), opacity .2s ease; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; margin-top: -1.25px; }
.burger span:nth-child(3) { bottom: 0; }
body.menu-open .burger span:nth-child(1) { top: 50%; margin-top: -1.25px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { bottom: 50%; margin-bottom: -1.25px; transform: rotate(-45deg); }

/* Mobiles Dropdown */
.mobile-menu { display: none; position: fixed; top: 100px; left: 0; right: 0; background: var(--petrol);
    flex-direction: column; padding: .4rem 0 1rem; z-index: 45;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .28s cubic-bezier(.65,0,.2,1), opacity .28s ease;
    box-shadow: 0 14px 24px -16px rgba(0,0,0,.45); }
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--white); text-decoration: none; padding: .95rem clamp(1.2rem,4vw,2.4rem); font-size: 1.18rem; font-weight: 600; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: rgba(255,255,255,.10); }

/* Intro-Vorhang */
#introOverlay { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; background: var(--petrol); z-index: 900; }
#introWrap { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 950; pointer-events: none; }
#introWrap .kk-logo { width: min(360px, 68vw); height: auto; display: block; color: var(--white); opacity: 0; }

/* Einblenden nach dem Intro */
.nav-list, .burger, .search-toggle { transition: opacity .45s ease; }
/* Inhalt ist von Anfang an gemalt (gut fuer LCP) und wird nur optisch vom Vorhang verdeckt */
html.intro-seen #introOverlay, html.intro-seen #introWrap { display: none; }
html.intro-seen .brand .kk-logo,
html.intro-seen .nav-list,
html.intro-seen .search-toggle,
html.intro-seen .burger { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    #introOverlay, #introWrap { display: none; }
    html { background: var(--paper); }
    .brand .kk-logo, .nav-list, .search-toggle, .burger, main#inhalt { opacity: 1; }
}

/* Mobiler Umschaltpunkt fuer den Kopf */
@media (max-width: 720px) {
    .site-header { height: 84px; padding: 0 clamp(1rem, 4vw, 1.5rem); }
    .brand-logo { height: 46px; }
    .brand .kk-logo { width: 87px; }
    .site-header.header-compact .brand-logo { height: 33px; }
    .nav-list { display: none; }
    .burger { display: block; }
    .mobile-menu { display: flex; top: 84px; }
}

/* ---------- Suche (Overlay) ---------- */
body.search-open { overflow: hidden; }
.search-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; align-items: flex-start; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); backdrop-filter: blur(2px); }
.search-box { position: relative; width: min(640px, 92vw); margin-top: clamp(4rem, 12vh, 9rem); background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); overflow: hidden; animation: searchIn .26s cubic-bezier(.65,0,.2,1) both; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.search-field { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.search-input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--font-body); font-size: 1.15rem; color: var(--ink); padding: .25rem 0; }
.search-input::placeholder { color: var(--ink-soft); opacity: .8; }
.search-close { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: 0 .2rem; }
.search-close:hover { color: var(--ink); }
.search-hint { margin: 0; padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); font-size: .96rem; }
.search-results { list-style: none; margin: 0; padding: 0; max-height: min(56vh, 460px); overflow-y: auto; }
.search-results li a { display: block; padding: .85rem 1.2rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background-color .15s ease; }
.search-results li:last-child a { border-bottom: 0; }
.search-results li a:hover, .search-results li a:focus { background: var(--petrol-tint); }
.sr-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; }
.sr-text { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: .15rem; }
.search-none { padding: 1.1rem 1.2rem 1.3rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .search-box { animation: none; } }


.hero { position: relative; padding: var(--space-section) 0; }
.hero-inner {
    display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: center;
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.hero-inner > * { min-width: 0; }
.hero-title { font-size: var(--step-fluid); margin-bottom: .6rem; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hero-Slider ---------- */
.hero-slider { position: relative; width: 100%; max-width: 360px; margin-left: auto; min-width: 0; }
.hs-viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); background: var(--white); }
.hs-track { display: flex; transition: transform .6s cubic-bezier(.65,0,.2,1); }
.hs-slide { min-width: 100%; }
.hs-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: inherit; }
.hs-frame { position: relative; width: 100%; padding-top: 100%; overflow: hidden; background-color: #FBFBFC; background-image: radial-gradient(60% 55% at 14% 18%, #DCE3EC 0%, transparent 60%), radial-gradient(55% 55% at 88% 12%, #ECE6DC 0%, transparent 56%), radial-gradient(60% 60% at 82% 86%, #CAD6E4 0%, transparent 62%), radial-gradient(55% 55% at 16% 92%, #E3E9F1 0%, transparent 60%); }
.hs-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-body { padding: 1.25rem 1.4rem 1.4rem; background: var(--white); }
.hs-body .eyebrow { margin-bottom: .4rem; }
.hs-body h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.15; margin: 0 0 .3rem; }
.hs-body p { font-size: 1rem; color: var(--ink); margin: 0 0 .7rem; }
.hs-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--petrol-deep); font-weight: 600; }
.hs-more .ar { transition: transform .2s ease; }
.hs-card:hover .hs-more .ar { transform: translateX(3px); }
.hs-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; justify-content: center; }
.hs-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--petrol-deep);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.hs-arrow:hover { border-color: var(--petrol); }
.hs-arrow svg { width: 15px; height: 15px; }
.hs-dots { display: flex; gap: .5rem; }
.hs-dot { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.hs-dot::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 9px; height: 9px; border-radius: 50%; background: rgba(79,74,67,.28); transition: background .25s ease, transform .25s ease; }
.hs-dot[aria-current="true"]::before { background: var(--petrol-deep); transform: translate(-50%,-50%) scale(1.25); }
@media (prefers-reduced-motion: reduce) { .hs-track { transition: none; } }

.hero-pulse { position: relative; min-height: 220px; display: flex; align-items: center; }
.ecg { width: 100%; height: 230px; }
.ecg-track { fill: none; stroke: var(--petrol); stroke-width: 2; opacity: .14; }
.ecg-trace {
    fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1400; stroke-dashoffset: 1400;
    animation: ecg-draw 4.2s linear infinite;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--coral) 45%, transparent));
}
@keyframes ecg-draw {
    0%   { stroke-dashoffset: 1400; }
    70%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -1400; }
}

/* ---------- Quickbar ---------- */
.quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 0;
}
.quick { background: var(--white); padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .15rem; }
.quick-label { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.quick-main { font-size: 1.05rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.quick-sub { font-size: .9rem; color: var(--ink-soft); }
.status { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: 1.05rem; }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; }
.status-open { color: var(--petrol-deep); }
.status-open::before { background: #2E9E6B; box-shadow: 0 0 0 3px rgba(46,158,107,.18); }
.status-closed { color: var(--ink-soft); }
.status-closed::before { background: #C0563C; box-shadow: 0 0 0 3px rgba(192,86,60,.16); }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section-alt { background: var(--white); }
.section-intro { padding: var(--space-section) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.section-more { margin-top: 2rem; }

/* ---------- Abwechselnde Sektions-Hintergruende ---------- */
/* Ruhiges Mesh-Feld (Sanftes Blau), feststehend hinter der Seite */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-color: #FBFBFC;
    background-image:
        radial-gradient(60% 55% at 14% 18%, #DCE3EC 0%, transparent 60%),
        radial-gradient(55% 55% at 88% 12%, #ECE6DC 0%, transparent 56%),
        radial-gradient(60% 60% at 82% 86%, #CAD6E4 0%, transparent 62%),
        radial-gradient(55% 55% at 16% 92%, #E3E9F1 0%, transparent 60%);
}
/* Ungerade Sektionen weiss (decken das Mesh ab), gerade lassen es durchscheinen */
main#inhalt > section:nth-of-type(odd)  { background: var(--white); position: relative; }
main#inhalt > section:nth-of-type(even) { background: transparent; position: relative; }
/* Ausnahme: einzelne Sections bewusst weiss, auch wenn sie an gerader Position stehen */
main#inhalt > section.section-plain { background: var(--white); padding-top: clamp(1.4rem, 3vw, 2rem); }
/* Kopf der Listenseiten naeher an die Kacheln ruecken */
.page-header-attached { padding-bottom: 0; }
/* Detailansicht: Info-Section mit Mesh hinterlegt */
main#inhalt > section.doctor-detail-info {
    background-color: var(--mesh-base);
    background-image: var(--mesh-image);
}
.doctor-detail-info .wrap > .doctor-section-title:first-child { margin-top: 0; }

/* Kacheln zeitversetzt von unten einfaden (Aerzte + Team) */
@keyframes cardFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.doctor-grid .doctor-card { animation: cardFadeUp .55s ease backwards; }
@media (prefers-reduced-motion: reduce) {
    .doctor-grid .doctor-card { animation: none; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card {
    background: var(--white); border-radius: var(--radius);
    padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-title { font-size: 1.2rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.team-grid-full { gap: 1.8rem; }
.team-card { text-align: center; }
.team-photo {
    width: 92px; height: 92px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--petrol), var(--petrol-deep));
    color: var(--white); display: grid; place-items: center;
    font-family: var(--font-display); font-size: 2.2rem; box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 1.15rem; margin-bottom: .15rem; }
.team-role { color: var(--petrol-deep); font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.team-bio { color: var(--ink-soft); font-size: .94rem; margin: 0 auto; max-width: 30ch; }

/* ---------- News ---------- */
.news-list { display: grid; gap: 1.6rem; }
.news-item { display: grid; grid-template-columns: 8rem 1fr; gap: 1.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-date { color: var(--ink-soft); font-size: .9rem; font-weight: 600; padding-top: .2rem; }
.news-title { font-size: 1.25rem; margin-bottom: .3rem; }
.news-pinned .news-title { color: var(--petrol-deep); }
.pin { color: var(--coral); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 0; }
.cta-band h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
.cta-band p { color: var(--ink-soft); margin: 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Page header ---------- */
.page-header { padding: var(--space-section) 0; }
.page-header h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.page-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Prose ---------- */
.prose { color: var(--ink); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.prose p { margin-bottom: 1.1rem; }
.prose a { font-weight: 500; }
.prose-sm { font-size: .96rem; }
.prose-sm p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-card h2 { font-size: 1.4rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.contact-card .status { font-size: .85rem; }
.contact-address { font-style: normal; margin-bottom: 1.2rem; line-height: 1.6; }
.contact-line { display: flex; gap: .8rem; margin: .4rem 0; }
.contact-label { min-width: 5rem; color: var(--ink-soft); font-size: .92rem; }
.contact-emergency { margin-top: 1.2rem; padding: .9rem 1.1rem; background: var(--white); border-left: 3px solid var(--coral); border-radius: var(--radius-sm); font-size: .94rem; color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 500; padding: .55rem 0; color: var(--ink); vertical-align: top; }
.hours td { text-align: right; padding: .55rem 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours tr:last-child { border-bottom: 0; }
.hours-label { display: block; font-size: .8rem; }

.empty { color: var(--ink-soft); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol); color: var(--white); padding: 3.5rem 0 1.8rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer-logo { color: var(--white); margin-bottom: .9rem; }
.footer-logo .kk-logo { height: 76px; width: auto; display: block; }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--white); margin: .6rem 0 .3rem; }
.footer-tagline { font-size: .94rem; max-width: 32ch; }
.footer-head { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 .9rem; font-family: var(--font-body); font-weight: 600; }
.footer-address { font-style: normal; line-height: 1.8; }
.footer-address a, .footer-links a { color: var(--white); text-decoration: none; }
.footer-address a:hover, .footer-links a:hover { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; font-size: .88rem; color: rgba(255,255,255,.9); }
.footer-base a { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2.5rem; }
    .hero-slider { max-width: 360px; margin-inline: auto; margin-left: auto; width: 100%; }
    /* hs-pic bleibt quadratisch (aspect-ratio 1/1 aus der Grundregel) */
    .hero-pulse { order: -1; min-height: 120px; }
    .ecg { height: 130px; }
    .quickbar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }

    .cta-inner { flex-direction: column; align-items: flex-start; }
    .news-item { grid-template-columns: 1fr; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ecg-trace { animation: none; stroke-dashoffset: 0; }
    * { transition: none !important; }
}

/* ---------- Ärztinnen und Ärzte ---------- */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
    gap: 1.8rem 1.6rem;
}
.doctor-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.doctor-photo {
    aspect-ratio: 1 / 1;
    background-color: #FBFBFC;
    background-image:
        radial-gradient(60% 55% at 14% 18%, #DCE3EC 0%, transparent 60%),
        radial-gradient(55% 55% at 88% 12%, #ECE6DC 0%, transparent 56%),
        radial-gradient(60% 60% at 82% 86%, #CAD6E4 0%, transparent 62%),
        radial-gradient(55% 55% at 16% 92%, #E3E9F1 0%, transparent 60%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.doctor-photo img, .doctor-photo .doctor-placeholder {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .5s ease;
}
.doctor-card:hover .doctor-photo img,
.doctor-card:hover .doctor-photo .doctor-placeholder { transform: scale(1.04); }

.doctor-body { padding: 1.15rem 1.25rem 1.4rem; }
.doctor-name {
    font-family: var(--font-display);
    font-size: 1.3rem; line-height: 1.2; font-weight: 600;
    color: var(--ink); margin: 0 0 .25rem;
    transition: color .2s ease;
}
.doctor-card:hover .doctor-name { color: var(--petrol-deep); }
.doctor-role { color: var(--ink-soft); font-size: .92rem; line-height: 1.45; margin: 0; }
.doctor-view {
    display: inline-flex; align-items: center; gap: .35rem;
    margin-top: .9rem; color: var(--petrol-deep); font-size: .85rem; font-weight: 600;
    letter-spacing: .01em;
}
.doctor-view .arrow { transition: transform .25s ease; }
.doctor-card:hover .doctor-view .arrow { transform: translateX(.25rem); }

/* Detailseite */
.doctor-detail { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.back-link { display: inline-block; color: var(--petrol-deep); text-decoration: none; font-weight: 500; margin-bottom: 1.4rem; }
.back-link:hover { text-decoration: underline; }
.doctor-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.6rem 2rem;
    align-items: start;
    margin-bottom: 2.4rem;
}
@media (min-width: 720px) {
    .doctor-head { grid-template-columns: 1fr 320px; }
}
.doctor-detail-name { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 0 0 .3rem; }
.doctor-detail-role { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.doctor-detail-photo {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--mesh-base);
    background-image: var(--mesh-image);
}
.doctor-detail-photo img,
.doctor-detail-photo .doctor-placeholder {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.doctor-section-title { font-size: 1.25rem; margin: 2rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid #fff; }

/* Werdegang als zweispaltiges Raster, ohne Tabelle */
.cv { display: grid; gap: .1rem; margin: 0; }
.cv-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px solid #fff;
}
.cv-year { font-weight: 600; color: var(--petrol-deep); margin: 0; }
.cv-text { margin: 0; color: var(--ink); }
@media (max-width: 460px) {
    .cv-row { grid-template-columns: 4.5rem 1fr; gap: .7rem; }
}

.lang-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.lang-list li {
    background: var(--petrol-tint);
    color: var(--petrol-deep);
    border-radius: 999px;
    padding: .3rem .9rem;
    font-size: .92rem;
}

/* Team-Kacheln: gleiche Optik wie Aerzte, aber bewusst nicht klickbar */
.doctor-card-static { cursor: default; }
.doctor-card-static:hover { transform: none; box-shadow: var(--shadow-sm); }
.doctor-card-static:hover .doctor-photo img,
.doctor-card-static:hover .doctor-photo .doctor-placeholder { transform: none; }
.doctor-card-static:hover .doctor-name { color: var(--ink); }

/* =========================================================
   GABRIEL DESIGN THEME — ueberschreibt die Basis.
   Gleiche Selektoren stehen bewusst hier unten: spaeter = gewinnt.
   Header hell + dunkles Logo, Intro hell, Footer schwarz, monochrom.
   Stand 2026-06-29-D
   ========================================================= */
/* (Design-Variablen sind oben in STELLSCHRAUBEN gebuendelt) */
body{ background:var(--paper); }

/* Logo-Faltung mit Rand, damit das Signet nie angeschnitten wird */
.brand-logo{ height:58px; }
.site-header.header-compact .brand-logo{ height:44px; }

/* Header hell, keine Linie, weicher Blur-Saum darunter */
.site-header{ background:rgba(255,255,255,.85); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); color:var(--ink); border-bottom:0; }
.site-header::after{ content:""; position:absolute; left:0; right:0; top:100%; height:34px; pointer-events:none; -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px); -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,.95), transparent); mask-image:linear-gradient(to bottom, rgba(0,0,0,.95), transparent); }
.brand{ color:var(--ink); }
.brand .kk-logo{ color:var(--ink); }
.nav-list a{ color:var(--ink); }
.nav-list a::after{ background:var(--ink); }
.search-toggle{ color:var(--ink); }
.search-toggle:hover{ background:var(--paper-2); }
.burger span{ background:var(--ink); }
.mobile-menu{ background:#fff; border-top:1px solid var(--line); box-shadow:0 14px 24px -16px rgba(0,0,0,.18); }
.mobile-menu a{ color:var(--ink); }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"]{ background:var(--paper-2); }

/* Intro hell mit dunklem Logo */
#introOverlay{ background:#fff; }
#introWrap .kk-logo{ color:var(--ink); }

/* Footer schwarz */
.site-footer{ background:#fff; color:#000; padding:clamp(3.5rem,6vw,5.5rem) 0 2.5rem; margin-top:0; }
.gd-footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1fr; gap:2rem; }
.gd-footer-brand address{ font-style:normal; color:#000; line-height:1.8; font-size:.94rem; }
.gd-footer-socials{ display:flex; gap:1rem; margin:1.2rem 0; }
.gd-footer-socials a{ color:#000; text-decoration:none; display:inline-flex; opacity:.85; transition:opacity .2s ease; }
.gd-footer-socials a:hover{ color:#000; opacity:1; }
.gd-footer-note{ color:#000; font-size:.9rem; margin:0; }
.gd-footer-col h2{ font-family:var(--font-display); font-weight:700; font-size:.92rem; margin:0 0 1rem; color:#000; }
.gd-footer-col ul{ list-style:none; margin:0; padding:0; line-height:2.1; }
.gd-footer-col a{ color:#000; text-decoration:none; font-size:.94rem; opacity:.85; }
.gd-footer-col a:hover{ color:#000; opacity:1; }
.gd-footer-base{ display:flex; justify-content:space-between; align-items:center; margin-top:2.6rem; color:#000; font-size:.88rem; }
.gd-footer-top{ color:rgba(0,0,0,.55); text-decoration:none; }
.gd-footer-top:hover{ color:#000; }

/* Buttons */
/* Einheitliche Buttons: Pill, 3px Rand, Pfeil via ::after. Hover = einfache Invertierung (Endzustand). */
.gd-btn{ display:inline-flex; align-items:center; gap:.5rem;
  padding:.8rem 1.5rem; border-radius:999px; border:3px solid #000; color:#000; background:transparent;
  text-decoration:none; font-family:inherit; font-size:1rem; font-weight:700; line-height:1; cursor:pointer;
  transition:background-color .2s ease, color .2s ease; }
.gd-btn::after{ content:""; width:1.5em; height:1em; flex:none; align-self:center; background-color:currentColor;
  -webkit-mask:var(--arrow-r) no-repeat center / contain; mask:var(--arrow-r) no-repeat center / contain; }
.gd-btn:hover{ background:#000; color:#fff; }
/* Auf dunklem Hintergrund (z. B. Referenz-Detail): invertiert */
.gd-btn.on-dark{ border-color:#fff; color:#fff; }
.gd-btn.on-dark:hover{ background:#fff; color:#000; }

/* Eyebrows site-weit ausgeblendet (Wunsch) */
.eyebrow, .hh-eyebrow{ display:none; }

/* Sektionen */
.gd-section{ padding:clamp(4rem,8vw,7.5rem) 0; }
.gd-alt{ background:var(--paper-2); }
.gd-section-head{ margin-bottom:clamp(2rem,4vw,3rem); }
.gd-section-head h1, .gd-section-head h2{ font-family:var(--font-display); font-weight:700; font-size:clamp(1.7rem,1.2rem+1.6vw,2.6rem); letter-spacing:-.01em; margin:0; }
.gd-section-lead{ color:var(--ink-soft); margin-top:.8rem; max-width:48ch; }

/* Hero */
.gd-hero{ padding:clamp(3.5rem,7vw,6rem) 0 clamp(2.5rem,4vw,3.5rem); }
.gd-hero h1{ font-family:var(--font-display); font-weight:700; line-height:1.04; letter-spacing:-.015em; font-size:clamp(2.5rem,1.3rem+4.6vw,5.2rem); margin:0; }
.gd-hero-lead{ font-size:clamp(1.1rem,1rem+.4vw,1.32rem); color:var(--ink-soft); max-width:48ch; margin:1.6rem 0 2rem; }
.gd-hero-actions{ display:flex; flex-wrap:wrap; gap:.9rem; }

/* Showcase */
.gd-showcase{ display:grid; grid-template-columns:1.15fr 1fr .8fr; gap:1rem; padding-bottom:clamp(4rem,8vw,7.5rem); }
.gd-tile{ position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; display:block; }
.gd-tile.tall{ aspect-ratio:3/4; }

/* Mesh-Platzhalter */
.gd-ph{ width:100%; height:100%; }
.gd-ph-label{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:var(--ink-soft); font-size:.85rem; letter-spacing:.04em; text-align:center; padding:.5rem; }
.gd-ph1{ background:#FBFBFC; background-image:radial-gradient(60% 55% at 18% 20%,#F2E7E1 0,transparent 60%),radial-gradient(55% 55% at 85% 15%,#E7ECF2 0,transparent 56%),radial-gradient(60% 60% at 80% 88%,#EDE7DD 0,transparent 62%); }
.gd-ph3{ background:#FBFBFC; background-image:radial-gradient(60% 55% at 80% 20%,#E6ECF2 0,transparent 60%),radial-gradient(55% 55% at 15% 85%,#F2E9E1 0,transparent 56%); }
.gd-ph4{ background:#EDEAE4; }
.gd-ph5{ background:#FBFBFC; background-image:radial-gradient(60% 60% at 30% 30%,#EAEFF4 0,transparent 60%),radial-gradient(55% 55% at 85% 80%,#F3ECE3 0,transparent 56%); }

/* Editorial Showcase (Desktop-Split + Handy) */
.gd-show-sec{ padding:clamp(2rem,4vw,4rem) 0 clamp(2.5rem,5vw,4.5rem); }
.gd-show{ display:grid; grid-template-columns:.82fr 1.18fr; gap:clamp(2rem,4vw,3.5rem); align-items:center; grid-template-areas:"intro stage"; }
.gd-show-intro{ grid-area:intro; }
.gd-show-intro h1{ font-family:var(--font-display); font-weight:700; line-height:1.06; letter-spacing:-.015em; font-size:clamp(2rem,1.3rem+2.4vw,3.4rem); margin:0 0 1.6rem; }
.gd-show-list{ list-style:none; margin:0 0 1.6rem; padding:0; }
.gd-show-list a{ display:block; text-decoration:none; color:var(--ink); padding:.65rem .85rem; border-radius:10px; transition:background .2s ease; }
.gd-show-list a:hover, .gd-show-list a.on{ background:var(--paper-2); }
.gd-show-list b{ font-family:var(--font-display); font-weight:700; font-size:1.08rem; }
.gd-show-list b::after{ content:" — "; }
.gd-show-list i{ font-style:normal; font-size:1.08rem; }
.gd-show-lead{ color:var(--ink); max-width:46ch; margin:0; font-size:1.02rem; line-height:1.6; }
.gd-stage{ grid-area:stage; position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3; background:#0b0b0b; display:block; text-decoration:none; }
.gd-stage img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(1.05) translateX(8px); transition:opacity .9s ease; }
.gd-stage img.on{ opacity:1; transform:scale(1.09) translateX(-8px); transition:opacity .9s ease, transform 6s linear; }
.gd-stage-arrow{ position:absolute; top:1rem; right:1rem; width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; color:var(--ink); z-index:2; }
.gd-stage-tags{ position:absolute; left:1rem; bottom:1rem; z-index:2; }
.gd-tg{ position:absolute; left:0; bottom:0; background:#fff; border-radius:9px; padding:.6rem .9rem; opacity:0; transition:opacity .4s ease; white-space:nowrap; }
.gd-tg.on{ opacity:1; }
.gd-tg b{ display:block; font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--ink); }
.gd-tg span{ display:block; font-size:.82rem; color:var(--ink); margin-top:.1rem; }
.gd-show-dots{ grid-area:dots; display:none; }

/* About + FAQ */
.gd-about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:start; }
.gd-about-grid h2{ font-size:clamp(1.4rem,1rem+1.2vw,2rem); margin:0 0 1.2rem; }
.gd-portrait{ position:relative; aspect-ratio:4/5; border-radius:var(--radius); overflow:hidden; margin-bottom:1.6rem; max-width:360px; }

/* Kontaktband + Logos */
.gd-contact-band{ text-align:center; padding:clamp(2rem,4vw,3.5rem) 0; }
.gd-contact-band h2{ font-size:clamp(1.8rem,1.2rem+2vw,3rem); max-width:18ch; margin:0 auto 1.8rem; }
.gd-logos{ overflow:hidden; padding-block:1.6rem; }
.gd-logos-label{ text-align:center; color:var(--ink-soft); font-size:.92rem; letter-spacing:.03em; margin:0 0 1.8rem; }
.gd-logo-track{ display:flex; gap:clamp(2.5rem,5vw,4.5rem); align-items:center; width:max-content; animation:gdMarquee 28s linear infinite;
  will-change:transform; transform:translateZ(0); backface-visibility:hidden; }
.gd-logo-track span{ font-family:var(--font-display); font-weight:700; font-size:1.5rem; color:#BDBBB5; white-space:nowrap; }
@keyframes gdMarquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* Referenzen-Raster (Startseite): full-bleed, 16:9, dunkle Ramp + weisse Schrift, Parallax */
.home-refs{ padding-top: var(--space-section); padding-bottom: clamp(.7rem,1.4vw,1.3rem); }
.gd-ref-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.7rem,1.4vw,1.3rem); padding-inline:clamp(.7rem,1.4vw,1.3rem); }
.gd-ref-card{ position:relative; display:block; aspect-ratio:4/3; overflow:hidden; text-decoration:none; background:#0B0B0B; }
.gd-ref-media{ position:absolute; left:0; right:0; top:-18%; height:136%; will-change:transform; }
.gd-ref-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.6,.2,1); }
.gd-ref-card:hover .gd-ref-img{ transform:scale(1.06); }
.gd-ref-arrow{ display:none; }
.gd-ref-scrim{ position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,0) 58%); }
.gd-ref-tag{ position:absolute; left:0; right:0; bottom:0; display:flex; flex-direction:column; gap:.15rem;
  padding:clamp(1rem,1.8vw,1.5rem); color:#fff; }
.gd-ref-cat{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; opacity:.85; font-weight:600; color:#fff; }
.gd-ref-meta{ font-size:clamp(1rem,1.3vw,1.25rem); font-weight:600; line-height:1.2; color:#fff; }
@media (max-width:760px){ .gd-ref-grid{ grid-template-columns:1fr; } }

/* Bereiche-Kacheln (Startseite): Referenz-Stil, zentriertes Label in Grossbuchstaben, Zoom-Hover */
.gd-tiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(.7rem,1.4vw,1.3rem); padding-inline:clamp(.7rem,1.4vw,1.3rem); }
.gd-tile{ position:relative; display:flex; align-items:center; justify-content:center; aspect-ratio:4/3; overflow:hidden; text-decoration:none; background:#0B0B0B; border-radius:0; isolation:isolate; }
.gd-tile-media{ position:absolute; left:0; right:0; top:-18%; height:136%; will-change:transform; }
.gd-tile-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s cubic-bezier(.2,.6,.2,1); }
.gd-tile:hover .gd-tile-img{ transform:scale(1.06); }
.gd-tile-label{ position:relative; color:#fff; mix-blend-mode:difference; text-transform:uppercase; letter-spacing:.05em;
  font-weight:700; font-family:var(--font-display); font-size:clamp(2rem,5vw,3.6rem); line-height:1.04; text-align:center; padding:0 .6rem;
  -webkit-hyphens:manual; -ms-hyphens:manual; hyphens:manual; overflow-wrap:break-word; }
@media (max-width:760px){ .gd-tiles{ grid-template-columns:1fr; } }

/* Landing zweite Section: zweispaltig, links Angebot-Leiste (sticky), rechts Text */
.landing-split{ --lsg:clamp(2rem,4vw,4rem); display:grid; grid-template-columns:calc(50% - var(--lsg)) 1fr; column-gap:var(--lsg); align-items:start; }
.landing-rail{ position:sticky; top:calc(var(--hh) + 1rem); }
.landing-prose > :first-child{ margin-top:0; }
.gd-tiles-rail{ margin-top:0; }
.landing-rail h2{ margin:0 0 1.1rem; }
.gd-tiles-rail{ grid-template-columns:1fr; padding-inline:0; gap:clamp(.6rem,1vw,1rem); }
.gd-tiles-rail .gd-tile{ aspect-ratio:3/2; }
.gd-tiles-rail .gd-tile-label{ font-size:clamp(1.4rem,2.2vw,2.1rem); }
@media (max-width:900px){
  .landing-split{ grid-template-columns:1fr; gap:clamp(1.6rem,5vw,2.4rem); }
  .landing-rail{ position:static; }
}

/* Referenz-Detail */
.gd-back{ display:inline-block; color:var(--ink-soft); text-decoration:none; margin-bottom:1.5rem; }
.gd-back:hover{ color:var(--ink); }
.gd-ref-eyebrow{ color:var(--ink-soft); margin:0 0 .4rem; }
.gd-ref-detail h1{ font-family:var(--font-display); font-weight:700; font-size:clamp(2rem,1.4rem+2vw,3.2rem); margin:0 0 1.6rem; }
.gd-ref-hero{ position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; margin-bottom:1.8rem; }
.gd-prose{ max-width:60ch; color:var(--ink); font-size:1.1rem; }
.gd-empty{ color:var(--ink-soft); }

/* Kundenstimmen */
.gd-tst{ text-align:center; max-width:760px; margin:0 auto; }
.gd-tst-photo{ width:72px; height:72px; border-radius:8px; margin:0 auto 1.6rem; background:#DDDAD3; }
.gd-tst-quote{ font-size:clamp(1.05rem,1rem+.4vw,1.3rem); color:#000; line-height:1.7; }
.gd-tst-name{ font-weight:700; margin:1.4rem 0 .1rem; }
.gd-tst-role{ color:var(--ink-soft); font-size:.92rem; margin:0; }
.gd-tst-dots{ display:flex; gap:.5rem; justify-content:center; margin-top:1.8rem; }
.gd-tst-dots button{ width:26px; height:26px; border:0; background:transparent; cursor:pointer; padding:0; position:relative; }
.gd-tst-dots button::before{ content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:9px; height:9px; border-radius:50%; background:#CFCCC5; }
.gd-tst-dots button[aria-current="true"]::before{ background:var(--ink); }

/* Scroll-to-Top */
.gd-to-top{ position:fixed; right:clamp(1rem,3vw,2rem); bottom:clamp(1rem,3vw,2rem); width:46px; height:46px; border-radius:50%; border:0; background:var(--ink); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:1.15rem; cursor:pointer; opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity .3s, transform .3s; z-index:60; }
.gd-to-top.show{ opacity:1; pointer-events:auto; transform:none; }
.gd-to-top:hover{ transform:translateY(-2px); }

@media (max-width:880px){
  .gd-showcase{ grid-template-columns:1fr 1fr; }
  .gd-footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:680px){
  .gd-about-grid{ grid-template-columns:1fr; }
  .gd-showcase{ grid-template-columns:1fr; }
  .gd-footer-grid{ grid-template-columns:1fr 1fr; }
  .gd-footer-base{ flex-direction:column; gap:.6rem; text-align:center; }
}
@media (max-width:820px){
  .gd-show{ grid-template-columns:1fr; grid-template-areas:"stage" "dots" "intro"; gap:1.2rem; align-items:start; }
  .gd-show-list{ display:none; }
  .gd-stage{ aspect-ratio:4/5; }
  .gd-show-intro h1{ font-size:clamp(1.6rem,1.2rem+2vw,2.2rem); margin:.2rem 0 .8rem; }
  .gd-show-dots{ display:flex; gap:.4rem; justify-content:center; }
  .gd-show-dots button{ width:28px; height:28px; border:0; background:transparent; padding:0; cursor:pointer; position:relative; }
  .gd-show-dots button::before{ content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:7px; height:7px; border-radius:50%; background:#CFCCC5; transition:width .25s ease, background .25s ease; }
  .gd-show-dots button[aria-current="true"]::before{ width:22px; background:var(--ink); border-radius:4px; }
}
@media (prefers-reduced-motion:reduce){ .gd-logo-track{ animation:none; } .gd-stage img{ transition:opacity .3s ease; } .gd-stage img.on{ transform:none; transition:opacity .3s ease; } }

@media (max-width:720px){
  .brand-logo{ height:50px; }
  .brand .kk-logo{ width:92px; }
  .site-header.header-compact .brand-logo{ height:38px; }
}/* === Referenz-Detailseite (Migration) === */
.gd-ref-subtitle{ font-size:clamp(1.1rem,1rem+.5vw,1.4rem); color:var(--ink); margin:.2rem 0 1rem; font-weight:700; }
.gd-ref-client{ color:var(--ink); margin:0 0 1.4rem; }
.gd-ref-hero{ border-radius:var(--radius); overflow:hidden; margin:1.4rem 0 2rem; }
.gd-ref-hero .gd-ref-img{ position:static; width:100%; height:auto; display:block; border-radius:var(--radius); }
.gd-ref-video{ position:relative; aspect-ratio:16/9; margin:2rem 0; border-radius:var(--radius); overflow:hidden; background:#000; }
.gd-ref-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.gd-prose.gd-ref-text{ max-width:var(--measure); margin:1.6rem 0; line-height:1.7; }
.gd-prose.gd-ref-text ul{ padding-left:1.2rem; }
.gd-prose.gd-ref-text a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.gd-ref-cta{ margin:1.6rem 0; }
.gd-ref-gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin:2rem 0; }
.gd-ref-gallery .gd-gallery-img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius); display:block; }
.gd-ref-chip{ display:inline-block; background:var(--paper-2); border-radius:999px; padding:.35rem .9rem; margin:.2rem .3rem .2rem 0; font-size:.9rem; }
@media (max-width:700px){ .gd-ref-gallery{ grid-template-columns:1fr; } }

/* ============================================================
   REFERENZ-DETAILSEITE (zweispaltig, volle Breite)  – Stand V
   ============================================================ */

/* Minimaler Kopf auf der Detailseite: transparent, nur Menü rechts. */
.site-header.header-min{ position:fixed; left:0; right:0; top:0; background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; justify-content:flex-end; gap:0; }
.site-header.header-min::after{ display:none; }
.site-header.header-min .header-right-min{ position:absolute; right:clamp(1rem,4vw,2.4rem); top:50%; transform:translateY(-50%); display:flex; align-items:center; }
.site-header.header-min .burger-min{ display:inline-flex; opacity:1; }
.site-header.header-min .burger-min span{ background:#fff; }
.is-detail main#inhalt{ padding:0; }

/* Zentriertes Detail-Logo als EIGENSTÄNDIGES fixiertes Element (direktes Body-Kind).
   Nur so rechnet mix-blend-mode:difference mit dem Seiteninhalt dahinter (Schablonen-Effekt):
   über Schwarz weiss, über einem Bild die jeweilige Gegenfarbe. */
.rd-logo-fixed{ position:fixed; top:0; left:0; right:0; margin-inline:auto; width:max-content;
  height:100px; display:flex; align-items:center; justify-content:center; z-index:60;
  color:#fff; mix-blend-mode:difference; text-decoration:none; }
.rd-logo-fixed .kk-logo{ opacity:1; width:106px; height:auto; display:block; }
@media (max-width:760px){
  .rd-logo-fixed{ height:84px; }
  .rd-logo-fixed .kk-logo{ width:87px; }
}

/* Grundgerüst: zwei gleich breite Spalten, volle Höhe. */
.rd{ position:relative; }
.rd-grid{ display:grid; grid-template-columns:1fr 1fr; }
.rd-left{ background:#000; color:#fff; }
.rd-right{ background:#000; }

/* Linke Textspalte – bleibt beim Scrollen stehen (sticky). */
.rd-left-inner{ position:sticky; top:0; box-sizing:border-box; min-height:100vh;
  padding:calc(100px + 2.6rem) clamp(1.8rem,3.6vw,4rem) clamp(2.5rem,5vh,4rem);
  display:flex; flex-direction:column; justify-content:flex-start; }
/* Gestapelt (Handy/Tablet): Abstand zwischen Kopf (inkl. Vorschaubild) und Fliesstext,
   damit es nicht gedrängt wirkt. */
.rd-body{ margin-top:clamp(1.6rem,5.5vw,2.4rem); }

/* Linke Spalte ab Desktop zweigeteilt: Meta/Titel (A) | Fliesstext (B). */
@media (min-width:1100px){
  /* Titel + Meta ueber die volle Breite; darunter der Fliesstext zweispaltig, CTA darunter. */
  .rd-left-inner{ display:block; }
  .rd-title{ font-size:clamp(2rem,2.7vw,2.9rem); margin:0 0 clamp(1rem,1.8vw,1.6rem); }
  .rd-meta{ margin:0 0 clamp(2rem,3.6vw,3rem); }
  .rd-cols{ column-count:2; column-gap:clamp(1.6rem,2.6vw,3.2rem); }
  .rd-cols .rd-prose{ max-width:none; }
  .rd-prose h2, .rd-prose h3{ break-after:avoid; }
  .rd-prose li{ break-inside:avoid; }
  .rd-sec{ break-inside:avoid; }
}

.rd-eyebrow{ font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; opacity:.7; margin:0 0 1rem; }
.rd-title{ font-family:var(--font-display); font-weight:700; line-height:1.05; font-size:clamp(1.9rem,3.2vw,3rem); margin:0 0 1rem; color:#fff; }
.rd-sub{ font-size:clamp(1.05rem,1.5vw,1.3rem); line-height:1.4; opacity:.85; margin:0 0 1.4rem; }
.rd-meta{ list-style:none; margin:0 0 1.8rem; padding:0; }
.rd-meta li{ color:#fff; font-size:.95rem; line-height:1.7; }
.rd-sub{ color:#fff; font-size:1.05rem; line-height:1.5; margin:0 0 1.4rem; }
.rd-client{ font-size:.95rem; margin:0 0 1.8rem; color:#fff; }
.rd-client strong{ opacity:1; }

/* Beschreibungstext in der schwarzen Spalte. */
.rd-prose{ max-width:46ch; }
.rd-prose, .rd-prose p, .rd-prose li{ color:#fff; }
.rd-prose h2,.rd-prose h3{ font-family:var(--font-display); font-weight:700; color:#fff; margin:2rem 0 .7rem; font-size:1.12rem; letter-spacing:.01em; }
.rd-prose h2:first-child,.rd-prose h3:first-child{ margin-top:0; }
.rd-prose p{ line-height:1.6; margin:0 0 1rem; }
.rd-prose ul{ list-style:none; margin:0 0 1rem; padding:0; }
.rd-prose li{ position:relative; padding-left:1.9rem; line-height:1.55; margin:.4rem 0; }
.rd-prose li::before{ content:""; position:absolute; left:0; top:.72em; width:1.1rem; height:2px; background:#fff; }
.rd-prose a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }

/* Vorschaubild (Beitragsbild) links unter "Kunde" – volle Spaltenbreite, ohne runde Ecken. */
.rd-thumb{ margin:1.6rem 0 0; }
.rd-thumb-img, .rd-thumb img{ display:block; width:100%; height:auto; border-radius:0; }

/* CTA-Knopf (zur Web-App / Website). */
.rd-cta{ margin:2rem 0 0; }


/* Rechte Bildspalte – Originalverhältnis, randlos gestapelt. */
.rd-right{ display:flex; flex-direction:column; }
.rd-fig{ margin:0; }
.rd-fig:first-child{ padding-top:0; }
.rd-img,.rd-fig img{ display:block; width:100%; height:auto; }

/* Bilder einzeln nacheinander einblenden (nur mit JS, kein Flash). */
.rd-fig{ transition:opacity .7s ease, transform .7s ease; }
html.js .rd-fig:not(.is-in){ opacity:0; transform:translateY(26px); }
.rd-fig.is-in{ opacity:1; transform:none; }

/* Schwebende zeitliche Vor/Zurück-Navigation – runde weisse Knöpfe, unten mittig,
   symmetrisch zur Mittellinie (Stil wie der Nach-oben-Knopf). */
.rd-jumps{ position:fixed; left:50%; bottom:clamp(1rem,3vw,2rem); transform:translateX(-50%);
  display:flex; gap:1.1rem; z-index:60; }
.rd-jump{ display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border-radius:50%; background:#fff; color:#000; font:inherit; font-size:1.15rem; line-height:1; text-decoration:none;
  border:0; padding:0; -webkit-appearance:none; appearance:none; cursor:pointer; box-shadow:none; transition:none; }
.rd-jump span{ display:block; line-height:1; }
/* Eine Pfeil-Geometrie ueberall; Richtung nur per Rotation. */
.gd-ico-arrow{ width:22px; height:22px; display:block; }
.rd-jump-prev .gd-ico-arrow{ transform:scaleX(-1); }        /* nach links */
.gd-to-top .gd-ico-arrow{ transform:rotate(-90deg); width:20px; height:20px; }  /* nach oben */
.gd-btn-down .gd-ico-arrow{ transform:rotate(90deg); width:18px; height:18px; } /* nach unten */
.rd-jump:hover{ box-shadow:none; }
.rd-jump-prev:hover{ transform:none; }
.rd-jump-next:hover{ transform:none; }

/* Gestaffelte Einblendung der normalen Navigation (Rückweg von Detail). */
@keyframes navItemIn{ from{ opacity:0; transform:translateY(-7px); } to{ opacity:1; transform:translateY(0); } }
html.nav-intro .nav-list li{ opacity:0; animation:navItemIn .5s cubic-bezier(.4,.1,.2,1) forwards; animation-delay:calc(.14s + var(--i,0) * .08s); }

/* Mobil: Spalten stapeln – erst Text, dann Bilder. */
@media (max-width:900px){
  .rd{ background:#000; }
  .rd-grid{ display:flex; flex-direction:column; }
  .rd-left, .rd-right{ display:contents; }
  .rd-featured{ order:1; }                          /* Titelbild zuoberst */
  .rd-left-inner{ order:2; position:static; min-height:0; justify-content:flex-start; padding:clamp(1.6rem,6vw,2.2rem) clamp(1.3rem,6vw,2rem) clamp(2rem,6vh,3rem); }
  .rd-video{ order:3; }
  .rd-right > .rd-fig:not(.rd-featured){ order:4; }
  .rd-fig:first-child:not(.rd-featured){ padding-top:0; }
  .rd-featured.rd-fig{ padding-top:var(--hh); }     /* schwarze Zone: Header sitzt zuerst auf Schwarz, unabhaengig vom Referenztyp */
}

/* Bewegung reduzieren: alles sofort sichtbar, keine Animation. */
@media (prefers-reduced-motion: reduce){
  html.js .rd-fig:not(.is-in){ opacity:1; transform:none; }
  .rd-fig{ transition:none; }
  html.nav-intro .nav-list li{ animation:none; opacity:1; }
  .site-header.header-min .brand{ transition:none !important; }
}

/* Automatische Silbentrennung im Fliesstext (Sprache via <html lang="de">). */
main{ -webkit-hyphens:auto; -ms-hyphens:auto; hyphens:auto; }
/* Silbentrennung auch fuer Ueberschriften (site-weit, nicht nur Fliesstext). */
h1, h2, h3, h4, h5, h6,
.hh-title, .hh-eyebrow, .rd-title, .rd-eyebrow, .mm-main, .gd-section-head h2,
.legal-title, .close-title{
  -webkit-hyphens:manual; -ms-hyphens:manual; hyphens:manual; overflow-wrap:break-word; }
/* Buttons und Pfeil-Navigation nie trennen. */
.gd-btn, .rd-btn, .rd-jump, button{
  -webkit-hyphens:manual; -ms-hyphens:manual; hyphens:manual; }

/* ============================================================
   KOPF + KREIS-MENUE (Stand AC) — EIN Kopf ueberall.
   Lupe (weisser Kreis) links · Logo mittig (Schablone) · Hamburger (weisser Kreis) rechts.
   Kein Milchglas. Menue: Handy voll, Desktop 50% rechts, Kreis fuellt die Flaeche voll.
   Eingangs-Animation: grosses Logo mittig -> kleines Logo oben.
   ============================================================ */
:root{ --hh:100px; }
@media (max-width:720px){ :root{ --hh:84px; } }
.site-header{ position:fixed; top:0; left:0; right:0; display:flex; align-items:center; gap:.5rem; z-index:70;
  background:transparent !important; box-shadow:none !important; border:0 !important;
  -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }html:not(.is-detail):not(.is-home):not(.is-landing):not(.is-legal) main#inhalt{ padding-top:var(--hh); }

/* Lupe + Hamburger als weisse Kreise, schwarzes Icon */
.hdr-search{ margin-right:auto; color:#000; }
.burger{ margin-left:auto; }   /* Hamburger immer rechts, auch wenn die Lupe ausgeblendet ist */
.hdr-search, .burger{ width:44px; height:44px; border-radius:50%; background:#fff;
  display:inline-flex; align-items:center; justify-content:center; padding:0; border:0;
  cursor:pointer; position:relative; z-index:5; opacity:1 !important;
  box-shadow:0 2px 12px -5px rgba(0,0,0,.3); }
.hdr-search svg{ width:20px; height:20px; }
body.menu-open .hdr-search{ display:none; }   /* Lupe beim Oeffnen weg (verdeckt sonst die Punkte) */

/* Hamburger-Striche zentriert im Kreis (Kreismitte 22px) */
.burger span{ position:absolute; top:50%; left:50%; width:20px; height:2px; margin-top:-1px; background:#000;
  border-radius:2px; transition:transform .3s cubic-bezier(.65,0,.2,1), opacity .2s ease; }
.burger span:nth-child(1){ top:50%; bottom:auto; transform:translate(-50%,-6px); }
.burger span:nth-child(2){ top:50%; bottom:auto; transform:translate(-50%,0); }
.burger span:nth-child(3){ top:50%; bottom:auto; transform:translate(-50%,6px); }
body.menu-open .burger span:nth-child(1){ transform:translate(-50%,0) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity:0; }
body.menu-open .burger span:nth-child(3){ transform:translate(-50%,0) rotate(-45deg); }
.burger::after{ content:none !important; }

/* Zentriertes Body-Logo (Schablone) + Animationen */
.gd-logo-c{ position:fixed; top:0; left:0; right:0; margin-inline:auto; width:max-content;
  height:var(--hh); display:flex; align-items:center; justify-content:center; z-index:100;
  color:#fff; mix-blend-mode:difference; text-decoration:none;
  transform-origin:center center; transition:transform .5s cubic-bezier(.5,0,.12,1); }
.gd-logo-c .kk-logo{ width:104px; height:auto; display:block; opacity:1; }
body.menu-open .gd-logo-c{ transform:translate(calc(50vw - 48px), calc(100dvh - 114px)) rotate(90deg); }

/* --- Kreis-Menue --- */
html{ scrollbar-gutter:stable; }
body.menu-open{ overflow:hidden; }
.mm{ display:block; position:fixed; inset:0; z-index:1; background:#000; color:#fff;
  clip-path:circle(0px at var(--cx,100%) var(--cy,0px));
  transition:clip-path .55s cubic-bezier(.7,0,.2,1);
  pointer-events:none; overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:calc(var(--hh) / 2 - 0.35rem) clamp(1.3rem,5vw,3rem) calc(2.2rem + env(safe-area-inset-bottom)); }
body.menu-open .mm{ clip-path:circle(var(--r,175%) at var(--cx,100%) var(--cy,0px)); pointer-events:auto; }
@media (min-width:1024px){ .mm{ left:50%; } }

.mm-inner{ max-width:34rem; }
.mm-nav{ list-style:none; margin:0; padding:0; }
.mm-item{ margin-top:clamp(1.15rem,3.4vw,1.7rem); }
.mm-item:first-child{ margin-top:0; }
.mm-main{ display:inline-block; color:#fff; text-decoration:none; font-family:var(--font-display,inherit);
  font-weight:600; letter-spacing:-.01em; line-height:1.1; font-size:clamp(1.15rem,4.5vw,1.35rem);
  padding:.3rem 0; position:relative; }
.mm-main::after{ content:""; position:absolute; left:0; right:0; bottom:.1em; height:2px; background:currentColor;
  transform:scaleX(0); transform-origin:left center; transition:transform .32s cubic-bezier(.65,0,.2,1); }
.mm-main[aria-current="page"]::after{ transform:scaleX(1); }
@media (hover:hover){ .mm-main:hover::after{ transform:scaleX(1); } }
.mm-sub{ list-style:none; margin:.3rem 0 0; padding:0 0 0 1.3rem; }
.mm-sub li{ display:block; }
.mm-sub a{ display:inline-block; color:#fff; text-decoration:none; font-weight:400; font-size:1.02rem;
  opacity:.92; padding:.38rem 0; position:relative; }
.mm-sub a::after{ content:""; position:absolute; left:0; right:0; bottom:.05em; height:1.5px; background:currentColor;
  transform:scaleX(0); transform-origin:left center; transition:transform .32s cubic-bezier(.65,0,.2,1); }
.mm-sub a[aria-current="page"]{ opacity:1; }
.mm-sub a[aria-current="page"]::after{ transform:scaleX(1); }
@media (hover:hover){ .mm-sub a:hover::after{ transform:scaleX(1); } }
.mm-foot{ margin-top:clamp(2rem,7vw,3rem); display:flex; flex-direction:column; gap:.5rem; }
.mm-mail{ color:#fff; text-decoration:none; font-size:1.05rem; }
.mm-addr{ margin:0; color:#fff; opacity:.8; font-size:.95rem; }
.mm-social{ margin:.3rem 0 0; display:flex; gap:1.1rem; }
.mm-social a{ color:#fff; text-decoration:none; opacity:.85; font-size:.9rem; letter-spacing:.02em; }

@media (prefers-reduced-motion: reduce){
  .gd-logo-c, .mm{ transition:none; }
  html.intro-run .gd-logo-c{ transform:none; }
}

/* AD: Blur-Verlauf unter dem Kopf entfernen (kein Milchglas mehr) */
.site-header::after{ content:none !important; }

/* AF: Hover-Farbe fixieren (a:hover in Zeile 109 machte Menue-Punkte dunkel und stoerte das Logo) */
.gd-logo-c, .gd-logo-c:hover, .gd-logo-c:focus{ color:#fff; }
.mm a, .mm a:hover, .mm a:focus{ color:#fff; }


/* AH: Auf Referenz-/Detailseiten oeffnet das Menue invertiert – weisser Layer, schwarze Punkte.
   Das Logo braucht nichts: mix-blend-mode:difference macht es auf Weiss automatisch schwarz. */
html.is-detail .mm{ background:#fff; color:#000; }
html.is-detail .mm a, html.is-detail .mm a:hover, html.is-detail .mm a:focus,
html.is-detail .mm-mail, html.is-detail .mm-addr, html.is-detail .mm-social a{ color:#000; }

/* ============================================================
   STARTSEITEN-HERO (AJ): gesplittet. Links weiss/schwarz Text,
   rechts schwarzer Auto-Slider (neueste Referenzen, von unten nach oben).
   ============================================================ */
.home-hero{ position:relative; }
.hh-grid{ display:grid; grid-template-columns:1fr 1fr; min-height:100vh; min-height:100svh; }

.hh-left{ background:#fff; color:#000; }
.hh-left-inner{ box-sizing:border-box; min-height:100%; display:flex; flex-direction:column; justify-content:center;
  padding:calc(var(--hh) + 2.4rem) clamp(1.6rem,4vw,4.5rem) clamp(2.4rem,5vh,4rem); max-width:42rem; }
.hh-eyebrow{ font-style:italic; font-size:clamp(1.1rem,2.4vw,1.55rem); margin:0 0 1.1rem; color:#000; opacity:.9; }
.hh-title{ font-family:var(--font-display); font-weight:700; line-height:1.0; letter-spacing:-.025em;
  font-size:clamp(2.5rem,5.2vw,4.2rem); margin:0 0 1.3rem; color:#000; }
.hh-lead{ font-size:clamp(1.05rem,1.4vw,1.28rem); line-height:1.5; margin:0 0 2rem; max-width:33rem; color:#000; }
.hh-portrait{ margin:0 0 1.5rem; }
.hh-portrait img{ display:block; width:100%; max-width:700px; height:auto; }
.hh-portrait-ph{ width:clamp(150px,42%,210px); aspect-ratio:4/5; object-fit:cover; display:block; background:var(--paper-2); position:relative; }
.hh-portrait-ph::after{ content:"Porträt folgt"; position:absolute; inset:0; display:flex; align-items:center;
  justify-content:center; font-size:.85rem; color:#000; opacity:.45; }
.hh-portrait figcaption{ margin-top:.55rem; font-size:.85rem; color:#000; opacity:.7; }
.hh-intro{ font-size:1.06rem; line-height:1.6; margin:0 0 2rem; max-width:33rem; color:#000; }
.hh-left-inner .gd-btn{ align-self:flex-start; }

.hh-right{ position:relative; overflow:hidden; background:transparent; padding:0; }
.hh-slider{ position:absolute; inset:0; }
.hh-track{ will-change:transform; }
@keyframes hh-vmarquee{ from{ transform:translateY(0); } to{ transform:translateY(-50%); } }
.hh-slide{ position:relative; display:block; margin:0; }
/* Bild fuellt die Spaltenbreite exakt, Originalproportion. Desktop = halbe Breite, Handy = volle Breite. */
.hh-slide img{ display:block; width:100%; height:auto; }
.hh-track.is-running{ animation:hh-vmarquee var(--vdur,80s) linear infinite; }
.hh-slide-cap{ position:absolute; left:0; right:0; bottom:0; display:flex; flex-direction:column; gap:.25rem;
  padding:clamp(1.5rem,4vw,2.8rem); color:#fff;
  background:linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); }
.hh-slide-cap b{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; opacity:.85; font-weight:600; }
.hh-slide-cap span{ font-size:clamp(1.1rem,1.9vw,1.55rem); font-weight:600; line-height:1.15; }

.hh-scroll{ position:absolute; left:50%; bottom:clamp(1rem,3vh,2rem); transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:.35rem; color:#fff; mix-blend-mode:difference;
  text-decoration:none; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; z-index:5; }
.hh-scroll:hover, .hh-scroll:focus{ color:#fff; }   /* bleibt sichtbar (difference + dunkle Hover-Farbe = unsichtbar) */
.hh-scroll-arrow{ font-size:1.15rem; animation:hh-bounce 1.9s ease-in-out infinite; display:block; }
.hh-scroll-arrow .gd-ico-arrow{ transform:rotate(90deg); width:20px; height:20px; }
@keyframes hh-bounce{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(6px); } }

@media (max-width:900px){
  .hh-grid{ grid-template-columns:1fr; min-height:0; }
  .hh-left-inner{ min-height:auto; max-width:none; padding-top:clamp(2rem,6vh,3rem); }
  .hh-right{ order:-1; height:50vh; }
  .hh-scroll{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .hh-track{ animation:none !important; } .hh-scroll-arrow{ animation:none; }
}

/* ===== FAQ als Accordion (semantisch: details/summary), Trennung via Abstand (keine Haarlinien) ===== */
.gd-faq{ margin-top:clamp(2rem,4vw,3rem); }
.landing-right > .gd-faq:first-child, .landing-right .gd-faq:first-child{ margin-top:0; }
.gd-faq-item:first-child summary{ padding-top:0; }
.gd-faq-item{ margin:0; }
.gd-faq-item summary{ list-style:none; cursor:pointer; display:block; position:relative; padding:.55rem 2.2rem .55rem 0;
  font-weight:700; font-size:1rem; line-height:1.55; color:#000; }
.gd-faq-item summary::-webkit-details-marker{ display:none; }
.gd-faq-item summary::after{ content:"+"; position:absolute; right:.2rem; top:50%; transform:translateY(-50%); font-size:1.4rem; font-weight:400; line-height:1; }
.gd-faq-item[open] summary::after{ content:"\2013"; }
.gd-faq-a{ padding:0 0 .6rem; }
.gd-faq-a p{ margin:0; }

/* ===== Gestaffeltes Einfaden (Kacheln + Referenzkarten), Desktop + Handy, JS-gesteuert ===== */
.js .gd-ref-card, .js .gd-tile{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .gd-ref-card.is-in, .js .gd-tile.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .gd-ref-card, .js .gd-tile{ opacity:1; transform:none; transition:none; } }

/* Kundenstimmen: Sterne + Aggregat-Zeile (monochrom) */
.gd-tst-agg{ margin:.5rem 0 0; font-size:.9rem; color:#000; opacity:.75; }
.gd-tst-stars{ color:#000; font-size:1.15rem; letter-spacing:.15em; margin:0 auto 1.4rem; text-align:center; }

/* ===== Abschluss-Section: links Testimonial-Marquee (Farbkacheln, weisse Schrift), rechts Offertenformular ===== */
.home-close{ position:relative; }
.close-grid{ display:grid; grid-template-columns:1fr 1fr; min-height:100vh; min-height:100svh; }
.close-left{ position:relative; overflow:hidden; background:#000; }
.tst-slider{ position:absolute; inset:0; }
.tst-card{ box-sizing:border-box; width:100%; padding:clamp(1.8rem,3vw,3rem); color:#fff; }
.tst-stars{ font-size:1.05rem; letter-spacing:.15em; margin:0 0 1rem; }
.tst-quote{ font-size:clamp(1.1rem,1.4vw,1.4rem); line-height:1.55; margin:0 0 1.2rem; }
.tst-name{ font-weight:700; margin:0; }
.tst-role{ font-weight:400; opacity:.85; }
.close-right{ background:#fff; display:flex; align-items:center; }
.close-form-inner{ box-sizing:border-box; width:100%; max-width:40rem; margin-inline:auto; padding:clamp(3rem,7vh,5rem) clamp(1.6rem,4vw,4.5rem); }
.close-title{ font-family:var(--font-display); font-size:clamp(2rem,3.5vw,3rem); margin:0 0 1rem; }
.close-lead{ margin:0 0 2rem; max-width:34rem; }
.gd-offer{ display:flex; flex-direction:column; gap:1rem; }
.gd-offer label{ display:flex; flex-direction:column; gap:.35rem; font-weight:600; font-size:.95rem; color:#000; }
.gd-offer input, .gd-offer textarea, .gd-offer select{ font:inherit; padding:.85rem .95rem; border:0; border-radius:10px; background:var(--paper-2); color:#000; width:100%; appearance:none; -webkit-appearance:none; }
.gd-offer select{ background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .95rem center; padding-right:2.6rem; cursor:pointer; }
.gd-offer input:focus, .gd-offer textarea:focus, .gd-offer select:focus{ outline:3px solid #000; outline-offset:2px; }
.gd-offer textarea{ resize:vertical; min-height:7.5rem; }
.gd-offer ::placeholder{ color:#000; opacity:.45; }
.gd-offer .gd-btn{ align-self:flex-start; margin-top:.4rem; }
@media (max-width:900px){
  .close-grid{ grid-template-columns:1fr; min-height:0; }
  .close-left{ order:-1; height:60vh; }
  .close-form-inner{ max-width:none; }
}

/* Offertenformular: erweiterte Felder + Datum in Stimmen */
.gd-offer-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.gd-opt{ font-weight:400; }
.gd-offer label .cap{ display:block; }
.tst-date{ margin:.4rem 0 0; font-size:.85rem; opacity:.8; color:#fff; }
.gd-tst-date{ margin:.5rem 0 0; font-size:.85rem; color:var(--ink-soft); }
@media (max-width:520px){ .gd-offer-row{ grid-template-columns:1fr; } }

/* Referenz-Detail: eingebettetes Video zuoberst in der rechten Spalte (16:9) */
.rd-video{ position:relative; aspect-ratio:16/9; margin:0 0 1rem; background:#000; }
.rd-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

/* Offertenformular: Honeypot (unsichtbar), Datenschutz-Hinweis, Meldungen */
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; opacity:0; }
.gd-offer-privacy{ font-size:.85rem; margin:.2rem 0 0; }
.gd-offer-privacy a{ color:inherit; }
.gd-offer-done{ font-weight:700; }
.gd-offer-error{ color:#000; font-weight:600; }

/* ── Legal-Seiten: weisse Textspalte (Titel + Accordion), rechts Referenz-Slider ── */
.is-legal .legal-inner{ justify-content:flex-start; max-width:48rem;
  padding-top:calc(var(--hh) + 2.2rem); padding-bottom:clamp(2.4rem,5vh,4rem); }
.legal-title{ font-size:clamp(2rem,4vw,3rem) !important; margin:0 0 1.4rem !important; color:#000; }
.legal-intro{ color:#000; font-size:1rem; line-height:1.6; margin:0 0 1.4rem; }
.legal-intro p{ margin:0 0 .9rem; }
.legal-acc details{ padding:.85rem 0; }
.legal-acc summary{ cursor:pointer; list-style:none; font-weight:700; font-size:1.05rem; color:#000;
  display:flex; justify-content:space-between; align-items:baseline; gap:1.2rem; }
.legal-acc summary::-webkit-details-marker{ display:none; }
.legal-acc summary::after{ content:"+"; font-weight:400; font-size:1.4rem; line-height:1; flex:none; }
.legal-acc details[open] summary::after{ content:"\2013"; }
.legal-panel{ color:#000; font-size:.95rem; line-height:1.65; padding-top:.8rem; }
.legal-panel p{ margin:0 0 .9rem; }
.legal-panel ul{ margin:0 0 .9rem; padding-left:1.3rem; list-style:none; }
.legal-panel li{ position:relative; padding-left:1rem; margin:.3rem 0; }
.legal-panel li::before{ content:""; position:absolute; left:0; top:.7em; width:.7rem; height:2px; background:#000; }
.legal-panel a{ color:#000; text-decoration:underline; text-underline-offset:2px; word-break:break-word; }

/* ── Galerie-Raster + Vollbild-Lightbox (Landingpages mit galerie-Feld) ── */
.gd-gallery{ display:grid; grid-template-columns:repeat(auto-fill, minmax(210px,1fr)); gap:clamp(.5rem,1.1vw,1rem); padding:0 clamp(1rem,4vw,3rem); }
.gd-gallery-item{ position:relative; display:block; margin:0; padding:0; border:0; background:#000; cursor:zoom-in; overflow:hidden; aspect-ratio:4/5; border-radius:2px; }
.gd-gallery-img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s cubic-bezier(.2,.7,.2,1); }
.gd-gallery-item:hover .gd-gallery-img{ transform:scale(1.045); }
.gd-gallery-tag{ position:absolute; left:.6rem; bottom:.55rem; font-size:.72rem; letter-spacing:.03em; color:#fff; text-shadow:0 1px 6px rgba(0,0,0,.6); opacity:0; transition:opacity .3s ease; pointer-events:none; }
.gd-gallery-item:hover .gd-gallery-tag{ opacity:1; }

.gd-lightbox{ position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.94); display:flex; align-items:center; justify-content:center; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.gd-lightbox[hidden]{ display:none; }
.gd-lb-stage{ margin:0; display:flex; align-items:center; justify-content:center; }
.gd-lb-img{ max-width:92vw; max-height:86vh; width:auto; height:auto; object-fit:contain; display:block; box-shadow:0 30px 80px -20px rgba(0,0,0,.8); }
.gd-lb-close{ position:fixed; top:1rem; right:1rem; width:46px; height:46px; border-radius:50%; background:#fff; color:#000; border:0; font-size:1.6rem; line-height:1; cursor:pointer; z-index:202; display:inline-flex; align-items:center; justify-content:center; }
.gd-lb-nav{ z-index:202; }   /* ueber dem Lightbox-Hintergrund; erbt Position/Stil von .rd-jumps */

/* ── Terminformular: Slot-Auswahl (Bewerbungsfoto) ── */
html{ scroll-behavior:smooth; }
.gd-btn-down::after{ content:none; }
.gd-btn-down span{ display:inline-block; margin-left:.3em; }
#offerte{ scroll-margin-top:calc(var(--hh) + 1rem); }
.gd-slot-intro{ font-size:.9rem; opacity:.85; margin:.2rem 0 .4rem; }
.gd-slot{ display:grid; grid-template-columns:1fr 1fr; gap:.7rem; align-items:end; margin:0 0 .6rem; }
.gd-slot .gd-slot-lab{ display:flex; flex-direction:column; font-size:.85rem; }
.gd-slot-date, .gd-slot-time{ font:inherit; padding:.6rem .7rem; border:0; border-radius:8px; background:var(--paper-2,#f4f3f1); color:#000; margin-top:.25rem; }
.gd-slot-note{ grid-column:1 / -1; font-size:.82rem; color:#000; min-height:1em; }
.gd-slot-note:not(:empty){ padding:.2rem 0; }
@media (max-width:520px){ .gd-slot{ grid-template-columns:1fr; } }

/* ── Kunden-Logos: farbiges Laufband (durchlaufend) + SMS-Badge Footer ── */
.gd-logos{ overflow:hidden; padding-top:1rem;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.gd-logo-track .gd-logo-cell{ flex:0 0 auto; display:flex; align-items:center; justify-content:center; height:62px; }
.gd-logo-track img{ height:56px; width:auto; max-width:200px; object-fit:contain; display:block; }
.home-logos{ display:none; }  /* alte Extra-Section entfernt */
.gd-footer-badge{ display:block; width:100%; max-width:150px; margin:.9rem 0 1.6rem; }
.gd-footer-badge img{ display:block; width:100%; height:auto; }

/* ── Split-Layout (Über mich): Lead + Prose-Überschriften links ── */
.legal-lead{ font-size:clamp(1.05rem,2vw,1.25rem); line-height:1.55; color:#000; margin:0 0 1.5rem; }
.legal-inner .legal-intro h2{ font-size:clamp(1.3rem,2.4vw,1.7rem); margin:2rem 0 .6rem; color:#000; }
.legal-inner .legal-intro h3{ font-size:1.05rem; margin:1.3rem 0 .3rem; color:#000; }
.legal-inner .legal-intro p{ margin:0 0 .9rem; }

/* ── Split-Layout Feinschliff: weniger Abstand oben + Netzwerk-Links ── */
.is-split .legal-inner{ padding-top:calc(var(--hh) + 1.7rem); }
.netz-link{ margin:.45rem 0 2rem; }
.netz-link a{ color:#000; text-decoration:underline; text-underline-offset:3px; font-weight:600; word-break:break-word; }

/* ── Split-H1 gleich gross wie Landing + saubere Silbentrennung nur im Hero-Titel ── */
.is-split .legal-title{ font-size:clamp(2.5rem,5.2vw,4.2rem) !important; letter-spacing:-.025em; }
.hh-title{ -webkit-hyphens:auto; -ms-hyphens:auto; hyphens:auto; overflow-wrap:normal; }

/* ── Kontaktseite ── */
.is-kontakt .hh-right{ position:relative; min-height:100%; }
.hh-right .gd-map{ position:absolute; inset:0; width:100%; height:100%; background:var(--petrol-tint,#e8e5e0); }
.gd-map iframe{ width:100%; height:100%; border:0; display:block; }
.gd-map-load{ position:absolute; inset:0; width:100%; height:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:.6rem; padding:2rem; text-align:center;
  background:var(--petrol); color:#fff; border:0; cursor:pointer; font-family:inherit; }
.gd-map-title{ font-weight:700; font-size:1.1rem; text-decoration:underline; text-underline-offset:4px; }
.gd-map-load small{ max-width:22rem; opacity:.9; font-size:.85rem; line-height:1.45; }
@media (max-width:900px){ .is-kontakt .hh-right{ min-height:58vh; } }

.kontakt-block{ margin:0 0 1.6rem; }
.kontakt-block h2{ font-size:1.05rem; margin:0 0 .5rem; color:#000; }
.kontakt-address{ font-style:normal; line-height:1.65; color:#000; }
.kontakt-actions{ margin:0 0 1.7rem; }
.kontakt-mail{ margin:.95rem 0 0; color:#000; }
.kontakt-hours{ border-collapse:collapse; }
.kontakt-hours th{ text-align:left; font-weight:600; padding:.15rem 1.6rem .15rem 0; color:#000; white-space:nowrap; }
.kontakt-hours td{ color:#000; }
.kontakt-note{ margin:.7rem 0 0; font-size:.9rem; color:#000; opacity:.8; }

.kontakt-anfahrt-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.4rem 2.5rem; margin-top:1rem; }
.kontakt-anfahrt-grid h3{ font-size:1rem; margin:0 0 .3rem; }
.kontakt-anfahrt-link{ margin-top:1.3rem; }
.kontakt-anfahrt-link a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:700px){ .kontakt-anfahrt-grid{ grid-template-columns:1fr; } }

.kontakt-form-wrap{ max-width:44rem; }
.kontakt-form-head{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin-bottom:1.5rem; }
.kontakt-form-head h2{ margin:0; }
.gd-reviews{ display:inline-flex; align-items:center; gap:.55rem; text-decoration:none; color:inherit; }
.gd-reviews-stars{ color:#f5a623; letter-spacing:1px; }
.gd-reviews-text{ font-size:.9rem; }

/* ── Kontakt: Karte sofort, 3 Buttons, Footer-Badge ── */
.gd-map-frame{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.gd-btn-plain::after{ content:none !important; }
.kontakt-actions{ display:flex; flex-direction:column; align-items:flex-start; gap:.7rem; margin:1.5rem 0 1.9rem; }
.kontakt-actions .gd-btn{ font-size:.95rem; }
.kontakt-anfahrt p{ margin:0 0 .7rem; }
.gd-footer-reviews{ display:inline-flex; margin:.2rem 0 1.6rem; text-decoration:none; }
.gd-footer-reviews .gd-reviews-text{ color:#000; font-size:.9rem; }

/* Lead/Intro ohne Silbentrennung (wie Überschriften) */
.hh-lead, .legal-lead{ -webkit-hyphens:manual; -ms-hyphens:manual; hyphens:manual; }

/* ── CMS-Vergleichstabelle (Webdesign) ── */
.cms-compare{ margin:1.8rem 0 1.4rem; }
.cms-compare table{ width:100%; border-collapse:separate; border-spacing:0; }
.cms-compare th, .cms-compare td{ padding:.75rem 1rem; text-align:left; vertical-align:top; font-size:.95rem; line-height:1.45; color:#000; }
.cms-compare thead th{ font-weight:700; }
.cms-compare tbody th.cc-dim{ font-weight:700; white-space:nowrap; }
.cms-compare tbody tr:nth-child(even) th.cc-dim, .cms-compare tbody tr:nth-child(even) td:not(.cc-gd){ background:rgba(0,0,0,.025); }
.cms-compare .cc-gd{ background:var(--petrol-tint,#efece8); }
.cms-compare thead th.cc-gd{ border-radius:10px 10px 0 0; }
.cms-compare tbody tr:last-child td.cc-gd{ border-radius:0 0 10px 10px; }
@media (max-width:640px){
  .cms-compare thead{ display:none; }
  .cms-compare table, .cms-compare tbody, .cms-compare tr, .cms-compare th, .cms-compare td{ display:block; width:auto; }
  .cms-compare tbody tr{ margin:0 0 1.4rem; }
  .cms-compare tbody th.cc-dim{ font-size:1.08rem; padding:0 0 .35rem; background:none !important; white-space:normal; }
  .cms-compare tbody td{ padding:.25rem 0; background:none !important; border-radius:0 !important; }
  .cms-compare tbody td[data-label]::before{ content:attr(data-label) ": "; font-weight:700; }
  .cms-compare tbody td.cc-gd[data-label]::before{ color:var(--petrol,#90897E); }
}

/* Verlinkte Section-Überschrift (Referenzen -> Übersicht) */
.gd-head-link{ color:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:.5rem; }
.gd-head-link .gd-ico-arrow{ width:.8em; height:.8em; opacity:.55; transition:opacity .2s ease, transform .2s ease; }
.gd-head-link:hover .gd-ico-arrow{ opacity:1; transform:translateX(3px); }

/* ── Referenzen-Übersicht: Filter-Pills ── */
.ref-overview{ padding-top:clamp(2.5rem,5vw,4rem); }
.ref-filters{ display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-bottom:clamp(1.4rem,3vw,2.2rem); }
.ref-pill{ appearance:none; border:0; cursor:pointer; font-family:inherit; font-size:.9rem; font-weight:600;
  padding:.5rem 1.1rem; border-radius:999px; background:rgba(0,0,0,.05); color:#000;
  transition:background-color .2s ease, color .2s ease; }
.ref-pill:hover{ background:rgba(0,0,0,.1); }
.ref-pill.is-active{ background:#000; color:#fff; }
.ref-empty-note{ text-align:center; opacity:.7; padding:2.5rem 1rem; }

/* Referenzen-Filter: verstecktes Karte wirklich ausblenden + Intro vertikal zentriert */
.gd-ref-card[hidden]{ display:none !important; }
.is-refintro .legal-inner{ justify-content:center; padding-top:var(--hh); padding-bottom:var(--hh); }

/* Footer-Spalten: noch nicht verlinkte Punkte – gleiche Optik wie Links, aber nicht klickbar */
.gd-footer-col li span{ color:#000; font-size:.94rem; opacity:.85; cursor:default; }

/* ── Logo-Galerie: quadratisch, randlos; graue Section hebt die Logos ab ── */
.gd-logos-section{ background:#eeeeee; padding-top:clamp(2.5rem,5vw,4rem); padding-bottom:clamp(2.5rem,5vw,4rem); }
.gd-gallery.is-logos{ grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:clamp(.6rem,1.4vw,1.2rem); }
.gd-gallery.is-logos .gd-gallery-item{ aspect-ratio:1/1; background:transparent; cursor:zoom-in; border-radius:0; }
.gd-gallery.is-logos .gd-gallery-img{ object-fit:cover; padding:0; background:transparent; }
.gd-gallery.is-logos .gd-gallery-item:hover .gd-gallery-img{ transform:scale(1.03); }
.gd-gallery.is-logos .gd-gallery-tag{ display:none; }

/* ── 404-Seite ── */
.not-found{ padding-top:clamp(3rem,7vw,6rem); padding-bottom:clamp(3rem,7vw,6rem); }
.nf-inner{ max-width:40rem; margin:0 auto; text-align:center; }
.nf-code{ font-size:clamp(3rem,10vw,6rem); font-weight:800; line-height:1; margin:0 0 .5rem; color:var(--petrol,#90897E); }
.nf-inner h1{ margin:0 0 1rem; }
.nf-lead{ color:#000; margin:0 0 1.8rem; }
.nf-links{ display:flex; justify-content:center; margin:0 0 1.4rem; }
.nf-more{ font-size:.95rem; color:#000; }
.nf-more a{ color:inherit; text-decoration:underline; text-underline-offset:3px; }


/* =====================================================================
   TIZIANA REALINI – Design Etappe 1
   Petrol #254E53 | Gold #DC9E6D | Cormorant | grosszuegig, edel, frei
   ===================================================================== */

/* Weisser Rahmen: der Inhalt liegt IM Rahmen (body-Padding), die fixe
   Border-Ebene deckt nur das Padding ab – nichts vom Bild geht verloren.
   Mobil gibt es den Rahmen nur oben (Header-Band). */
:root { --frame-w: 70px; }
body { padding: var(--frame-w); }
body::after {
    content: "";
    position: fixed;
    inset: 0;
    border: var(--frame-w) solid var(--paper);
    pointer-events: none;
    z-index: 30;
}
@media (max-width: 900px) {
    :root { --frame-w: 56px; }
    body { padding: var(--frame-w) 0 0; }
    body::after { border-width: var(--frame-w) 0 0 0; }
}
html { scroll-behavior: smooth; }

/* Typografie: Cormorant fuer Titel und Navigation, Inter fuer den Fliesstext.
   Bewusst grosszuegige Grade und Zeilenabstaende – die Seite wird auch von
   aelterem Publikum besucht, Lesbarkeit geht vor Stil. */
body { font-size: 1.125rem; line-height: 1.75; font-weight: 400; }          /* 18px Inter */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: .012em; color: var(--petrol); }
h1 { font-size: clamp(2.9rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.site-footer h1, .site-footer h2, .site-footer h3, .tz-hero-title { color: #fff; }
.lead { font-size: 1.3rem; line-height: 1.6; }
.nav-list a, .mm-list a {
    font-family: var(--font-display); font-weight: 500;
    letter-spacing: .04em; font-size: 1.25rem;
}

/* Inhalte faedeln sich ein (Scroll-Reveal, rein CSS wo unterstuetzt). */
@supports (animation-timeline: view()) {
    .section, .prose > * {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 28%;
    }
    @keyframes reveal {
        from { opacity: 0; transform: translateY(14px); }
        to   { opacity: 1; transform: none; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .section, .prose > * { animation: none !important; }
}


/* ---------------------------------------------------------------
   TZ Hero: Fullscreen-Bild, sanfte Ueberblendung, Text links unten
   --------------------------------------------------------------- */
.tz-hero {
    position: relative; overflow: hidden; background: var(--petrol);
    height: calc(100vh - var(--frame-w) * 2);
    height: calc(100svh - var(--frame-w) * 2);
    min-height: 480px;
}
@media (max-width: 900px) {
    .tz-hero {
        height: calc(100vh - var(--frame-w));
        height: calc(100svh - var(--frame-w));
        min-height: 70vh;
    }
}
.tz-hero-slides, .tz-slide { position: absolute; inset: 0; }
.tz-slide { opacity: 0; animation: tz-fade 24s infinite; }
.tz-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
@keyframes tz-fade {
    0%   { opacity: 0; }
    3%   { opacity: 1; }
    18%  { opacity: 1; }
    23%  { opacity: 0; }
    100% { opacity: 0; }
}

/* Scroll-Pfeil im Hero: mittig unten, sanft pulsierend */
.tz-scroll {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .15rem;
    color: #fff; text-decoration: none;
    font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .08em;
}
.tz-scroll:hover { color: var(--coral); }
.tz-scroll svg { animation: tz-bounce 2.2s ease-in-out infinite; }
@keyframes tz-bounce {
    0%, 100% { transform: translateY(0); opacity: .85; }
    50%      { transform: translateY(7px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .tz-scroll svg { animation: none; } }

/* Inhalt nach dem Hero bewusst geboxt, nicht randabfallend */
main#inhalt > .section, main#inhalt > section:not(.tz-hero) {
    max-width: 1140px; margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}



/* Footer: Petrol mit weisser Schrift, Breite identisch mit den geboxten Sections */
.site-footer { background: var(--petrol) !important; color: #fff !important; }
.site-footer a, .site-footer address, .site-footer .footer-tagline,
.site-footer .gd-footer-grid, .site-footer .footer-name { color: #fff !important; }
.site-footer a:hover { color: var(--coral) !important; }
.site-footer .wrap {
    max-width: 1140px; margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}



/* Intro: Logo weiss, gross, mittig ueber dem Hero – faehrt nach links oben
   und blendet aus, waehrend die Navigation sichtbar bleibt. Rein CSS. */
.tz-intro-logo {
    position: fixed; inset: 0; z-index: 60;   /* ueber Rahmen (30) und Header (40) */
    display: grid; place-items: center;
    color: #fff; pointer-events: none;
}
.tz-intro-logo svg { width: clamp(180px, 28vw, 340px); height: auto; }
.tz-intro-logo { animation: tz-intro-fallback .4s ease 2.3s forwards; }
.tz-intro-logo.js-flip { animation: none; }   /* JS uebernimmt den Flug */
@keyframes tz-intro-fallback { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tz-intro-logo { animation: none; opacity: 0; } }

/* Header-Logo bleibt unsichtbar, bis das Intro-Logo angedockt hat (nur Home) */
body:has(.tz-hero) .tz-h-logo svg { opacity: 0; animation: tz-logo-reveal 0s linear 2.6s forwards; }
body:has(.tz-hero) .tz-header.is-docked .tz-h-logo svg { opacity: 1; animation: none; }
@keyframes tz-logo-reveal { to { opacity: 1; } }

/* Footer-Raster Tiziana */
.tz-footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 2.5rem; align-items: start; }
@media (max-width: 700px) { .tz-footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.tz-footer-brand address { font-style: normal; line-height: 1.6; margin-bottom: .6rem; }
.tz-footer-brand p { margin: .15rem 0; }
.tz-footer-socials { display: flex; gap: 1.1rem; align-items: center; }
.tz-footer-socials a { opacity: .92; }
.tz-footer-socials a:hover { opacity: 1; }
.tz-footer-legal { display: flex; flex-direction: column; gap: .4rem; }
.tz-footer-legal a { text-decoration: none; }
.tz-footer-legal a:hover { text-decoration: underline; }
.tz-copyright { margin-top: 2.2rem; font-size: .9rem; opacity: .85; }


/* ---------------------------------------------------------------
   TZ Header: liegt im oberen weissen Rahmenband
   Logo links | Menue zentriert | Sprachen rechts | mobil Burger
   --------------------------------------------------------------- */
.gd-logo-c, .hdr-search, .burger, .mm { display: none !important; }  /* GD-Altlasten */

.tz-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    height: var(--frame-w);
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    gap: 1.5rem;
    padding-inline: var(--frame-w);
    color: var(--petrol); background: transparent;
}
.tz-h-logo { color: inherit; display: block; }
.tz-h-logo svg { height: calc(var(--frame-w) - 22px); max-height: 52px; min-height: 34px; width: auto; display: block; }

.tz-menu { justify-self: center; display: flex; flex-wrap: nowrap; gap: 1.6rem; }
.tz-menu a {
    position: relative;
    font-family: var(--font-display); font-weight: 500; font-size: 1.25rem;
    letter-spacing: .03em; color: #000; text-decoration: none; white-space: nowrap;
}
.tz-menu a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    height: 2px; width: 100%; background: var(--coral); border-radius: 2px;
    transform: scaleX(0); transform-origin: left center; transition: transform .35s ease;
}
.tz-menu a:hover::after { transform: scaleX(1); }
.tz-menu a[aria-current]::after { transform: scaleX(1); animation: tzUnderline .45s ease both; }
@keyframes tzUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tz-menu a::after { transition: none; animation: none; } }

.tz-langs { justify-self: end; font-family: var(--font-body); font-weight: 500; font-size: .95rem; letter-spacing: .08em; display: flex; gap: .55rem; }
.tz-langs a { color: #000; text-decoration: none; }
.tz-langs a:hover { color: var(--coral); }
.tz-langs a[aria-current] { color: var(--coral); font-weight: 600; }
.tz-sep { color: #000; }

/* Burger + Mobilpanel */
.tz-burger { display: none; }
.tz-mobilepanel { display: none; }
@media (max-width: 900px) {
    .tz-menu, .tz-langs { display: none; }
    .tz-header { padding-inline: 1rem; }       /* buendig, nicht am Desktop-Raster */
    .tz-burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        justify-self: end; width: 44px; height: 44px; padding: 8px;
        background: none; border: 0; cursor: pointer; z-index: 55;
    }
    .tz-burger span { display: block; height: 2px; width: 100%; background: var(--petrol); transition: transform .25s ease, opacity .25s ease, background .25s ease; }
    .tz-header.is-open .tz-burger span { background: #fff; }
    .tz-header.is-open .tz-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .tz-header.is-open .tz-burger span:nth-child(2) { opacity: 0; }
    .tz-header.is-open .tz-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Vollflaechiger Petrol-Layer ueber die ganze Seite */
    .tz-header.is-open .tz-mobilepanel {
        display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
        position: fixed; inset: 0; z-index: 50;
        background: var(--petrol); padding: 2rem 1.6rem;
    }
    .tz-mobilepanel nav { display: flex; flex-direction: column; gap: 1.1rem; }
    .tz-mobilepanel a { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: #fff; text-decoration: none; }
    .tz-mobilepanel a[aria-current] { color: var(--coral); }
    .tz-mobilelangs { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.2; margin-top: 1rem; }
    .tz-mobilelangs .tz-sep { color: #fff; opacity: .5; font-size: 1.05rem; line-height: 1.2; }
    .tz-mobilelangs a { color: #fff; text-decoration: none; opacity: .8; }
    .tz-mobilelangs a[aria-current] { color: var(--coral); opacity: 1; font-weight: 600; }
    .tz-header.is-open .tz-h-logo { position: relative; z-index: 55; color: #fff; }
}

/* Inhalt beginnt direkt im Rahmenfenster.
   Spezifitaet muss die GD-Regel html:not(...) main#inhalt schlagen. */
html:not(.is-detail) main#inhalt, html main#inhalt { padding-top: 0 !important; }

/* Intro-Logo endet neu dort, wo das Header-Logo sitzt */


/* Seitenkopf schliesst direkt an den Hero an (kein Extra-Abstand oben) */
.tz-hero + .page-header { padding-top: clamp(2.2rem, 4vw, 3.2rem); margin-top: 0; }
.tz-hero + .page-header .wrap { padding-top: 0; }

/* Scroll-Pfeil: schlicht, weiss, gross */
.tz-scroll { background: none; padding: 0; bottom: 26px; color: #fff; }
.tz-scroll span { display: none; }
.tz-scroll svg { width: 46px; height: 46px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.tz-scroll:hover { color: var(--coral); }

/* Aktuell-Liste */
.tz-news { display: flex; flex-direction: column; gap: 2.2rem; }
.tz-news-item { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; padding-bottom: 2rem; }
.tz-news-item + .tz-news-item { border-top: 1px solid var(--coral-soft); padding-top: 2rem; }
.tz-news-item.is-pinned { background: var(--petrol-tint); padding: 1.6rem; }
.tz-news-date { font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; color: var(--petrol); margin: 0; }
.tz-news-item h2 { margin: 0 0 .5rem; font-size: 1.6rem; }
@media (max-width: 700px) { .tz-news-item { grid-template-columns: 1fr; gap: .5rem; } }

/* Kontaktseite */
.tz-kontakt { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .tz-kontakt { grid-template-columns: 1fr; } }
.tz-kontakt-info address { font-style: normal; line-height: 1.7; margin-bottom: .8rem; }
.tz-kontakt-info a { color: var(--petrol); }
.tz-form { display: flex; flex-direction: column; gap: 1.1rem; }
.tz-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .tz-form-row { grid-template-columns: 1fr; } }
.tz-form label { display: flex; flex-direction: column; gap: .35rem; }
.tz-form label span { font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--petrol); }
.tz-form input, .tz-form select, .tz-form textarea {
    font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    padding: .85rem .95rem; border: 1px solid transparent; border-radius: 3px;
    background: #F2F2F2;
    transition: background .2s ease, border-color .2s ease;
}
.tz-form input:hover, .tz-form select:hover, .tz-form textarea:hover { border-color: var(--coral); }
.tz-form input:focus, .tz-form select:focus, .tz-form textarea:focus {
    outline: none; border-color: var(--coral); background: #fff;
    box-shadow: 0 0 0 3px rgba(220,158,109,.25);
}
.tz-form ::placeholder { color: #8a8a8a; }
.tz-form .hp { position: absolute; left: -9999px; }
.tz-form .tz-cta { align-self: flex-start; border: 0; cursor: pointer; }

/* GD-Altlasten auf Unterseiten ausblenden */
.home-hero, .landing-hero, .gd-logos, .gd-reviews, .tst-slider { display: none !important; }


/* Galerie: Uebersicht und Detailseite */
.tz-pferde-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.tz-pferd-card { text-decoration: none; color: inherit; display: block; }
.tz-pferd-media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: .8rem; background: var(--petrol-tint); }
.tz-pferd-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tz-pferd-card:hover .tz-pferd-media img { transform: scale(1.04); }
.tz-pferd-card h2 { margin: 0; font-size: 1.5rem; }
.tz-pferd-card:hover h2 { color: var(--coral); }
.tz-pferd-meta { font-family: var(--font-body); font-size: .92rem; color: var(--petrol); margin: .2rem 0 0; }
.tz-pferd-header .eyebrow a { color: var(--petrol); text-decoration: none; }
.tz-pferd-header .eyebrow a:hover { color: var(--coral); }
.tz-galerie { columns: 2; column-gap: 1.5rem; }
@media (max-width: 700px) { .tz-galerie { columns: 1; } }
.tz-galerie-item { break-inside: avoid; margin: 0 0 1.5rem; }
.tz-galerie-item img { width: 100%; height: auto; display: block; }


/* Lightbox: Vollbild in Gold, Pfeile, Schliessen */
.tz-pferd-card { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; width: 100%; }
.tz-pferd-media { position: relative; display: block; }
.tz-pferd-count {
    position: absolute; right: .7rem; bottom: .7rem;
    background: rgba(37,78,83,.85); color: #fff; font-family: var(--font-body);
    font-size: .82rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px;
}
.tz-pferd-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--petrol); }
.tz-pferd-card:hover .tz-pferd-name { color: var(--coral); }

.tz-lb {
    position: fixed; inset: 0; z-index: 100;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    background: #000;
    padding: clamp(1rem, 4vw, 3rem);
}
.tz-lb[hidden] { display: none; }
.tz-lb-stage { margin: 0; display: grid; place-items: center; height: 100%; }
.tz-lb-stage img { max-width: 100%; max-height: calc(100svh - 8rem); width: auto; height: auto; display: block; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.tz-lb-prev, .tz-lb-next, .tz-lb-close {
    background: none; border: 0; cursor: pointer; color: #fff;
    font-size: 3.4rem; line-height: 1; padding: .4rem 1rem;
    transition: transform .2s ease, color .2s ease;
}
.tz-lb-prev:hover, .tz-lb-next:hover { transform: scale(1.15); color: var(--coral); }
.tz-lb-close { position: absolute; top: 1.2rem; right: 1.6rem; font-size: 2.8rem; }
.tz-lb-close:hover { transform: rotate(90deg); color: var(--coral); }
.tz-lb-stage img { box-shadow: none; }
.tz-lb-caption {
    position: absolute; left: 0; right: 0; bottom: 1.2rem; text-align: center;
    font-family: var(--font-body); color: #fff; margin: 0;
}
.tz-lb-title { font-weight: 600; }
.tz-lb-counter { opacity: .75; }
@media (max-width: 700px) {
    .tz-lb-prev, .tz-lb-next { font-size: 2.4rem; padding: .3rem .4rem; }
}


/* Mobil: 20 px Seitenrand fuer Inhalt und Footer, identisch */
@media (max-width: 900px) {
    .wrap { width: 100%; padding-inline: 20px; }
    .site-footer .wrap { padding-inline: 20px; }
    main#inhalt > .section, main#inhalt > section:not(.tz-hero) { padding-inline: 20px; }
    main#inhalt > .section > .wrap, main#inhalt > section:not(.tz-hero) > .wrap { padding-inline: 0; }
}


/* Intro-Logo nur auf grossen Screens: auf dem Handy ist der fixe Vollbild-Layer
   unnoetig und stoert die LCP-Messung. */
@media (max-width: 900px) {
    .tz-intro-logo { display: none !important; }
    body:has(.tz-hero) .tz-h-logo svg { opacity: 1 !important; animation: none !important; }
}
