/*
Theme Name: Praxis Holtkamp
Theme URI: https://holtkamp.digitalsauria.de
Description: Praxis Holtkamp / Medicum – Child Theme von Sauriatheme. Premium-Zahnmedizin Würzburg mit Kachel-Layout und Patientensicht-Architektur.
Author: Digitalsauria
Author URI: https://digitalsauria.de
Template: sauriatheme
Version: 0.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: holtkamp
Requires at least: 6.0
Requires PHP: 8.0
*/

/* =============================================================
   Holtkamp / Medicum — Design Tokens
   Source of truth: Plan-Dokument vom 2026-05-26
   Werte werden in theme.json gespiegelt (Gutenberg-Editor-Sync).
   ============================================================= */

:root {
    /* ---------------------------------------------------------
       FARB-SYSTEM
       --------------------------------------------------------- */

    /* Markenfarben (Medicum CI, aus Audit dr-holtkamp.de bestätigt) */
    --color-primary:        #00618E;
    --color-primary-700:    #004F73;
    --color-primary-dark:   #0A2540;
    --color-primary-tint-1: #D9EAF1;
    --color-primary-tint-2: #E6F0F5;

    /* Sub-Brand Zahnburg (final aus Logo-Pipette in A1 — Platzhalter aus Burg-Palette) */
    --color-zahnburg-accent:      #6BB6B0;
    --color-zahnburg-accent-tint: #DDF0EE;
    --color-zahnburg-warm:        #F5E6C8;

    /* Neutralpalette */
    --color-bg-page:     #F1F0EE;
    --color-bg-card:     #FFFFFF;
    --color-bg-elevated: #FAFAF8;

    --color-text-primary: #0A2540;
    --color-text-body:    #3A3F4B;
    --color-text-muted:   #6B7280;
    --color-text-inverse: #FFFFFF;

    --color-border-hairline: rgba(10, 37, 64, 0.08);
    --color-border-medium:   rgba(10, 37, 64, 0.16);

    /* Status & Akzente (sparsam) */
    --color-success: #16A34A;
    --color-warning: #D97706;
    --color-danger:  #DC2626;
    --color-gold:    #C9A24B;

    /* ---------------------------------------------------------
       SHADOW-SYSTEM (Premium-Float-Effekt)
       --------------------------------------------------------- */
    --shadow-soft:     0 4px 16px -8px rgba(10, 37, 64, 0.05);
    --shadow-card:     0 8px 32px -12px rgba(10, 37, 64, 0.08);
    --shadow-elevated: 0 16px 48px -16px rgba(10, 37, 64, 0.12);
    --shadow-deep:     0 24px 64px -24px rgba(10, 37, 64, 0.18);

    /* ---------------------------------------------------------
       TYPOGRAFIE — Inter + Inter Tight (lokal, DSGVO-konform)
       --------------------------------------------------------- */
    --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

    /* Type-Scale (fluid via clamp) */
    --font-display-xl: clamp(2.5rem,  5vw + 1rem,    4.5rem);
    --font-display-lg: clamp(2rem,    3vw + 1rem,    3.25rem);
    --font-display-md: clamp(1.5rem,  2vw + 0.75rem, 2.25rem);
    --font-h3:         clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
    --font-body-lg:    1.125rem;
    --font-body:       1rem;
    --font-body-sm:    0.875rem;
    --font-label:      0.75rem;

    /* Line-Heights */
    --leading-display: 1.15;
    --leading-h3:      1.35;
    --leading-body:    1.65;

    /* Letter-Spacing */
    --tracking-display: -0.02em;
    --tracking-body:     0em;
    --tracking-label:    0.04em;

    /* Font-Weights */
    --fw-regular:  400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;

    /* ---------------------------------------------------------
       SPACING-SCALE (Whitespace-betont)
       --------------------------------------------------------- */
    --space-xs:   0.25rem;
    --space-sm:   0.5rem;
    --space-md:   1rem;
    --space-lg:   1.5rem;
    --space-xl:   2rem;
    --space-2xl:  3rem;
    --space-3xl:  5rem;
    --space-4xl:  7.5rem;

    /* Container/Layout */
    --container-max:     1280px;
    --container-narrow:  960px;
    --container-wide:    1440px;
    --container-padding: clamp(1rem, 3vw, 2rem);

    /* Tile-Gap (Hero-Komposition) */
    --tile-gap:        1.25rem;
    --tile-gap-mobile: 0.75rem;

    /* ---------------------------------------------------------
       RADIUS-SYSTEM
       --------------------------------------------------------- */
    --radius-tile:      16px;
    --radius-container: 24px;
    --radius-input:     10px;
    --radius-pill:      999px;

    /* ---------------------------------------------------------
       MOTION
       --------------------------------------------------------- */
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 600ms;

    /* ---------------------------------------------------------
       Z-INDEX-LEITER
       --------------------------------------------------------- */
    --z-header:        100;
    --z-header-sticky: 110;
    --z-menu-overlay:  200;
    --z-modal:         300;
    --z-cookie:        400;
    --z-toast:         500;
}

/* =============================================================
   Reduced Motion — Accessibility
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================================
   Base — überlagert Parent (sauriatheme)
   ============================================================= */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0; /* HK_OBUFFER_FIX: UA-Default-Margin nie durchschlagen lassen */
    background-color: var(--color-bg-page);
    color: var(--color-text-body);
    font-family: var(--font-sans);
    font-size: var(--font-body);
    line-height: var(--leading-body);
    font-feature-settings: "ss01", "cv11", "calt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-text-primary);
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-display);
    font-weight: var(--fw-bold);
    margin: 0;
}

h1 { font-size: var(--font-display-xl); }
h2 { font-size: var(--font-display-lg); }
h3 { font-size: var(--font-display-md); font-weight: var(--fw-semibold); }
h4 { font-size: var(--font-h3); font-weight: var(--fw-semibold); line-height: var(--leading-h3); }

p { margin: 0; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

a:hover { color: var(--color-primary-700); }

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

/* =============================================================
   Utility: Container
   ============================================================= */
.hk-container        { max-width: var(--container-max);    margin-inline: auto; padding-inline: var(--container-padding); }
.hk-container--narrow{ max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--container-padding); }
.hk-container--wide  { max-width: var(--container-wide);   margin-inline: auto; padding-inline: var(--container-padding); }

/* =============================================================
   Utility: Eyebrow-Label (Tile-Header)
   ============================================================= */
.hk-eyebrow {
    font-size: var(--font-label);
    font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* =============================================================
   Utility: Visually-Hidden (Accessibility)
   ============================================================= */
.hk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =============================================================
   Utility: Skip-Link (Tab-Fokus von ganz oben)
   ============================================================= */
.hk-skiplink {
    position: absolute;
    top: -100px;
    left: var(--space-md);
    z-index: var(--z-toast);
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-input);
    font-weight: var(--fw-semibold);
    transition: top var(--duration-fast) var(--ease-out);
}
.hk-skiplink:focus {
    top: var(--space-sm);
    color: var(--color-text-inverse);
    outline: 2px solid var(--color-text-inverse);
    outline-offset: 2px;
}

/* =============================================================
   Utility: Muted Text
   ============================================================= */
.hk-muted { color: var(--color-text-muted); }

/* =============================================================
   Inline-Icon (vor/nach Text)
   ============================================================= */
.hk-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.hk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: var(--font-body);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color var(--duration-base) var(--ease-out),
                color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
    white-space: nowrap;
}
.hk-btn:hover { transform: translateY(-1px); }
.hk-btn:active { transform: translateY(0); }
.hk-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.hk-btn--primary {
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-soft);
}
.hk-btn--primary:hover {
    background-color: var(--color-primary-700);
    color: var(--color-text-inverse);
    box-shadow: var(--shadow-card);
}

.hk-btn--ghost {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-border-medium);
}
.hk-btn--ghost:hover {
    background-color: var(--color-primary-tint-2);
    border-color: var(--color-primary);
    color: var(--color-primary-700);
}

.hk-btn--lg {
    padding: 1rem 1.75rem;
    font-size: var(--font-body-lg);
}

/* =============================================================
   HEADER
   ============================================================= */
.hk-header {
    background-color: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border-hairline);
    position: relative;
    z-index: var(--z-header);
}
.hk-header.is-sticky {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-header-sticky);
    box-shadow: var(--shadow-soft);
    animation: hk-slidedown var(--duration-base) var(--ease-out);
}
@keyframes hk-slidedown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
body.hk-has-sticky { padding-top: var(--hk-header-h, 0px); }

/* ----- Topbar ----- */
.hk-topbar {
    background-color: var(--color-primary-dark);
    color: var(--color-text-inverse);
    font-size: var(--font-body-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hk-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-block: 0.5rem;
}
.hk-topbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.hk-topbar li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
}
.hk-topbar__link {
    color: var(--color-text-inverse);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--duration-fast) var(--ease-out);
}
.hk-topbar__link:hover { color: var(--color-primary-tint-1); }
.hk-topbar__link--wa { color: #25D366; }
.hk-topbar__link--wa:hover { color: #5be590; }
.hk-topbar__rating .hk-stars {
    display: inline-flex;
    align-items: center;
}

/* ----- Mainbar ----- */
.hk-mainbar { background-color: var(--color-bg-card); }
.hk-mainbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding-block: var(--space-md);
    min-height: 72px;
}

/* Logo-Fallback */
.hk-brand { display: flex; align-items: center; }
.hk-logo-fallback {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--color-text-primary);
    line-height: 1.1;
}
.hk-logo-fallback:hover { color: var(--color-primary); }
.hk-logo-name {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 1.25rem;
    letter-spacing: var(--tracking-display);
}
.hk-logo-claim {
    font-family: var(--font-sans);
    font-weight: var(--fw-medium);
    font-size: var(--font-label);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Custom-Logo (WP-Standard) */
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 56px; width: auto; }

/* Theme-SVG-Logo (zwei Varianten: hell für Hero, dunkel für Sticky/Sub-Pages) */
.hk-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    line-height: 0;
}
.hk-logo__img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 100%;
    transition: opacity var(--duration-fast) var(--ease-out);
}
/* Standard: dunkles Logo sichtbar, helles versteckt (für Sticky/Sub-Pages) */
.hk-logo__img--light { display: none; }
.hk-logo__img--dark  { display: block; }

/* ----- Nav ----- */
.hk-nav { flex: 1; display: flex; justify-content: center; }
.hk-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
.hk-nav__list .menu-item > a {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-input);
    color: var(--color-text-primary);
    font-weight: var(--fw-medium);
    font-size: var(--font-body);
    transition: background-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}
.hk-nav__list .menu-item > a:hover,
.hk-nav__list .menu-item.current-menu-item > a,
.hk-nav__list .menu-item.current-menu-ancestor > a {
    background-color: var(--color-primary-tint-2);
    color: var(--color-primary-700);
}
/* (Alte ::after-Chevron-Regel entfernt — Chevron kommt jetzt als
   <span class="hk-nav__chev"> direkt aus dem Walker.) */

/* Submenu (Hover-Dropdown auf Desktop) */
.hk-nav__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: var(--space-sm);
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-input);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                visibility var(--duration-fast);
    z-index: var(--z-menu-overlay);
}
.hk-nav__list .menu-item-has-children,
.hk-nav__list .menu-item--has-children { position: relative; }
.hk-nav__list .menu-item-has-children:hover > .sub-menu,
.hk-nav__list .menu-item-has-children:focus-within > .sub-menu,
.hk-nav__list .menu-item--has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hk-nav__list .sub-menu .menu-item > a { display: block; width: 100%; }

/* Zahnburg-Akzent im Nav-Item */
.hk-nav__list .hk-nav__item--zahnburg > a,
.hk-nav__list .menu-item.zahnburg > a {
    color: var(--color-zahnburg-accent);
}
.hk-nav__list .hk-nav__item--zahnburg > a:hover {
    background-color: var(--color-zahnburg-accent-tint);
    color: var(--color-zahnburg-accent);
}

/* ----- CTA-Bereich rechts ----- */
.hk-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ----- Burger ----- */
.hk-burger {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-input);
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.hk-burger:hover { border-color: var(--color-primary); }
.hk-burger__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: transform var(--duration-base) var(--ease-out),
                opacity var(--duration-fast) var(--ease-out);
}
.hk-burger[aria-expanded="true"] .hk-burger__bar:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}
.hk-burger[aria-expanded="true"] .hk-burger__bar:nth-child(3) {
    opacity: 0;
}
.hk-burger[aria-expanded="true"] .hk-burger__bar:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================================
   MAIN-Bereich
   ============================================================= */
.hk-main { display: block; min-height: 60vh; }
.hk-main:focus { outline: none; }

/* =============================================================
   PAGE-HERO (jede Page, außer Front)
   ============================================================= */
.hk-pagehero {
    padding-block: var(--space-2xl) var(--space-xl);
    background: linear-gradient(180deg,
        var(--color-primary-tint-2) 0%,
        var(--color-bg-page) 100%);
}
.hk-pagehero__title {
    margin-top: var(--space-sm);
    color: var(--color-text-primary);
    overflow-wrap: break-word;
    hyphens: auto;
}
.hk-pagehero__lede {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    max-width: 62ch;
    line-height: var(--leading-body);
}

/* Brotkrumen */
.hk-breadcrumbs { font-size: var(--font-body-sm); }
.hk-breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: var(--color-text-muted);
}
.hk-breadcrumbs__list li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--color-text-muted);
}
.hk-breadcrumbs__list a {
    color: var(--color-text-muted);
    transition: color var(--duration-fast) var(--ease-out);
}
.hk-breadcrumbs__list a:hover { color: var(--color-primary); }
.hk-breadcrumbs__list [aria-current="page"] { color: var(--color-text-primary); }

/* =============================================================
   PROSE — Defaults für the_content()
   ============================================================= */
.hk-prose {
    padding-block: var(--space-2xl);
    color: var(--color-text-body);
    font-size: var(--font-body-lg);
    line-height: var(--leading-body);
}
.hk-prose > * + * { margin-top: var(--space-md); }
.hk-prose h2 {
    margin-top: var(--space-2xl);
    font-size: var(--font-display-md);
    color: var(--color-text-primary);
}
.hk-prose h3 {
    margin-top: var(--space-xl);
    font-size: var(--font-h3);
    color: var(--color-text-primary);
}
.hk-prose h4 { margin-top: var(--space-lg); }
.hk-prose p { max-width: 70ch; }
.hk-prose a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.hk-prose a:hover { color: var(--color-primary-700); }
.hk-prose ul,
.hk-prose ol {
    margin-left: 1.25rem;
    padding-left: var(--space-md);
}
.hk-prose ul { list-style: disc; }
.hk-prose ol { list-style: decimal; }
.hk-prose li + li { margin-top: 0.4rem; }
.hk-prose blockquote {
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
    color: var(--color-text-primary);
    font-style: italic;
    font-size: var(--font-body-lg);
}
.hk-prose img { border-radius: var(--radius-tile); }
.hk-prose figure { margin-block: var(--space-xl); }
.hk-prose figcaption {
    margin-top: var(--space-sm);
    font-size: var(--font-body-sm);
    color: var(--color-text-muted);
}
.hk-prose hr {
    border: 0;
    border-top: 1px solid var(--color-border-hairline);
    margin-block: var(--space-2xl);
}
.hk-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-body);
}
@media (max-width: 640px) {
    .hk-prose table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.hk-prose th,
.hk-prose td {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border-hairline);
}
.hk-prose th {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font-weight: var(--fw-semibold);
}

/* =============================================================
   PRE-FOOTER CTA
   ============================================================= */
.hk-precta {
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
    padding-block: var(--space-3xl);
    margin-top: var(--space-3xl);
}
.hk-precta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}
.hk-precta .hk-eyebrow { color: rgba(255, 255, 255, 0.7); }
.hk-precta__title {
    color: var(--color-text-inverse);
    margin-top: var(--space-sm);
    font-size: var(--font-display-lg);
}
.hk-precta__lede {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: rgba(255, 255, 255, 0.85);
    max-width: 50ch;
}
.hk-precta__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.hk-precta .hk-btn--primary {
    background: var(--color-bg-card);
    color: var(--color-primary);
}
.hk-precta .hk-btn--primary:hover {
    background: var(--color-primary-tint-1);
    color: var(--color-primary-700);
}
.hk-precta .hk-btn--ghost {
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.4);
}
.hk-precta .hk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inverse);
    border-color: var(--color-text-inverse);
}

/* =============================================================
   FOOTER
   ============================================================= */
.hk-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: var(--space-3xl);
    font-size: var(--font-body);
}
.hk-footer a {
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--duration-fast) var(--ease-out);
}
.hk-footer a:hover { color: var(--color-primary-tint-1); }
.hk-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}
.hk-footer__col--brand .hk-logo-fallback,
.hk-footer__col--brand .hk-logo-name {
    color: var(--color-text-inverse);
}
.hk-footer__col--brand .hk-logo-claim { color: rgba(255, 255, 255, 0.6); }

.hk-footer__address {
    margin-top: var(--space-md);
    font-style: normal;
    line-height: 1.6;
}
.hk-footer__address strong { color: var(--color-text-inverse); }

.hk-footer__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-input);
    font-size: var(--font-body-sm);
}
.hk-footer__rating .hk-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}
.hk-footer__rating strong { color: var(--color-text-inverse); }

.hk-footer__title {
    color: var(--color-text-inverse);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
    letter-spacing: 0;
}

.hk-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.hk-footer__list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hk-footer__list .hk-icon { opacity: 0.7; }

.hk-footer__hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem var(--space-md);
    margin: 0;
}
.hk-footer__hours dt {
    color: rgba(255, 255, 255, 0.6);
    font-weight: var(--fw-medium);
}
.hk-footer__hours dd { margin: 0; color: var(--color-text-inverse); }

.hk-footer__notice {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(217, 119, 6, 0.12);
    border-left: 3px solid var(--color-warning);
    border-radius: var(--radius-input);
    font-size: var(--font-body-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.hk-footer__notice a {
    color: var(--color-text-inverse);
    text-decoration: underline;
}

.hk-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: var(--space-lg);
    background: rgba(0, 0, 0, 0.15);
}
.hk-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    font-size: var(--font-body-sm);
    color: rgba(255, 255, 255, 0.65);
}
.hk-footer__copyright { margin: 0; }
.hk-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-lg);
}

/* =============================================================
   404
   ============================================================= */
.hk-404 {
    padding-block: var(--space-3xl) var(--space-3xl);
}
.hk-404__head {
    position: relative;
    text-align: center;
    padding-block: var(--space-2xl) var(--space-xl);
}
.hk-404__big {
    display: block;
    font-size: clamp(6rem, 18vw, 11rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: transparent;
    background: linear-gradient(180deg, var(--color-primary-tint-1) 0%, var(--color-primary-tint-2) 100%);
    -webkit-background-clip: text;
            background-clip: text;
    margin-bottom: var(--space-sm);
    user-select: none;
}
.hk-404__title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}
.hk-404__lede {
    max-width: 56ch;
    margin: 0 auto var(--space-xl);
    color: var(--color-text-body);
    font-size: 1.05rem;
}
.hk-404__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}
.hk-404__sub {
    font-size: var(--font-h3);
    color: var(--color-text-primary);
    text-align: center;
    margin-block: var(--space-2xl) var(--space-lg);
}
.hk-404-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    padding-block: 0 var(--space-2xl);
}
.hk-404-card {
    display: block;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    min-width: 0;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.hk-404-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
}
.hk-404-card h3 {
    font-size: var(--font-h3);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    max-width: 100%;
}
.hk-404-card p { color: var(--color-text-body); margin: 0; }

.hk-404__notdienst {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-primary-tint-2);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-tile);
    margin-block: var(--space-2xl) var(--space-2xl);
    color: var(--color-text-primary);
    font-size: 1rem;
    line-height: 1.55;
}
.hk-404__notdienst-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
}
.hk-404__notdienst strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
    font-size: 1.05rem;
}
.hk-404__notdienst a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hk-404__search {
    max-width: 520px;
    margin: 0 auto var(--space-2xl);
}
.hk-404__search .hk-eyebrow {
    margin-bottom: var(--space-sm);
    text-align: center;
}
.hk-404__search input[type="search"] {
    width: 100%;
    padding: 0.85rem var(--space-md);
    border-radius: var(--radius-input);
    border: 1px solid var(--color-border-medium);
    font-size: var(--font-body);
}

@media (max-width: 600px) {
    .hk-404__notdienst { flex-direction: column; align-items: flex-start; padding: var(--space-md); }
    .hk-404__cta .hk-btn { width: 100%; }
}

/* =============================================================
   PAGINATION (wp_link_pages, klassische Posts)
   ============================================================= */
.hk-pagination {
    margin-block: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-body-sm);
}
.hk-pagination a,
.hk-pagination > span {
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-input);
    border: 1px solid var(--color-border-hairline);
}
.hk-pagination a:hover {
    background: var(--color-primary-tint-2);
    color: var(--color-primary-700);
    border-color: var(--color-primary);
}

/* =============================================================
   ZAHNBURG SUB-BRAND OVERRIDES
   (Body bekommt `hk-brand-zahnburg` aus functions.php)
   ============================================================= */
body.hk-brand-zahnburg {
    --color-primary:        var(--color-zahnburg-accent);
    --color-primary-700:    #4F9C97;
    --color-primary-tint-1: var(--color-zahnburg-accent-tint);
    --color-primary-tint-2: #EAF7F6;
}
body.hk-brand-zahnburg .hk-pagehero {
    background: linear-gradient(180deg,
        var(--color-zahnburg-accent-tint) 0%,
        var(--color-bg-page) 100%);
}
body.hk-brand-zahnburg .hk-precta {
    background: linear-gradient(135deg,
        var(--color-zahnburg-accent) 0%,
        #4F9C97 100%);
}
body.hk-brand-zahnburg .hk-precta .hk-btn--primary {
    color: #2E6B66;
}

/* =============================================================
   RESPONSIVE — Burger ab 900px, Topbar Hide ab 768px
   ============================================================= */
@media (max-width: 1180px) {
    .hk-burger { display: inline-flex; }

    .hk-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(360px, 88vw);
        background: var(--color-bg-card);
        box-shadow: var(--shadow-deep);
        padding: var(--space-2xl) var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--duration-base) var(--ease-out);
        z-index: var(--z-menu-overlay);
        display: block;
        overflow-y: auto;
    }
    .hk-nav[aria-hidden="false"],
    body.hk-nav-open .hk-nav { transform: translateX(0); }

    body.hk-nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(10, 37, 64, 0.4);
        z-index: calc(var(--z-menu-overlay) - 1);
        animation: hk-fadein var(--duration-base) var(--ease-out);
    }
    @keyframes hk-fadein { from { opacity: 0; } to { opacity: 1; } }

    .hk-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
    }
    .hk-nav__list .menu-item > a {
        display: block;
        padding: 0.75rem var(--space-md);
        font-size: var(--font-body-lg);
    }
    .hk-nav__list .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 var(--space-sm) var(--space-md);
    }
    .hk-nav__list .sub-menu .menu-item > a {
        font-size: var(--font-body);
        padding: 0.5rem var(--space-md);
        color: var(--color-text-body);
    }

    .hk-cta__termin span { display: none; }
    .hk-cta__termin { padding: 0.6rem 0.85rem; }

    .hk-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hk-topbar { display: none; }

    .hk-precta__inner { flex-direction: column; align-items: flex-start; }
    .hk-precta__title { font-size: var(--font-display-md); }

    .hk-footer__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hk-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hk-mainbar__inner { min-height: 64px; gap: var(--space-sm); }
    .hk-logo-name { font-size: 1.1rem; }
    .hk-logo-claim { display: none; }
    .hk-logo__img { height: 36px; }
    .hk-precta { padding-block: var(--space-2xl); }
}

/* =============================================================
   HERO MEGA-MENU (Desktop)
   Visual-Teaser links (mit Bild + Eyebrow + Title + Lede + CTA),
   3 Spalten Sub-Items rechts. Volle Bildschirmbreite.
   ============================================================= */
