/* ═══════════════════════════════════════════════════════════════════
   MWP · THEME: SOLID  — Stahl & Licht
   Handwerk / Kanzlei / B2B-Branchen
   Zusammenführung aus hw-base.css + hw-components.css + hw-pages.css
   Variablen: --primary / --accent werden per PHP in header.php gesetzt
   Keine !important-Kriege, kein CDN, keine Inline-Styles
   ═══════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────
   1. DESIGN-TOKEN  (Fallback-Werte; werden durch PHP überschrieben)
   ────────────────────────────────────────────────────────────────── */
:root {
    /* Tenant-Farben — werden in header.php als <style>:root{...}</style> gesetzt */
    --primary:        #1e293b;
    --accent:         #f97316;

    /* Ableitungen */
    --accent-dk:      color-mix(in srgb, var(--accent) 85%, #000);
    --accent-lt:      color-mix(in srgb, var(--accent) 80%, transparent);
    --accent-bg:      color-mix(in srgb, var(--accent)  8%, transparent);

    /* Neutrale Töne */
    --cream:          #f1f5f9;
    --light:          #f8fafc;
    --warm:           #fff7ed;
    --text:           #374151;
    --border:         #e2e8f0;
    --steel:          #64748b;
    --dark:           #0a0f1a;
    --white:          #ffffff;

    /* Typografie */
    --ff-heading:     'Poppins', system-ui, sans-serif;
    --ff-body:        'Poppins', system-ui, sans-serif;

    /* Layout */
    --topbar-h:       36px;
    --header-h:       68px;
    --offset:         calc(var(--topbar-h) + var(--header-h));
    --container-max:  1280px;
    --radius:         3px;

    /* Übergänge */
    --t:              .2s;
    --t-slow:         .4s;
}

/* ──────────────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    font-family: var(--ff-body);
    font-size: 16px; line-height: 1.75;
    color: var(--text); background: var(--white);
    padding-top: var(--offset);
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--ff-heading); font-weight: 800;
    line-height: 1.1; color: var(--primary);
    margin-top: 0; letter-spacing: -0.03em;
}
h1 { font-size: clamp(32px, 5vw, 68px); }
h2 { font-size: clamp(26px, 4vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 32px); }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p  { margin-bottom: 16px; }
a  { text-decoration: none; transition: all var(--t); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ──────────────────────────────────────────────────────────────────
   3. LAYOUT — Container, Grid, Cols
   ────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
[class*="col-"] { padding: 0 15px; width: 100%; }

@media(min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-md-6 { flex: 0 0 50%;      max-width: 50%; }
}
@media(min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%;      max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
    .col-lg-6 { flex: 0 0 50%;      max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
    .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
}
@media(min-width: 1200px) {
    .col-xl-3 { flex: 0 0 25%;      max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.333%; max-width: 33.333%; }
    .col-xl-6 { flex: 0 0 50%;      max-width: 50%; }
}

/* ──────────────────────────────────────────────────────────────────
   4. UTILITY-KLASSEN
   ────────────────────────────────────────────────────────────────── */
.d-flex            { display: flex !important; }
.d-none            { display: none !important; }
.d-block           { display: block !important; }
.align-items-center     { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between{ justify-content: space-between !important; }
.flex-wrap         { flex-wrap: wrap !important; }
.text-center       { text-align: center !important; }
.text-white        { color: #fff !important; }
.w-100             { width: 100% !important; }

.gap-8  { gap: 8px; }  .gap-10 { gap: 10px; } .gap-16 { gap: 16px; }
.gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-30 { gap: 30px; }

.mb-0  { margin-bottom: 0  !important; } .mb-8  { margin-bottom: 8px  !important; }
.mb-10 { margin-bottom: 10px !important;} .mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important;} .mb-24 { margin-bottom: 24px !important; }
.mb-30 { margin-bottom: 30px !important;} .mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px !important;}

.mt-8  { margin-top: 8px  !important; } .mt-10 { margin-top: 10px !important; }
.mt-16 { margin-top: 16px !important; } .mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; } .mt-30 { margin-top: 30px !important; }

.pt-40  { padding-top: 40px  !important; } .pb-40  { padding-bottom: 40px  !important; }
.pt-60  { padding-top: 60px  !important; } .pb-60  { padding-bottom: 60px  !important; }
.pt-80  { padding-top: 80px  !important; } .pb-80  { padding-bottom: 80px  !important; }
.pt-100 { padding-top: 100px !important; } .pb-100 { padding-bottom: 100px !important; }

/* Responsive Utilities */
@media(min-width: 992px) {
    .d-lg-none  { display: none  !important; }
    .d-lg-flex  { display: flex  !important; }
    .d-lg-block { display: block !important; }
}
@media(max-width: 991px) { .d-lg-show { display: block !important; } }
@media(max-width: 767px) { .container { padding: 0 16px; } .d-sm-none { display: none !important; } }

/* ──────────────────────────────────────────────────────────────────
   5. ICON-ANIMATION
   ────────────────────────────────────────────────────────────────── */
.ai-spin, .ai-spinner { animation: sSpin 1s linear infinite; display: inline-block; }
@keyframes sSpin  { to { transform: rotate(360deg); } }
@keyframes sBlink { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes sBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ──────────────────────────────────────────────────────────────────
   6. SCROLL-REVEAL ANIMATIONEN
   ────────────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
[data-reveal="fade-up"]    { transform: translateY(30px); }
[data-reveal="fade-down"]  { transform: translateY(-20px); }
[data-reveal="fade-left"]  { transform: translateX(30px); }
[data-reveal="fade-right"] { transform: translateX(-30px); }
[data-reveal="zoom"]       { transform: scale(0.95); }
[data-reveal="fade"]       { transform: none; }
[data-reveal].revealed     { opacity: 1; transform: none; }
[data-delay="100"]{transition-delay:.1s} [data-delay="200"]{transition-delay:.2s}
[data-delay="300"]{transition-delay:.3s} [data-delay="400"]{transition-delay:.4s}
[data-delay="500"]{transition-delay:.5s} [data-delay="600"]{transition-delay:.6s}
@media(prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   7. TOPBAR — schmaler Utility-Strip
   ══════════════════════════════════════════════════════════════════ */
.hw-topbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--topbar-h); background: var(--primary);
    z-index: 1001; display: flex; align-items: center;
}
.hw-topbar-inner {
    width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hw-topbar-left { display: flex; align-items: center; gap: 20px; overflow: hidden; }
.hw-topbar-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; flex-shrink: 0;
}
.hw-topbar-item i     { color: var(--accent); font-size: 10px; }
.hw-topbar-item a     { color: rgba(255,255,255,.65); }
.hw-topbar-item a:hover { color: var(--accent); }
.hw-topbar-right { flex-shrink: 0; }