.hk-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.95rem;
    border-radius: var(--radius-input);
    color: var(--color-text-primary);
    font-weight: var(--fw-medium);
    font-size: 0.95rem;
    transition: background-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}
.hk-nav__link:hover,
.hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
.hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link {
    background-color: var(--color-primary-tint-2);
    color: var(--color-primary-700);
}
.hk-nav__chev {
    font-size: 0.7em;
    opacity: 0.55;
    transition: transform var(--duration-fast) var(--ease-out);
}
.hk-nav__list .menu-item-has-children.is-open > .hk-nav__link .hk-nav__chev,
.hk-nav__list .menu-item-has-children:hover > .hk-nav__link .hk-nav__chev {
    transform: rotate(180deg);
}

/* Top-Item ist statisch positioniert, damit das Mega volle Breite hat */
.hk-nav__list .menu-item-has-children { position: static; }

/* Mega-Panel: volle Bildschirmbreite, unter der Mainbar */
.hk-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border-hairline);
    box-shadow: var(--shadow-elevated);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out),
                visibility var(--duration-base);
    z-index: var(--z-menu-overlay);
    pointer-events: none;
}
/* Geöffnet via JS-State (is-open) ODER via :hover als Fallback */
.hk-nav__list .menu-item-has-children.is-open > .hk-mega,
.hk-nav__list .menu-item-has-children:hover > .hk-mega,
.hk-nav__list .menu-item-has-children:focus-within > .hk-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Mega-Inhalt: 4 Spalten (Teaser + 3 Sub-Spalten) */
.hk-mega__inner {
    display: grid;
    grid-template-columns: 340px 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-block: var(--space-2xl);
    align-items: stretch;
}

/* ----- VISUAL TEASER (links) ----- */
.hk-mega__teaser {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    padding: var(--space-xl);
    border-radius: var(--radius-container);
    overflow: hidden;
    color: var(--color-text-inverse);
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    isolation: isolate;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}
.hk-mega__teaser:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    color: var(--color-text-inverse);
}
.hk-mega__teaser-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform var(--duration-slow) var(--ease-out);
}
.hk-mega__teaser:hover .hk-mega__teaser-bg {
    transform: scale(1.05);
}
.hk-mega__teaser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.1) 0%,
        rgba(10, 37, 64, 0.5) 45%,
        rgba(10, 37, 64, 0.92) 100%);
    z-index: -1;
}
.hk-mega__teaser-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.hk-mega__teaser-eyebrow {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: var(--font-label);
}
.hk-mega__teaser-title {
    font-family: var(--font-display);
    font-weight: var(--fw-bold);
    font-size: 1.4rem;
    line-height: 1.2;
    letter-spacing: var(--tracking-display);
    color: var(--color-text-inverse);
    max-width: 18ch;
}
.hk-mega__teaser-lede {
    font-size: var(--font-body-sm);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    max-width: 32ch;
}
.hk-mega__teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--space-sm);
    padding: 0.6rem 1rem;
    background: var(--color-bg-card);
    color: var(--color-primary);
    border-radius: var(--radius-pill);
    font-weight: var(--fw-semibold);
    font-size: var(--font-body-sm);
    align-self: flex-start;
    transition: background-color var(--duration-fast) var(--ease-out),
                gap var(--duration-fast) var(--ease-out);
}
.hk-mega__teaser:hover .hk-mega__teaser-cta {
    background: var(--color-primary-tint-1);
    gap: 0.6rem;
}
.hk-mega__teaser-cta svg { flex-shrink: 0; }

/* Generischer Teaser (ohne Bild) — Fallback im Walker */
.hk-mega__teaser--generic {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
    min-height: 240px;
}

/* ----- SUB-SPALTEN (rechts) ----- */
.hk-mega__cols {
    display: contents; /* 3 Spalten direkt im Parent-Grid */
}
.hk-mega__col {
    display: flex;
    flex-direction: column;
}
.hk-mega__col-title {
    font-family: var(--font-display);
    font-size: var(--font-label);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    color: var(--color-primary);
    font-weight: var(--fw-bold);
    margin: 0 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary-tint-1);
}
.hk-mega__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hk-mega__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-input);
    color: var(--color-text-body);
    font-weight: var(--fw-medium);
    transition: background-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out),
                padding-left var(--duration-fast) var(--ease-out);
}
.hk-mega__link:hover {
    background: var(--color-primary-tint-2);
    color: var(--color-primary-700);
    padding-left: 1rem;
}
.hk-mega__label { line-height: 1.35; }
.hk-mega__arrow {
    opacity: 0;
    color: var(--color-primary);
    font-weight: bold;
    transform: translateX(-4px);
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
}
.hk-mega__link:hover .hk-mega__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ----- Zahnburg-Varianz ----- */
.hk-mega--zahnburg .hk-mega__teaser {
    background: linear-gradient(135deg, var(--color-zahnburg-accent) 0%, #4F9C97 100%);
}
.hk-mega--zahnburg .hk-mega__teaser-cta {
    color: #2E6B66;
}
.hk-mega--zahnburg .hk-mega__teaser:hover .hk-mega__teaser-cta {
    background: var(--color-zahnburg-accent-tint);
}
/* Spalten-Titel, Links, Arrow: identisch zu den anderen Mega-Menüs (kein Türkis-Sonderfall) */

/* (Backdrop-Overlay entfernt — Seite soll beim Mega-Open nicht abdunkeln) */

/* =============================================================
   HERO  —  Full-Width Background-Bild
   ============================================================= */
.hk-hero {
    position: relative;
    min-height: 80vh;
    min-height: 80svh;
    display: flex;
    align-items: flex-start;       /* Inhalt oben statt zentriert */
    overflow: hidden;
    padding-block: 140px var(--space-2xl); /* Nav-Höhe + kleiner Abstand, dann Inhalt direkt */
    color: var(--color-text-inverse);
    isolation: isolate;
}
.hk-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    animation: hk-hero-zoom 18s var(--ease-out) forwards;
}
@keyframes hk-hero-zoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}
.hk-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(105deg,
        rgba(10, 37, 64, 0.78) 0%,
        rgba(10, 37, 64, 0.55) 45%,
        rgba(10, 37, 64, 0.15) 100%),
      linear-gradient(180deg,
        rgba(10, 37, 64, 0.55) 0%,
        transparent 25%,
        transparent 70%,
        rgba(10, 37, 64, 0.45) 100%);
}
.hk-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-2xl);
    align-items: end; /* USPs unten rechtsbündig */
}
.hk-hero__text { max-width: 720px; }
.hk-hero__text .hk-eyebrow {
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    font-weight: var(--fw-semibold);
}
.hk-hero__title {
    margin-top: var(--space-md);
    color: var(--color-text-inverse);
    font-size: clamp(2.5rem, 6vw + 1rem, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(10, 37, 64, 0.35);
}
.hk-hero__accent {
    background: linear-gradient(120deg, var(--color-zahnburg-accent) 0%, var(--color-zahnburg-warm) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-zahnburg-accent);
}
.hk-hero__lede {
    margin-top: var(--space-lg);
    font-size: clamp(1.1rem, 1.2vw + 0.6rem, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 60ch;
    line-height: 1.55;
    text-shadow: 0 1px 12px rgba(10, 37, 64, 0.45);
}
.hk-hero__lede strong { color: var(--color-text-inverse); font-weight: var(--fw-semibold); }
.hk-hero__cta {
    margin-top: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}
.hk-hero__cta .hk-btn--primary {
    background: var(--color-bg-card);
    color: var(--color-primary);
}
.hk-hero__cta .hk-btn--primary:hover {
    background: var(--color-primary-tint-1);
    color: var(--color-primary-700);
}
.hk-hero__cta .hk-btn--ghost {
    color: var(--color-text-inverse);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hk-hero__cta .hk-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-text-inverse);
    border-color: var(--color-text-inverse);
}

.hk-hero__trust {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: var(--space-lg);
    font-size: var(--font-body-sm);
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
}
.hk-hero__trust li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hk-hero__trust strong { color: var(--color-text-inverse); font-weight: var(--fw-semibold); }
.hk-hero__trust svg { color: var(--color-gold); flex-shrink: 0; }

/* Rating-Mini-Strip */
.hk-hero__rating {
    margin-top: var(--space-xl);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--font-body-sm);
}
.hk-hero__rating strong { color: var(--color-text-inverse); font-weight: var(--fw-semibold); }

/* =============================================================
   HERO · WhatsApp-Chat-Promo (animiert)  — HK-HERO-WHATSAPP
   ============================================================= */
.hk-hero__wa {
    --wa-green: #25D366;
    --wa-green-d: #128C7E;
    position: relative;
    margin-top: var(--space-lg);
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.15rem 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.55);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -12px rgba(18, 140, 126, 0.6);
    text-decoration: none;
    color: var(--color-text-inverse);
    overflow: visible;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.hk-hero__wa:hover,
.hk-hero__wa:focus-visible {
    transform: translateY(-2px);
    border-color: var(--wa-green);
    background: rgba(37, 211, 102, 0.16);
    box-shadow: 0 16px 38px -12px rgba(18, 140, 126, 0.75);
    outline: none;
}

/* "Jetzt neu"-Badge oben links */
.hk-hero__wa-badge {
    position: absolute;
    top: -0.7rem;
    left: 0.9rem;
    background: var(--wa-green);
    color: #06351f;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px -4px rgba(18, 140, 126, 0.8);
}

/* WhatsApp-Icon mit Puls-Ring */
.hk-hero__wa-icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-d) 100%);
    color: #fff;
}
.hk-hero__wa-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--wa-green);
    opacity: 0.7;
    animation: hk-wa-pulse 2s ease-out infinite;
}
@keyframes hk-wa-pulse {
    0%   { transform: scale(1);   opacity: 0.65; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hk-hero__wa-body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
}
.hk-hero__wa-name {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-inverse);
}
.hk-hero__wa-check { color: var(--wa-green); }

/* Tipp-Animation: 3 hüpfende Punkte = "jemand schreibt" */
.hk-hero__wa-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 14px;
}
.hk-hero__wa-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    animation: hk-wa-typing 1.4s ease-in-out infinite;
}
.hk-hero__wa-dot:nth-child(2) { animation-delay: 0.2s; }
.hk-hero__wa-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes hk-wa-typing {
    0%, 60%, 100% { transform: translateY(0);     opacity: 0.4; }
    30%           { transform: translateY(-4px);  opacity: 1; }
}

.hk-hero__wa-cta {
    margin-left: 0.35rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--wa-green);
    white-space: nowrap;
    transition: transform 0.18s ease;
}
.hk-hero__wa:hover .hk-hero__wa-cta { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
    .hk-hero__wa-icon::before,
    .hk-hero__wa-dot { animation: none; }
    .hk-hero__wa-dot { opacity: 0.85; }
}

@media (max-width: 540px) {
    .hk-hero__wa { width: 100%; }
    .hk-hero__wa-cta { margin-left: auto; }
}

/* WhatsApp-Promo in der rechten Karten-Spalte (oben über den Siegeln) */
.hk-hero__wa--right {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: var(--space-md);
    width: 100%;
    max-width: 100%;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem 0.6rem 0.7rem;
}
.hk-hero__wa--right .hk-hero__wa-icon {
    width: 40px;
    height: 40px;
}
.hk-hero__wa--right .hk-hero__wa-body {
    flex: 1 1 auto;
    min-width: 0;
}
.hk-hero__wa--right .hk-hero__wa-name {
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hk-hero__wa--right .hk-hero__wa-cta {
    flex: 0 0 auto;
    margin-left: 0;
    font-size: 0.82rem;
}

/* =============================================================
   HERO RIGHT (Wrapper für Siegel + USPs)
   ============================================================= */
.hk-hero__right {
    justify-self: end;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* =============================================================
   SIEGEL-STRIP (Google + jameda)
   ============================================================= */
.hk-hero__badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-sm);
}
.hk-badge {
    box-sizing: border-box;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-tile);
    box-shadow: 0 4px 24px -8px rgba(10, 37, 64, 0.25);
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                background-color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.hk-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px -8px rgba(10, 37, 64, 0.35);
}
.hk-badge__logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-badge__logo svg { width: 100%; height: 100%; }
.hk-badge__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 2px;
}
.hk-badge__name {
    font-size: var(--font-body-sm);
    text-transform: uppercase;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--fw-semibold);
    line-height: 1;
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.45);
}
.hk-badge__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem;
    font-size: var(--font-body-sm);
    color: var(--color-text-inverse);
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.45);
}
.hk-badge__rating strong {
    color: var(--color-text-inverse);
    font-weight: var(--fw-bold);
    font-variant-numeric: tabular-nums;
}
/* Alte Sterne aus dem ausgelieferten HTML komplett entfernen (verursachten 8.8px Versatz). */
.hk-badge__stars { display: none !important; }
.hk-badge__count {
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-body-sm);
    white-space: normal;
}

/* =============================================================
   HERO USP-CARDS (rechts, glasmorph)
   ============================================================= */
.hk-hero__usps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}
.hk-hero__usp {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-tile);
    box-shadow: 0 4px 24px -8px rgba(10, 37, 64, 0.25);
    transition: transform var(--duration-base) var(--ease-out),
                background-color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.hk-hero__usp:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}
.hk-hero__usp-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-hero__usp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hk-hero__usp-text strong {
    color: var(--color-text-inverse);
    font-weight: var(--fw-semibold);
    font-size: var(--font-body);
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.45);
}
.hk-hero__usp-text span {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-body-sm);
    line-height: 1.4;
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.45);
}

/* Scroll-Indikator */
.hk-hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    transition: border-color var(--duration-base) var(--ease-out);
    z-index: 2;
}
.hk-hero__scroll:hover { border-color: rgba(255, 255, 255, 0.9); }
.hk-hero__scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--color-text-inverse);
    border-radius: 999px;
    animation: hk-scroll-bounce 1.8s var(--ease-in-out) infinite;
}
@keyframes hk-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(10px); opacity: 0.3; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hk-hero { min-height: 70vh; padding-top: 130px; }
    .hk-hero__inner { grid-template-columns: 1fr; gap: var(--space-xl); align-items: start; }
    .hk-hero__right { max-width: none; }
    .hk-hero__badges { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 480px; }
    .hk-hero__overlay {
        background: linear-gradient(180deg,
            rgba(10, 37, 64, 0.7) 0%,
            rgba(10, 37, 64, 0.55) 40%,
            rgba(10, 37, 64, 0.4) 100%);
    }
}
@media (max-width: 640px) {
    .hk-hero { min-height: auto; padding-top: 110px; padding-bottom: var(--space-xl); }
    .hk-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
    .hk-hero__trust { grid-template-columns: 1fr; gap: var(--space-sm); }
    .hk-hero__scroll { display: none; }
    .hk-hero__usp { padding: var(--space-sm) var(--space-md); }
    .hk-hero__usp-icon { width: 36px; height: 36px; }
}

/* =============================================================
   SECTION HEADS (gemeinsam für mehrere Sektionen)
   ============================================================= */
.hk-section-head {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}
.hk-section-head .hk-eyebrow { color: var(--color-primary); }
.hk-section-head h2 { margin-top: var(--space-sm); }
.hk-section-head__lede {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    line-height: var(--leading-body);
}

/* =============================================================
   USPs
   ============================================================= */
.hk-usps {
    padding-block: var(--space-2xl);
    background: var(--color-bg-card);
    border-block: 1px solid var(--color-border-hairline);
}
.hk-usps__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
.hk-usp {
    text-align: left;
    padding: var(--space-lg);
}
.hk-usp__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-tile);
    background: var(--color-primary-tint-2);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}
.hk-usp h3 {
    font-size: var(--font-h3);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}
.hk-usp p { color: var(--color-text-body); line-height: 1.55; }

/* =============================================================
   SERVICES GRID
   ============================================================= */
.hk-services { padding-block: var(--space-3xl); }

/* =============================================================
   SERVICES — BENTO-LAYOUT (10 Behandlungen + CTA-Tile)
   12-Spalten-Grid, asymmetrische Tile-Größen.
   Reihe 1+2: Endo / Implantologie-Hero / Prophy & Ästh / Oralchir
   Reihe 3:   Narkose / CMD / Angst / Funktion (gleich groß)
   Reihe 4:   Aligner / Labor / CTA (je 4 Spalten)
   ============================================================= */
.hk-services__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: var(--space-md);
}

/* Tile-Platzierung — 8 Behandlungen + CTA, kompaktes Bento
   Reihe 1+2: Endo / Implant-Hero (6, 2 Reihen) / Ästhetik   |  Oralchir / Narkose
   Reihe 3:   Komplettsanierung (vollbreit)
   Reihe 4:   CMD & Funktion / Angst / Aligner  (je 4 Spalten)
   Reihe 5:   CTA (vollbreit) */
.hk-bento-svc__tile--endo      { grid-column: span 3; grid-row: 1; }
.hk-bento-svc__tile--implant   { grid-column: span 6; grid-row: 1 / span 2; }   /* Hero */
.hk-bento-svc__tile--aesthetik { grid-column: span 3; grid-row: 1; }
.hk-bento-svc__tile--oralchir  { grid-column: span 3; grid-row: 2; }
.hk-bento-svc__tile--narkose   { grid-column: span 3; grid-row: 2; }

.hk-bento-svc__tile--cmd       { grid-column: span 4; grid-row: 4; }
.hk-bento-svc__tile--angst     { grid-column: span 4; grid-row: 4; }
.hk-bento-svc__tile--aligner   { grid-column: span 4; grid-row: 4; }

.hk-services__bento > .hk-bento-svc__tile--sanierung { grid-column: span 12; grid-row: 3; min-height: 300px; }


/* CTA als vollbreites Abschluss-Band (Reihe 6) */
.hk-services__bento > .hk-bento-svc__tile--cta {
    grid-column: span 12;
    grid-row: 5;
    align-items: center;
    text-align: center;
    min-height: 200px;
}
.hk-bento-svc__tile--cta .hk-bento-svc__body { align-items: center; }
.hk-bento-svc__tile--cta .hk-bento-svc__desc { max-width: 56ch; }

/* Hero-Tile höher machen */
.hk-bento-svc__tile--implant   { min-height: 540px; }

/* Tile-Grundstil */
.hk-bento-svc__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-tile);
    overflow: hidden;
    color: var(--color-text-primary);
    text-decoration: none;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    box-shadow: var(--shadow-soft);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
    isolation: isolate;
    min-height: 260px;
}
.hk-bento-svc__tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
    color: var(--color-text-primary);
}

/* --- Variante: Foto-Tile */
.hk-bento-svc__tile--photo { color: #fff; border: 0; }
.hk-bento-svc__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
    transition: transform 600ms var(--ease-out);
}
.hk-bento-svc__tile--photo:hover .hk-bento-svc__img { transform: scale(1.04); }
.hk-bento-svc__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0)    0%,
        rgba(10, 37, 64, 0)    25%,
        rgba(10, 37, 64, 0.55) 70%,
        rgba(10, 37, 64, 0.92) 100%);
    z-index: 1;
}
.hk-bento-svc__tile--implant .hk-bento-svc__overlay {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.15) 0%,
        rgba(10, 37, 64, 0.35) 35%,
        rgba(10, 37, 64, 0.75) 75%,
        rgba(10, 37, 64, 0.94) 100%);
}

/* --- Variante: Gradient-Tile mit großem Hintergrund-Icon */
.hk-bento-svc__tile--gradient {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%);
}
.hk-bento-svc__tile--gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 15%,
        rgba(255,255,255,0.18) 0%,
        transparent 55%);
    pointer-events: none;
    z-index: 1;
}
.hk-bento-svc__bg-icon {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 0.18;
    pointer-events: none;
    color: #fff;
    display: block;
}
.hk-bento-svc__bg-icon :is(svg) {
    width: 200px;
    height: 200px;
    display: block;
}

/* --- Variante: CTA-Akzent-Tile (Tint, kein Bild) */
.hk-bento-svc__tile--accent {
    background: var(--color-primary-tint-2);
    border: 0;
    justify-content: center;
    padding: var(--space-xl);
}
.hk-bento-svc__tile--accent .hk-bento-svc__body { padding: 0; }
.hk-bento-svc__tile--accent .hk-bento-svc__title { color: var(--color-primary-dark); }
.hk-bento-svc__tile--accent .hk-bento-svc__desc  { color: var(--color-text-body); }

/* --- Body / Text */
.hk-bento-svc__body {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.hk-bento-svc__title {
    font-size: var(--font-h3);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    margin: 0;
}
.hk-bento-svc__tile--implant .hk-bento-svc__title {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.1;
}
.hk-bento-svc__desc {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.hk-bento-svc__tile--photo .hk-bento-svc__desc { color: rgba(255,255,255,0.92); }
.hk-bento-svc__tile--gradient .hk-bento-svc__desc { color: rgba(255,255,255,0.92); }
.hk-bento-svc__tile--photo .hk-bento-svc__title,
.hk-bento-svc__tile--gradient .hk-bento-svc__title { color: #fff; }
.hk-bento-svc__eyebrow {
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.hk-bento-svc__tile--accent .hk-eyebrow {
    color: var(--color-primary);
}

/* Arrow rechts unten (kleine Tiles) */
.hk-bento-svc__arrow {
    align-self: flex-end;
    display: inline-flex;
    margin-top: var(--space-xs);
    color: inherit;
    opacity: 0.65;
    transform: translateX(-4px);
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}
.hk-bento-svc__tile:hover .hk-bento-svc__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* CTA-Tile: Pfeil-Link statt nackter Pfeil */
.hk-bento-svc__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: var(--space-sm);
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    transition: gap var(--duration-base) var(--ease-out);
}
.hk-bento-svc__tile--cta:hover .hk-bento-svc__cta {
    gap: 0.7rem;
    color: var(--color-primary-700);
}

/* ---------- Tablet: 2-spaltig, Hero über volle Breite */
@media (max-width: 1024px) {
    .hk-services__bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(220px, auto);
    }
    .hk-services__bento > .hk-bento-svc__tile {
        grid-column: span 1;
        grid-row: auto;
        min-height: 240px;
    }
    .hk-bento-svc__tile--implant {
        grid-column: 1 / -1;
        min-height: 360px;
    }
    .hk-services__bento > .hk-bento-svc__tile--cta {
        grid-column: 1 / -1;
    }
    .hk-services__bento > .hk-bento-svc__tile--sanierung {
        grid-column: 1 / -1;
        min-height: 280px;
    }
}

/* ---------- Mobile: alles untereinander */
@media (max-width: 640px) {
    .hk-services__bento { grid-template-columns: 1fr; }
    .hk-services__bento > .hk-bento-svc__tile {
        grid-column: 1 / -1;
        min-height: 220px;
    }
    .hk-bento-svc__tile--implant { min-height: 320px; }
}
.hk-link {
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}
.hk-link:hover { color: var(--color-primary-700); }

/* =============================================================
   ZAHNBURG TEASER
   ============================================================= */
.hk-zahnburg-teaser {
    padding-block: var(--space-3xl);
    background: linear-gradient(135deg,
        var(--color-zahnburg-warm) 0%,
        var(--color-zahnburg-accent-tint) 100%);
}
.hk-zahnburg-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-zahnburg-teaser__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-card);
}
.hk-eyebrow--zahnburg { color: var(--color-zahnburg-accent); }
.hk-zahnburg-teaser__text h2 {
    margin-top: var(--space-sm);
    color: var(--color-primary-dark);
}
.hk-zahnburg-teaser__text p {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    max-width: 48ch;
    line-height: var(--leading-body);
    margin-bottom: var(--space-lg);
}
.hk-zahnburg-teaser .hk-btn--primary {
    background: var(--color-zahnburg-accent);
    color: var(--color-text-inverse);
}
.hk-zahnburg-teaser .hk-btn--primary:hover {
    background: #4F9C97;
    color: var(--color-text-inverse);
}

/* =============================================================
   DIGITAL CHECK-IN
   ============================================================= */
.hk-checkin {
    padding-block: var(--space-3xl);
    background: var(--color-bg-card);
}
.hk-checkin__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-checkin__text .hk-eyebrow { color: var(--color-primary); }
.hk-checkin__text h2 { margin-top: var(--space-sm); }
.hk-checkin__text > p {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    line-height: var(--leading-body);
    max-width: 48ch;
}
.hk-checkin__list {
    list-style: none;
    padding: 0;
    margin-block: var(--space-lg);
    display: grid;
    gap: var(--space-sm);
}
.hk-checkin__list li {
    padding-left: 1.8rem;
    position: relative;
    color: var(--color-text-body);
}
.hk-checkin__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-checkin__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hk-checkin__image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card, 16px);
    box-shadow: var(--shadow-deep);
    object-fit: cover;
}

/* =============================================================
   OWNER / Dr. Holtkamp
   ============================================================= */
.hk-owner {
    padding-block: var(--space-3xl);
    background: linear-gradient(180deg, var(--color-bg-page) 0%, var(--color-primary-tint-2) 100%);
}
.hk-owner__inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-owner__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-elevated);
}
.hk-owner__text .hk-eyebrow { color: var(--color-primary); }
.hk-owner__text h2 {
    margin-top: var(--space-sm);
    line-height: 1.15;
}
.hk-owner__msc {
    display: block;
    margin-top: var(--space-sm);
    font-family: var(--font-sans);
    font-size: var(--font-body);
    font-weight: var(--fw-medium);
    color: var(--color-primary);
    letter-spacing: 0;
}
.hk-owner__text > p {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    max-width: 56ch;
    line-height: var(--leading-body);
}
.hk-owner__stations {
    list-style: none;
    padding: 0;
    margin-block: var(--space-lg);
    display: grid;
    gap: var(--space-sm);
}
.hk-owner__stations li {
    padding-left: var(--space-md);
    border-left: 2px solid var(--color-primary);
    color: var(--color-text-body);
}
.hk-owner__stations strong {
    display: inline-block;
    min-width: 90px;
    color: var(--color-text-primary);
    font-weight: var(--fw-semibold);
}

/* =============================================================
   PRAXIS-VIDEO  —  Vimeo-Facade (Klick-to-Play, DSGVO-freundlich)
   16:9-Rahmen, Play-Button im Markenblau, Caption unten links.
   ============================================================= */
.hk-video { padding-block: var(--space-3xl); background: var(--color-bg-page); }
.hk-video__inner { max-width: 980px; }

.hk-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    background: var(--color-primary-dark);
}

/* Facade-Button: füllt den Rahmen, kein Default-Button-Look */
.hk-video__facade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: none;
    color: #fff;
    -webkit-appearance: none;
    appearance: none;
}
.hk-video__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hk-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,64,0.05) 0%, rgba(10,37,64,0.10) 55%, rgba(10,37,64,0.55) 100%);
    transition: background 0.3s ease;
}

/* Play-Button mittig */
.hk-video__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 84px; height: 84px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 28px -8px rgba(0,97,142,0.65);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), background 0.25s ease;
}
.hk-video__play svg { margin-left: 4px; } /* optische Mitte des Dreiecks */

/* Caption unten links */
.hk-video__caption {
    position: absolute;
    left: var(--space-xl);
    bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    text-shadow: 0 1px 12px rgba(10,37,64,0.45);
}
.hk-video__caption-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--font-body-lg);
    letter-spacing: var(--tracking-display);
}
.hk-video__caption-meta {
    font-size: var(--font-body-sm);
    opacity: 0.85;
}

/* Hover / Focus */
.hk-video__facade:hover .hk-video__thumb,
.hk-video__facade:focus-visible .hk-video__thumb { transform: scale(1.04); }
.hk-video__facade:hover .hk-video__play,
.hk-video__facade:focus-visible .hk-video__play {
    transform: translate(-50%, -50%) scale(1.08);
    background: var(--color-primary-700);
}
.hk-video__facade:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* iframe nach Klick (ersetzt die Facade) */
.hk-video__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hk-video__privacy {
    margin-top: var(--space-md);
    text-align: center;
    font-size: var(--font-body-sm);
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .hk-video__play { width: 64px; height: 64px; }
    .hk-video__play svg { width: 26px; height: 26px; }
    .hk-video__caption { left: var(--space-md); bottom: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
    .hk-video__thumb,
    .hk-video__play { transition: none; }
}

/* --- Self-hosted Hochformat-Video (Praxisvorstellung 9:16) --- */
.hk-video__inner { max-width: 980px; }
.hk-video__frame--portrait {
    aspect-ratio: 9 / 16;
    width: auto;
    max-width: 420px;
    margin-inline: auto;
    background: #000;
}
.hk-video__frame--portrait .hk-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Facade liegt über dem Video, verschwindet beim Klick */
.hk-video__frame--portrait .hk-video__facade {
    transition: opacity 0.35s ease;
}
.hk-video__frame--portrait .hk-video__facade.is-hidden {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 480px) {
    .hk-video__frame--portrait { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-video__frame--portrait .hk-video__facade { transition: none; }
}

/* --- Zwei-Video-Layout: Imagefilm (16:9) + Praxisvorstellung (9:16) --- */
.hk-video__inner { max-width: 1080px; }
.hk-video__grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-top: var(--space-2xl);
}
.hk-video__card {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
/* Beide Frames teilen Radius/Shadow/Hintergrund */
.hk-video__frame--wide,
.hk-video__frame--portrait {
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    background: var(--color-primary-dark);
}
/* Imagefilm 16:9, volle Kartenbreite */
.hk-video__frame--wide {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
/* Praxisvorstellung 9:16 — auf gleiche Höhe wie der Imagefilm gebracht,
   dazu in der Karte mittig (Karte ist schmaler, Video noch schmaler) */
.hk-video__frame--portrait {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
    background: #000;
}
/* Label unter jeder Karte */
.hk-video__label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.hk-video__label-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--font-body-lg);
    color: var(--color-text);
    letter-spacing: var(--tracking-display);
}
.hk-video__label-meta {
    font-size: var(--font-body-sm);
    color: var(--color-text-muted);
}

/* Mobile: Karten untereinander */
@media (max-width: 860px) {
    .hk-video__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        max-width: 480px;
        margin-inline: auto;
    }
    .hk-video__frame--portrait { max-width: 360px; }
    .hk-video__label { text-align: center; align-items: center; }
}
@media (max-width: 480px) {
    .hk-video__frame--portrait { max-width: 300px; }
}

/* =============================================================
   IMAGEFILM in der Inhaberin-Sektion (Vita) — 16:9 in Media-Spalte
   ============================================================= */
/* Media-Spalte: Foto oben + Imagefilm darunter, gestapelt */
.hk-owner__media {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.hk-owner__photo { margin: 0; }
.hk-owner__photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 28%;
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-elevated);
    display: block;
}
.hk-owner__video { margin: 0; }
.hk-owner__video .hk-video__frame--wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    background: var(--color-primary-dark);
}
.hk-owner__video-cap {
    margin-top: var(--space-sm);
    font-size: var(--font-body-sm);
    color: var(--color-text-muted);
    text-align: left;
}

/* =============================================================
   PRAXISVORSTELLUNG — Split-Layout: Text + Hochformat-Video
   (ersetzt das alte 2-Karten-Grid, kein Whitespace mehr)
   ============================================================= */
.hk-video--split { padding-block: var(--space-3xl); background: var(--color-bg-page); }
.hk-video__split {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1080px;
}
.hk-video__split-text .hk-eyebrow { color: var(--color-primary); }
.hk-video__split-text h2 { margin: var(--space-xs) 0 var(--space-md); }
.hk-video__split-lede {
    color: var(--color-text-muted);
    font-size: var(--font-body-lg);
    margin: 0 0 var(--space-lg);
    max-width: 52ch;
}
.hk-video__split-points {
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.hk-video__split-points li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--color-text);
}
.hk-video__split-points li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.15em;
    width: 1.25rem; height: 1.25rem;
    border-radius: var(--radius-pill);
    background: var(--color-primary-tint-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300618E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.8rem;
}
/* Portrait-Video in der rechten Split-Spalte: volle Spaltenbreite (360px) */
.hk-video__card--portrait { margin: 0; display: flex; flex-direction: column; gap: var(--space-md); }
.hk-video__card--portrait .hk-video__frame--portrait {
    width: 100%;
    max-width: 360px;
    margin-inline: 0;
}

@media (max-width: 860px) {
    .hk-video__split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        max-width: 520px;
        margin-inline: auto;
        text-align: center;
    }
    .hk-video__split-lede { margin-inline: auto; }
    .hk-video__split-points { max-width: 30ch; margin-inline: auto; text-align: left; }
    .hk-video__card--portrait { align-items: center; }
    .hk-video__card--portrait .hk-video__frame--portrait { margin-inline: auto; }
    .hk-video__card--portrait .hk-video__label { text-align: center; align-items: center; }
}

/* =============================================================
   EQUIPMENT  —  Bento Layout (asymmetrische Kachelgrößen)
   12-Spalten-Grid, Hero-Foto-Tile in der Mitte (Mikroskop),
   plus CTA-Akzent-Tile rechts unten.
   ============================================================= */
.hk-equipment { padding-block: var(--space-3xl); background: var(--color-bg-card); }

.hk-equipment__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr);
    gap: var(--space-md);
}

/* Tile-Platzierung
   A=DVT (oben links)    B=Mikroskop-Hero (Mitte, 2 Reihen)    C=Abdruck (oben rechts)
   D=Funktionsanalyse (unten links)                                       E=CTA  (unten rechts) */
.hk-bento__tile--a { grid-column: span 3;  grid-row: 1; }
.hk-bento__tile--b { grid-column: span 6;  grid-row: 1 / span 2; }
.hk-bento__tile--c { grid-column: span 3;  grid-row: 1; }
.hk-bento__tile--d { grid-column: span 3;  grid-row: 2; }
.hk-bento__tile--e { grid-column: span 3;  grid-row: 2; }

/* Tile Grundstil */
.hk-bento__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-tile);
    overflow: hidden;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-hairline);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
    isolation: isolate;
}
.hk-bento__tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

/* Foto-Tile: Bild als Hintergrund, Text über Overlay */
.hk-bento__tile--photo { color: #fff; }
.hk-bento__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.hk-bento__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0)   0%,
        rgba(10, 37, 64, 0)   30%,
        rgba(10, 37, 64, 0.55) 75%,
        rgba(10, 37, 64, 0.88) 100%);
    z-index: 1;
}

/* Hero-Tile: stärkerer Overlay für lesbaren langen Text */
.hk-bento__overlay--hero {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.15) 0%,
        rgba(10, 37, 64, 0.35) 40%,
        rgba(10, 37, 64, 0.75) 75%,
        rgba(10, 37, 64, 0.92) 100%);
}
.hk-bento__tile--hero { min-height: 460px; padding: var(--space-xl); }

/* Akzent-CTA-Tile (Tint, kein Bild) */
.hk-bento__tile--accent {
    background: var(--color-primary-tint-2);
    border: 0;
    justify-content: center;
    padding: var(--space-xl);
}

/* Bodies */
.hk-bento__body {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
}
.hk-bento__tile--photo .hk-bento__body h3 {
    color: #fff;
    font-size: var(--font-h3);
    margin: 0 0 0.35rem;
    line-height: 1.2;
}
.hk-bento__tile--photo .hk-bento__body p {
    color: rgba(255,255,255,0.92);
    line-height: 1.45;
    margin: 0;
    font-size: 0.95rem;
}

.hk-bento__body--hero { padding: 0; }
.hk-bento__eyebrow {
    color: rgba(255,255,255,0.85);
    margin: 0 0 var(--space-xs);
}
.hk-bento__tile--hero .hk-bento__body--hero h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.1;
    margin: 0 0 var(--space-sm);
}
.hk-bento__tile--hero .hk-bento__body--hero p {
    color: rgba(255,255,255,0.92);
    line-height: 1.55;
    font-size: 1rem;
    max-width: 46ch;
    margin: 0;
}

.hk-bento__body--accent { padding: 0; }
.hk-bento__body--accent h3 {
    color: var(--color-primary-dark);
    font-size: var(--font-h3);
    line-height: 1.15;
    margin: 0 0 var(--space-sm);
}
.hk-bento__body--accent p {
    color: var(--color-text-body);
    line-height: 1.5;
    margin: 0 0 var(--space-lg);
    font-size: 0.95rem;
}
.hk-bento__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: gap var(--duration-base) var(--ease-out),
                color var(--duration-base) var(--ease-out);
}
.hk-bento__cta:hover {
    gap: 0.7rem;
    color: var(--color-primary-700);
}

/* Foto-Tiles: Pfeil-CTA zur passenden Leistungsseite */
.hk-bento__cta--photo {
    color: #fff;
    margin-top: 0.65rem;
    font-size: 0.95rem;
}
.hk-bento__cta--photo:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Tablet: 2 Spalten, Hero über volle Breite */
@media (max-width: 1024px) {
    .hk-equipment__bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .hk-bento__tile--a,
    .hk-bento__tile--c,
    .hk-bento__tile--d,
    .hk-bento__tile--e {
        grid-column: span 1;
        grid-row: auto;
        min-height: 240px;
    }
    .hk-bento__tile--b {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 360px;
    }
}

/* Mobile: alles untereinander */
@media (max-width: 640px) {
    .hk-equipment__bento { grid-template-columns: 1fr; }
    .hk-bento__tile--a,
    .hk-bento__tile--b,
    .hk-bento__tile--c,
    .hk-bento__tile--d,
    .hk-bento__tile--e {
        grid-column: 1 / -1;
        min-height: 240px;
    }
    .hk-bento__tile--b { min-height: 320px; }
}

/* =============================================================
   REVIEWS
   ============================================================= */
.hk-reviews {
    padding-block: var(--space-3xl);
    background: var(--color-primary-tint-2);
}
.hk-reviews__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-gold);
}
.hk-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}
.hk-review {
    background: var(--color-bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-tile);
    border: 1px solid var(--color-border-hairline);
    box-shadow: var(--shadow-soft);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.hk-review__stars { display: flex; gap: 1px; }
.hk-review p {
    color: var(--color-text-body);
    font-size: var(--font-body);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    flex: 1;
}
.hk-review footer {
    color: var(--color-text-muted);
    font-size: var(--font-body-sm);
    font-style: normal;
}
.hk-reviews__more {
    margin-top: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 2rem;
}
.hk-reviews__more .hk-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hk-reviews__more .hk-link svg { display: block; flex-shrink: 0; }

/* --- Reviews: marquee + provider badges (Endlos-Slider) ----------------- */
.hk-reviews__sources {
    margin-top: 0.4rem;
    color: var(--color-text-muted);
    font-size: var(--font-body-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
}
.hk-reviews__src {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-text-body);
}
.hk-reviews__src svg { display: block; }

.hk-reviews-marquee {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-xl);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.hk-reviews-marquee__track {
    display: flex;
    gap: var(--space-lg);
    width: max-content;
    animation: hk-reviews-scroll 960s linear infinite;
    will-change: transform;
}
.hk-reviews-marquee:hover .hk-reviews-marquee__track,
.hk-reviews-marquee:focus-within .hk-reviews-marquee__track {
    animation-play-state: paused;
}
@keyframes hk-reviews-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
.hk-reviews-marquee .hk-review {
    flex: 0 0 auto;
    width: clamp(280px, 28vw, 360px);
    min-height: 220px;
}
.hk-reviews-marquee .hk-review p {
    flex: 1;
}
.hk-review__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}
.hk-review__src {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.hk-review__src svg { display: block; }

@media (prefers-reduced-motion: reduce) {
    .hk-reviews-marquee__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
    }
    .hk-reviews-marquee { mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 768px) {
    .hk-reviews-marquee__track { animation-duration: 600s; }
    .hk-reviews-marquee .hk-review { width: 80vw; }
}


/* =============================================================
   LOCATION
   ============================================================= */
.hk-location {
    padding-block: var(--space-3xl);
    background: var(--color-bg-card);
}
.hk-location__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-location__text .hk-eyebrow { color: var(--color-primary); }
.hk-location__text h2 { margin-top: var(--space-sm); max-width: 18ch; }
.hk-location__address {
    margin-top: var(--space-lg);
    font-style: normal;
    line-height: 1.6;
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
}
.hk-location__address strong { color: var(--color-text-primary); }
.hk-location__hours {
    margin-top: var(--space-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem var(--space-md);
}
.hk-location__hours dt {
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
}
.hk-location__hours dd { margin: 0; color: var(--color-text-primary); }
.hk-location__actions {
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.hk-location__map-link {
    display: block;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--duration-base) var(--ease-out);
}
.hk-location__map-link:hover { transform: scale(1.02); }
.hk-location__map img {
    width: 100%;
    height: auto;
    display: block;
}
.hk-location__map-frame {
    display: block;
    width: 100%;
    height: 480px;
    border: 0;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
    .hk-location__map-frame { height: 320px; }
}

/* =============================================================
   ZAHNBURG-Overrides: Front-Page-Akzente
   ============================================================= */
body.hk-brand-zahnburg .hk-hero__accent {
    background: linear-gradient(120deg, var(--color-zahnburg-accent) 0%, var(--color-zahnburg-warm) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
body.hk-brand-zahnburg .hk-usp__icon,
body.hk-brand-zahnburg .hk-service__icon {
    background: var(--color-zahnburg-accent-tint);
    color: var(--color-zahnburg-accent);
}

/* =============================================================
   RESPONSIVE — Front-Page
   ============================================================= */
@media (max-width: 1180px) {
    .hk-mega__inner {
        grid-template-columns: 280px 1fr 1fr 1fr;
        gap: var(--space-lg);
    }
    .hk-mega__teaser { min-height: 260px; padding: var(--space-lg); }
    .hk-mega__teaser-title { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
    .hk-zahnburg-teaser__inner,
    .hk-checkin__inner,
    .hk-owner__inner,
    .hk-location__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .hk-usps__inner { grid-template-columns: repeat(2, 1fr); }
    /* Mega: Teaser oben über volle Breite, dann 3 Spalten darunter */
    .hk-mega__inner {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "teaser teaser teaser"
            "col1 col2 col3";
    }
    .hk-mega__teaser { grid-area: teaser; min-height: 180px; }
}

@media (max-width: 1180px) {
    .hk-mega { display: none; } /* Mobile: ersetzen durch Drawer (siehe burger) */
}

@media (max-width: 640px) {
    .hk-usps__inner { grid-template-columns: 1fr; }
    .hk-services__grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
    .hk-service { padding: var(--space-lg); }
    .hk-service__icon { width: 44px; height: 44px; }
    .hk-checkin__image { max-width: 280px; }
    .hk-location__actions { flex-direction: column; align-items: stretch; }
    .hk-location__actions .hk-btn { justify-content: center; }
}

/* =============================================================
   FOOTER SITEMAP (komplette Navigation)
   ============================================================= */
.hk-footer { padding-top: 0; } /* override prev rule */

.hk-footer__sitemap-wrap {
    padding-block: var(--space-3xl) var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hk-footer__sitemap-eyebrow {
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: var(--space-xl);
}
.hk-footer__sitemap {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-xl);
}
.hk-footer__sitemap-section {
    min-width: 0; /* allow text-wrap */
}
.hk-footer__sitemap-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hk-footer__sitemap-title a {
    color: var(--color-text-inverse);
    transition: color var(--duration-fast) var(--ease-out);
}
.hk-footer__sitemap-title a:hover {
    color: var(--color-primary-tint-1);
}
.hk-footer__sitemap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.hk-footer__sitemap-list a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-body-sm);
    line-height: 1.45;
    transition: color var(--duration-fast) var(--ease-out),
                padding-left var(--duration-fast) var(--ease-out);
    display: inline-block;
}
.hk-footer__sitemap-list a:hover {
    color: var(--color-text-inverse);
    padding-left: 4px;
}

/* Info-Strip im Footer (war vorher hk-footer__inner) */
.hk-footer__info-wrap {
    padding-block: var(--space-2xl);
}
.hk-footer__info {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

/* ============= Responsive Footer ============= */
@media (max-width: 1180px) {
    .hk-footer__sitemap { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .hk-footer__sitemap { grid-template-columns: repeat(3, 1fr); }
    .hk-footer__info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .hk-footer__sitemap { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .hk-footer__info { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .hk-footer__sitemap { grid-template-columns: 1fr; }
}

/* =============================================================
   STICKY QUICK-ACTIONS (rechts am Rand, modern)
   ============================================================= */
.hk-quick {
    position: fixed;
    top: 50%;
    right: var(--space-md);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: var(--z-header);
    /* Immer sichtbar — auch above the fold (2026-05-29) */
    opacity: 1;
    pointer-events: auto;
    transition: opacity var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}
.hk-quick.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.hk-quick__btn {
    --hk-quick-bg: var(--color-bg-card);
    --hk-quick-color: var(--color-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--hk-quick-bg);
    color: var(--hk-quick-color);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-hairline);
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-out),
                background-color var(--duration-base) var(--ease-out),
                color var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                width var(--duration-base) var(--ease-out);
    overflow: hidden;
}
.hk-quick__btn:hover {
    transform: translateX(-4px) scale(1.05);
    box-shadow: var(--shadow-elevated);
    color: var(--hk-quick-color);
}
.hk-quick__btn svg {
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out);
}
.hk-quick__label {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    padding: 0.5rem 0.85rem;
    background: var(--color-primary-dark);
    color: var(--color-text-inverse);
    font-size: var(--font-body-sm);
    font-weight: var(--fw-medium);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
}
.hk-quick__label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-primary-dark);
}
.hk-quick__btn:hover .hk-quick__label,
.hk-quick__btn:focus-visible .hk-quick__label {
    opacity: 1;
    transform: translateX(0);
}

/* Color-Varianten pro Action */
.hk-quick__btn--call {
    --hk-quick-bg: var(--color-primary);
    --hk-quick-color: var(--color-text-inverse);
}
.hk-quick__btn--call:hover { background: var(--color-primary-700); }

.hk-quick__btn--whatsapp {
    --hk-quick-bg: #25D366;
    --hk-quick-color: var(--color-text-inverse);
}
.hk-quick__btn--whatsapp:hover { background: #1EBE5B; }

/* HK_QUICK_CHAT_INTEGRATION
 * Holli-Chat als Button in der Sticky-Leiste statt freischwebend unten rechts.
 */
.hk-quick__btn--chat {
    --hk-quick-bg: #0A2540;        /* Holli-Akzent (dunkelblau) */
    --hk-quick-color: #fff;
    cursor: pointer;
    padding: 0;
}
.hk-quick__btn--chat:hover { background: #123B66; }

/* Freischwebenden Holli-Launcher ausblenden — Trigger sitzt jetzt in .hk-quick */
.holli-chat-button { display: none !important; }

/* Chat-Fenster relativ zur Sticky-Leiste rechts positionieren */
.holli-chat-window {
    bottom: 24px;
    right: 88px;            /* neben der Sticky-Leiste */
}
@media (max-width: 900px) {
    .holli-chat-window { bottom: 90px; right: 12px; }
}

.hk-quick__btn--termin {
    --hk-quick-bg: var(--color-gold);
    --hk-quick-color: var(--color-text-inverse);
    width: auto;
    padding-inline: 1.1rem;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-semibold);
    font-size: var(--font-body-sm);
    gap: 0.5rem;
}
.hk-quick__btn--termin:hover { background: #B58A36; }

/* Tooltip-Pfeil-Position bei termin (text-button) */
.hk-quick__btn--termin .hk-quick__label { display: none; }

/* Mobile: fixe Bottom-App-Bar über volle Breite (Backöfele-Mechanik, HK-CI).
   Aus der vertikalen Seitenleiste wird eine Zeile am unteren Bildschirmrand.
   Alle Buttons rund + gleich groß, space-evenly verteilt, Glas-Hintergrund,
   env(safe-area-inset-bottom) für iPhone-Notch. */
@media (max-width: 640px) {
    .hk-quick {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        gap: 0;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom)) 8px;
        background: rgba(255, 255, 255, 0.72);
        -webkit-backdrop-filter: saturate(180%) blur(12px);
        backdrop-filter: saturate(180%) blur(12px);
        border-top: 1px solid var(--color-border-hairline);
        box-shadow: 0 -2px 16px rgba(10, 37, 64, 0.14);
    }
    /* Alle Slots identisch rund — auch der Termin-Button (Text raus) */
    .hk-quick__btn { width: 46px; height: 46px; }
    .hk-quick__btn:hover { transform: none; }
    .hk-quick__btn--termin {
        width: 46px;
        height: 46px;
        padding-inline: 0;
        border-radius: 50%;
    }
    .hk-quick__btn--termin > span { display: none; }   /* "Termin"-Text weg, nur Icon */
    .hk-quick__label { display: none; }
    /* Footer-Freiraum: nichts wird von der Bar verdeckt */
    body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

/* =============================================================
   TRANSPARENTE NAVIGATION (über Hero) — Kontrast: WEISS auf Bild
   ============================================================= */
.hk-header {
    background-color: transparent;
    border-bottom: none;
    position: absolute;
    inset: 0 0 auto 0;
    z-index: var(--z-header);
}
/* Topbar dunkel-blau halbtransparent — heller Text */
.hk-topbar {
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hk-mainbar {
    background-color: transparent;
}
.hk-mainbar__inner {
    border-bottom: none;
}

/* --- Logo: WEISS über Hero --- */
.hk-header:not(.is-sticky) .hk-logo-fallback,
.hk-header:not(.is-sticky) .hk-logo-name {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 12px rgba(10, 37, 64, 0.35);
}
.hk-header:not(.is-sticky) .hk-logo-claim {
    color: rgba(255, 255, 255, 0.8);
}
/* SVG-Logo: über transparentem Hero das helle Logo zeigen, dunkles ausblenden */
.hk-header:not(.is-sticky) .hk-logo__img--light { display: block; }
.hk-header:not(.is-sticky) .hk-logo__img--dark  { display: none; }
/* Wenn das Mega-Panel offen ist, hat der Header soliden BG → dunkles Logo */
body.hk-mega-open .hk-header:not(.is-sticky) .hk-logo__img--light { display: none; }
body.hk-mega-open .hk-header:not(.is-sticky) .hk-logo__img--dark  { display: block; }

/* --- Nav-Links: WEISS über Hero, alle gleich (kein Türkis-Sonderfall) --- */
.hk-header:not(.is-sticky) .hk-nav__link {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.4);
    font-weight: var(--fw-semibold);
}
.hk-header:not(.is-sticky) .hk-nav__link:hover,
.hk-header:not(.is-sticky) .menu-item.current-menu-item > .hk-nav__link,
.hk-header:not(.is-sticky) .menu-item.current-menu-ancestor > .hk-nav__link {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-text-inverse);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
/* Chevron auch weiß */
.hk-header:not(.is-sticky) .hk-nav__chev {
    opacity: 0.85;
}

/* --- Zahnburg-Sonderfarbe NUR auf dem Mega-Panel selbst,
       NICHT mehr auf dem Top-Item-Link (überall gleicher Kontrast) --- */
.hk-header:not(.is-sticky) .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-inverse); /* identisch zu allen anderen */
}
/* Auch im Sticky-Mode: gleicher Stil wie andere Items */
.hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-primary);
}
.hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link:hover {
    background-color: var(--color-primary-tint-2);
    color: var(--color-primary-700);
}