/* Notdienst-Badge in Topbar */
.hw-topbar-notdienst {
    background: #dc2626; color: #fff;
    padding: 3px 12px; font-size: 10px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 2px; display: flex; align-items: center; gap: 6px;
}
.hw-topbar-notdienst::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #fca5a5; animation: sBlink 1.2s infinite;
}
.hw-topbar-notdienst a       { color: #fef08a; font-weight: 700; }
.hw-topbar-notdienst a:hover { text-decoration: underline; }

/* Compat: altes .hw-notdienst-bar */
.hw-notdienst-bar {
    position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h);
    background: #dc2626; z-index: 1001;
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: 12px; font-weight: 600; color: #fff; padding: 0 20px;
}
.hw-notdienst-bar a       { color: #fef08a; font-weight: 700; }
.hw-notdienst-bar a:hover { text-decoration: underline; }
.hw-notdienst-label       { color: rgba(255,255,255,.7); font-size: 11px; }

@media(max-width: 767px) {
    .hw-topbar-inner { padding: 0 16px; }
    .hw-topbar-item:nth-child(n+3) { display: none; }
}
@media(max-width: 480px) {
    .hw-topbar-item:nth-child(n+2) { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   8. HAUPTNAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.hw-header {
    position: fixed; top: var(--topbar-h); left: 0; right: 0;
    height: var(--header-h); background: var(--white);
    z-index: 1000; display: flex; align-items: stretch;
    transition: box-shadow var(--t-slow);
}
.hw-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.hw-header-inner {
    width: 100%; max-width: var(--container-max); margin: 0 auto;
    display: flex; align-items: stretch;
}

/* Logo — farbiges Rechteck */
.hw-logo {
    background: var(--accent); padding: 0 22px;
    display: flex; align-items: center; flex-shrink: 0;
    transition: background var(--t);
}
.hw-logo:hover { background: var(--accent-dk); }
.hw-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hw-logo-icon {
    width: 32px; height: 32px; background: var(--primary); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 17px; flex-shrink: 0;
}
.hw-logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); }

/* Custom Logo (aus tenant_settings logo_url) */
.hw-logo--custom         { background: transparent; padding: 4px 12px; }
.hw-logo--custom:hover   { background: rgba(0,0,0,.05); }
.hw-logo--custom .hw-logo-img { height: 75px; max-width: 220px; filter: none; object-fit: contain; }

.hw-logo-text {
    font-weight: 800; font-size: 13px; color: var(--primary);
    letter-spacing: -0.5px; line-height: 1.2; white-space: nowrap;
}
.hw-logo-text small {
    display: block; font-size: 9px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; color: rgba(30,41,59,.5);
}

/* Nav Links */
.hw-nav { display: flex; align-items: stretch; flex: 1; padding-left: 4px; }
.hw-nav > ul { display: flex; align-items: stretch; list-style: none; flex: 1; }
.hw-nav > ul > li { display: flex; align-items: stretch; position: relative; }
.hw-nav > ul > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 0 14px; font-size: 11px; font-weight: 700;
    color: var(--steel); letter-spacing: .4px; text-transform: uppercase;
    border-bottom: 3px solid transparent; white-space: nowrap;
    transition: color var(--t), border-color var(--t);
}
.hw-nav > ul > li > a i              { font-size: 12px; }
.hw-nav > ul > li > a:hover          { color: var(--primary); border-bottom-color: var(--accent); }
.hw-nav > ul > li > a.active         { color: var(--primary); border-bottom-color: var(--accent); }

/* CTA-Button in Nav */
.hw-nav-cta {
    align-self: center !important; margin: 0 0 0 8px !important;
    background: var(--accent) !important; color: #fff !important;
    padding: 9px 18px !important; border-bottom: none !important;
    border-radius: var(--radius) !important; font-size: 11px !important;
    letter-spacing: .5px !important; gap: 6px !important; flex-shrink: 0;
}
.hw-nav-cta i        { color: #fff !important; font-size: 12px !important; }
.hw-nav-cta:hover    { background: var(--accent-dk) !important; color: #fff !important; border-bottom: none !important; }
.hw-nav-cta::after   { display: none !important; }

/* Dropdown */
.hw-dd-l1 {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white) !important; border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    min-width: 200px; padding: 5px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.2); z-index: 1001; list-style: none;
}
.hw-has-dd:hover .hw-dd-l1  { display: block; }
.hw-has-dd.open  .hw-dd-l1  { display: block; }
.hw-has-dd.open > a .hw-dd-arrow { transform: rotate(180deg); }
.hw-dd-arrow { transition: transform var(--t); }
.hw-dd-l1-direct a {
    display: block; padding: 10px 16px;
    font-size: 11px; font-weight: 700; color: var(--steel);
    text-transform: uppercase; letter-spacing: .5px;
    border-left: 3px solid transparent; transition: all .15s;
}
.hw-dd-l1-direct a:hover {
    color: var(--primary); background: var(--light);
    border-left-color: var(--accent); padding-left: 20px;
}
.hw-dd-l2 { display: none; }

/* Hamburger */
.hw-hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 5px; background: none; border: none;
    margin: auto 16px auto auto; flex-shrink: 0;
}
.hw-hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); transition: all .3s; border-radius: 1px; }
.hw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hw-hamburger.open span:nth-child(2) { opacity: 0; }
.hw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* Responsive Nav */
@media(max-width: 1100px) {
    .hw-nav > ul > li > a { padding: 0 10px; font-size: 10px; }
    .hw-logo { padding: 0 16px; }
}
@media(max-width: 991px) {
    :root { --topbar-h: 34px; --header-h: 60px; }
    .hw-hamburger { display: flex; }
    .hw-logo-text small { display: none; }
    .hw-nav {
        display: none; position: fixed;
        top: var(--offset); left: 0; right: 0;
        background: var(--white); border-top: 3px solid var(--accent);
        max-height: calc(100vh - var(--offset));
        overflow-y: auto; flex-direction: column; padding: 0;
        box-shadow: 0 8px 32px rgba(0,0,0,.15); z-index: 998;
    }
    .hw-nav.open { display: flex; }
    .hw-nav > ul { flex-direction: column; flex: unset; }
    .hw-nav > ul > li { display: block; }
    .hw-nav > ul > li > a {
        padding: 16px 24px; border-bottom: 1px solid var(--border);
        border-left: 3px solid transparent; font-size: 13px;
        justify-content: flex-start; gap: 14px;
    }
    .hw-nav > ul > li > a .hw-dd-arrow { margin-left: auto; }
    .hw-nav > ul > li > a:hover,
    .hw-nav > ul > li > a.active {
        border-bottom-color: var(--border);
        border-left-color: var(--accent); background: var(--light);
    }
    .hw-nav-cta { margin: 12px 16px !important; display: flex !important; justify-content: center; border-radius: var(--radius) !important; padding: 12px 20px !important; }
    .hw-dd-l1 { display: none; position: static; border: none; box-shadow: none; background: var(--light); padding: 0; }
    .hw-has-dd.open .hw-dd-l1 { display: block; }
    .hw-dd-l1-direct a { padding: 11px 32px; border-left: none; border-bottom: 1px solid var(--border); }
    .hw-dd-l1-direct a:hover { padding-left: 38px; border-left: none; }
}
@media(max-width: 480px) {
    .hw-logo-text { display: none; }
    .hw-logo { padding: 0 14px; }
}

/* ══════════════════════════════════════════════════════════════════
   9. FOOTER
   ══════════════════════════════════════════════════════════════════ */
.hw-footer { background: var(--dark); position: relative; }
.hw-footer::before {
    content: ''; display: block; height: 56px;
    background: linear-gradient(to bottom right, var(--white) 49.5%, var(--dark) 50%);
}
.hw-footer-top { padding: 16px 0 64px !important; }
.hw-footer-top .row {
    display: grid !important;
    grid-template-columns: 1.5fr 1.1fr 0.9fr 1.3fr !important;
    gap: 0 !important; align-items: start !important;
    flex-wrap: unset !important; margin: 0 !important;
}
.hw-footer-top [class*="col-"] {
    flex: unset !important; max-width: unset !important; width: unset !important;
    padding: 0 36px !important; margin-bottom: 0 !important;
    border-right: 1px solid rgba(255,255,255,.06);
}
.hw-footer-top [class*="col-"]:last-child  { border-right: none; }
.hw-footer-top [class*="col-"]:first-child { padding-left: 0 !important; padding-right: 40px !important; }
.hw-footer-top [class*="col-"]:last-child  { padding-right: 0 !important; }
.hw-footer-top .mb-40 { margin-bottom: 0 !important; }

/* Logo & Info-Spalte */
.hw-footer-logo-img  { height: 40px; width: auto; display: block; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .85; }
.hw-footer-logo-text { font-family: var(--ff-heading); font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.5px; display: block; margin-bottom: 3px; }
.hw-footer-logo-sub  { font-size: 9px; color: rgba(255,255,255,.25); letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 16px; }
.hw-footer-desc      { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.38); margin-bottom: 16px; }

/* Social Icons */
.hw-footer-social { display: flex; gap: 8px; margin-top: 4px; }
.hw-footer-social a {
    width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3); font-size: 13px; transition: all var(--t);
}
.hw-footer-social a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }

/* Spalten-Überschriften */
.hw-footer-heading {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--accent); margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); display: block;
}

/* Links */
.hw-footer-links { list-style: none; }
.hw-footer-links li { margin-bottom: 8px; }
.hw-footer-links a {
    font-size: 13px; color: rgba(255,255,255,.35); display: flex; align-items: center;
    gap: 8px; transition: color var(--t), padding-left var(--t);
}
.hw-footer-links a::before { content: '—'; color: var(--accent); font-weight: 700; font-size: 11px; opacity: .7; }
.hw-footer-links a:hover   { color: rgba(255,255,255,.8); padding-left: 4px; }

/* Öffnungszeiten */
.hw-footer-hours { list-style: none; }
.hw-footer-hours li {
    display: flex; justify-content: space-between; padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.04); font-size: 12px; color: rgba(255,255,255,.38);
}
.hw-footer-hours li:last-child  { border-bottom: none; }
.hw-footer-hours li.closed      { color: rgba(255,255,255,.14); }
.hw-footer-hours li span:first-child { color: rgba(255,255,255,.22); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }

/* Notdienst-Box im Footer */
.hw-footer-notdienst {
    margin-top: 16px; padding: 12px 14px;
    background: var(--accent-bg);
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
    border-radius: 4px; display: flex; align-items: center; gap: 10px;
}
.hw-footer-notdienst-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0; animation: sBlink 1.4s ease-in-out infinite;
}
.hw-footer-notdienst p {
    margin: 0; font-size: 11px; font-weight: 700;
    color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; line-height: 1.4;
}
.hw-footer-notdienst a       { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: -0.3px; display: block; margin-top: 1px; }
.hw-footer-notdienst a:hover { color: #fff; }

/* Kontakt */
.hw-footer-contact { list-style: none; }
.hw-footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,.4); align-items: flex-start; line-height: 1.5; }
.hw-footer-contact li i   { color: var(--accent); font-size: 12px; margin-top: 3px; flex-shrink: 0; }
.hw-footer-contact a      { color: rgba(255,255,255,.4); }
.hw-footer-contact a:hover{ color: var(--accent); }

/* CTA im Footer */
.hw-footer-cta-wrap { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); }

/* Footer Bottom */
.hw-footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 0; background: rgba(0,0,0,.2); }
.hw-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.hw-footer-bottom-inner p    { margin: 0; font-size: 11px; color: rgba(255,255,255,.18); }
.hw-footer-bottom-inner ul   { display: flex; gap: 20px; list-style: none; }
.hw-footer-bottom-inner ul a { font-size: 11px; color: rgba(255,255,255,.18); }
.hw-footer-bottom-inner ul a:hover { color: var(--accent); }

/* Demo-Badge */
.hw-demo-badge     { text-align: center; padding: 12px 0; font-size: 11px; color: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.04); }
.hw-demo-badge a   { color: var(--accent); opacity: .4; }
.hw-demo-badge a:hover { opacity: 1; }
.hw-andi24-link    { display: inline-flex; align-items: center; vertical-align: middle; }
.hw-andi24-logo    { height: 56px; width: auto; vertical-align: middle; opacity: .4; transition: opacity var(--t); }
.hw-andi24-logo:hover { opacity: .9; }

@media(max-width: 991px) {
    .hw-footer::before { height: 36px; }
    .hw-footer-top .row { grid-template-columns: 1fr 1fr !important; }
    .hw-footer-top [class*="col-"] { padding: 30px 24px !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.05); }
    .hw-footer-top [class*="col-"]:first-child { padding-left: 24px !important; padding-right: 24px !important; }
    .hw-footer-top [class*="col-"]:last-child  { padding-right: 24px !important; border-bottom: none; }
    .hw-footer-top [class*="col-"]:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.05) !important; }
}
@media(max-width: 540px) {
    .hw-footer-top .row { grid-template-columns: 1fr !important; }
    .hw-footer-top [class*="col-"] { border-right: none !important; }
    .hw-footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════════
   10. BUTTONS
   ══════════════════════════════════════════════════════════════════ */
.hw-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; font-family: var(--ff-body);
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: all var(--t); white-space: nowrap;
    text-decoration: none; line-height: 1;
}
.hw-btn i   { font-size: 13px; }
.hw-btn-lg  { padding: 15px 34px; font-size: 13px; }
.hw-btn-sm  { padding: 8px 16px; font-size: 11px; }
.hw-btn-xl  { padding: 17px 40px; font-size: 14px; }

.hw-btn-accent      { background: var(--accent); color: #fff; border-color: var(--accent); }
.hw-btn-accent:hover{ background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-lt); }