/* --- Burger: weisser Hintergrund über Hero --- */
.hk-header:not(.is-sticky) .hk-burger {
    border-color: rgba(255, 255, 255, 0.5);
}
.hk-header:not(.is-sticky) .hk-burger__bar {
    background: var(--color-text-inverse);
}

/* --- Termin-CTA (gold/primary): immer kontrast --- */
.hk-header:not(.is-sticky) .hk-cta__termin {
    background: var(--color-text-inverse);
    color: var(--color-primary);
}
.hk-header:not(.is-sticky) .hk-cta__termin:hover {
    background: var(--color-primary-tint-1);
    color: var(--color-primary-700);
}

/* Body-Padding für transparente Header zurücksetzen */
body { padding-top: 0 !important; }

/* Wenn Sticky-Mode (Scroll > 100px) → weißer Hintergrund mit Blur */
.hk-header.is-sticky {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-hairline);
    box-shadow: var(--shadow-soft);
    animation: hk-slidedown var(--duration-base) var(--ease-out);
}
.hk-header.is-sticky .hk-topbar { display: none; }
.hk-header.is-sticky .hk-mainbar__inner {
    border-bottom: none;
}

/* Hero: Padding ist im Hero-Block selbst geregelt (160px Top inkl. Nav-Höhe) */

/* Page-Hero (alle Sub-Pages) muss Platz für transparente Nav lassen */
.hk-pagehero {
    padding-top: calc(var(--space-2xl) + 80px);
}

/* Beim Mega-Open: Header bekommt soliden Hintergrund (sonst hängt das Mega in der Luft) */
body.hk-mega-open .hk-header:not(.is-sticky) {
    background: var(--color-bg-card);
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-mainbar {
    background: var(--color-bg-card);
}

/* Mega-Open + transparenter Header: Inhalte auf dunkel umschalten (sonst weiß auf weiß) */
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__link,
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-primary);
    text-shadow: none;
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__link:hover,
body.hk-mega-open .hk-header:not(.is-sticky) .menu-item.current-menu-item > .hk-nav__link,
body.hk-mega-open .hk-header:not(.is-sticky) .menu-item.current-menu-ancestor > .hk-nav__link {
    background-color: var(--color-primary-tint-2);
    color: var(--color-primary-700);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-burger {
    border-color: var(--color-border);
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-burger__bar {
    background: var(--color-text-primary);
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-cta__termin {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
body.hk-mega-open .hk-header:not(.is-sticky) .hk-cta__termin:hover {
    background: var(--color-primary-700);
    color: var(--color-text-inverse);
}


/* Footer-Logo: helle Variante über dunklem Footer-BG */
.hk-footer__brand .hk-logo__img--light { display: block; }
.hk-footer__brand .hk-logo__img--dark  { display: none; }


/* =============================================================
   KI-Transparenzhinweis (EU AI Act) — Holtkamp
   ============================================================= */

/* ----- KI-Hinweis Pill neben dem Logo ----- */
.hk-brand { gap: var(--space-sm); }
.hk-ki-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(10, 37, 64, 0.22);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-muted, #4a5b73);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color var(--duration-fast, 150ms) var(--ease-out, ease-out),
                background-color var(--duration-fast, 150ms) var(--ease-out, ease-out),
                color var(--duration-fast, 150ms) var(--ease-out, ease-out);
}
.hk-ki-pill:hover,
.hk-ki-pill:focus-visible {
    border-color: var(--color-primary, #00618E);
    color: var(--color-primary, #00618E);
    background: rgba(0, 97, 142, 0.04);
}
.hk-ki-pill .hk-icon { flex-shrink: 0; opacity: 0.85; }

/* Wenn der transparente Header über dem Hero liegt, hellere Variante */
.hk-header.is-transparent .hk-ki-pill,
.hk-header.hk-header--transparent .hk-ki-pill {
    border-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.95);
}
.hk-header.is-transparent .hk-ki-pill:hover,
.hk-header.hk-header--transparent .hk-ki-pill:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
    .hk-ki-pill span { display: none; }
    .hk-ki-pill { padding: 0.35rem; }
}

/* ----- KI-Transparenzhinweis-Block im Footer ----- */
.hk-footer__ki-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: var(--space-lg, 1.5rem);
    background: rgba(0, 0, 0, 0.10);
    scroll-margin-top: 120px;
}
.hk-footer__ki {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--font-body-sm, 0.9rem);
    line-height: 1.55;
}
.hk-footer__ki-title {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    margin: 0 0 var(--space-sm, 0.75rem) 0;
}
.hk-footer__ki p { margin: 0 0 var(--space-xs, 0.5rem) 0; }
.hk-footer__ki p:last-child { margin-bottom: 0; }
.hk-footer__ki strong { color: #fff; font-weight: 600; }
.hk-footer__ki-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 0.25rem;
    white-space: nowrap;
}
.hk-footer__ki-link:hover { color: var(--color-primary-tint-1, #4aa3c9); }


/* =============================================================
   Cookie-Einstellungen (Page /cookie-einstellungen/)
   ============================================================= */
.hk-cookie-prefs {
    margin: var(--space-lg, 1.5rem) 0;
    border: 1px solid var(--color-border, rgba(10, 37, 64, 0.12));
    border-radius: var(--radius-md, 0.5rem);
    overflow: hidden;
    background: var(--color-bg-card, #fff);
}
.hk-cookie-prefs__category {
    padding: var(--space-md, 1rem) var(--space-lg, 1.5rem);
    border-top: 1px solid var(--color-border, rgba(10, 37, 64, 0.08));
}
.hk-cookie-prefs__category:first-child { border-top: 0; }
.hk-cookie-prefs__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md, 1rem);
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}
.hk-cookie-prefs__row h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text, #0A2540);
}
.hk-cookie-prefs__status {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(10, 37, 64, 0.06);
    color: var(--color-text-muted, #4a5b73);
    white-space: nowrap;
}
.hk-cookie-prefs__status--required {
    background: rgba(0, 97, 142, 0.12);
    color: var(--color-primary, #00618E);
}
.hk-cookie-prefs__category p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--color-text-muted, #4a5b73);
    line-height: 1.55;
}


/* ==========================================================
 * HK_FAQ_BLOCK  —  Globaler FAQ-Akkordeon-Block (über Reviews)
 * ========================================================== */
/* HK_FAQ_BLOCK */
.hk-faq {
    background: #fff;
    padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
    border-top: 1px solid #eef2f7;
}
.hk-faq .hk-section-head {
    margin-bottom: clamp(24px, 3vw, 40px);
}
.hk-faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.hk-faq__item {
    background: #f8fafc;
    border: 1px solid #e6ecf2;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.hk-faq__item[open] {
    background: #fff;
    border-color: #d4e0ec;
    box-shadow: 0 6px 24px -12px rgba(10,37,64,.18);
}
.hk-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-weight: 600;
    color: #0A2540;
    font-size: clamp(1rem, 1.5vw, 1.075rem);
    line-height: 1.4;
    user-select: none;
}
.hk-faq__q::-webkit-details-marker { display: none; }
.hk-faq__q::marker { display: none; content: ''; }
.hk-faq__q:hover { color: #1d4d8c; }
.hk-faq__q-text { flex: 1; }
.hk-faq__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 999px;
    background: #eaf1f9;
    color: #1d4d8c;
    transition: transform .25s ease, background .2s ease;
}
.hk-faq__item[open] .hk-faq__icon {
    transform: rotate(180deg);
    background: #d4e6f8;
}
.hk-faq__a {
    padding: 0 22px 20px 22px;
    color: #3e556d;
    line-height: 1.65;
    font-size: .98rem;
}
.hk-faq__a p { margin: 0 0 .75em; }
.hk-faq__a p:last-child { margin-bottom: 0; }
.hk-faq__a ul, .hk-faq__a ol { margin: 0 0 .75em 1.25em; }
.hk-faq__a a { color: #1d4d8c; text-decoration: underline; }

@media (max-width: 640px) {
    .hk-faq__q { padding: 16px 16px; font-size: .98rem; }
    .hk-faq__a { padding: 0 16px 16px 16px; font-size: .94rem; }
}

/* =============================================================
   KONTAKT-SEITE V2 — komplette Sektionen
   ============================================================= */

/* Alte V1-Reste (hk-kontakthero, hk-location__map-frame im Kontakt) bleiben
   weiter im Stylesheet, werden aber nicht mehr referenziert. */

.hk-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------
   1. MAP-HERO
   ------------------------------------------------------------- */
.hk-kontakt-hero {
    /* Oben genug Platz, damit der transparente, ueberlagernde Header den Inhalt
       (Breadcrumb/Karte/Titel) nicht verdeckt - analog zur .hk-lhero-Logik. */
    padding-block: 150px var(--space-3xl);
    background: var(--color-bg-page);
}
.hk-kontakt-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}
.hk-kontakt-hero__map {
    position: relative;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    min-height: 520px;
    background: var(--color-bg-elevated);
}
.hk-kontakt-hero__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.hk-kontakt-hero__map-cta {
    position: absolute;
    left: var(--space-md);
    bottom: var(--space-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-card);
    color: var(--color-primary);
    font-weight: var(--fw-semibold);
    font-size: var(--font-body-sm);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-card);
    text-decoration: none;
}
.hk-kontakt-hero__map-cta:hover { color: var(--color-primary-700); }

.hk-kontakt-hero__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}
.hk-kontakt-hero__text h1 {
    font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
}
.hk-kontakt-hero__lede {
    color: var(--color-text-body);
    font-size: var(--font-body-lg);
    line-height: var(--leading-body);
    max-width: 52ch;
}
.hk-kontakt-hero__address {
    font-style: normal;
    line-height: 1.55;
    color: var(--color-text-body);
    font-size: var(--font-body-lg);
}
.hk-kontakt-hero__address strong { color: var(--color-text-primary); }
.hk-kontakt-hero__quick {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hk-kontakt-hero__quick a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-primary);
    font-weight: var(--fw-medium);
}
.hk-kontakt-hero__quick svg { color: var(--color-primary); }
.hk-kontakt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-sm);
}

/* -------------------------------------------------------------
   2. KONTAKTWEGE Cards (anchor-wrapper Variante)
   ------------------------------------------------------------- */
.hk-kontakt-ways {
    padding-block: var(--space-3xl);
    background: var(--color-bg-card);
}
.hk-kontakt-ways .hk-section-head {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}
.hk-kontakt-ways .hk-section-head__lede { margin-inline: auto; }

.hk-kontakt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

a.hk-kontakt-card {
    text-decoration: none;
    color: inherit;
}
.hk-kontakt-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-container);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.hk-kontakt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--color-border-medium);
}
.hk-kontakt-card__icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--color-primary-tint-2);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hk-kontakt-card__icon--wa { background: #E7F8EE; color: #25D366; }
.hk-kontakt-card__title {
    font-size: var(--font-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
    margin: 0;
}
.hk-kontakt-card__lede {
    color: var(--color-text-body);
    margin: 0;
    flex-grow: 1;
    line-height: var(--leading-body);
}
.hk-kontakt-card__primary {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    margin-top: var(--space-xs);
    word-break: break-word;
}
.hk-kontakt-card:hover .hk-kontakt-card__primary { color: var(--color-primary-700); }
.hk-kontakt-card__meta {
    display: grid; gap: 0.125rem; margin: 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-hairline);
    font-size: var(--font-body-sm);
}
.hk-kontakt-card__meta dt {
    color: var(--color-text-muted);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-label);
    font-size: var(--font-label);
}
.hk-kontakt-card__meta dd { margin: 0; color: var(--color-text-primary); font-weight: var(--fw-medium); }
.hk-kontakt-card__meta dd + dt { margin-top: 0.45rem; }

.hk-kontakt-card--accent {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-inverse);
    border-color: transparent;
    box-shadow: var(--shadow-card);
}
.hk-kontakt-card--accent .hk-kontakt-card__icon { background: rgba(255,255,255,0.16); color: var(--color-text-inverse); }
.hk-kontakt-card--accent .hk-kontakt-card__title,
.hk-kontakt-card--accent .hk-kontakt-card__primary { color: var(--color-text-inverse); }
.hk-kontakt-card--accent .hk-kontakt-card__lede { color: rgba(255,255,255,0.85); }
.hk-kontakt-card--accent:hover .hk-kontakt-card__primary { color: rgba(255,255,255,0.85); }
.hk-kontakt-card--accent .hk-kontakt-card__meta { border-top-color: rgba(255,255,255,0.2); }
.hk-kontakt-card--accent .hk-kontakt-card__meta dt { color: rgba(255,255,255,0.7); }
.hk-kontakt-card--accent .hk-kontakt-card__meta dd { color: var(--color-text-inverse); }
.hk-kontakt-card__badge {
    position: absolute; top: var(--space-md); right: var(--space-md);
    background: var(--color-gold); color: var(--color-primary-dark);
    font-size: var(--font-label); font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-label); text-transform: uppercase;
    padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
}

/* -------------------------------------------------------------
   3.+4. CHANNEL-SECTIONS (Dr. Flex / WhatsApp)
   ------------------------------------------------------------- */
.hk-kontakt-channel {
    padding-block: var(--space-3xl);
}
.hk-kontakt-channel--flex { background: var(--color-bg-page); }
.hk-kontakt-channel--wa   { background: var(--color-bg-card); }

.hk-kontakt-channel__inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-kontakt-channel__inner--rev { grid-template-columns: 1.05fr 1fr; }
@media (max-width: 1024px) {
    .hk-kontakt-channel__inner,
    .hk-kontakt-channel__inner--rev { grid-template-columns: 1fr; }
    .hk-kontakt-channel__visual { order: 2; }
}

.hk-kontakt-channel__text h2 { margin-top: var(--space-sm); max-width: 20ch; }
.hk-kontakt-channel__lede {
    margin-top: var(--space-md);
    font-size: var(--font-body-lg);
    color: var(--color-text-body);
    max-width: 56ch;
}
.hk-eyebrow--accent { color: var(--color-primary); }
.hk-eyebrow--wa     { color: #075E54; } /* WA-Brand-Teal: lesbar auf weiss (cr 8.7), #25D366 war cr 1.98 */

.hk-kontakt-channel__steps {
    list-style: none; margin: var(--space-xl) 0 0; padding: 0;
    display: flex; flex-direction: column; gap: var(--space-md);
}
.hk-kontakt-channel__steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: var(--space-md);
    align-items: start;
}
.hk-kontakt-channel__steps li > span {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    display: flex; align-items: center; justify-content: center;
    font-weight: var(--fw-bold); font-family: var(--font-display);
}
.hk-kontakt-channel__steps li > div { color: var(--color-text-body); line-height: 1.55; }
.hk-kontakt-channel__steps strong { color: var(--color-text-primary); }

.hk-kontakt-channel__features {
    margin-top: var(--space-xl);
    background: var(--color-primary-tint-2);
    border-radius: var(--radius-input);
    padding: var(--space-md) var(--space-lg);
    display: grid; gap: 0.5rem;
    font-size: var(--font-body-sm);
    color: var(--color-text-body);
}
.hk-kontakt-channel__features strong { color: var(--color-text-primary); margin-right: 0.3rem; }

.hk-kontakt-channel__cta {
    margin-top: var(--space-xl);
    display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center;
}
.hk-kontakt-channel__hours-mini {
    color: var(--color-text-muted);
    font-size: var(--font-body-sm);
}

.hk-kontakt-channel__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}
@media (max-width: 640px) {
    .hk-kontakt-channel__cols { grid-template-columns: 1fr; gap: var(--space-lg); }
}
.hk-kontakt-channel__col h3 {
    font-size: 1rem;
    font-family: var(--font-display);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}
.hk-kontakt-channel__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.5rem;
    color: var(--color-text-body);
    font-size: var(--font-body-sm);
}
.hk-kontakt-channel__list li {
    position: relative; padding-left: 1.6rem;
}
.hk-kontakt-channel__list li::before {
    content: '';
    position: absolute; left: 0; top: 0.25rem;
    width: 18px; height: 18px;
    border-radius: 50%;
    background-position: center; background-repeat: no-repeat;
    background-size: 12px 12px;
}
.hk-kontakt-channel__list--yes li::before {
    background-color: #DFF7E6;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.hk-kontakt-channel__list--no li::before {
    background-color: #FDECEC;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}

.hk-kontakt-channel__note {
    margin-top: var(--space-lg);
    display: flex; gap: var(--space-md);
    background: #FFF8E6;
    border-left: 3px solid var(--color-warning);
    border-radius: var(--radius-input);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-primary);
    font-size: var(--font-body-sm);
    line-height: 1.55;
}
.hk-kontakt-channel__note svg { color: var(--color-warning); flex-shrink: 0; margin-top: 3px; }

/* WhatsApp Button */
.hk-btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.hk-btn--whatsapp:hover { background: #1ebe5d; color: #fff; }

/* Dr. Flex Booking-iframe (Kontaktseite) */
.hk-kontakt-channel__booking {
    background: var(--color-bg-card);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-elevated);
    border: 1px solid var(--color-border-hairline);
    overflow: hidden;
}
.hk-kontakt-channel__booking iframe {
    display: block;
    width: 100%;
    height: 640px;
    border: 0;
}
.hk-kontakt-channel__booking iframe[hidden] { display: none; }
.hk-kontakt-channel__booking-facade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    text-align: center;
    padding: var(--space-xl);
    min-height: 420px;
}
.hk-kontakt-channel__booking-facade svg { color: var(--color-primary); }
.hk-kontakt-channel__booking-facade p {
    margin: 0;
    color: var(--color-text-muted);
}
.hk-kontakt-channel__booking-facade[hidden] { display: none; }

/* Dr. Flex Mock-Visual */
.hk-kontakt-channel__mock {
    background: var(--color-bg-card);
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-elevated);
    padding: var(--space-xl);
    display: flex; flex-direction: column; gap: var(--space-md);
    border: 1px solid var(--color-border-hairline);
}
.hk-kontakt-channel__mock-bar {
    width: 100%; height: 8px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-zahnburg-accent) 100%);
    border-radius: var(--radius-pill);
}
.hk-kontakt-channel__mock-grid {
    display: grid;
    grid-template-columns: 60px repeat(4, 1fr);
    gap: 0.4rem;
    align-items: center;
    font-size: var(--font-body-sm);
}
.hk-kontakt-channel__mock-grid .m {
    text-align: center; font-weight: var(--fw-semibold);
    color: var(--color-text-muted); text-transform: uppercase; letter-spacing: var(--tracking-label);
    font-size: var(--font-label);
}
.hk-kontakt-channel__mock-grid .d {
    text-align: center; font-family: var(--font-display);
    color: var(--color-text-primary); font-weight: var(--fw-bold);
    padding: 0.2rem 0;
}
.hk-kontakt-channel__mock-grid .d.full { color: var(--color-primary); }
.hk-kontakt-channel__mock-grid .t {
    color: var(--color-text-muted); font-variant-numeric: tabular-nums; font-size: var(--font-body-sm);
}
.hk-kontakt-channel__mock-grid .s {
    height: 28px; border-radius: 6px;
    background: var(--color-bg-elevated);
    border: 1px dashed var(--color-border-hairline);
}
.hk-kontakt-channel__mock-grid .s.on {
    background: var(--color-primary-tint-1);
    border: 1px solid var(--color-primary-tint-1);
    box-shadow: inset 0 0 0 1px var(--color-primary-tint-1);
}
.hk-kontakt-channel__mock-cta {
    align-self: flex-end;
    background: var(--color-primary);
    color: #fff;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-pill);
    font-weight: var(--fw-semibold);
    font-size: var(--font-body-sm);
}

/* WhatsApp Chat-Mock */
.hk-kontakt-channel__chat {
    background: #ECE5DD;
    border-radius: var(--radius-container);
    box-shadow: var(--shadow-elevated);
    padding: var(--space-xl);
    display: flex; flex-direction: column; gap: 0.6rem;
    min-height: 320px;
}
.hk-chat-bubble {
    max-width: 78%;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    font-size: var(--font-body-sm);
    line-height: 1.45;
    box-shadow: 0 1px 1px rgba(0,0,0,0.08);
    word-wrap: break-word;
}
.hk-chat-bubble--in {
    background: #fff;
    color: #111;
    align-self: flex-start;
    border-top-left-radius: 4px;
}
.hk-chat-bubble--out {
    background: #DCF8C6;
    color: #111;
    align-self: flex-end;
    border-top-right-radius: 4px;
}
.hk-chat-bubble--typing {
    padding: 0.6rem 0.9rem;
    display: inline-flex; gap: 0.25rem;
}
.hk-chat-bubble--typing span {
    width: 7px; height: 7px; border-radius: 50%;
    background: #9aa19a;
    animation: hk-chat-dot 1.4s infinite ease-in-out both;
}
.hk-chat-bubble--typing span:nth-child(2) { animation-delay: 0.16s; }
.hk-chat-bubble--typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes hk-chat-dot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1; }
}