.hw-btn-dark        { background: var(--primary); color: #fff; border-color: var(--primary); }
.hw-btn-dark:hover  { background: #0f172a; border-color: #0f172a; color: #fff; transform: translateY(-2px); }

.hw-btn-outline      { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hw-btn-outline:hover{ background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

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

.hw-btn-white      { background: #fff; color: var(--primary); border-color: #fff; }
.hw-btn-white:hover{ background: var(--accent); border-color: var(--accent); color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   11. SECTION / HEADERS
   ══════════════════════════════════════════════════════════════════ */
.hw-section           { padding: 96px 0; }
.hw-section.hw-bg-light { background: var(--light); }
.hw-section.hw-bg-cream { background: var(--cream); }
.hw-section.hw-bg-white { background: var(--white); }
.hw-section.hw-bg-dark  { background: var(--primary); }
.hw-section.hw-bg-warm  { background: var(--warm); }

.hw-section-header { margin-bottom: 56px; }

.hw-section-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
}
.hw-section-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0; }
.text-center .hw-section-tag, .hw-section-tag.center { display: flex; justify-content: center; }

.hw-section-title         { letter-spacing: -0.03em; margin-bottom: 10px; }
.hw-section-title.on-dark { color: #fff; }
.hw-section-desc          { font-size: 15px; color: var(--steel); line-height: 1.75; margin-bottom: 0; }
.hw-section-desc.on-dark  { color: rgba(255,255,255,.55); }

.hw-divider        { width: 48px; height: 3px; background: var(--accent); margin: 14px 0 20px; }
.hw-divider.center { margin-left: auto; margin-right: auto; }
.text-center .hw-divider { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════════
   12. HERO — Zweiteilig mit Diagonale
   ══════════════════════════════════════════════════════════════════ */
.hw-hero {
    min-height: calc(100vh - var(--offset));
    display: grid; grid-template-columns: 55% 45%;
    position: relative; overflow: hidden;
}
.hw-hero-left {
    background: var(--primary);
    display: flex; align-items: center;
    padding: 80px 72px 80px 80px;
    position: relative; z-index: 2;
}
.hw-hero-left::after {
    content: ''; position: absolute;
    top: 0; right: -80px; width: 160px; height: 100%;
    background: var(--primary);
    clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
    z-index: 3;
}
.hw-hero-left::before {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg,   rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg,  rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}
.hw-hero-content { position: relative; z-index: 4; width: 100%; max-width: 560px; }

.hw-hero-right { position: relative; overflow: hidden; }
.hw-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    background-size: cover; background-position: center;
}
.hw-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,.6) 0%, rgba(15,23,42,.2) 100%); }
.hw-hero-right::before {
    content: ''; position: absolute; top: 0; left: -40px;
    width: 120px; height: 100%; background: var(--primary);
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%); z-index: 5;
}

.hw-hero-img-badge {
    position: absolute; bottom: 40px; left: 60px; z-index: 6;
    background: var(--accent); color: var(--primary);
    padding: 18px 22px; border-radius: 2px; font-weight: 900;
}
.hw-hero-img-badge span  { display: block; font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.hw-hero-img-badge small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.hw-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-bg); color: var(--accent);
    padding: 6px 14px; border-radius: 2px;
    font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 28px;
}
.hw-hero-badge i { font-size: 11px; }

.hw-hero-title {
    font-size: clamp(28px, 6vw, 62px); font-weight: 900;
    color: #fff; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 22px;
    overflow-wrap: break-word; word-break: break-word;
}
.hw-hero-title em    { font-style: normal; color: var(--accent); }
.hw-hero-subtitle    { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.75; max-width: 440px; margin-bottom: 40px; }
.hw-hero-actions     { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Stats-Box unter Hero-Text */
.hw-hero-stats { display: inline-flex; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.hw-hero-stat  { padding: 18px 28px; border-right: 1px solid rgba(255,255,255,.1); }
.hw-hero-stat:last-child { border-right: none; }
.hw-hero-stat-num   { font-size: 32px; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -1px; display: block; }
.hw-hero-stat-label { font-size: 9px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; display: block; white-space: nowrap; }

/* Scroll Cue */
.hw-scroll-cue {
    position: absolute; bottom: 24px; left: 28%; transform: translateX(-50%);
    z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: rgba(255,255,255,.25); font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    animation: sBounce 2s ease-in-out infinite;
}

/* Hero Responsive */
@media(max-width: 1100px) {
    .hw-hero-left      { padding: 64px 48px; }
    .hw-hero-stat      { padding: 14px 20px; }
    .hw-hero-stat-num  { font-size: 26px; }
}
@media(max-width: 860px) {
    .hw-hero           { grid-template-columns: 1fr; }
    .hw-hero-right     { display: none; }
    .hw-hero-left      { padding: 56px 24px 64px; min-height: calc(100vh - var(--offset)); }
    .hw-hero-left::after { display: none; }
    .hw-hero-content   { max-width: 100%; }
    .hw-hero-stats     { flex-wrap: wrap; width: 100%; }
    .hw-hero-stat      { flex: 1; min-width: 110px; }
    .hw-scroll-cue     { left: 50%; }
}
@media(max-width: 540px) {
    .hw-hero-left      { padding: 40px 20px 52px; }
    .hw-hero-title     { font-size: clamp(26px, 8vw, 38px); letter-spacing: -0.03em; line-height: 1.1; }
    .hw-hero-subtitle  { font-size: 14px; margin-bottom: 28px; }
    .hw-hero-badge     { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 20px; white-space: normal; }
    .hw-hero-actions   { flex-direction: column; gap: 10px; margin-bottom: 36px; }
    .hw-hero-actions .hw-btn { width: 100%; justify-content: center; }
    .hw-hero-stats     { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
    .hw-hero-stat      { padding: 12px 10px; flex: unset; min-width: unset; }
    .hw-hero-stat-num  { font-size: 22px; }
    .hw-hero-stat-label{ font-size: 8px; letter-spacing: 1px; white-space: normal; }
}

/* ══════════════════════════════════════════════════════════════════
   13. VORTEILE-STRIP (Unter Hero)
   ══════════════════════════════════════════════════════════════════ */
.hw-vorteile-strip { background: var(--primary); display: grid; grid-template-columns: repeat(4, 1fr); }
.hw-vorteil-item {
    padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.06);
    display: flex; align-items: flex-start; gap: 16px; transition: background var(--t);
}
.hw-vorteil-item:last-child  { border-right: none; }
.hw-vorteil-item:hover       { background: rgba(255,255,255,.025); }
.hw-vorteil-num   { font-size: 32px; font-weight: 900; color: color-mix(in srgb, var(--accent) 75%, transparent); line-height: 1; flex-shrink: 0; letter-spacing: -2px; min-width: 48px; }
.hw-vorteil-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.hw-vorteil-text  { font-size: 12px; color: rgba(255,255,255,.38); line-height: 1.6; }

@media(max-width: 991px) {
    .hw-vorteile-strip { grid-template-columns: repeat(2, 1fr); }
    .hw-vorteil-item:nth-child(2)   { border-right: none; }
    .hw-vorteil-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); }
}
@media(max-width: 540px) {
    .hw-vorteile-strip { grid-template-columns: 1fr; }
    .hw-vorteil-item   { border-right: none !important; border-top: 1px solid rgba(255,255,255,.06); padding: 22px 20px; }
    .hw-vorteil-item:first-child { border-top: none; }
}

/* ══════════════════════════════════════════════════════════════════
   14. FEATURE CARDS / USP-KARTEN
   ══════════════════════════════════════════════════════════════════ */
.hw-feature-card {
    background: var(--white); padding: 36px 28px; height: 100%;
    border: 1px solid var(--border); border-top: 3px solid transparent;
    border-radius: 2px; transition: all .25s; position: relative;
}
.hw-feature-card:hover { border-top-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.hw-feature-icon {
    width: 52px; height: 52px; background: var(--warm); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--accent); margin-bottom: 20px; transition: all .25s;
}
.hw-feature-card:hover .hw-feature-icon { background: var(--accent); color: #fff; }
.hw-feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.hw-feature-text  { font-size: 14px; line-height: 1.7; color: var(--steel); margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════════
   15. LEISTUNGEN-KARTEN (Index)
   ══════════════════════════════════════════════════════════════════ */
.hw-leistung-card {
    background: var(--white); padding: 32px 28px; height: 100%;
    border: 1px solid var(--border); border-left: 3px solid transparent;
    border-radius: 2px; transition: all .25s; position: relative; overflow: hidden;
}
.hw-leistung-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.hw-leistung-card:hover { border-left-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.hw-leistung-card:hover::after { transform: scaleX(1); }
.hw-leistung-icon {
    width: 52px; height: 52px; background: var(--warm); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: var(--accent); margin-bottom: 20px; transition: all .25s;
}
.hw-leistung-card:hover .hw-leistung-icon { background: var(--accent); color: #fff; }
.hw-leistung-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.hw-leistung-text  { font-size: 14px; line-height: 1.7; color: var(--steel); margin-bottom: 16px; }
.hw-leistung-link  {
    font-size: 11px; font-weight: 700; color: var(--accent);
    display: inline-flex; align-items: center; gap: 6px;
    text-transform: uppercase; letter-spacing: .8px; transition: gap var(--t);
}
.hw-leistung-link:hover { gap: 10px; color: var(--accent-dk); }
.hw-leistung-link i { font-size: 11px; }

/* ══════════════════════════════════════════════════════════════════
   16. ABOUT SECTION
   ══════════════════════════════════════════════════════════════════ */
.hw-about-row {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 560px; overflow: hidden; max-width: 100%;
}
.hw-about-img-wrap { position: relative; overflow: hidden; background: linear-gradient(135deg, #1e3a5f, #0f172a); min-height: 420px; }
.hw-about-img      { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-about-badge {
    position: absolute; bottom: 40px; right: 0;
    background: var(--accent); color: var(--primary);
    padding: 18px 22px; border-radius: 2px 0 0 2px;
    text-align: center; box-shadow: -4px 4px 24px var(--accent-lt);
}
.hw-about-badge-num  { font-size: 44px; font-weight: 900; line-height: 1; display: block; }
.hw-about-badge-text { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; display: block; }
.hw-about-text  { background: var(--primary); display: flex; align-items: center; padding: 72px 64px; }
.hw-about-inner { max-width: 480px; }
.hw-about-divider { width: 48px; height: 3px; background: var(--accent); margin: 14px 0 24px; }

@media(max-width: 991px) {
    .hw-about-row { grid-template-columns: 1fr; min-height: unset; }
    .hw-about-img-wrap { min-height: 280px; max-height: 380px; }
    .hw-about-text { padding: 40px 24px; width: 100%; }
    .hw-about-inner { max-width: 100%; word-break: break-word; }
    .hw-about-badge { bottom: 24px; }
}
@media(max-width: 540px) {
    .hw-about-text { padding: 32px 16px; }
    .hw-about-badge-num { font-size: 32px; }
}

/* ══════════════════════════════════════════════════════════════════
   17. STATS GRID
   ══════════════════════════════════════════════════════════════════ */
.hw-stats-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--border); }
.hw-stat-item   { padding: 32px 24px; border-right: 1px solid var(--border); text-align: center; transition: background var(--t); }
.hw-stat-item:last-child { border-right: none; }
.hw-stat-item:hover      { background: var(--light); }
.hw-stat-num    { font-size: 40px; font-weight: 900; color: var(--accent); letter-spacing: -2px; line-height: 1; }
.hw-stat-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); margin-top: 6px; }
@media(max-width: 767px) {
    .hw-stats-grid { grid-template-columns: repeat(2,1fr); }
    .hw-stat-item:nth-child(2)   { border-right: none; }
    .hw-stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════════════════
   18. REVIEWS
   ══════════════════════════════════════════════════════════════════ */
.hw-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.hw-review-card  {
    padding: 36px 32px; border-right: 1px solid var(--border);
    background: var(--white); transition: background var(--t); position: relative;
}
.hw-review-card:last-child { border-right: none; }
.hw-review-card:hover      { background: var(--light); }
.hw-review-card::before {
    content: '"'; position: absolute; top: 16px; right: 24px;
    font-size: 72px; color: var(--accent-bg);
    font-family: Georgia, serif; font-weight: 900; line-height: 1;
}
.hw-review-stars   { display: flex; gap: 3px; margin-bottom: 14px; }
.hw-review-stars i { color: var(--accent); font-size: 14px; }
.hw-review-stars i::before { content: '★'; }
.ai-star.hw-star-icon { font-size: 14px; color: var(--accent); }
.hw-review-text    { font-size: 14px; color: var(--steel); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.hw-review-author  { display: flex; align-items: center; gap: 12px; }
.hw-review-avatar  { width: 42px; height: 42px; border-radius: var(--radius); background: var(--primary); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; flex-shrink: 0; }
.hw-review-name    { font-weight: 700; color: var(--primary); font-size: 14px; }
.hw-review-source  { font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

@media(max-width: 991px) {
    .hw-reviews-grid { grid-template-columns: 1fr; }
    .hw-review-card  { border-right: none; border-bottom: 1px solid var(--border); }
    .hw-review-card:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════════════
   19. TEAM CARDS
   ══════════════════════════════════════════════════════════════════ */
.hw-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
@media(max-width: 991px) { .hw-team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media(max-width: 480px)  { .hw-team-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

.hw-team-card { text-align: center; }
.hw-team-img-wrap {
    width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 16px; border: 3px solid var(--accent);
    position: relative; background: #1e3a5f;
}
.hw-team-img         { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hw-team-placeholder { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 40px; color: var(--accent); opacity: .5; }
.hw-team-name        { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.hw-team-rolle       { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; }
.hw-team-bio         { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.6); margin: 0; }

/* ══════════════════════════════════════════════════════════════════
   20. GALERIE / REFERENZEN (Komponente auf Index)
   ══════════════════════════════════════════════════════════════════ */
.hw-galerie-grid-small { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.hw-galerie-thumb      { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--primary); }
.hw-galerie-thumb img  { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); display: block; }
.hw-galerie-thumb:hover img  { transform: scale(1.05); }
.hw-galerie-overlay    { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background .25s; }
.hw-galerie-thumb:hover .hw-galerie-overlay { background: color-mix(in srgb, var(--accent) 70%, transparent); }
.hw-galerie-icon       { color: #fff; font-size: 28px; opacity: 0; transition: opacity .25s; }
.hw-galerie-thumb:hover .hw-galerie-icon { opacity: 1; }
@media(max-width: 767px) { .hw-galerie-grid-small { grid-template-columns: repeat(2,1fr); } }
@media(max-width: 480px)  { .hw-galerie-grid-small { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   21. CTA SECTION
   ══════════════════════════════════════════════════════════════════ */
.hw-cta { background: var(--primary); padding: 100px 0; position: relative; overflow: hidden; text-align: center; }
.hw-cta::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 56px;
    background: var(--white); clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.hw-cta::after {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg,  rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 80px);
    pointer-events: none;
}
.hw-cta .container { position: relative; z-index: 1; }
.hw-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hw-cta-desc    { max-width: 480px; margin: 0 auto; }
.hw-cta + section { margin-top: 0; }

/* ══════════════════════════════════════════════════════════════════
   22. NEWSLETTER SECTION
   ══════════════════════════════════════════════════════════════════ */
.hw-newsletter-wrap {
    max-width: 680px; margin: 0 auto; text-align: center;
    padding: 56px 40px; background: var(--white);
    border: 1px solid var(--border); border-top: 3px solid var(--accent);
}
.hw-newsletter-title    { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--primary); margin-bottom: 8px; letter-spacing: -0.03em; }
.hw-newsletter-desc     { font-size: 14px; color: var(--steel); margin-bottom: 28px; }
.hw-newsletter-form-row { display: flex; gap: 8px; margin-bottom: 16px; }
.hw-newsletter-input    { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--ff-body); font-size: 14px; outline: none; transition: border-color var(--t); }
.hw-newsletter-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.hw-newsletter-btn      { flex-shrink: 0; }
.hw-newsletter-consent  { text-align: left; }
.hw-consent-label       { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.hw-consent-check       { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.hw-consent-label span  { font-size: 12px; color: var(--steel); line-height: 1.5; }
.hw-consent-link        { color: var(--accent); }
.hw-consent-link:hover  { text-decoration: underline; }
.hw-newsletter-msg      { margin-top: 12px; font-size: 13px; font-weight: 600; min-height: 20px; }
.hw-msg-ok  { color: #16a34a; }
.hw-msg-err { color: #dc2626; }

@media(max-width: 540px) {
    .hw-newsletter-wrap { padding: 40px 24px; }
    .hw-newsletter-form-row { flex-direction: column; }
    .hw-newsletter-btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════════
   23. FORMULAR-ELEMENTE
   ══════════════════════════════════════════════════════════════════ */
.hw-form-group   { margin-bottom: 20px; }
.hw-form-label   { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.hw-form-control {
    width: 100%; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-family: var(--ff-body); font-size: 14px; color: var(--text);
    background: var(--white); transition: border-color var(--t), box-shadow var(--t); outline: none;
}
.hw-form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
textarea.hw-form-control { resize: vertical; min-height: 120px; }
select.hw-form-control   { cursor: pointer; }
.hw-form-check { display: flex; align-items: flex-start; gap: 10px; }
.hw-form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.hw-form-check label { font-size: 13px; color: var(--steel); line-height: 1.5; cursor: pointer; }
.hw-notfall-check { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 14px 16px; }
.hw-notfall-check label { color: #991b1b; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   24. ALERTS & BADGES
   ══════════════════════════════════════════════════════════════════ */
.hw-alert         { padding: 14px 18px; border-radius: var(--radius); border-left: 3px solid; font-size: 14px; margin-bottom: 16px; }
.hw-alert-success { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.hw-alert-error   { background: #fef2f2; border-color: #ef4444; color: #b91c1c; }
.hw-alert-warning { background: #fffbeb; border-color: var(--accent); color: #92400e; }
.hw-alert-info    { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }

.hw-badge         { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.hw-badge-accent  { background: var(--accent-bg); color: var(--accent); }
.hw-badge-success { background: rgba(34,197,94,.1);  color: #16a34a; }
.hw-badge-danger  { background: rgba(239,68,68,.1);  color: #dc2626; }
.hw-divider-full  { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ══════════════════════════════════════════════════════════════════
   25. PAGE HERO (Unterseiten-Banner)
   ══════════════════════════════════════════════════════════════════ */
.hw-page-hero { background: var(--primary); padding: 64px 0 56px; position: relative; overflow: hidden; }
.hw-page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg,  rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}
.hw-page-hero::after {
    content: ''; position: absolute; top: 0; right: 80px; bottom: 0;
    width: 3px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: .3;
}
.hw-page-hero-inner { position: relative; z-index: 1; }
.hw-page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 52px); margin-bottom: 8px; }
.hw-page-hero p  { color: rgba(255,255,255,.5); font-size: 15px; max-width: 540px; margin-bottom: 0; }

.hw-breadcrumb      { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hw-breadcrumb a    { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); opacity: .7; }
.hw-breadcrumb a:hover { opacity: 1; }
.hw-breadcrumb span { font-size: 11px; color: rgba(255,255,255,.25); }

.hw-page-hero-bottom { height: 40px; background: linear-gradient(to bottom right, var(--primary) 49.5%, var(--white) 50%); }

/* ══════════════════════════════════════════════════════════════════
   26. GALERIE SEITE (Vollseite)
   ══════════════════════════════════════════════════════════════════ */
.hw-galerie-filter { background: var(--primary); position: sticky; top: var(--offset); z-index: 50; padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hw-galerie-filter-inner { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.hw-galerie-filter-inner::-webkit-scrollbar { display: none; }
.hw-filter-btn {
    padding: 14px 20px; background: none; border: none;
    font-family: var(--ff-body); font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.4);
    cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; transition: all var(--t);
}
.hw-filter-btn:hover  { color: rgba(255,255,255,.8); }
.hw-filter-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.hw-galerie-masonry,
.hw-galerie-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 0;
}
@media(max-width: 767px) { .hw-galerie-masonry, .hw-galerie-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media(max-width: 480px)  { .hw-galerie-masonry, .hw-galerie-grid { grid-template-columns: 1fr; } }

.hw-galerie-item { border-radius: 8px; overflow: hidden; }
.hw-galerie-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--border); cursor: pointer; border-radius: 8px; }
.hw-galerie-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow) ease; }
.hw-galerie-img-wrap:hover .hw-galerie-img { transform: scale(1.04); }
.hw-galerie-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
    padding: 20px; opacity: 0; transition: opacity .3s ease;
}
.hw-galerie-img-wrap:hover .hw-galerie-overlay { opacity: 1; }
.hw-galerie-caption        { color: #fff; }
.hw-galerie-caption strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.hw-galerie-caption span   { font-size: 12px; color: rgba(255,255,255,.8); line-height: 1.4; }
.hw-galerie-overlay .ai-expand { position: absolute; top: 14px; right: 14px; font-size: 18px; color: rgba(255,255,255,.7); }
.hw-galerie-placeholder { background: var(--border); }
.hw-galerie-placeholder::after { content: '📷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; opacity: .3; }
.hw-lightbox-caption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; margin-top: 12px; }

/* Lightbox */
.hw-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 10000; align-items: center; justify-content: center; }
.hw-lightbox.open { display: flex; }
.hw-lightbox-img  { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 2px; }
.hw-lightbox-close,
.hw-lightbox-prev,
.hw-lightbox-next {
    position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius); font-size: 18px; transition: all var(--t);
}
.hw-lightbox-close:hover,
.hw-lightbox-prev:hover,
.hw-lightbox-next:hover { background: var(--accent); border-color: var(--accent); }
.hw-lightbox-close { top: 20px; right: 20px; }
.hw-lightbox-prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.hw-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* ══════════════════════════════════════════════════════════════════
   27. LEISTUNGEN SEITE
   ══════════════════════════════════════════════════════════════════ */
.hw-leistungen-nav       { position: sticky; top: var(--offset); z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.hw-leistungen-nav-inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.hw-leistungen-nav-inner::-webkit-scrollbar { display: none; }
.hw-leistungen-nav-item  { padding: 14px 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); border-bottom: 2px solid transparent; white-space: nowrap; transition: all var(--t); }
.hw-leistungen-nav-item:hover  { color: var(--primary); border-bottom-color: var(--accent); }
.hw-leistungen-nav-item.active { color: var(--primary); border-bottom-color: var(--accent); }

.hw-leistung-section       { padding: 80px 0; border-bottom: 1px solid var(--border); }
.hw-leistung-section:last-child { border-bottom: none; }
.hw-leistung-section-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hw-leistung-section-grid.reverse   { direction: rtl; }
.hw-leistung-section-grid.reverse > * { direction: ltr; }
.hw-leistung-img           { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2px; display: block; }
.hw-leistung-img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--accent); opacity: .3; }
@media(max-width: 767px)   { .hw-leistung-section-grid { grid-template-columns: 1fr; gap: 32px; } .hw-leistung-section-grid.reverse { direction: ltr; } }

/* ══════════════════════════════════════════════════════════════════
   28. TERMINANFRAGE SEITE
   ══════════════════════════════════════════════════════════════════ */
.hw-termin-wrapper    { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.hw-termin-form-card  { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--accent); padding: 40px; }
.hw-termin-info-card  { background: var(--primary); padding: 32px; margin-bottom: 16px; border-radius: 2px; }
.hw-termin-info-card h5 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.hw-termin-info-card ul { list-style: none; }
.hw-termin-info-card li { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; align-items: flex-start; }
.hw-termin-info-card li i { color: var(--accent); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

/* Schritt-Indikator */
.hw-termin-steps { display: flex; gap: 0; margin-bottom: 32px; counter-reset: step; }
.hw-step         { flex: 1; text-align: center; position: relative; }
.hw-step::after  { content: ''; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.hw-step:last-child::after { display: none; }
.hw-step-num     { width: 36px; height: 36px; border-radius: var(--radius); background: var(--border); color: var(--steel); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin: 0 auto 8px; position: relative; z-index: 1; transition: all var(--t); }
.hw-step.active .hw-step-num { background: var(--accent); color: #fff; }
.hw-step.done   .hw-step-num  { background: #22c55e; color: #fff; }
.hw-step-label   { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); }
.hw-step.active .hw-step-label { color: var(--primary); }

/* Zeitslots */
.hw-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
.hw-slot-btn   { padding: 10px 6px; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; font-weight: 700; color: var(--steel); cursor: pointer; transition: all var(--t); text-align: center; }
.hw-slot-btn:hover    { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }
.hw-slot-btn.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.hw-slot-btn.disabled { opacity: .35; cursor: not-allowed; }

@media(max-width: 991px) {
    .hw-termin-wrapper { grid-template-columns: 1fr; }
    .hw-termin-sidebar { order: -1; }
    .hw-termin-info-card { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   29. KONTAKT SEITE
   ══════════════════════════════════════════════════════════════════ */
.hw-kontakt-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hw-kontakt-form-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--accent); padding: 40px; }
.hw-map-wrap          { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--border); border-top: 3px solid var(--accent); overflow: hidden; }
.hw-map-wrap iframe   { width: 100%; height: 100%; border: none; display: block; filter: grayscale(30%); }
.hw-map-placeholder   { width: 100%; height: 100%; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--border); }
@media(max-width: 767px) { .hw-kontakt-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   30. ÜBER UNS SEITE
   ══════════════════════════════════════════════════════════════════ */
.hw-ueber-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 500px; }
.hw-ueber-img       { position: relative; overflow: hidden; }
.hw-ueber-img img   { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-ueber-content   { background: var(--primary); padding: 72px 64px; display: flex; align-items: center; }
.hw-ueber-inner     { max-width: 480px; }
@media(max-width: 767px) {
    .hw-ueber-hero-grid { grid-template-columns: 1fr; }
    .hw-ueber-img       { min-height: 260px; }
    .hw-ueber-content   { padding: 40px 24px; }
}

/* ══════════════════════════════════════════════════════════════════
   31. GUTSCHEIN SEITE
   ══════════════════════════════════════════════════════════════════ */
.hw-gutschein-card   { background: var(--primary); padding: 48px; max-width: 680px; margin: 0 auto; border-top: 3px solid var(--accent); position: relative; overflow: hidden; }
.hw-gutschein-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--accent-bg); }
.hw-gutschein-inner  { position: relative; z-index: 1; }
.hw-gutschein-value  { font-size: 80px; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -4px; }
.hw-gutschein-label  { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.3); margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════════════════
   32. WARTUNGSVERTRAEGE (Handwerk-spezifisch)
   ══════════════════════════════════════════════════════════════════ */
.hw-wv-grid     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hw-wv-card     { background: var(--white); border: 1px solid var(--border); border-top: 3px solid transparent; padding: 36px 28px; transition: all .25s; position: relative; }
.hw-wv-card.featured { border-top-color: var(--accent); box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.hw-wv-card:hover    { border-top-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.hw-wv-name     { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.hw-wv-price    { font-size: 36px; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -2px; }
.hw-wv-price small { font-size: 14px; font-weight: 600; color: var(--steel); letter-spacing: 0; }
.hw-wv-features { list-style: none; margin: 20px 0; }
.hw-wv-features li { display: flex; gap: 10px; font-size: 14px; color: var(--text); padding: 6px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.hw-wv-features li:last-child { border-bottom: none; }
.hw-wv-features li i { color: var(--accent); font-size: 13px; margin-top: 2px; flex-shrink: 0; }
@media(max-width: 767px) { .hw-wv-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   33. LEGAL (Impressum, Datenschutz, AGB)
   ══════════════════════════════════════════════════════════════════ */
.hw-legal-content        { max-width: 800px; margin: 0 auto; padding: 80px 0; }
.hw-legal-content h2     { font-size: 22px; font-weight: 700; border-left: 3px solid var(--accent); padding-left: 16px; margin: 40px 0 16px; }
.hw-legal-content h3     { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.hw-legal-content p      { font-size: 14px; line-height: 1.8; color: var(--steel); margin-bottom: 14px; }
.hw-legal-content ul     { list-style: disc; padding-left: 24px; }
.hw-legal-content ul li  { font-size: 14px; color: var(--steel); margin-bottom: 6px; }
.hw-legal-content a      { color: var(--accent); }
.hw-legal-content a:hover{ text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════
   34. 404 / ERROR
   ══════════════════════════════════════════════════════════════════ */
.hw-404       { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.hw-404-num   { font-size: 120px; font-weight: 900; color: var(--accent); line-height: 1; letter-spacing: -6px; display: block; opacity: .15; }
.hw-404-title { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.hw-404-text  { font-size: 15px; color: var(--steel); max-width: 400px; margin: 0 auto 32px; }

/* ══════════════════════════════════════════════════════════════════
   35. SCHNELLCHECK / LEAD-CAPTURE (Handwerk Bonus)
   ══════════════════════════════════════════════════════════════════ */
.hw-schnellcheck-wrap {
    max-width: 720px; margin: 0 auto;
    background: var(--primary); border-top: 3px solid var(--accent);
    padding: 48px 56px; position: relative; overflow: hidden;
}
.hw-schnellcheck-wrap::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0, rgba(255,255,255,.015) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
}
.hw-schnellcheck-wrap .container { position: relative; z-index: 1; }
.hw-schnellcheck-row { display: flex; gap: 12px; }
.hw-schnellcheck-input {
    flex: 1; padding: 13px 16px; background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius);
    font-family: var(--ff-body); font-size: 14px; color: #fff; outline: none;
    transition: border-color var(--t);
}
.hw-schnellcheck-input::placeholder { color: rgba(255,255,255,.3); }
.hw-schnellcheck-input:focus        { border-color: var(--accent); }
@media(max-width: 540px) {
    .hw-schnellcheck-wrap { padding: 36px 24px; }
    .hw-schnellcheck-row  { flex-direction: column; }
}

/* ══════════════════════════════════════════════════════════════════
   36. LOADING / SKELETON (für dynamische Inhalte)
   ══════════════════════════════════════════════════════════════════ */
.hw-skeleton {
    background: linear-gradient(90deg, var(--border) 25%, var(--light) 50%, var(--border) 75%);
    background-size: 200% 100%;
    animation: sShimmer 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes sShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.hw-skeleton-text  { height: 14px; margin-bottom: 8px; }
.hw-skeleton-title { height: 28px; margin-bottom: 12px; }
.hw-skeleton-img   { aspect-ratio: 4/3; }

/* =============================================================
   theme-solid.css — ANHANG: Page-Templates
   Blöcke M–S  |  kontakt.php, leistungen.php, ueber-uns.php
   ============================================================= */


/* ── M: PAGE HERO ────────────────────────────────────────────── */
.hw-page-hero {
    background: var(--primary, #1e293b);
    color: #fff;
    padding: 5rem 1.5rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.hw-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.35) 0%, transparent 70%);
    pointer-events: none;
}

/* Mit Hintergrundbild (ueber-uns Hero-Variante) */
.hw-page-hero--mit-bild {
    background:
        linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)),
        var(--page-hero-bg, linear-gradient(135deg, #1e293b, #334155))
        center / cover no-repeat;
    min-height: 340px;
    display: flex;
    align-items: center;
}

.hw-page-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hw-page-hero-breadcrumb {
    font-size: .85rem;
    opacity: .7;
    margin-bottom: .75rem;
    display: flex;
    gap: .4rem;
    align-items: center;
}

.hw-page-hero-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.hw-page-hero-breadcrumb a:hover {
    text-decoration: underline;
}

.hw-page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 .5rem;
    line-height: 1.15;
}

.hw-page-hero-sub {
    font-size: 1.1rem;
    opacity: .85;
    margin: 0;
    max-width: 600px;
}


/* ── N: KONTAKT ──────────────────────────────────────────────── */
.hw-kontakt-section {
    padding-block: 4rem;
}

.hw-kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .hw-kontakt-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Formular-Spalte */
.hw-kontakt-intro {
    color: var(--text-muted, #64748b);
    margin-bottom: 1.75rem;
}

.hw-kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.hw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 580px) {
    .hw-form-row {
        grid-template-columns: 1fr;
    }
}

/* Kontakt-Karten */
.hw-kontakt-cards {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 2rem;
}

.hw-kontakt-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--surface, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: .75rem;
    padding: 1rem 1.25rem;
}

a.hw-kontakt-card--link {
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}

a.hw-kontakt-card--link:hover {
    border-color: var(--accent, #f97316);
    box-shadow: 0 0 0 3px var(--accent-bg, rgba(249,115,22,.08));
}

.hw-kontakt-card-icon {
    font-size: 1.4rem;
    color: var(--accent, #f97316);
    flex-shrink: 0;
    margin-top: .1rem;
}

.hw-kontakt-card div {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.hw-kontakt-card-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted, #64748b);
    font-weight: 600;
}

.hw-kontakt-card-value {
    font-weight: 600;
    font-size: .95rem;
    color: var(--text, #1e293b);
}

/* Öffnungszeiten auf Kontaktseite */
.hw-kontakt-oz {
    margin-bottom: 2rem;
}

.hw-kontakt-oz-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--text, #1e293b);
}

/* Karte */
.hw-kontakt-map {
    border-radius: .75rem;
    overflow: hidden;
    border: 1px solid var(--border, #e2e8f0);
}

.hw-kontakt-map-frame {
    display: block;
    width: 100%;
    height: 260px;
    border: none;
}

.hw-kontakt-map-placeholder {
    height: 200px;
    background: var(--surface, #f8fafc);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: var(--text-muted, #64748b);
    font-size: .95rem;
}

.hw-kontakt-map-placeholder [class*="ai-"] {
    font-size: 2.5rem;
    opacity: .4;
}


/* ── O: LEISTUNGEN STICKY NAV ────────────────────────────────── */
.hw-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--primary, #1e293b);
    border-bottom: 2px solid var(--accent, #f97316);
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.hw-sticky-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.hw-sticky-nav-inner::-webkit-scrollbar {
    display: none;
}

.hw-sticky-nav-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.25rem;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
}

.hw-sticky-nav-link:hover,
.hw-sticky-nav-link.aktiv {
    color: #fff;
    border-bottom-color: var(--accent, #f97316);
}

.hw-sticky-nav-link [class*="ai-"] {
    font-size: 1rem;
}


/* ── P: LEISTUNGEN DETAIL-SEKTIONEN ──────────────────────────── */
.hw-leistungen-detail {}

.hw-ls-sektion {
    padding-block: 4rem;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.hw-ls-sektion:last-child {
    border-bottom: none;
}

.hw-ls-sektion:nth-child(even) {
    background: var(--surface, #f8fafc);
}

.hw-ls-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hw-ls-sektion--mit-bild .hw-ls-inner {
    grid-template-columns: 1fr 1fr;
}

.hw-ls-sektion--reverse .hw-ls-inner {
    direction: rtl;
}

.hw-ls-sektion--reverse .hw-ls-inner > * {
    direction: ltr;
}

@media (max-width: 860px) {
    .hw-ls-sektion--mit-bild .hw-ls-inner {
        grid-template-columns: 1fr;
    }

    .hw-ls-sektion--reverse .hw-ls-inner {
        direction: ltr;
    }
}

.hw-ls-bild-img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.hw-ls-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: .5rem 0 1rem;
    color: var(--text, #1e293b);
}

.hw-ls-desc {
    color: var(--text-muted, #64748b);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.hw-ls-punkte {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.hw-ls-punkt {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .95rem;
    line-height: 1.5;
}

.hw-ls-punkt-icon {
    color: var(--accent, #f97316);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: .15rem;
}


/* ── Q: ÜBER UNS – WERTE ─────────────────────────────────────── */
.hw-werte-section {
    background: var(--surface, #f8fafc);
}

.hw-werte-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hw-werte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.hw-wert-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: box-shadow .25s, transform .25s;
}

.hw-wert-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
    transform: translateY(-3px);
}

.hw-wert-icon {
    font-size: 2.5rem;
    color: var(--accent, #f97316);
    display: block;
    margin-bottom: 1rem;
}

.hw-wert-titel {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .6rem;
    color: var(--text, #1e293b);
}

.hw-wert-text {
    font-size: .9rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}


/* ── R: ÜBER UNS – TEAM ──────────────────────────────────────── */
.hw-team-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hw-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.75rem;
}

.hw-team-card {
    background: var(--surface, #f8fafc);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 1rem;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

.hw-team-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.hw-team-bild-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--accent-bg, rgba(249,115,22,.06));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hw-team-bild-wrap--placeholder [class*="ai-"] {
    font-size: 5rem;
    color: var(--accent, #f97316);
    opacity: .4;
}

.hw-team-bild {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hw-team-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.hw-team-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .3rem;
    color: var(--text, #1e293b);
}

.hw-team-rolle {
    font-size: .85rem;
    color: var(--accent, #f97316);
    font-weight: 600;
    margin: 0 0 .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hw-team-bio {
    font-size: .875rem;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}


/* ── S: PARTNER / ZERTIFIKATE ────────────────────────────────── */
.hw-partner-section {
    background: var(--surface, #f8fafc);
    padding-block: 3rem;
}

.hw-partner-section .hw-section-label {
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

.hw-partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.hw-partner-item {
    opacity: .7;
    transition: opacity .2s;
}

.hw-partner-item:hover {
    opacity: 1;
}

.hw-partner-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.hw-partner-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-muted, #64748b);
}