/* -------------------------------------------------------------
   5. SPRECHZEITEN (V1 wiederverwendet, leicht angepasst)
   ------------------------------------------------------------- */
.hk-kontakt-hours {
    padding-block: var(--space-3xl);
    background: var(--color-bg-page);
}
.hk-kontakt-hours__inner {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-2xl); align-items: start;
}
.hk-kontakt-hours__text h2 { margin-top: var(--space-sm); max-width: 16ch; }
.hk-kontakt-hours__text > p {
    margin-top: var(--space-lg);
    color: var(--color-text-body);
    max-width: 50ch;
}
.hk-kontakt-hours__notice {
    margin-top: var(--space-lg);
    display: flex; gap: var(--space-md);
    background: var(--color-primary-tint-2);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-input);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-primary);
    font-size: var(--font-body-sm);
    line-height: 1.55;
}
.hk-kontakt-hours__notice svg { flex-shrink: 0; color: var(--color-primary); margin-top: 2px; }

.hk-kontakt-hours__table table {
    width: 100%; border-collapse: collapse;
    background: var(--color-bg-card);
    border-radius: var(--radius-container);
    overflow: hidden; box-shadow: var(--shadow-soft);
}
.hk-kontakt-hours__table th,
.hk-kontakt-hours__table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--color-border-hairline);
    font-size: var(--font-body);
}
.hk-kontakt-hours__table thead th {
    background: var(--color-primary-dark);
    color: var(--color-text-inverse);
    font-family: var(--font-display); font-weight: var(--fw-semibold);
    font-size: var(--font-body-sm); text-transform: uppercase;
    letter-spacing: var(--tracking-label);
}
.hk-kontakt-hours__table tbody th {
    font-family: var(--font-display); font-weight: var(--fw-semibold);
    color: var(--color-text-primary); width: 6rem;
}
.hk-kontakt-hours__table tbody td {
    color: var(--color-text-body); font-variant-numeric: tabular-nums;
}
.hk-kontakt-hours__table tbody tr:last-child th,
.hk-kontakt-hours__table tbody tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------------
   6. FORMULAR
   ------------------------------------------------------------- */
.hk-kontakt-form-wrap {
    padding-block: var(--space-3xl);
    background: var(--color-bg-card);
}
.hk-kontakt-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-2xl);
    align-items: start;
}
@media (max-width: 1024px) {
    .hk-kontakt-form-grid { grid-template-columns: 1fr; }
}

.hk-kontakt-form-side h2 { margin-top: var(--space-sm); max-width: 18ch; }
.hk-kontakt-form-side__lede {
    margin-top: var(--space-md);
    color: var(--color-text-body);
    max-width: 44ch;
    line-height: var(--leading-body);
}
.hk-kontakt-form-side__list {
    list-style: none; margin: var(--space-lg) 0 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.7rem;
    font-size: var(--font-body-sm);
    color: var(--color-text-body);
}
.hk-kontakt-form-side__list li {
    display: flex; align-items: center; gap: 0.7rem;
}
.hk-kontakt-form-side__list svg {
    color: var(--color-success); flex-shrink: 0;
}
.hk-kontakt-form-side__urgent {
    margin-top: var(--space-xl);
    background: var(--color-primary-tint-2);
    border-radius: var(--radius-input);
    padding: var(--space-md) var(--space-lg);
    border-left: 3px solid var(--color-primary);
    color: var(--color-text-primary);
    font-size: var(--font-body-sm);
}

.hk-kontakt-form-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-container);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.hk-form {
    display: flex; flex-direction: column;
    gap: var(--space-md);
}
.hk-form__row {
    display: grid;
    gap: var(--space-md);
}
.hk-form__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 640px) { .hk-form__row--2 { grid-template-columns: 1fr; } }

.hk-form__field {
    display: flex; flex-direction: column; gap: 0.4rem;
    min-width: 0;
}
.hk-form__field label {
    font-size: var(--font-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
}
.hk-form__field label .req { color: var(--color-danger); }
.hk-form__field input[type="text"],
.hk-form__field input[type="email"],
.hk-form__field input[type="tel"],
.hk-form__field select,
.hk-form__field textarea {
    box-sizing: border-box;
    font-family: var(--font-sans);
    font-size: var(--font-body);
    color: var(--color-text-primary);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-medium);
    border-radius: var(--radius-input);
    padding: 0.75rem 0.9rem;
    width: 100%;
    transition: border-color var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-fast) var(--ease-out);
}
.hk-form__field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.hk-form__field input:focus,
.hk-form__field select:focus,
.hk-form__field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-tint-2);
}
.hk-form__field.is-error input,
.hk-form__field.is-error select,
.hk-form__field.is-error textarea {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.hk-form__hint {
    font-size: var(--font-label);
    color: var(--color-text-muted);
}
.hk-form__field--check label {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 0.7rem;
    align-items: start;
    font-weight: var(--fw-regular);
    color: var(--color-text-body);
    font-size: var(--font-body-sm);
    line-height: 1.5;
    cursor: pointer;
}
.hk-form__field--check input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}
.hk-form__field--check.is-error {
    border-radius: var(--radius-input);
    padding: 0.5rem;
    background: rgba(220,38,38,0.05);
}

.hk-form__hp {
    position: absolute !important;
    left: -9999px; opacity: 0; pointer-events: none;
}

.hk-form__submit {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin-top: var(--space-sm);
}
.hk-form__submit .hk-btn { align-self: flex-start; }
.hk-form__legal { font-size: var(--font-label); color: var(--color-text-muted); }

.hk-form-alert {
    display: flex; align-items: flex-start; gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-input);
    margin-bottom: var(--space-lg);
}
.hk-form-alert strong { display: block; color: inherit; }
.hk-form-alert p { margin: 0.25rem 0 0; font-size: var(--font-body-sm); line-height: 1.5; }
.hk-form-alert svg { flex-shrink: 0; margin-top: 2px; }
.hk-form-alert--ok {
    background: #E7F8EE;
    border-left: 3px solid var(--color-success);
    color: #064E2D;
}
.hk-form-alert--ok svg { color: var(--color-success); }
.hk-form-alert--err {
    background: #FDECEC;
    border-left: 3px solid var(--color-danger);
    color: #7A1818;
}
.hk-form-alert--err svg { color: var(--color-danger); }
.hk-form-alert--ok a,
.hk-form-alert--err a { color: inherit; text-decoration: underline; }

/* -------------------------------------------------------------
   7. ANFAHRT-DETAILS
   ------------------------------------------------------------- */
.hk-kontakt-route-section {
    padding-block: var(--space-3xl);
    background: var(--color-bg-page);
}
.hk-kontakt-route-section .hk-section-head {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: var(--space-2xl);
}
.hk-kontakt-route-section .hk-section-head__lede { margin-inline: auto; }
.hk-kontakt-routegrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.hk-kontakt-routecard {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-container);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
}
.hk-kontakt-routecard__icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--color-primary-tint-2);
    color: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-md);
}
.hk-kontakt-routecard h3 {
    font-size: var(--font-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
    margin-bottom: 0.4rem;
}
.hk-kontakt-routecard p {
    color: var(--color-text-body); line-height: var(--leading-body);
    margin-bottom: var(--space-md);
}
.hk-kontakt-routecard__link {
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    font-size: var(--font-body-sm);
}
.hk-kontakt-routecta {
    margin-top: var(--space-xl);
    display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap;
}

/* -------------------------------------------------------------
   8. ERSTKONTAKT-Schritte (V1 wiederverwendet)
   ------------------------------------------------------------- */
.hk-kontakt-steps {
    padding-block: var(--space-3xl);
    background: var(--color-bg-card);
}
.hk-kontakt-steps .hk-section-head {
    text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: var(--space-2xl);
}
.hk-kontakt-steplist {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg);
}
.hk-kontakt-step {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-container);
    padding: var(--space-xl);
    position: relative;
}
.hk-kontakt-step__num {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: var(--fw-bold);
    color: var(--color-primary); opacity: 0.2;
    line-height: 1;
}
.hk-kontakt-step__title {
    margin-top: var(--space-sm);
    font-size: var(--font-h3);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
}
.hk-kontakt-step p { margin-top: var(--space-sm); color: var(--color-text-body); line-height: var(--leading-body); }

.hk-kontakt-prep {
    margin-top: var(--space-2xl);
    background: var(--color-primary-tint-2);
    border-radius: var(--radius-container);
    padding: var(--space-xl);
    border-left: 4px solid var(--color-primary);
}
.hk-kontakt-prep h3 { font-size: var(--font-h3); font-weight: var(--fw-semibold); color: var(--color-text-primary); }
.hk-kontakt-prep ul {
    margin: var(--space-md) 0 0; padding-left: 1.25rem;
    columns: 2; column-gap: var(--space-xl);
    color: var(--color-text-body);
}
.hk-kontakt-prep li { margin-bottom: 0.4rem; break-inside: avoid; }

/* Unterlagen-vorab-Box (Frist 4 Werktage) */
.hk-kontakt-prep--docs {
    border-left-color: var(--color-warning);
    background: #FBF3E6;
}
.hk-kontakt-prep--docs ul { columns: 1; }
.hk-kontakt-prep__note { margin: var(--space-sm) 0 0; color: var(--color-text-body); }
.hk-kontakt-prep__hint {
    margin-top: var(--space-md);
    font-size: var(--font-body-sm);
    color: var(--color-text-body);
}

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hk-kontakt-hero__inner    { grid-template-columns: 1fr; }
    .hk-kontakt-hero__map      { min-height: 360px; }
    .hk-kontakt-grid           { grid-template-columns: repeat(2, 1fr); }
    .hk-kontakt-hours__inner   { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hk-kontakt-routegrid      { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hk-kontakt-grid           { grid-template-columns: 1fr; }
    .hk-kontakt-steplist       { grid-template-columns: 1fr; }
    .hk-kontakt-prep ul        { columns: 1; }
    .hk-kontakt-hero__cta .hk-btn { flex: 1; min-width: 0; }
    .hk-kontakt-hours__table th,
    .hk-kontakt-hours__table td { padding: var(--space-sm) var(--space-md); font-size: var(--font-body-sm); }
    .hk-kontakt-channel__mock-grid { grid-template-columns: 50px repeat(4, 1fr); }
}




/* ===== HK_INV_START — Invisalign/Aligner-Seite: visuelle Komponenten ===== */
/* Gekapselt unter .hk-inv, damit globale .hk-prose-Styles unberuehrt bleiben.
   Alle Bausteine nutzen die Theme-Tokens (Farben, Spacing, Radius, Schatten). */

/* Lead-Absatz direkt nach erster H2 etwas groesser */
.hk-prose .hk-inv-lead { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.3rem); color: var(--color-text-primary); line-height: var(--leading-body); }

/* --- Bild/Text-Split (z. B. "Digitale Planung", "Was ist Invisalign") --- */
.hk-inv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    margin-block: var(--space-2xl);
}
.hk-inv-split--reverse .hk-inv-split__media { order: 2; }
.hk-inv-split__media { margin: 0; }
.hk-inv-split__media img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-tile);
    box-shadow: var(--shadow-card);
    display: block;
}
.hk-inv-split__body > * + * { margin-top: var(--space-md); }
.hk-inv-split__body h2,
.hk-inv-split__body h3 { margin-top: 0; }

/* --- Schritt-Karten (Ablauf) --- */
.hk-inv-steps {
    list-style: none;
    margin: var(--space-xl) 0 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}
.hk-inv-step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s ease, transform .2s ease;
}
.hk-inv-step:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hk-inv-step__num {
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
}
.hk-inv-step__title {
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-size: var(--font-body-lg);
    letter-spacing: var(--tracking-display);
}
.hk-inv-step__text { margin: 0; color: var(--color-text-body); line-height: 1.6; }
.hk-inv-step__title + .hk-inv-step__text { margin-top: 0; }

/* --- Karten-Grid (Fehlstellungen, Vorteile) --- */
/* Flexbox statt Grid: die Karten einer unvollstaendigen letzten Reihe wachsen
   per flex-grow, sodass das Raster zu 100% gefuellt ist und rechts KEIN leerer
   Whitespace stehen bleibt (z. B. 7 Karten = 4 oben + 3 unten, beide vollbreit). */
.hk-inv-grid {
    list-style: none;
    margin: var(--space-xl) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}
.hk-inv-grid > * {
    flex: 1 1 240px;
    min-width: 240px;
}
.hk-inv-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s ease, transform .2s ease;
}
/* hk-prose vergibt fuer li::before ein Haekchen + padding-left — fuer Karten
   neutralisieren (hoehere Spezifitaet als .hk-page .hk-prose ul > li). */
.hk-page .hk-prose ul.hk-inv-grid > li { padding-left: var(--space-lg); }
.hk-page .hk-prose ul.hk-inv-grid > li.hk-inv-benefit { padding-left: var(--space-lg); }
.hk-page .hk-prose ul.hk-inv-grid > li::before { content: none; display: none; }
.hk-inv-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hk-inv-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-input, 12px);
    background: var(--color-primary-tint-2);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.hk-inv-card__icon svg { width: 22px; height: 22px; }
.hk-inv-card__title {
    display: block;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-weight: 700;
    margin-bottom: .25rem;
}
.hk-inv-card__text { margin: 0; color: var(--color-text-body); font-size: var(--font-body-sm); line-height: 1.55; }

/* --- Verlinkte Fachbereich-Karten (Behandlungen-Uebersicht) --- */
.hk-inv-card--linked { padding: 0; }
.hk-page .hk-prose ul.hk-inv-grid > li.hk-inv-card--linked { padding-left: 0; }
.hk-inv-card__link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--space-lg);
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-tile);
}
.hk-page .hk-prose .hk-inv-card__link,
.hk-page .hk-prose .hk-inv-card__link:hover { color: inherit; text-decoration: none; }
.hk-inv-card__link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.hk-inv-card__more {
    margin-top: auto;
    padding-top: var(--space-sm);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: var(--font-body-sm);
}
.hk-inv-card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.hk-inv-card--linked:hover .hk-inv-card__more svg { transform: translateX(3px); }
.hk-inv-card--linked .hk-inv-card__text { margin-bottom: var(--space-sm); }

/* --- Benefit-Karten (Vorteile, kompakter, mit Haekchen-Icon) --- */
.hk-inv-benefits > * { flex-basis: 260px; min-width: 260px; }
.hk-inv-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-sm);
    align-items: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-soft);
}
.hk-inv-benefit::before { content: none; }
.hk-inv-benefit__check {
    flex: none;
    width: 1.6rem; height: 1.6rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    margin-top: .1rem;
}
.hk-inv-benefit__check svg { width: 15px; height: 15px; }
.hk-inv-benefit span:last-child { color: var(--color-text-primary); font-weight: 500; line-height: 1.45; }

/* --- Info-Box (Tragedauer / Hinweis) --- */
.hk-inv-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: start;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-hairline);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-tile);
    padding: var(--space-lg);
    margin-block: var(--space-xl);
}
.hk-inv-note__icon {
    flex: none; width: 2.25rem; height: 2.25rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--color-primary-tint-2);
    color: var(--color-primary);
}
.hk-inv-note__icon svg { width: 20px; height: 20px; }
.hk-inv-note p { margin: 0; color: var(--color-text-body); line-height: 1.6; }
.hk-inv-note strong { color: var(--color-primary-dark); }

/* --- Vergleichstabelle: Aligner-Spalte hervorheben --- */
/* margin-inline:0 hebt den figure-Default (40px) auf, damit die Tabelle die
   volle Boxed-Breite wie die anderen Elemente nutzt. */
.hk-prose .hk-inv-compare { box-shadow: var(--shadow-card); border-radius: var(--radius-tile); overflow-x: auto; -webkit-overflow-scrolling: touch; margin-inline: 0; }
.hk-prose .hk-inv-compare table { min-width: 460px; width: 100%; }
.hk-page-content .hk-prose > .hk-inv-compare { max-width: none; }
.hk-prose .hk-inv-compare table { margin: 0; border-collapse: collapse; width: 100%; }
.hk-prose .hk-inv-compare thead th { background: var(--color-primary-dark); color: #fff; font-family: var(--font-display); }
.hk-prose .hk-inv-compare thead th:nth-child(2) { background: var(--color-primary); }
.hk-prose .hk-inv-compare tbody td:nth-child(2) { background: var(--color-primary-tint-2); font-weight: 600; color: var(--color-primary-dark); }
.hk-prose .hk-inv-compare tbody tr:nth-child(even) td:first-child,
.hk-prose .hk-inv-compare tbody tr:nth-child(even) td:nth-child(3) { background: var(--color-bg-elevated); }
.hk-prose .hk-inv-compare td:first-child { font-weight: 600; color: var(--color-text-primary); }
/* --- HK_COMPARE_TOOLTIP_FIX: Glossar-Tooltips nicht am Scroll-Container abschneiden ---
   overflow-x:auto clippt die reinen CSS-Tooltips (::after) der Glossar-Auto-Links
   in beiden Achsen. Ab 600px passt die Tabelle ohne Scroll (min-width 460px),
   daher overflow freigeben; die Eckenrundung leisten dann die Eckzellen
   (border-radius wirkt nur mit border-collapse: separate). Mobil bleibt der
   Scroll-Container - Hover-Tooltips existieren dort nicht (hover/pointer-MQ). */
@media (min-width: 600px) {
    .hk-prose .hk-inv-compare { overflow-x: visible; }
    .hk-prose .hk-inv-compare table { border-collapse: separate; border-spacing: 0; }
    .hk-prose .hk-inv-compare thead th:first-child { border-top-left-radius: var(--radius-tile); }
    .hk-prose .hk-inv-compare thead th:last-child { border-top-right-radius: var(--radius-tile); }
    .hk-prose .hk-inv-compare tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius-tile); }
    .hk-prose .hk-inv-compare tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius-tile); }
    .hk-prose .hk-inv-compare tbody tr:last-child td { border-bottom: 0; }
}
/* HK_COMPARE_TOOLTIP_EDGE: Tooltips der Rand-Spalten buendig statt zentriert, sonst ragen
   sie (320px breit) ueber den Viewport-Rand hinaus. Pfeil (::before) bleibt
   mittig ueber dem Link und zeigt damit weiter auf den Begriff. */
.hk-prose .hk-inv-compare td:first-child a.hk-gl-link[data-hk-tip]:hover::after {
    left: 0;
    transform: none;
}
.hk-prose .hk-inv-compare td:last-child a.hk-gl-link[data-hk-tip]:hover::after {
    left: auto;
    right: 0;
    transform: none;
}

/* --- CTA-Banner --- */
.hk-inv-cta {
    margin-block: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-tile);
    padding: clamp(1.75rem, 4vw, 3rem);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-elevated);
}
.hk-inv-cta h3 { color: #fff; margin: 0 0 .5rem; font-family: var(--font-display); font-size: var(--font-display-md); }
.hk-inv-cta p { color: rgba(255,255,255,.85); margin: 0 auto var(--space-lg); max-width: 52ch; }
.hk-inv-cta .hk-btn--primary { background: #fff; color: var(--color-primary-dark); }
.hk-inv-cta .hk-btn--primary:hover { background: var(--color-primary-tint-1); }

/* --- Volle Breite im breiten (1280px) Content-Container --- */
/* Der Content nutzt die gleiche Box-Breite wie die Navigation. Die enge
   hk-prose-Begrenzung (max-width 70ch) wird aufgehoben, damit Text + Bausteine
   die volle Breite ausfuellen. */
.hk-page-content .hk-prose,
.hk-page-content .hk-prose > p,
.hk-page-content .hk-prose > h2,
.hk-page-content .hk-prose > h3,
.hk-page-content .hk-prose > ul,
.hk-page-content .hk-prose > ol { max-width: none; }
/* HK_INTRO_FULLWIDTH */
/* Intro-Block (.hk-inv-intro) ist kein direktes hk-prose-Kind — Lead-Absatz
   sonst weiter auf 70ch begrenzt. Hier ebenfalls auf volle Breite heben,
   damit Eyebrow/H2/Lead bündig mit den Karten darunter laufen. */
.hk-page-content .hk-prose .hk-inv-intro,
.hk-page-content .hk-prose .hk-inv-intro > p,
.hk-page-content .hk-prose .hk-inv-intro > h2,
.hk-page-content .hk-prose .hk-inv-lead { max-width: none; }

/* --- Aufgewerteter Intro-Bereich --- */
.hk-inv-intro {
    margin-bottom: var(--space-2xl);
}
.hk-inv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--font-label);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-tint-2);
    padding: .4rem .85rem;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
}
.hk-inv-eyebrow svg { width: 16px; height: 16px; }

/* =============================================================
   ZAHNBURG-VIDEO  —  "Ein Blick in die Zahnburg" (self-hosted 16:9)
   Nutzt --color-primary (auf der Zahnburg-Seite = Zahnburg-Akzent)
   ============================================================= */
.hk-zburg-video {
    margin-block: var(--space-3xl);
    text-align: center;
}
.hk-zburg-video__head { max-width: 60ch; margin: 0 auto var(--space-xl); }
.hk-zburg-video__head h2 { margin: 0 0 .5rem; }
.hk-zburg-video__lede {
    color: var(--color-text-muted);
    font-size: var(--font-body-lg);
    margin: 0 auto;
    max-width: 56ch;
}
.hk-zburg-video__frame {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-container);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    background: #000;
}
.hk-zburg-video__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hk-zburg-video__play-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: none;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    transition: opacity .35s ease;
}
.hk-zburg-video__play-btn.is-hidden { opacity: 0; pointer-events: none; }
.hk-zburg-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.35) 100%);
}
.hk-zburg-video__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 88px; height: 88px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,0.45);
    transition: transform .25s cubic-bezier(0.22,1,0.36,1);
}
.hk-zburg-video__play svg { margin-left: 4px; }
.hk-zburg-video__play-btn:hover .hk-zburg-video__play,
.hk-zburg-video__play-btn:focus-visible .hk-zburg-video__play {
    transform: translate(-50%, -50%) scale(1.08);
}
.hk-zburg-video__play-btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}
@media (max-width: 640px) {
    .hk-zburg-video__play { width: 64px; height: 64px; }
    .hk-zburg-video__play svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .hk-zburg-video__play-btn, .hk-zburg-video__play { transition: none; }
}

/* --- Trust-Feature-Grid (USP-Punkte im Content) --- */
.hk-inv-features {
    list-style: none;
    margin: var(--space-xl) 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}
.hk-inv-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s ease, transform .2s ease;
}
.hk-inv-feature::before { content: none; }
.hk-inv-feature:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hk-inv-feature__icon {
    flex: none;
    width: 2.75rem; height: 2.75rem;
    display: grid; place-items: center;
    border-radius: var(--radius-input, 12px);
    background: var(--color-primary);
    color: #fff;
}
.hk-inv-feature__icon svg { width: 24px; height: 24px; }
.hk-inv-feature__title {
    display: block;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: var(--font-body-lg);
    margin-bottom: .2rem;
}
.hk-inv-feature__text { margin: 0; color: var(--color-text-body); font-size: var(--font-body-sm); line-height: 1.5; }
.hk-page-content .hk-prose ul.hk-inv-features > li { padding-left: var(--space-lg); }
.hk-page-content .hk-prose ul.hk-inv-features > li::before { content: none; display: none; }

/* --- Bullet-Liste im Split (Was ist Invisalign?) mit Haekchen --- */
.hk-inv-split__body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hk-inv-split__body ul li { position: relative; padding-left: 1.9rem; color: var(--color-text-primary); line-height: 1.5; }
.hk-inv-split__body ul li::before {
    content: "";
    position: absolute; left: 0; top: .15em;
    width: 1.35rem; height: 1.35rem;
    background: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 0.85rem no-repeat, none;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 0.85rem no-repeat;
    border-radius: 50%;
}

/* --- Prozess-Kacheln (Bento-Stil der Startseite, ohne CTA) ---
   5 gleichwertige Schritte als Foto-Tiles: Bild + Overlay + weisser Text.
   Wiederverwendung der Startseiten-Optik (hk-bento__tile--photo). */
.hk-inv-process {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}
/* Reihe 1: 3 Kacheln (je 2 Spalten), Reihe 2: 2 Kacheln (je 3 Spalten) */
.hk-inv-ptile:nth-child(1),
.hk-inv-ptile:nth-child(2),
.hk-inv-ptile:nth-child(3) { grid-column: span 2; }
.hk-inv-ptile:nth-child(4),
.hk-inv-ptile:nth-child(5) { grid-column: span 3; }

.hk-inv-ptile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    border-radius: var(--radius-tile);
    overflow: hidden;
    color: #fff;
    border: 1px solid var(--color-border-hairline);
    isolation: isolate;
    transition: transform var(--duration-base, .25s) var(--ease-out, ease), box-shadow var(--duration-base, .25s) var(--ease-out, ease);
}
.hk-inv-ptile::before { content: none; }
.hk-inv-ptile:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.hk-inv-ptile__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block; z-index: 0;
}
.hk-inv-ptile__overlay {
    position: absolute; inset: 0; z-index: 1;
    /* Frueher und kraeftiger abdunkeln, damit Titel + Text auf jedem Foto
       (auch hellen Motiven) klar lesbar sind. Untere Haelfte fast deckend. */
    background: linear-gradient(180deg,
        rgba(10,37,64,0.10) 0%, rgba(10,37,64,0.25) 38%,
        rgba(10,37,64,0.72) 66%, rgba(10,37,64,0.92) 100%);
}
.hk-inv-ptile__body {
    position: relative; z-index: 2;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
}
/* Eigener dunkler Scrim DIREKT hinter dem Textblock — garantiert lesbaren
   Untergrund fuer Titel + Text, unabhaengig vom Fotomotiv darunter. */
.hk-inv-ptile__body::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    top: -2.5rem;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10,37,64,0) 0%, rgba(10,37,64,0.55) 40%, rgba(10,37,64,0.82) 100%);
    pointer-events: none;
}
.hk-inv-ptile__step {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: var(--font-label); letter-spacing: var(--tracking-label);
    text-transform: uppercase; font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(2px);
    padding: .3rem .7rem; border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
}
.hk-inv-ptile__step-num {
    display: grid; place-items: center;
    width: 1.2rem; height: 1.2rem; border-radius: 50%;
    background: var(--color-primary); color: #fff; font-size: .72rem;
}
.hk-inv-ptile__title { color: #fff; font-family: var(--font-display); font-size: var(--font-h3); line-height: 1.2; margin: 0 0 .35rem; text-shadow: 0 1px 8px rgba(10,37,64,0.7), 0 1px 2px rgba(10,37,64,0.9); }
/* Override: Prozesskachel-Titel liegen in .hk-prose, deren h3 dunkel faerbt — hier wieder weiss erzwingen. */
.hk-prose .hk-inv-ptile__title, .hk-prose h3.hk-inv-ptile__title { color: #fff; margin-top: 0; }
.hk-prose .hk-inv-ptile__step { color: #fff; }
.hk-inv-ptile__desc { color: #fff; font-size: .95rem; line-height: 1.45; margin: 0; text-shadow: 0 1px 6px rgba(10,37,64,0.7); }
.hk-page-content .hk-prose > .hk-inv-process { max-width: none; }

@media (max-width: 900px) {
    .hk-inv-process { grid-template-columns: repeat(2, 1fr); }
    .hk-inv-ptile:nth-child(n) { grid-column: span 1; }
    .hk-inv-ptile:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .hk-inv-process { grid-template-columns: 1fr; }
    .hk-inv-ptile:nth-child(n) { grid-column: 1 / -1; min-height: 240px; }
}

/* --- Roadmap (Praxis-Ablauf als verbundene Schritte) --- */
.hk-inv-roadmap {
    list-style: none;
    margin: var(--space-2xl) 0;
    padding: 0;
    position: relative;
    display: grid;
    gap: var(--space-lg);
}
.hk-inv-roadmap::before {
    content: "";
    position: absolute;
    left: 1.35rem; top: 1rem; bottom: 1rem;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-tint-1) 100%);
    z-index: 0;
}
.hk-inv-rstep {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: start;
    z-index: 1;
}
.hk-inv-rstep::before { content: none; }
.hk-inv-rstep__dot {
    flex: none;
    width: 2.75rem; height: 2.75rem;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 0 0 5px var(--color-bg-page);
}
.hk-inv-rstep__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft);
    transition: box-shadow .2s ease, transform .2s ease;
}
.hk-inv-rstep__card:hover { box-shadow: var(--shadow-card); transform: translateX(3px); }
.hk-inv-rstep__title { margin: 0 0 .35rem; font-family: var(--font-display); color: var(--color-primary-dark); font-size: var(--font-body-lg); }
.hk-inv-rstep__text { margin: 0; color: var(--color-text-body); line-height: 1.55; }
.hk-page-content .hk-prose > .hk-inv-roadmap { max-width: none; }

/* --- Video-Element --- */
.hk-inv-video {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
    margin-block: var(--space-2xl);
    background: var(--color-primary-dark);
    border-radius: var(--radius-tile);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}
.hk-inv-video__body { padding: clamp(1.75rem, 4vw, 3rem); color: #fff; }
.hk-inv-video__eyebrow { display:inline-block; font-size: var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 700; color: var(--color-zahnburg-warm); margin-bottom: var(--space-sm); }
.hk-inv-video__body h2, .hk-inv-video__body h3 { color: #fff; margin: 0 0 var(--space-md); font-family: var(--font-display); }
.hk-inv-video__body p { color: rgba(255,255,255,.85); line-height: 1.6; margin: 0; }
.hk-inv-video__media { position: relative; align-self: stretch; min-height: 100%; background: #000; }
.hk-inv-video__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hk-page-content .hk-prose > .hk-inv-video { max-width: none; }

/* --- Vorher/Nachher-Slider --- */
.hk-inv-ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-block: var(--space-2xl);
}
.hk-inv-ba-item__label { font-family: var(--font-display); font-weight: 700; color: var(--color-primary-dark); margin: 0 0 var(--space-sm); }
.hk-ba {
    position: relative;
    width: 100%;
    border-radius: var(--radius-tile);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    user-select: none;
    line-height: 0;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-elevated);
}
.hk-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-ba__after { z-index: 2; clip-path: inset(0 0 0 50%); }
.hk-ba__before { z-index: 1; }
.hk-ba__tag {
    position: absolute; top: .6rem; z-index: 4;
    font-size: var(--font-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 700;
    color: #fff; background: rgba(10,37,64,.7); padding: .25rem .6rem; border-radius: var(--radius-pill);
}
.hk-ba__tag--before { left: .6rem; }
.hk-ba__tag--after { right: .6rem; }
.hk-ba__handle {
    position: absolute; top: 0; bottom: 0; left: 50%; z-index: 3;
    width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none;
}
.hk-ba__handle::after {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 2.4rem; height: 2.4rem; transform: translate(-50%, -50%);
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300618E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M9 6 3 12l6 6'/><path d='M15 6l6 6-6 6'/></svg>") center / 1.3rem no-repeat;
    border-radius: 50%; box-shadow: var(--shadow-card);
}
.hk-ba__range {
    position: absolute; inset: 0; z-index: 5;
    width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.hk-page-content .hk-prose > .hk-inv-ba-grid { max-width: none; }

/* --- Vor-/Nachteile (zwei Spalten: Pro / Contra) --- */
.hk-inv-procon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-block: var(--space-xl);
}
.hk-inv-procon__col {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-hairline);
    border-radius: var(--radius-tile);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
}
.hk-inv-procon__col--pro { border-top: 4px solid var(--color-success); }
.hk-inv-procon__col--con { border-top: 4px solid var(--color-text-muted); }
.hk-inv-procon__head { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: var(--font-body-lg); font-weight: 700; color: var(--color-primary-dark); margin: 0 0 var(--space-md); }
.hk-inv-procon__badge { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; flex: none; }
.hk-inv-procon__badge--pro { background: var(--color-success); color: #fff; }
.hk-inv-procon__badge--con { background: var(--color-text-muted); color: #fff; }
.hk-inv-procon__badge svg { width: 18px; height: 18px; }
.hk-page-content .hk-prose ul.hk-inv-procon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; max-width: none; }
.hk-page-content .hk-prose ul.hk-inv-procon__list > li { position: relative; padding-left: 1.9rem; color: var(--color-text-primary); line-height: 1.45; }
.hk-page-content .hk-prose ul.hk-inv-procon__list > li::before {
    content: ""; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
    -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: .8rem; mask-size: .8rem;
}
.hk-page-content .hk-prose ul.hk-inv-procon__list--pro > li::before {
    background: var(--color-success);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>");
}
.hk-page-content .hk-prose ul.hk-inv-procon__list--con > li::before {
    background: var(--color-text-muted);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M5 12h14'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'><path d='M5 12h14'/></svg>");
}
.hk-page-content .hk-prose > .hk-inv-procon { max-width: none; }

@media (max-width: 820px) {
    .hk-inv-video,
    .hk-inv-ba-grid,
    .hk-inv-procon { grid-template-columns: 1fr; }
    .hk-inv-video__media { min-height: 320px; }
}

@media (max-width: 720px) {
    .hk-inv-split { grid-template-columns: 1fr; }
    .hk-inv-split--reverse .hk-inv-split__media { order: 0; }
    .hk-inv-split__media img { max-height: 320px; }
}

/* --- Seiten-Setup: weisser Hintergrund + groessere Sektionsabstaende --- */
/* (5) Hintergrund der Leistungs-Seiten durchgehend weiss statt beige.
   Auf body.page gesetzt, damit auch der Randbereich neben dem zentrierten
   Container weiss ist und kein beiger Streifen durchscheint. */
body.page { background-color: var(--color-bg-card); }
.hk-page { background: var(--color-bg-card); }
.hk-page-content { background: var(--color-bg-card); }
/* Roadmap-Punkt-Ring an weissen Hintergrund anpassen (statt beige). */
.hk-inv-rstep__dot { box-shadow: 0 0 0 5px var(--color-bg-card); }

/* (4) Jede neue Sektion (markiert durch die H2 mit Akzentlinie) bekommt
   deutlich mehr Luft nach oben, damit Bereiche klar getrennt wirken. */
.hk-page-content .hk-prose > h2 {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
}
/* Erste H2 (Seitenanfang) nicht unnoetig nach unten druecken. */
.hk-page-content .hk-prose > .hk-inv-intro:first-child h2,
.hk-page-content .hk-prose > h2:first-child { margin-top: 0; padding-top: var(--space-lg); }
/* Grosse, eigenstaendige Bausteine ohne vorangehende H2 ebenfalls klar absetzen. */
.hk-page-content .hk-prose > .hk-inv-process,
.hk-page-content .hk-prose > .hk-inv-roadmap,
.hk-page-content .hk-prose > .hk-inv-video,
.hk-page-content .hk-prose > .hk-inv-ba-grid,
.hk-page-content .hk-prose > .hk-inv-procon,
.hk-page-content .hk-prose > .hk-inv-compare,
.hk-page-content .hk-prose > .hk-inv-cta { margin-block: var(--space-3xl); }

/* (1) Kontrast: Fliesstext auf der Seite auf das dunklere Body-Token heben
   (statt der blasseren muted-Toene), damit Lesetexte klar lesbar sind. */
.hk-page-content .hk-prose > p { color: var(--color-text-body); }
/* ===== HK_INV_END ===== */

/* HK_LHERO_START */
/* =============================================================
   LEISTUNGS-HERO (hk-lhero) — Full-Width Bild-Hero
   Globales Template für alle Leistungs-/Unterseiten.
   Bild: Featured Image der Seite → Fallback Startseiten-Hero.
   ============================================================= */
.hk-lhero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 56vw, 720px);
    /* Oben Nav-Höhe freihalten (transparenter Header liegt über dem Hero),
       damit die Breadcrumbs nicht an der Navigation kleben — analog .hk-hero. */
    padding-block: 140px var(--space-2xl);
    overflow: hidden;
    background: var(--color-primary-dark);
}
.hk-lhero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
/* Bild-Dimming wie auf der Startseite: dunkel links, lichter nach rechts —
   sorgt für sicheren Textkontrast, ohne dass eine Box nötig ist. */
.hk-lhero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(105deg,
        rgba(10, 37, 64, 0.78) 0%,
        rgba(10, 37, 64, 0.55) 45%,
        rgba(10, 37, 64, 0.15) 100%),
      linear-gradient(180deg,
        rgba(10, 37, 64, 0.55) 0%,
        transparent 25%,
        transparent 70%,
        rgba(10, 37, 64, 0.45) 100%);
}
.hk-lhero__inner {
    position: relative;
    width: 100%;
}
/* 2-spaltiges Layout: links Text, rechts Glas-USPs (analog Startseite) */
.hk-lhero__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-2xl);
    align-items: center;
}
.hk-lhero__text { max-width: 720px; }

/* Breadcrumbs sitzen oberhalb der Card */
.hk-lhero__inner > .hk-breadcrumbs { margin-bottom: var(--space-lg); }
.hk-lhero .hk-breadcrumbs__list,
.hk-lhero .hk-breadcrumbs__list a,
.hk-lhero .hk-breadcrumbs__list li + li::before {
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 8px rgba(10, 37, 64, 0.45);
}
.hk-lhero .hk-breadcrumbs__list a:hover { color: #fff; }
.hk-lhero .hk-breadcrumbs__list [aria-current="page"] { color: #fff; }

/* ----- Text-Spalte (links, direkt aufs Bild, kein Kasten) ----- */
/* Überschrift im Startseiten-Hero-Stil: groß, fett, enges Tracking */
.hk-lhero__title {
    margin: 0;
    color: var(--color-text-inverse);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(10, 37, 64, 0.45);
}
.hk-lhero__subline {
    margin-top: var(--space-lg);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.1rem, 1.2vw + 0.6rem, 1.35rem);
    font-weight: var(--fw-medium);
    line-height: 1.55;
    max-width: 60ch;
    text-shadow: 0 1px 12px rgba(10, 37, 64, 0.5);
}
/* ----- 5 "Warum bei uns"-Benefits (links, unter dem Titel) ----- */
.hk-lhero__benefits {
    list-style: none;
    margin: var(--space-xl) 0 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
    max-width: 620px;
}
.hk-lhero__benefit {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-body-lg);
    line-height: 1.4;
    text-shadow: 0 1px 10px rgba(10, 37, 64, 0.55);
}
.hk-lhero__benefit-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 2px 12px -4px rgba(10, 37, 64, 0.4);
}
.hk-lhero__benefit-text {
    font-weight: var(--fw-medium);
}
.hk-lhero__seal {
    display: block;
    height: 42px;
    width: auto;
    margin-top: var(--space-lg);
    opacity: 0.95;
}
.hk-lhero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* ----- USP-Glas-Tiles (rechts, identisch zum Startseiten-Hero) ----- */
.hk-lhero__usps {
    list-style: none;
    margin: 0;
    padding: 0;
    justify-self: end;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.hk-lhero__usp {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-tile);
    box-shadow: 0 4px 24px -8px rgba(10, 37, 64, 0.25);
    color: rgba(255, 255, 255, 0.96);
    font-size: var(--font-body);
    line-height: 1.45;
    transition: transform var(--duration-base) var(--ease-out),
                background-color var(--duration-base) var(--ease-out),
                border-color var(--duration-base) var(--ease-out);
}
.hk-lhero__usp:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
}
.hk-lhero__usp-icon {
    flex: 0 0 auto;
    display: inline-flex;
    margin-top: 0.05em;
    color: #fff;
}
/* Button-Variante: heller Ghost auf dunklem Grund */
.hk-btn--ghost-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.hk-btn--ghost-light:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* =============================================================
   PROSE-UPGRADE — attraktivere Leistungsseiten-Inhalte
   (greift nur innerhalb von .hk-page, lässt globale .hk-prose
    auf anderen Templates unberührt)
   ============================================================= */
.hk-page .hk-prose { padding-block: var(--space-3xl); }

.hk-page .hk-prose > h2 {
    position: relative;
    padding-top: var(--space-lg);
    font-family: var(--font-display);
    letter-spacing: var(--tracking-display);
}
.hk-page .hk-prose > h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 4px;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
}
.hk-page .hk-prose > h3 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
}

/* Listen mit Häkchen statt Punkten — wirkt wie Benefit-Liste */
.hk-page .hk-prose ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.hk-page .hk-prose ul > li {
    position: relative;
    padding-left: 2rem;
}
.hk-page .hk-prose ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 1.15rem;
    height: 1.15rem;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / contain no-repeat;
}

/* erster Absatz nach H1-Hero als Intro/Lead hervorheben */
.hk-page .hk-prose > h2:first-child + p,
.hk-page .hk-prose > p:first-child {
    font-size: clamp(1.15rem, 0.8vw + 1rem, 1.35rem);
    color: var(--color-text-primary);
    line-height: var(--leading-body);
}

/* Tablet: Glas-USPs unter den Text klappen */
@media (max-width: 960px) {
    .hk-lhero { padding-top: 150px; }
    .hk-lhero__grid { grid-template-columns: 1fr; gap: var(--space-xl); align-items: start; }
    .hk-lhero__text { max-width: none; }
    .hk-lhero__usps { justify-self: stretch; max-width: none; }
}
@media (max-width: 640px) {
    .hk-lhero { min-height: 0; padding-block: 110px var(--space-xl); }
    .hk-lhero__bg { object-position: center 30%; }
    .hk-lhero__overlay {
        background: linear-gradient(180deg,
            rgba(10, 37, 64, 0.70) 0%,
            rgba(10, 37, 64, 0.40) 100%);
    }
    .hk-lhero__cta { flex-direction: column; align-items: stretch; }
    .hk-lhero__cta .hk-btn { width: 100%; }
}

/* ----- USP-Strip auf Leistungsseiten: MAXIMAL KOMPAKT -----
   Nur Icon + Titel (Beschreibungen ausgeblendet), kleine Icons, wenig Padding,
   alle 8 in einer dichten Reihe. Strikt auf .hk-usps--page gescoped, damit der
   Startseiten-USP (.hk-usps ohne --page) komplett unverändert bleibt. */
.hk-usps--page {
    padding-block: var(--space-md);
    background: var(--color-bg-card);
    border-block: 1px solid var(--color-border-hairline);
}
.hk-usps--page .hk-usps__inner {
    grid-template-columns: repeat(8, 1fr);
    gap: var(--space-sm);
}
.hk-usps--page .hk-usp {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-sm) 0.25rem;
}
.hk-usps--page .hk-usp__icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-input);
    margin-bottom: 0.5rem;
}
.hk-usps--page .hk-usp__icon svg {
    width: 18px;
    height: 18px;
}
.hk-usps--page .hk-usp h3 {
    font-size: var(--font-body-sm);
    line-height: 1.3;
    margin-bottom: 0;
}
/* Beschreibungstexte im kompakten Strip ausblenden (Inhalt bleibt im Markup) */
.hk-usps--page .hk-usp p { display: none; }

/* Responsive: 4 Spalten Tablet, 2 Spalten Mobile */
@media (max-width: 1024px) {
    .hk-usps--page .hk-usps__inner { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
    .hk-usps--page .hk-usps__inner { grid-template-columns: repeat(2, 1fr); }
}
/* HK_LHERO_END */

/* === KONTAKT-HEADER-KONTRAST (martin) === */
/* Die Kontaktseite hat KEINEN dunklen Hero – der transparente Header mit
   weißer Schrift wäre auf dem hellen Seitenhintergrund unlesbar.
   Darum bekommt der nicht-gesticky Header hier denselben hellen/soliden
   Look wie im Sticky-Zustand (dunkle Schrift, weißer Grund). */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-mainbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-hairline);
}
/* Logo: dunkle Variante zeigen */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-logo__img--light { display: none; }
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-logo__img--dark  { display: block; }
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-logo-fallback,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-logo-name {
    color: var(--color-text-primary);
    text-shadow: none;
}
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-logo-claim {
    color: var(--color-text-secondary, #5b6b7d);
}
/* Nav-Links: dunkle Schrift, kein Text-Shadow */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__link,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-primary);
    text-shadow: none;
}
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__link:hover,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .menu-item.current-menu-item > .hk-nav__link,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .menu-item.current-menu-ancestor > .hk-nav__link {
    background-color: var(--color-primary-tint-2);
    color: var(--color-primary-700);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
/* Burger: dunkle Striche/Rand */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-burger {
    border-color: var(--color-border);
}
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-burger__bar {
    background: var(--color-text-primary);
}
/* Termin-CTA: gefüllt primary statt invertiert */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-cta__termin {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-cta__termin:hover {
    background: var(--color-primary-700);
    color: var(--color-text-inverse);
}
/* Der Inhalt rückt nicht mehr unter den Header → weniger Top-Padding nötig,
   aber der Header ist absolut positioniert, daher Padding beibehalten. */
/* === KONTAKT-HEADER-KONTRAST-END === */
/* --- SOS-Video Hochformat (Leistungsseite Abgebrochener Zahn) --- */
.hk-zburg-video__frame--portrait {
    aspect-ratio: 9 / 16;
    max-width: 380px;
}
@media (max-width: 480px) {
    .hk-zburg-video__frame--portrait { max-width: min(320px, 86vw); }
}

/* --- SOS-Video zweispaltig: Text neben Hochformat-Video --- */
.hk-zburg-video--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    text-align: left;
    max-width: 980px;
    margin-inline: auto;
}
.hk-zburg-video--split .hk-zburg-video__head {
    max-width: 56ch;
    margin: 0;
}
.hk-zburg-video--split .hk-zburg-video__lede { margin: 0 0 1.25rem; max-width: none; }
.hk-zburg-video--split .hk-zburg-video__frame--portrait { margin-inline: 0; }
.hk-zburg-video__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.hk-zburg-video__points li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--color-text-muted);
}
.hk-zburg-video__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--color-primary);
}
.hk-zburg-video__points li::after {
    content: "";
    position: absolute;
    left: .25rem;
    top: calc(.3em + .27rem);
    width: .6rem;
    height: .35rem;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
@media (max-width: 860px) {
    .hk-zburg-video--split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hk-zburg-video--split .hk-zburg-video__head { margin: 0 auto; }
    .hk-zburg-video--split .hk-zburg-video__points { text-align: left; max-width: 34ch; margin-inline: auto; }
    .hk-zburg-video--split .hk-zburg-video__frame--portrait { margin-inline: auto; }
}

/* =========================================================
   HK_BEWERBUNG_FORM — Datei-Upload im Bewerbungsformular
   (restliche Formular-Styles teilen sich Kontakt + Bewerbung)
   ========================================================= */
.hk-form__field input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--font-body-sm);
    color: var(--color-text-body);
    background: var(--color-bg-card);
    border: 1px dashed var(--color-border-medium);
    border-radius: var(--radius-input);
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    transition: border-color var(--duration-fast) var(--ease-out);
}
.hk-form__field input[type="file"]:hover,
.hk-form__field input[type="file"]:focus {
    outline: none;
    border-color: var(--color-primary);
}
.hk-form__field.is-error input[type="file"] {
    border-color: var(--color-danger);
}
.hk-form__field input[type="file"]::file-selector-button {
    font-family: var(--font-sans);
    font-size: var(--font-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-primary);
    background: var(--color-primary-tint-2);
    border: none;
    border-radius: var(--radius-input);
    padding: 0.45rem 0.9rem;
    margin-right: 0.8rem;
    cursor: pointer;
}

/* =========================================================
   HK_GLOSSAR — Zahn-Glossar (Übersicht, Single, Auto-Links)
   ========================================================= */

/* ---- Übersicht: Suche + Zähler ---- */
.hk-glossar { margin-top: var(--space-lg); }
.hk-glossar__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.hk-glossar__search {
    position: relative;
    flex: 1 1 320px;
    max-width: 460px;
    display: block;
}
.hk-glossar__search-icon {
    /* Label enthält sichtbaren Text über dem Input → nicht an 50 % der
       Label-Höhe zentrieren, sondern an der Input-Unterkante verankern. */
    position: absolute;
    left: 16px;
    bottom: 18px;
    top: auto;
    transform: none;
    color: var(--color-text-muted);
    pointer-events: none;
}
.hk-glossar__search .screen-reader-text {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.hk-glossar__search-input {
    width: 100%;
    padding: 0.85rem 1.1rem 0.85rem 3rem;
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: var(--radius-pill);
    background: var(--color-bg-card);
    font: inherit;
    font-size: 1rem;
    color: var(--color-text-primary);
    box-shadow: var(--shadow-soft);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.hk-glossar__search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-tint-2);
}
.hk-glossar__count {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    white-space: nowrap;
}

/* ---- A–Z-Buchstabenleiste ---- */
.hk-glossar__abc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: var(--space-sm) 0 var(--space-lg);
}
.hk-glossar__abc-item {
    display: grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding-inline: 6px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    background: var(--color-bg-card);
    border: 1px solid rgba(10, 37, 64, 0.08);
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
a.hk-glossar__abc-item:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-1px);
}
.hk-glossar__abc-item--empty {
    color: rgba(107, 114, 128, 0.45);
    background: transparent;
    border-color: transparent;
}

/* ---- Buchstaben-Gruppen ---- */
.hk-glossar__group {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(10, 37, 64, 0.08);
}
.hk-glossar__letter {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--color-primary-tint-1);
    -webkit-text-stroke: 1.5px var(--color-primary);
    position: sticky;
    top: 110px;
    align-self: start;
}
.hk-glossar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: var(--space-md);
}
.hk-page-content .hk-prose ul.hk-glossar__list { max-width: none; }
/* Achtung: > li-Override schlägt .hk-glossar__item — Karten-Padding HIER pflegen. */
.hk-page-content .hk-prose ul.hk-glossar__list > li { padding: 1.4rem 1.6rem; }
.hk-page-content .hk-prose ul.hk-glossar__list > li::before { content: none; }
.hk-glossar__item {
    background: var(--color-bg-card);
    border: 1px solid rgba(10, 37, 64, 0.07);
    border-radius: var(--radius-tile);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.hk-glossar__item:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
    border-color: var(--color-primary-tint-1);
}
.hk-glossar__term {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    text-decoration: none;
    font-weight: 650;
    color: var(--color-text-primary);
    font-size: 1.05rem;
}
.hk-glossar__term:hover .hk-glossar__term-name { color: var(--color-primary); }
.hk-glossar__term-arrow {
    flex: 0 0 auto;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .18s ease, transform .18s ease;
}
.hk-glossar__item:hover .hk-glossar__term-arrow { opacity: 1; transform: translateX(0); }
.hk-glossar__teaser {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hk-glossar__noresults {
    padding: var(--space-xl);
    text-align: center;
    background: var(--color-bg-card);
    border-radius: var(--radius-tile);
    color: var(--color-text-muted);
}

@media (max-width: 640px) {
    .hk-glossar__group { grid-template-columns: 1fr; gap: var(--space-sm); }
    .hk-glossar__letter { position: static; font-size: 2rem; }
    .hk-glossar__count { display: none; }
}

/* ---- Single: Glossar-Eintrag ---- */
.hk-glsingle__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.hk-glsingle__lead {
    max-width: 62ch;
    margin: var(--space-md) 0 0;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--color-text-body);
}
.hk-glsingle .hk-prose { margin-top: var(--space-xl); }
.hk-glsingle__related {
    margin-top: var(--space-2xl);
    padding: var(--space-lg) var(--space-xl);
    background: var(--color-primary-tint-2);
    border-radius: var(--radius-tile);
}
.hk-glsingle__related-title {
    margin: 0 0 var(--space-md);
    font-size: 1.05rem;
    color: var(--color-text-primary);
}
.hk-glsingle__related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.hk-glsingle__related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    background: var(--color-bg-card);
    border: 1px solid rgba(10, 37, 64, 0.08);
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: background .15s ease, color .15s ease;
}
.hk-glsingle__related-link:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
.hk-glsingle__footer {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    /* Abstand zum nachfolgenden globalen Block (Patientenstimmen) */
    padding-bottom: var(--space-2xl);
}
.hk-glsingle__footer .hk-btn { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---- Auto-Links im Fließtext (mit Hover-Tooltip) ---- */
.hk-prose a.hk-gl-link {
    position: relative;
    color: inherit;
    text-decoration: none;
    border-bottom: 1.5px dotted var(--color-primary);
    cursor: help;
}
.hk-prose a.hk-gl-link:hover { color: var(--color-primary); }
@media (hover: hover) and (pointer: fine) {
    a.hk-gl-link[data-hk-tip]:hover::after {
        content: attr(data-hk-tip);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 10px);
        transform: translateX(-50%);
        width: max-content;
        max-width: 320px;
        padding: 0.7rem 0.9rem;
        background: var(--color-primary-dark);
        color: #fff;
        font-size: 0.85rem;
        line-height: 1.45;
        border-radius: 10px;
        box-shadow: var(--shadow-elevated);
        z-index: 60;
        pointer-events: none;
    }
    a.hk-gl-link[data-hk-tip]:hover::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: calc(100% + 4px);
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: var(--color-primary-dark);
        z-index: 60;
        pointer-events: none;
    }
}


/* Kontakt: weiterführende Unterseiten */
.hk-kontakt-sublinks {
    margin-top: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.75rem;
}
.hk-kontakt-sublinks a {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}
.hk-kontakt-sublinks a:hover { text-decoration: underline; }

/* Glossar: hk-prose-Link-Styles auf Index-Karten & ABC-Leiste neutralisieren */
.hk-prose .hk-glossar a.hk-glossar__term,
.hk-prose .hk-glossar .hk-glossar__abc a {
    text-decoration: none;
    color: var(--color-text-primary);
}
.hk-prose .hk-glossar .hk-glossar__abc a { color: var(--color-primary); }
.hk-prose .hk-glossar a.hk-glossar__term:hover { color: var(--color-primary); }
.hk-prose .hk-glossar .hk-glossar__abc a:hover { color: var(--color-text-inverse); }

/* Tooltip: vererbte Container-Typo (uppercase/letter-spacing) zurücksetzen */
a.hk-gl-link[data-hk-tip]:hover::after {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-family: var(--font-sans);
    white-space: normal;
    text-align: left;
}


/* ============================================================================
   HK_RESPONSIVE_PASS_20260610 — Mobile-Fixes aus Responsive-Audit
   ========================================================================== */

/* --- (3) Footer-Legal-Menü: Haupt-Verursacher des 580px-Layout-Viewports --- */
.hk-footer__legal { flex-wrap: wrap; row-gap: 0.4rem; }

/* --- (4) lhero-Grid-Blowout: Spalten dürfen schrumpfen, Badges umbrechen --- */
.hk-lhero__grid > * { min-width: 0; }
.hk-hero__badges { flex-wrap: wrap; }
.hk-lhero__benefit-text { overflow-wrap: break-word; }

/* --- (5) Buttons: mobil Text umbrechen statt Layout sprengen --- */
@media (max-width: 640px) {
    .hk-btn { white-space: normal; text-align: center; }
}

/* --- (6) Quick-Dock mobil: ALLE 6 Slots in der Bottom-Bar (Chat/Termin/
   Anruf/WhatsApp/Mail/Standort) — E-Mail+Standort NICHT mehr ausblenden --- */

/* --- (7) Sicherheitsnetz: Tabellen scrollen statt Viewport sprengen --- */
@media (max-width: 768px) {
    .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* Glossar-Buchstabenleiste: volle Touch-Größe */
@media (max-width: 900px) {
    .hk-glossar__abc-item { min-width: 44px; height: 44px; }
}

/* --- (1) Drawer-Nav ÜBER dem Backdrop (Links waren nicht tappbar) --- */
@media (max-width: 1180px) {
    body.hk-nav-open .hk-header { z-index: calc(var(--z-menu-overlay) + 1); }
}

/* --- (2) Mega-Menü als Mobile-Accordion in der Drawer-Nav --- */
@media (max-width: 1180px) {
    .hk-nav__list .menu-item-has-children { position: relative; }
    .hk-nav__list .menu-item-has-children > .hk-nav__link {
        display: flex; width: 100%;
        align-items: center; justify-content: space-between; gap: 0.5rem;
    }
    .hk-nav__list .hk-nav__link.has-mega::after {
        content: ""; flex: 0 0 auto; width: 9px; height: 9px;
        border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg); margin-right: 2px;
        transition: transform var(--duration-fast) var(--ease-out);
    }
    .hk-nav__list .menu-item-has-children.is-open > .hk-nav__link.has-mega::after {
        transform: rotate(-135deg);
    }
    .hk-mega {
        display: none;
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; background: transparent;
        pointer-events: auto; transition: none;
    }
    .hk-nav__list .menu-item-has-children.is-open > .hk-mega { display: block; }
    .hk-mega__inner { display: block; padding: 0 0 var(--space-sm); }
    .hk-mega__teaser {
        display: block; min-height: 0;
        padding: 0.55rem var(--space-md); margin: 0;
        background: var(--color-primary-tint-2);
        border-radius: var(--radius-input);
        box-shadow: none; color: var(--color-primary);
    }
    .hk-mega__teaser:hover { transform: none; box-shadow: none; color: var(--color-primary); }
    .hk-mega__teaser-bg, .hk-mega__teaser-overlay,
    .hk-mega__teaser-lede, .hk-mega__teaser-eyebrow,
    .hk-mega__teaser-cta { display: none; }
    .hk-mega__teaser-text { gap: 0; }
    .hk-mega__teaser-title {
        font-size: var(--font-body); font-weight: var(--fw-semibold);
        color: var(--color-primary);
    }
    .hk-mega__cols { display: block; }
    .hk-mega__col-title {
        margin: var(--space-sm) 0 0; padding: 0 var(--space-md);
        font-size: var(--font-label); color: var(--color-text-muted);
    }
    .hk-mega__list { list-style: none; margin: 0; padding: 0; }
    .hk-mega__link {
        display: flex; align-items: center; justify-content: space-between;
        min-height: 44px; padding: 0.4rem var(--space-md);
        color: var(--color-text-body);
    }
}

/* ============================================================================
   HK_RESPONSIVE_PASS2_20260611 — Drawer-Lesbarkeit + schließbarer Burger
   ========================================================================== */
@media (max-width: 1180px) {
    /* (8) Drawer hat weißen Hintergrund — Links immer dunkel,
       egal ob Transparent-/Kontakt-/Mega-Header-Modus */
    .hk-header:not(.is-sticky) .hk-nav__link,
    body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__link,
    body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__link {
        color: var(--color-text-primary);
        text-shadow: none;
    }
    .hk-header:not(.is-sticky) .hk-nav__link:hover,
    .hk-header:not(.is-sticky) .menu-item.current-menu-item > .hk-nav__link,
    .hk-header:not(.is-sticky) .menu-item.current-menu-ancestor > .hk-nav__link {
        background-color: var(--color-primary-tint-2);
        color: var(--color-primary-700);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* (9) Burger über dem Drawer halten — X bleibt sicht- und tappbar */
    .hk-burger {
        position: relative;
        z-index: calc(var(--z-menu-overlay) + 2);
    }
    body.hk-nav-open .hk-burger {
        background: var(--color-bg-card);
        border-color: var(--color-border-medium);
    }
    body.hk-nav-open .hk-burger .hk-burger__bar,
    body.hk-nav-open .hk-header:not(.is-sticky) .hk-burger__bar {
        background: var(--color-text-primary);
    }
}

/* ============================================================================
   HK_RESPONSIVE_PASS3_20260611 — Kontakt-Drawer, Button-Box-Sizing, Timeline
   ========================================================================== */

/* (11) Buttons: border-box, damit width:100% nicht um das Padding überläuft */
.hk-btn { box-sizing: border-box; }

/* (12) Prozess-Timeline: Karte darf schrumpfen, lange Wörter brechen um */
.hk-inv-rstep__card { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 480px) {
    .hk-inv-roadmap { margin-left: 0; }
}

/* (10) Kontakt-Header: blur erzeugt Containing Block für die fixed Drawer-Nav.
   Mobil deshalb ohne backdrop-filter (Hintergrund dafür fast deckend). */
@media (max-width: 1180px) {
    body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-mainbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }
}

/* ============================================================================
   HK_RESPONSIVE_PASS4_20260611 — H1-Silbentrennung, Footer-Freiraum fürs Dock
   ========================================================================== */

/* (13) Lange deutsche Komposita im Leistungs-Hero trennen statt abschneiden */
.hk-lhero__title { overflow-wrap: break-word; }
@media (max-width: 640px) {
    .hk-lhero__title { hyphens: auto; -webkit-hyphens: auto; }
}

/* (14) Unterste Footer-Zeile nicht vom fixierten Quick-Dock verdecken lassen */
@media (max-width: 640px) {
    .hk-footer__bottom { padding-bottom: calc(var(--space-lg) + 72px); }
}


/* === HK_READABILITY_PASS_20260612 — Lesbarkeit: Text auf Kacheln / über Bildern ===========
   Audit (Playwright, Pixel-Kontrast) zeigte: weißer Text auf den
   glasmorphen Hero-Kacheln + Badges fällt über hellen Bildbereichen
   unter WCAG AA (cr ~2.0-2.6). Fix: dunkler Glas-Tint statt hell. */

/* (1) Hero-USP-Glaskacheln (Startseite + Leistungsseiten) */
.hk-hero__usp,
.hk-lhero__usp {
    background: rgba(10, 37, 64, 0.46);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 6px 28px -10px rgba(10, 37, 64, 0.45);
}
.hk-hero__usp:hover,
.hk-lhero__usp:hover {
    background: rgba(10, 37, 64, 0.56);
    border-color: rgba(255, 255, 255, 0.34);
}
/* Sekundärtext in den Kacheln etwas heller -> sicher über AA */
.hk-hero__usp-text span,
.hk-lhero__usp .hk-lhero__usp-text span {
    color: rgba(255, 255, 255, 0.92);
}

/* (2) Trust-Badges Google / jameda (über dem Hero-Bild) */
.hk-badge {
    background: rgba(10, 37, 64, 0.46);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    border-color: rgba(255, 255, 255, 0.26);
    box-shadow: 0 6px 28px -10px rgba(10, 37, 64, 0.45);
}
.hk-badge:hover {
    background: rgba(10, 37, 64, 0.56);
    border-color: rgba(255, 255, 255, 0.34);
}
.hk-badge__name { color: rgba(255, 255, 255, 0.9); }
.hk-badge__count { color: rgba(255, 255, 255, 0.85); }

/* (3) "4.8/5 aus 122 Bewertungen"-Pille im Startseiten-Hero */
.hk-hero__rating {
    background: rgba(10, 37, 64, 0.46);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
}

/* (4) Ghost-CTA (Telefon) im Hero — etwas mehr Fülldeckung für Lesbarkeit */
.hk-hero__cta .hk-btn--ghost {
    background: rgba(10, 37, 64, 0.32);
}

/* === Zahnburg: helles Türkis (#6BB6B0) als Textfarbe ist zu schwach.
   Für Text/Links/Buttons dunklere Akzentvariante; Flächen bleiben hell. */
body.hk-brand-zahnburg {
    /* dunklerer Türkis-Ton nur für Text/Border — Flächen über --color-primary unberührt */
    --hk-zb-text: #2E6B66;
}
/* Eyebrow-Pille (+ Glossar-Links darin): dunkler Text statt hell-türkis */
body.hk-brand-zahnburg .hk-inv-eyebrow,
body.hk-brand-zahnburg .hk-inv-eyebrow .hk-gl-link { color: var(--hk-zb-text); }
/* Glossar-Tooltip-Links in der Prose */
body.hk-brand-zahnburg .hk-prose a.hk-gl-link { border-bottom-color: var(--hk-zb-text); }
body.hk-brand-zahnburg .hk-prose a.hk-gl-link:hover { color: var(--hk-zb-text); }
/* Primary-Buttons (z.B. "Termine online buchen"): dunklere Fläche, weißer Text */
body.hk-brand-zahnburg .hk-btn--primary {
    background: var(--hk-zb-text);
    border-color: var(--hk-zb-text);
    color: #fff;
}
body.hk-brand-zahnburg .hk-btn--primary:hover {
    background: #245752;
    border-color: #245752;
    color: #fff;
}
/* Ausnahme: Buttons auf dunkler precta-Fläche bleiben weiß-auf-Akzent (Original) */
body.hk-brand-zahnburg .hk-precta .hk-btn--primary {
    background: #fff;
    border-color: #fff;
    color: #2E6B66;
}
/* Ausnahme: Button auf weißer Inv-CTA-Karte bleibt invers */
body.hk-brand-zahnburg .hk-inv-cta .hk-btn--primary {
    background: #fff;
    border-color: #fff;
    color: var(--hk-zb-text);
}
/* Weißer "Termin buchen"-Button im hk-cta-Block (invertiert): Text war
   hell-türkis auf weiß (cr 2.35) -> dunklere Akzentfarbe (cr 6.16). */
body.hk-brand-zahnburg .hk-cta .hk-btn--primary,
body.hk-brand-zahnburg .hk-cta__termin {
    background: #fff;
    border-color: #fff;
    color: var(--hk-zb-text);
}

/* === Kontakt: Eyebrow + Breadcrumb grau auf beige war grenzwertig (cr 4.24) */
.hk-kontakt-hero__text .hk-eyebrow { color: #5A6270; }
.hk-kontakt-hero .hk-breadcrumbs__list a,
.hk-kontakt-hero .hk-breadcrumbs__list [aria-current="page"] { color: #5A6270; }

/* === Sticky-Quick-Dock: "Termin"-Button — weiß auf Gold war nur cr 2.4.
   Dunkelblauer Text+Icon auf Gold = cr 6.48 (markenkonform Gold+Navy). */
.hk-quick__btn--termin {
    --hk-quick-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
    font-weight: var(--fw-bold);
}
.hk-quick__btn--termin:hover { color: var(--color-primary-dark); }

/* === Transparenter Header über Hero: Nav-Links absichern.
   "Karriere"/"Kontakt" über hellen Bildbereichen lagen bei cr ~4.2.
   Stärkerer Schatten nur im NICHT-gescrollten Zustand (über Bild);
   im is-sticky-Zustand sind die Links dunkel auf Weiß -> kein Schatten. */
/* Kontakt-Seite ausnehmen: dort liegt der Header über HELLEM Hero
   (Body .page-template-page-kontakt-php) -> Schrift bleibt dunkel. */
body:not(.page-template-page-kontakt-php) .hk-header:not(.is-sticky) .hk-nav__link {
    text-shadow: 0 1px 3px rgba(10, 37, 64, 0.7), 0 1px 10px rgba(10, 37, 64, 0.45);
}
.hk-header.is-sticky .hk-nav__link,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__link { text-shadow: none; }

/* === KI-Hinweis-Pille (links im Header): die "helle Variante" war an
   .hk-header.is-transparent gebunden — diese Klasse wird live aber NICHT
   gesetzt (nur .hk-header / .hk-header.is-sticky). Folge: graublauer Text
   (#4a5b73) auf dunklem Hero-Bild, cr ~1.7. Fix an den realen Zustand binden.
   Kontakt-Seite (heller Hero) ausgenommen -> dort dunkle Pille. */
body:not(.page-template-page-kontakt-php) .hk-header:not(.is-sticky) .hk-ki-pill {
    border-color: rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 6px rgba(10, 37, 64, 0.5);
}
body:not(.page-template-page-kontakt-php) .hk-header:not(.is-sticky) .hk-ki-pill:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.hk-header.is-sticky .hk-ki-pill { text-shadow: none; }
/* Kontakt: KI-Pille dunkel auf hellem Hero */
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-ki-pill {
    border-color: rgba(10, 37, 64, 0.22);
    color: #4a5b73;
    text-shadow: none;
}

/* === Leistungs-Hero auf Mobil: Subline + Benefit-Texte füllen die ganze
   Hero-Höhe; das Bild scheint im Mittelbereich hell durch (cr 2.7-4.4).
   Auf Mobil dient das Bild nur als Stimmung -> durchgehend kräftig abdunkeln.
   Gemessen danach: alle Texte cr 5.7-7.6 (deutlich über WCAG AA). */
@media (max-width: 640px) {
    .hk-lhero__overlay {
        background: linear-gradient(180deg,
            rgba(10, 37, 64, 0.78) 0%,
            rgba(10, 37, 64, 0.66) 50%,
            rgba(10, 37, 64, 0.72) 100%);
    }
}

/* === Bento-Service-Kacheln mit FOTO (Startseite "Behandlungen"):
   Titel + Text liegen direkt auf dem Bild. Das alte Overlay war oben
   transparent -> über hellen Bildbereichen (z.B. "Eigenes Labor", helles
   Tablett) sank der Titel auf cr ~1.5. Zwei Maßnahmen:
   (a) Grund-Overlay durchgehend leicht tragend,
   (b) weicher dunkler Sockel direkt hinter dem Text-Body (deckt Titel+Text,
       egal wie hell das Bild dort ist; oben blendet er aus -> Bild bleibt frei).
   Gemessen danach: alle Foto-Kachel-Texte >= 4.5 (WCAG AA). */
.hk-bento-svc__overlay {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.42) 0%,
        rgba(10, 37, 64, 0.34) 35%,
        rgba(10, 37, 64, 0.55) 68%,
        rgba(10, 37, 64, 0.90) 100%);
}
.hk-bento-svc__tile--implant .hk-bento-svc__overlay {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.30) 0%,
        rgba(10, 37, 64, 0.30) 38%,
        rgba(10, 37, 64, 0.58) 74%,
        rgba(10, 37, 64, 0.92) 100%);
}
.hk-bento-svc__tile--photo .hk-bento-svc__body { isolation: isolate; }
.hk-bento-svc__tile--photo .hk-bento-svc__body::before {
    content: "";
    position: absolute;
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
    top: -5rem;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0)    0%,
        rgba(10, 37, 64, 0.55) 26%,
        rgba(10, 37, 64, 0.82) 70%,
        rgba(10, 37, 64, 0.92) 100%);
    pointer-events: none;
}
/* BREITE Foto-Kacheln (Symptome "Ich habe Zahnschmerzen..." + Komplettsanierung,
   Seitenverhältnis ~5:1): Text läuft EINZEILIG horizontal über das ganze, teils
   helle Bild. Ein vertikaler Sockel reicht nicht -> kräftiges, durchgehendes
   Overlay (links satt, nach rechts auslaufend) deckt den Text über volle Breite. */
.hk-symptome__bento .hk-bento-svc__tile--photo .hk-bento-svc__overlay,
.hk-bento-svc__tile--sanierung .hk-bento-svc__overlay {
    background:
        linear-gradient(105deg,
            rgba(10, 37, 64, 0.88) 0%,
            rgba(10, 37, 64, 0.70) 45%,
            rgba(10, 37, 64, 0.48) 100%),
        linear-gradient(180deg,
            rgba(10, 37, 64, 0.18) 0%,
            rgba(10, 37, 64, 0.42) 100%);
}
/* Bei den breiten Kacheln den vertikalen Body-Sockel deaktivieren (Overlay trägt) */
.hk-symptome__bento .hk-bento-svc__tile--photo .hk-bento-svc__body::before,
.hk-bento-svc__tile--sanierung .hk-bento-svc__body::before {
    display: none;
}

/* === Praxis-Ausstattungs-Kacheln mit FOTO (Startseite "Moderne
   Praxis-Ausstattung": DVT-Röntgen, OP-Mikroskop, Digitaler Abdruck,
   DMD-System). Eigene Komponente (hk-bento__, NICHT hk-bento-svc__).
   Gleiches Problem: Overlay oben transparent -> Titel "DMD-System" auf
   hellem Bild cr ~1.9, "Digitaler Abdruck" 2.6. Gleiche Lösung:
   durchgehend tragendes Overlay + dunkler Sockel hinter dem Text-Body.
   Gemessen danach: alle 12 Kacheltexte (Titel/Desc/CTA) >= 4.5. */
.hk-bento__overlay {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.32) 0%,
        rgba(10, 37, 64, 0.26) 38%,
        rgba(10, 37, 64, 0.55) 72%,
        rgba(10, 37, 64, 0.88) 100%);
}
.hk-bento__overlay--hero {
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0.28) 0%,
        rgba(10, 37, 64, 0.30) 40%,
        rgba(10, 37, 64, 0.62) 74%,
        rgba(10, 37, 64, 0.92) 100%);
}
.hk-bento__tile--photo .hk-bento__body { isolation: isolate; }
.hk-bento__tile--photo .hk-bento__body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -3.5rem;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(10, 37, 64, 0)    0%,
        rgba(10, 37, 64, 0.66) 34%,
        rgba(10, 37, 64, 0.90) 100%);
    pointer-events: none;
}
/* Hero-Tile (OP-Mikroskop) hat größeres Body-Padding -> Sockel etwas höher */
.hk-bento__tile--hero .hk-bento__body--hero::before { top: -4.5rem; }

/* === Ende HK_READABILITY_PASS_20260612 ============================================== */

/* =========================================================
   HK_SYMPTOME_BENTO — Startseiten-Kacheln Probleme & Symptome
   (WIEDERHERGESTELLT nach Redeploy-Verlust 2026-06-12.)
   Optik = Behandlungs-Bento (hk-bento-svc__tile), eigenes Grid:
   Reihe 1: 3 Kacheln (span 4) · Reihe 2: 2 Kacheln (span 6)
   · Reihe 3: CTA-Band (span 12, wie im Behandlungs-Bento).
   ========================================================= */
.hk-symptome__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: var(--space-md);
}
.hk-symptome__bento > .hk-bento-svc__tile { grid-column: span 4; min-height: 280px; }
.hk-symptome__bento > .hk-bento-svc__tile:nth-child(4),
.hk-symptome__bento > .hk-bento-svc__tile:nth-child(5) { grid-column: span 6; }
.hk-symptome__bento > .hk-bento-svc__tile--cta {
    grid-column: span 12;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

@media (max-width: 1024px) {
    .hk-symptome__bento { grid-template-columns: repeat(2, 1fr); }
    .hk-symptome__bento > .hk-bento-svc__tile,
    .hk-symptome__bento > .hk-bento-svc__tile:nth-child(4),
    .hk-symptome__bento > .hk-bento-svc__tile:nth-child(5) { grid-column: span 1; min-height: 240px; }
    .hk-symptome__bento > .hk-bento-svc__tile--cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .hk-symptome__bento { grid-template-columns: 1fr; }
    .hk-symptome__bento > .hk-bento-svc__tile,
    .hk-symptome__bento > .hk-bento-svc__tile:nth-child(4),
    .hk-symptome__bento > .hk-bento-svc__tile:nth-child(5) { grid-column: 1 / -1; min-height: 220px; }
}

/* =========================================================
   HK_MEGA_COLS4 — Mega-Panels mit 4 Link-Spalten (generisch,
   aktuell ungenutzt — Symptome liegen in Spalte Zahnerhalt).
   ========================================================= */
.hk-mega--cols4 .hk-mega__inner {
    grid-template-columns: 320px repeat(4, minmax(0, 1fr));
}
@media (max-width: 1180px) {
    .hk-mega--cols4 .hk-mega__inner {
        grid-template-columns: 220px repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 1024px) {
    .hk-mega--cols4 .hk-mega__inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "teaser teaser";
    }
}

/* =========================================================
   HK_SYMPTOM_SINGLE — Symptom-Einzelseiten (CPT symptom)
   Lösungs-Box (passende Leistungsseite) + zentrierter
   Zurück-Button. Übersicht nutzt die hk-glossar-Klassen.
   ========================================================= */
body.single-symptom { background-color: var(--color-bg-card); }

.hk-sym-solution {
    margin: 72px auto 0;
    max-width: 880px;
    padding: 44px 48px;
    border-radius: 20px;
    background: var(--color-primary-tint-2);
    border: 1px solid var(--color-border-hairline);
    text-align: center;
}
.hk-sym-solution__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    margin-bottom: 16px;
}
.hk-sym-solution__eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase; letter-spacing: .08em;
    font-size: .8rem; font-weight: 700;
    color: var(--color-primary-700);
}
.hk-sym-solution .hk-sym-solution__title { margin: 0 0 12px; font-size: 1.7rem; color: var(--color-text-primary); }
.hk-sym-solution .hk-sym-solution__text { margin: 0 auto 26px; max-width: 620px; line-height: 1.6; color: var(--color-text-body); }
.hk-sym-solution__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hk-sym-solution__actions .hk-btn svg { margin-left: 6px; }

.hk-symsingle__footer {
    display: flex;
    justify-content: center;
    margin-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}
.hk-symsingle__footer .hk-btn { align-items: center; gap: 0.5rem; }

@media (max-width: 720px) {
    .hk-sym-solution { padding: 32px 22px; }
}

/* =========================================================
   HK_SYMLIST — Übersichtsseite Probleme & Symptome
   Nutzt die hk-glossar-Klassen (Suche + Karten-Grid).
   ⚠️ .hk-glossar__group NICHT verwenden (72px+1fr für A–Z).
   ========================================================= */
.hk-symlist .hk-glossar__list {
    margin-top: var(--space-xl);
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
@media (max-width: 480px) {
    .hk-symlist .hk-glossar__list { grid-template-columns: 1fr; }
}
/* =========================================================
   HK_JOBS_BENTO — Offene Stellen als Kacheln (Karriere-Seite)
   Shortcode [hk_jobs] (inc/jobs.php). Optik = Behandlungs-Bento
   (hk-bento-svc__tile), eigenes Grid: 2 Reihen à 3 Kacheln.
   Resets nötig, weil das Grid in .hk-prose (the_content) sitzt.
   ========================================================= */
.hk-jobs__bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: var(--space-md);
    margin-block: var(--space-xl);
}
.hk-jobs__bento > .hk-bento-svc__tile { grid-column: span 4; min-height: 280px; }

/* HK_JOBS_BENTO_ICONS — Hintergrund-Icons auf hellen Kacheln sichtbar machen
   (Basis-Regel ist color:#fff/opacity .18 — auf Weiß unsichtbar) */
.hk-jobs__bento > .hk-bento-svc__tile:not(.hk-bento-svc__tile--gradient) .hk-bento-svc__bg-icon {
    color: var(--color-primary);
    opacity: 0.12;
}

/* Eyebrow auf hellen Kacheln — Standard-Eyebrow ist weiß (Foto/Gradient) */
.hk-jobs__bento > .hk-bento-svc__tile:not(.hk-bento-svc__tile--gradient) .hk-bento-svc__eyebrow {
    color: var(--color-primary);
}

/* Prose-Resets: Link-Deko + Überschriften-Styles neutralisieren */
.hk-prose .hk-jobs__bento a.hk-bento-svc__tile {
    text-decoration: none;
    color: var(--color-text-primary);
}
.hk-prose .hk-jobs__bento a.hk-bento-svc__tile:hover { color: var(--color-text-primary); }
.hk-prose .hk-jobs__bento a.hk-bento-svc__tile--gradient,
.hk-prose .hk-jobs__bento a.hk-bento-svc__tile--gradient:hover { color: #fff; }
.hk-prose .hk-jobs__bento .hk-bento-svc__title { margin-top: 0; font-size: var(--font-h3); }
.hk-prose .hk-jobs__bento .hk-bento-svc__desc,
.hk-prose .hk-jobs__bento .hk-bento-svc__eyebrow { margin-top: 0; }

@media (max-width: 1024px) {
    .hk-jobs__bento { grid-template-columns: repeat(2, 1fr); }
    .hk-jobs__bento > .hk-bento-svc__tile { grid-column: span 1; min-height: 240px; }
}
@media (max-width: 640px) {
    .hk-jobs__bento { grid-template-columns: 1fr; }
    .hk-jobs__bento > .hk-bento-svc__tile { grid-column: 1 / -1; min-height: 220px; }
}

/* =========================================================
   IMPRESSIONEN — 360°-Rundgang + Bildergalerie + Lightbox
   ========================================================= */

.hk-impressionen-tour { margin-top: var(--space-2xl); }

.hk-impressionen-tour-frame {
    margin-top: var(--space-lg);
    border-radius: var(--radius-tile);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-hairline);
    aspect-ratio: 16 / 9;
    background: var(--color-primary-tint-2);
}

.hk-impressionen-tour-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hk-impressionen-gallery { margin-top: var(--space-2xl); }

.hk-impressionen-group-title {
    margin-top: var(--space-2xl);
    font-family: var(--font-display);
    font-size: var(--font-h3);
    color: var(--color-text-primary);
}

.hk-impressionen-grid {
    margin-top: var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-md);
}

.hk-impressionen-item {
    display: block;
    border-radius: var(--radius-tile);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-hairline);
    aspect-ratio: 4 / 3;
    background: var(--color-bg-card);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.hk-impressionen-item:hover,
.hk-impressionen-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

.hk-impressionen-item .hk-impressionen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 300ms ease;
}

.hk-impressionen-item:hover .hk-impressionen-img { transform: scale(1.04); }

@media (max-width: 640px) {
    .hk-impressionen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

/* --- Lightbox --- */
.hk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 37, 64, 0.92);
    padding: var(--space-xl);
}

.hk-lightbox.is-open { display: flex; }

.hk-lightbox-stage {
    margin: 0;
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.hk-lightbox-stage img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: var(--radius-tile);
    box-shadow: var(--shadow-deep);
}

.hk-lightbox-stage figcaption {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-body-sm);
    text-align: center;
}

.hk-lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 0;
    border-radius: var(--radius-pill);
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease;
}

.hk-lightbox button:hover { background: rgba(255, 255, 255, 0.28); }

.hk-lightbox-close { top: var(--space-lg); right: var(--space-lg); }
.hk-lightbox-prev  { left: var(--space-lg); top: 50%; transform: translateY(-50%); }
.hk-lightbox-next  { right: var(--space-lg); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
    .hk-lightbox { padding: var(--space-sm); }
    .hk-lightbox button { width: 40px; height: 40px; }
    .hk-lightbox-prev { left: var(--space-xs); }
    .hk-lightbox-next { right: var(--space-xs); }
}


/* --- Buttons innerhalb der Prose nicht wie Textlinks stylen (HK-PROSE-BTN) --- */
.hk-prose a.hk-btn { text-decoration: none; }
.hk-prose a.hk-btn--primary { color: var(--color-text-inverse); }
.hk-prose a.hk-btn--primary:hover { color: var(--color-text-inverse); }
/* Ausnahme: invertierter Button in der dunklen Inv-CTA-Box (weisser Grund, dunkle Schrift) */
.hk-prose .hk-inv-cta a.hk-btn--primary { color: var(--color-primary-dark); }
.hk-prose .hk-inv-cta a.hk-btn--primary:hover { color: var(--color-primary-dark); }
body.hk-brand-zahnburg .hk-prose .hk-inv-cta a.hk-btn--primary { color: var(--hk-zb-text); }
body.hk-brand-zahnburg .hk-prose .hk-inv-cta a.hk-btn--primary:hover { color: var(--hk-zb-text); }
.hk-prose a.hk-btn--whatsapp { color: #fff; }
.hk-prose a.hk-btn--whatsapp:hover { color: #fff; }

/* === NAV-HOVER UNIFIED (patch_nav_hover) === */
/* Kein gefüllter Hover-/Aktiv-Kasten mehr auf Top-Level-Nav-Links –
   gilt für ALLE Header-Zustände und ALLE Punkte inkl. Zahnburg. */
.hk-nav__link {
    position: relative;
    background: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
/* Dezente Unterstreichung: nutzt currentColor -> passt sich jedem Zustand an
   (weiß über Hero, dunkel/primary auf hellem Header). */
.hk-nav__link::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.32rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: opacity var(--duration-fast) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    pointer-events: none;
}
.hk-nav__link:hover::after,
.hk-nav__list .menu-item.current-menu-item > .hk-nav__link::after,
.hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link::after {
    opacity: 0.85;
    transform: scaleX(1);
}
/* Zahnburg identisch zu allen anderen: gleiche Textfarbe wie ein normaler
   Menüpunkt – sowohl im hellen Header (primary) als auch über Hero (weiß
   via .hk-header:not(.is-sticky)-Regel, die hier nicht angefasst wird). */
.hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-primary);
}
.hk-header:not(.is-sticky) .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-inverse);
}
/* Hover/Aktiv färbt den Text NICHT mehr um – Indikator ist allein die
   Unterstreichung. Heller Header: bleibt primary. Über Hero: bleibt weiß. */
.hk-nav__list .menu-item > .hk-nav__link:hover,
.hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
.hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link {
    color: var(--color-text-primary);
}
.hk-header:not(.is-sticky) .hk-nav__list .menu-item > .hk-nav__link:hover,
.hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
.hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link {
    color: var(--color-text-inverse);
}
/* Mega-Open über transparentem Header: Inhalte sind dann dunkel -> primary. */
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__list .menu-item > .hk-nav__link:hover,
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
body.hk-mega-open .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__list .menu-item > .hk-nav__link:hover,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
body.page-template-page-kontakt-php .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link {
    color: var(--color-text-primary);
}
/* Menüpunkte haben NIE einen Text-Schatten – in keinem Header-Zustand
   (sticky, transparent über Hero, mega-open, Kontakt). Damit sind alle
   Punkte inkl. Zahnburg in jedem Zustand optisch identisch. */
.hk-header .hk-nav__link {
    text-shadow: none !important;
}
/* Unterstreichung auch zeigen, solange das Mega-Panel des Punkts offen
   ist (Cursor im Panel) – nicht nur beim direkten Link-Hover. */
.hk-nav__list .menu-item-has-children:hover > .hk-nav__link::after,
.hk-nav__list .menu-item-has-children.is-open > .hk-nav__link::after {
    opacity: 0.85;
    transform: scaleX(1);
}
/* KI-Hinweis-Pille: bei offenem Mega (heller Header-Grund) dunkle
   Variante – war vorher weiß auf weiß = unsichtbar. */
body.hk-mega-open .hk-header:not(.is-sticky) .hk-ki-pill {
    color: #4a5b73;
    border-color: rgba(10, 37, 64, 0.22);
    background: transparent;
    text-shadow: none;
}
/* --- Seiten mit HELLEM Hero (Glossar-/FAQ-/Blog-Einzelseiten, Archive):
   Body-Klasse hk-light-hero kommt aus functions.php (HK_LIGHT_HERO_BODYCLASS).
   Transparenter Header braucht dort dunkle Schrift – weiß wäre unlesbar.
   Muster identisch zur Kontakt-Seite. --- */
body.hk-light-hero .hk-header:not(.is-sticky) .hk-nav__link,
body.hk-light-hero .hk-header:not(.is-sticky) .hk-nav__list .menu-item > .hk-nav__link:hover,
body.hk-light-hero .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-item > .hk-nav__link,
body.hk-light-hero .hk-header:not(.is-sticky) .hk-nav__list .menu-item.current-menu-ancestor > .hk-nav__link {
    color: var(--color-text-primary);
}
/* Zahnburg braucht eigene Regel (sonst gewinnt die generische
   inverse-Farbregel von oben per Spezifität) — identisch dunkel. */
body.hk-light-hero .hk-header:not(.is-sticky) .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
    color: var(--color-text-primary);
}
body.hk-light-hero .hk-header:not(.is-sticky) .hk-ki-pill {
    color: #4a5b73;
    border-color: rgba(10, 37, 64, 0.22);
    text-shadow: none;
}
body.hk-light-hero .hk-header:not(.is-sticky) .hk-burger {
    border-color: var(--color-border);
}
body.hk-light-hero .hk-header:not(.is-sticky) .hk-burger__bar {
    background: var(--color-text-primary);
}
body.hk-light-hero .hk-header:not(.is-sticky) .hk-cta__termin {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}
body.hk-light-hero .hk-header:not(.is-sticky) .hk-cta__termin:hover {
    background: var(--color-primary-700);
    color: var(--color-text-inverse);
}
/* === /NAV-HOVER UNIFIED === */

/* ===== HK-STANDORT-MAP (Standort-Seite /kontakt/standort/, 2026-06-12) ===== */
.hk-standort-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-lg, 24px);
    align-items: stretch;
    margin: 2.5rem 0;
}
.hk-page-content .hk-prose > .hk-standort-map { max-width: none; }
.hk-standort-map__frame {
    position: relative;
    border-radius: var(--radius-tile, 16px);
    overflow: hidden;
    min-height: 440px;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(10, 37, 64, 0.12));
    border: 1px solid var(--color-border-hairline, rgba(10, 37, 64, 0.08));
}
.hk-standort-map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hk-standort-map__card {
    background: var(--color-bg-card, #fff);
    border: 1px solid var(--color-border-hairline, rgba(10, 37, 64, 0.08));
    border-radius: var(--radius-tile, 16px);
    padding: 1.75rem;
    box-shadow: var(--shadow-card, 0 10px 30px rgba(10, 37, 64, 0.08));
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.hk-standort-map__pin {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--color-primary-tint-1, #e8f1f7);
    color: var(--color-primary, #00618E);
}
.hk-standort-map__pin svg { width: 24px; height: 24px; }
.hk-standort-map__name {
    margin: 0.25rem 0 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-primary, #0A2540);
}
.hk-prose .hk-standort-map__name { margin: 0.25rem 0 0; }
.hk-standort-map__addr {
    margin: 0;
    color: var(--color-text-body, #33475b);
    line-height: 1.55;
}
.hk-prose .hk-standort-map__addr { margin: 0; }
.hk-standort-map__meta {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--color-border-hairline, rgba(10, 37, 64, 0.08));
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--color-text-body, #33475b);
}
.hk-prose ul.hk-standort-map__meta { list-style: none; margin: 0.5rem 0 0; padding: 0.75rem 0 0; }
.hk-standort-map__meta li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}
.hk-standort-map__meta svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--color-primary, #00618E);
}
.hk-standort-map__actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.hk-standort-map__actions .hk-btn { box-sizing: border-box; }
@media (max-width: 900px) {
    .hk-standort-map { grid-template-columns: 1fr; }
    .hk-standort-map__frame { min-height: 320px; }
}
/* ===== /HK-STANDORT-MAP ===== */
/* HK-STANDORT-MAP-FIX1: Prose-Listen-Haken im Meta-Block unterdruecken */
.hk-prose .hk-standort-map__meta li::before,
.hk-prose .hk-standort-map__meta li::marker { content: none; }
.hk-prose .hk-standort-map__meta li { padding-left: 0; }
/* Footer: Social-Icons unter Anschrift (Facebook/Instagram) */
.hk-footer__social{list-style:none;display:flex;gap:.6rem;margin:1rem 0 0;padding:0;}
.hk-footer__social li{margin:0;}
.hk-footer__social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.22);color:#fff;opacity:.85;transition:opacity .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;}
.hk-footer__social a:hover{opacity:1;background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.45);transform:translateY(-1px);}
.hk-footer__social svg{display:block;}

/* =========================================================
 * Patientenfragen-Übersicht (/patientenfragen/) — HK_PF
 * ========================================================= */
.hk-pf__nav .hk-glossar__abc-item {
    min-width: 0;
    height: auto;
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.9rem;
    text-align: center;
}
.hk-pf__group {
    margin-bottom: var(--space-xl);
    scroll-margin-top: 120px;
}
.hk-pf__group-title {
    margin: 0 0 var(--space-md);
    font-size: 1.35rem;
}

/* === IT-Recht-Kanzlei Rechtstexte (Shortcodes agb_privacy / agb_imprint) ===
   Die Kanzlei liefert rohes HTML (h2/p/ul/b) plus einen Copyright-Footer mit
   Inline-Styles. Die Haekchen-Bullets von .hk-prose passen hier nicht. */
.hk-prose .agb_content { max-width: none; }
.hk-prose .agb_content > div > * + * { margin-top: var(--space-md); }
.hk-prose .agb_content h1,
.hk-prose .agb_content h2 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-size: clamp(1.25rem, 0.5vw + 1.1rem, 1.5rem);
    margin-top: var(--space-xl);
}
.hk-prose .agb_content h3,
.hk-prose .agb_content h4 {
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    font-size: 1.05rem;
    margin-top: var(--space-lg);
}
.hk-prose .agb_content p { max-width: 78ch; }
.hk-prose .agb_content ul,
.hk-prose .agb_content ol { margin-left: 1.25rem; }
.hk-prose .agb_content ul { list-style: disc; }
.hk-prose .agb_content ol { list-style: decimal; }
/* Haekchen-Bullets des Theme-Prose neutralisieren */
.hk-page .hk-prose .agb_content ul > li { padding-left: 0; }
.hk-page .hk-prose .agb_content ul > li::before { content: none; display: none; }
.hk-prose .agb_content #itkanzlei_txt_copyright {
    margin-top: var(--space-xl) !important;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border, rgba(10,37,64,.12));
    color: var(--color-text-muted, #5b6b7c);
}
.hk-prose .agb_content #itkanzlei_img_copyright { margin-top: 0 !important; max-height: 44px; width: auto; }
/* CookieFirst-Cookie-Tabelle: scrollbar statt Seiten-Overflow (Responsive-Fix 2026-08-04) */
#cookiefirst-policy-page table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}


/* ============================================================================
   HK_BURGERFIX_20260804 — Mobile-Drawer: Containing-Block-Bug + Kontrast
   backdrop-filter und transform auf .hk-header machen den Header zum
   Containing Block für die fixed positionierte Drawer-Nav (.hk-nav liegt im
   Header-DOM). Im Sticky-Modus wurde das Drawer dadurch auf Headerhöhe
   geklemmt ("Menü geht nicht auf" / abgeschnitten, Inhalt überlappt).
   ========================================================================== */
@media (max-width: 1180px) {
    /* Sticky-Header mobil ohne Blur (Hintergrund dafür fast deckend) und
       ohne Slidedown-Transform — beides würde das fixed-Drawer einklemmen */
    .hk-header.is-sticky {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
        animation: none;
    }

    /* Offenes Drawer: Hintergrund-Scroll sperren */
    body.hk-nav-open { overflow: hidden; }

    /* Drawer nicht breiter als der Viewport (Padding zaehlt in die Breite) */
    .hk-nav { box-sizing: border-box; }

    /* Drawer-Links IMMER dunkel auf weißem Drawer-Hintergrund — deckt auch
       die hochspezifische Zahnburg-Regel ab (war weiß auf weiß) */
    body .hk-header .hk-nav .hk-nav__link,
    body .hk-header:not(.is-sticky) .hk-nav .hk-nav__list .hk-nav__item--zahnburg > .hk-nav__link {
        color: var(--color-text-primary);
        text-shadow: none;
    }
    body .hk-header .hk-nav .hk-nav__link:hover,
    body .hk-header .hk-nav .menu-item.current-menu-item > .hk-nav__link,
    body .hk-header .hk-nav .menu-item.current-menu-ancestor > .hk-nav__link {
        background-color: var(--color-primary-tint-2);
        color: var(--color-primary-700);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
/* CookieFirst-Fingerprint-Badge: kollidiert auf Mobile mit der Bottom-App-Bar
   (.hk-quick). CookieFirst setzt bottom/left als Inline-Style -> !important.
   Badge wandert ueber die Bar in die linke untere Ecke (2026-08-04). */
@media (max-width: 640px) {
    span[data-cookiefirst-action="open-preferences"] {
        bottom: calc(74px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
    }
}
