/*
Theme Name: Hase - Tischlermeister
Theme URI: https://tischlermeister-hase.de
Description: Eigenes Child-Theme fuer die Tischlerei Ralf Hase. Warmes Handwerks-Design auf Basis von Astra.
Author: Tischlermeister Hase
Author URI: https://tischlermeister-hase.de
Template: astra
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: hase
Tags: child-theme, local-business, carpentry
*/

/* === DESIGN TOKENS === */
:root {
    --wood-dark: #3D2817;
    --wood-primary: #715B1D;
    --wood-accent: #966949;
    --wood-light: #B8935A;
    --sand: #F5EFE6;
    --cream: #FDFCF8;
    --ink: #1F1B16;
    --muted: #6B6356;
    --line: #E6DFD1;
    --white: #FFFFFF;

    /* Neue Akzentfarben */
    --gold: #D4AF37;
    --gold-light: #E8C547;
    --gold-dark: #B8941F;
    --success: #52C41A;
    --error: #F5222D;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* 3x intensivere Shadows */
    --shadow-sm: 0 2px 4px rgba(61, 40, 23, 0.18), 0 3px 9px rgba(61, 40, 23, 0.24);
    --shadow-md: 0 12px 30px rgba(61, 40, 23, 0.24), 0 6px 12px rgba(61, 40, 23, 0.18);
    --shadow-lg: 0 60px 120px -36px rgba(61, 40, 23, 0.45), 0 24px 48px rgba(61, 40, 23, 0.24);

    --font-heading: 'Fraunces', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    --container-max: 1480px;
    --section-py-desktop: clamp(5rem, 10vw, 8rem);
    --section-py-mobile: 3.5rem;

    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --footer-text: #D6CEBD;
    --footer-text-light: #A89D87;
    --footer-label: var(--cream);
    --footer-bg-dark: #3D2817;
    --footer-bg-light: #2a1f11;
    --footer-divider: rgba(184, 147, 90, 0.5);
    --footer-font-size-sm: clamp(13px, 1.2vw, 15px);
    --footer-font-size-md: clamp(14.5px, 1.5vw, 16px);
    --footer-heading-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.3px;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.ast-page-builder-template .entry-title,
.single .entry-title {
    font-family: var(--font-heading) !important;
    color: var(--wood-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1, .entry-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
}
h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.8rem);
    margin: 0 0 1.25rem;
}
h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    margin: 0 0 1rem;
}

p {
    color: var(--ink);
    margin: 0 0 1rem;
}

a {
    color: var(--wood-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all .25s var(--ease-smooth);
    font-weight: 500;
}
a:hover, a:focus {
    color: var(--wood-accent);
    text-decoration-thickness: 2px;
}

/* === SCROLL-BREADCRUMB === */
.hase-scroll-breadcrumb {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-smooth);
    z-index: 90;
    pointer-events: none;
}

.hase-scroll-breadcrumb.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Breadcrumb verstecken auf Referenzen (wo Suchfeld kollidiert) */
body.page-referenzen .hase-scroll-breadcrumb,
body.page-id-529 .hase-scroll-breadcrumb {
    display: none !important;
}

.hase-scroll-breadcrumb__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    font-size: 13px;
    color: var(--muted);
    font-family: var(--font-body);
}

.hase-scroll-breadcrumb a {
    color: var(--wood-primary);
    text-decoration: none;
    transition: color .2s var(--ease-smooth);
}

.hase-scroll-breadcrumb a:hover {
    color: var(--wood-accent);
    text-decoration: underline;
}

.hase-scroll-breadcrumb__separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* === LAYOUT === */
.ast-container,
.site-content > .ast-container,
.site-header .ast-container,
.site-footer .ast-container {
    max-width: var(--container-max) !important;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
}

/* Astra "separate-container" Layout ueberschreiben: weg mit den grauen Raendern,
   Content nutzt die volle Breite mit dezentem Aufbau */
body.ast-separate-container #primary,
body.ast-separate-container .ast-article-single,
body .ast-article-single,
body .ast-article-post,
body .entry-content {
    background: transparent !important;
    padding: 0 !important;
    margin-inline: auto !important;
    max-width: var(--container-max) !important;
    box-shadow: none !important;
}

/* Page-Titel-Header darf gerne voll nutzen */
body .ast-page-builder-template .site-content > .ast-container { max-width: 100% !important; padding: 0 !important; }

/* Startseite: Hero und Sections sollen bis zum Rand gehen - alle Abstände raus */
body.home .site-content,
body.page-id-6 .site-content { padding: 0 !important; margin: 0 !important; }
body.home .site-content > .ast-container,
body.page-id-6 .site-content > .ast-container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

body.home #content,
body.page-id-6 #content,
body.home .site-content,
body.page-id-6 .site-content { margin-top: 0 !important; padding-top: 0 !important; }

body.home #primary,
body.page-id-6 #primary,
body.home .ast-article-single,
body.page-id-6 .ast-article-single {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

body.home .entry-content,
body.page-id-6 .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

/* Darunterliegende single-page Inhalte bekommen ordentliches Container-Padding –
   Ausnahme: Seiten mit eigenem Hero (haben Klasse hase-hero-page) */
body.page:not(.home):not(.page-id-6):not(.hase-hero-page) .ast-article-single {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 !important;
}

/* Hero-Seiten: Hub-Seiten + ihre Kinder (Leistungen, Manufaktur, Instandhaltung, Standorte)
   → Hero sitzt direkt unter Breadcrumb, kein Padding, kein Margin */
body.hase-hero-page #primary,
body.hase-hero-page .ast-article-single,
body.hase-hero-page .entry-content,
body.hase-hero-page main#main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}
/* Erster Block der Hero-Seite: kein Margin-Top (kein Gap zum Breadcrumb),
   aber internes Padding bleibt erhalten fuer die Hero-Optik */
body.hase-hero-page .entry-content > .hase-section:first-child,
body.hase-hero-page .entry-content > section:first-child,
body.hase-hero-page .entry-content > .hase-branch-hero,
body.hase-hero-page .entry-content > *:first-child {
    margin-top: 0 !important;
}

/* Hero-Innenpadding (oben + unten) fuer Luft um den Titel */
body.hase-hero-page .entry-content > .hase-branch-hero,
body.hase-hero-page .entry-content > section:first-child:not(.hase-section--img) {
    padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
}
body.hase-hero-page .hase-breadcrumb { margin-bottom: 0; }

/* Wenn der erste Content-Block KEIN Hero ist (kein section-Element, sondern
   direkt h1/h2/p), bekommt die Seite zusätzliches Padding oben — damit der
   Text nicht am Breadcrumb klebt */
body.hase-hero-page .entry-content > h1:first-child,
body.hase-hero-page .entry-content > h2:first-child,
body.hase-hero-page .entry-content > h3:first-child,
body.hase-hero-page .entry-content > p:first-child,
body.hase-hero-page .entry-content > ul:first-child,
body.hase-hero-page .entry-content > ol:first-child {
    padding-top: clamp(2.5rem, 5vw, 4rem);
}

/* Automatischen Page-Title auf Hero-Seiten verstecken (der Hero bringt sein H1 mit) */
body.hase-hero-page .entry-title,
body.hase-hero-page h1.entry-title,
body.hase-hero-page header.entry-header { display: none !important; }

/* Site-Background farblich auf creme bringen statt graue Plattform */
body,
body .site { background: var(--cream) !important; }

/* === HEADER === */
body .site-header,
body .ast-primary-header-bar,
body .main-header-bar,
body .main-header-bar-wrap,
body .ast-header-break-point .main-header-bar {
    background: var(--white) !important;
    background-color: var(--white) !important;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: all .3s var(--ease-smooth);
    padding-block: 0 !important;
}

/* Sticky Header - hoechste Spezifitaet, damit Astra nichts ueberschreibt */
body.wp-singular .site-header,
body .site-header,
html body .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100%;
    will-change: transform;
}
body.has-scrolled .site-header {
    box-shadow: 0 4px 12px rgba(61, 40, 23, 0.12) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
body.has-scrolled .main-header-bar,
body.has-scrolled .main-header-bar-wrap { background: transparent !important; }

/* Header als horizontales Flex: Logo links | Menü mitte | Telefon rechts
   - .main-header-bar ist outer container, volle Viewport-Breite (Astra-default)
   - .ast-container (innerer Wrapper) zentriert auf container-max und nimmt Flex-Layout auf
   - .main-header-container ist der ast-Flex-Wrap
*/
body .main-header-bar {
    display: block !important;
    min-height: 84px;
    padding: 0 !important;
    width: 100% !important;
}

body .main-header-bar > .ast-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding: 0 clamp(1rem, 3vw, 1.5rem) !important;
    min-height: 84px;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Astra Flex-Container im Inneren: no wrap, schrumpft wenn noetig */
body .main-header-bar .ast-flex.main-header-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem;
    min-height: 84px;
}

body .site-branding,
body .ast-site-identity {
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 !important;
    align-self: center;
}

body .ast-masthead-custom-menu-items,
body .ast-main-header-nav-open {
    display: none;
}

/* Logo kompakter */
body .site-header .custom-logo-link img,
body .site-header .site-logo-img img {
    max-height: 48px;
    max-width: 220px;
    width: auto;
    height: auto;
    transition: transform .3s var(--ease-smooth);
    object-fit: contain;
}

body .site-header .custom-logo-link:hover img { transform: scale(1.03); }

/* Site-title falls angezeigt */
body .site-header .site-title,
body .site-header .site-description { display: none; }

/* Haupt-Navigation */
body .ast-primary-header-bar .main-header-bar-navigation,
body .main-navigation {
    flex: 1;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 84px;
}

body .main-navigation ul.main-header-menu {
    display: flex !important;
    gap: 4px;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body .main-header-menu > li {
    display: flex;
    align-items: center;
    min-height: 84px;
}

body .main-header-menu > li > a,
body .main-navigation .menu-item > a {
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: var(--wood-dark) !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 12px !important;
    line-height: 84px !important;
    position: relative;
    transition: color .2s var(--ease-smooth);
    background: transparent !important;
    border: none !important;
    white-space: nowrap;
}

body .main-header-menu > li > a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 18px;
    height: 3px;
    background: var(--wood-primary);
    border-radius: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease-smooth);
}

body .main-header-menu > li > a:hover,
body .main-header-menu > li > a:focus,
body .main-header-menu > li.current-menu-item > a,
body .main-header-menu > li.current_page_item > a {
    color: var(--wood-primary) !important;
    background: transparent !important;
}
body .main-header-menu > li > a:hover::after,
body .main-header-menu > li.current-menu-item > a::after,
body .main-header-menu > li.current_page_item > a::after { transform: scaleX(1); }

/* Caret-Indikator fuer Top-Level-Items mit Submenu */
body .main-header-menu > li.menu-item-has-children > a::before {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 8px; height: 8px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.85;
    transition: transform .25s var(--ease-smooth), opacity .25s var(--ease-smooth);
}
body .main-header-menu > li.menu-item-has-children > a {
    padding-right: 28px !important;
}
body .main-header-menu > li.menu-item-has-children:hover > a::before {
    transform: translateY(-30%) rotate(225deg);
    opacity: 1;
}

/* Dropdown */
body .main-header-menu .sub-menu {
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 12px 30px -8px rgba(61, 40, 23, 0.18), 0 4px 8px rgba(61, 40, 23, 0.1) !important;
    padding: 10px !important;
    margin-top: 0 !important;
    top: 100% !important;
    min-width: 240px !important;
    border-top: 3px solid var(--wood-primary) !important;
    list-style: none !important;
}
body .main-header-menu .sub-menu > li {
    display: block !important;
    min-height: auto !important;
}
body .main-header-menu .sub-menu > li > a {
    color: var(--wood-dark) !important;
    padding: 10px 16px !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-body) !important;
    font-weight: 500 !important;
    font-size: 14.5px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    line-height: 1.3 !important;
    display: block !important;
    position: relative !important;
    white-space: nowrap;
}
body .main-header-menu .sub-menu > li > a::after { display: none !important; }
body .main-header-menu .sub-menu > li > a:hover,
body .main-header-menu .sub-menu > li > a:focus {
    background: var(--sand) !important;
    color: var(--wood-primary) !important;
    padding-left: 20px !important;
}

/* Mobile: Submenu unter dem Parent anzeigen */
@media (max-width: 921px) {
    body .main-header-menu > li.menu-item-has-children > a::before { display: none; }
    body .main-header-menu .sub-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        border-top: 1px solid var(--line) !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        background: var(--sand) !important;
    }
    body .main-header-menu .sub-menu > li > a {
        padding: 12px 32px !important;
        font-size: 14px !important;
    }
}

/* Telefon-CTA rechts platzieren - wird per JS/PHP vor dem end des Headers ausgegeben */
body .hase-header-phone {
    flex-shrink: 0;
    align-self: center;
    order: 99;
    margin-left: auto;
    padding: 10px 16px;
    font-size: 14px;
    gap: 6px;
}
body .hase-header-phone svg { width: 14px; height: 14px; }

/* Ab mittlerem Laptop: Menu-Padding noch weiter reduzieren */
@media (max-width: 1200px) {
    body .main-header-menu > li > a { padding: 0 8px !important; font-size: 13px !important; }
}

/* Mobile: Hamburger-Button transparent, dunkles Icon */
body .ast-mobile-menu-buttons,
body .menu-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--wood-dark) !important;
    padding: 8px !important;
    transition: opacity .2s var(--ease-smooth);
    order: 1 !important;
    flex-shrink: 0;
}
body .menu-toggle:hover,
body .menu-toggle:focus { background: transparent !important; opacity: 0.7; }

body .ast-mobile-menu-buttons-icon svg,
body .menu-toggle svg { fill: var(--wood-dark) !important; }
body .menu-toggle .menu-toggle-icon,
body .menu-toggle .ast-icon { color: var(--wood-dark) !important; }

/* Mobile-Nav unter Header sichtbar machen */
@media (max-width: 921px) {
    body .main-header-bar { min-height: 68px; }
    body .site-header .custom-logo-link img { max-height: 40px; }
    body .main-navigation,
    body .ast-primary-header-bar .main-header-bar-navigation {
        flex: 0 0 auto;
        min-height: auto;
    }
    body .main-header-menu { flex-direction: column; gap: 0; }
    body .main-header-menu > li { min-height: auto; display: block; }
    body .main-header-menu > li > a {
        line-height: 1.4 !important;
        padding: 14px 20px !important;
        border-bottom: 1px solid var(--line) !important;
    }
    body .main-header-menu > li > a::after { display: none; }
    body .hase-header-phone {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Telefon-CTA im Header */
.hase-header-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 16px;
    background: var(--wood-dark);
    color: var(--cream) !important;
    font-family: var(--font-body);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-smooth);
}

.hase-header-phone__text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hase-header-phone__number {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hase-header-phone:hover {
    background: var(--wood-primary);
    color: var(--cream) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hase-header-phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* === BUTTONS === */
.wp-block-button__link,
.ast-custom-button,
input[type="submit"],
button[type="submit"],
.wpcf7-submit {
    background: var(--wood-primary) !important;
    color: var(--cream) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.01em !important;
    padding: 14px 32px !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .25s var(--ease-smooth) !important;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wp-block-button__link:hover,
.ast-custom-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover {
    background: var(--gold) !important;
    color: var(--wood-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wp-block-button__link:disabled,
.ast-custom-button:disabled,
input[type="submit"]:disabled,
button[type="submit"]:disabled,
.wpcf7-submit:disabled {
    background: var(--muted) !important;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none !important;
}

/* Button Größen-Varianten */
.hase-button--small {
    padding: 10px 24px !important;
    font-size: 14px !important;
}

.hase-button--large {
    padding: 18px 48px !important;
    font-size: 18px !important;
}

.hase-button--primary {
    background: var(--gold) !important;
    color: var(--wood-dark) !important;
}

.hase-button--primary:hover {
    background: var(--gold-light) !important;
}

.hase-button--secondary {
    background: transparent !important;
    color: var(--wood-primary) !important;
    border: 2px solid var(--wood-primary) !important;
}

.hase-button--secondary:hover {
    background: var(--wood-primary) !important;
    color: var(--cream) !important;
    border-color: var(--wood-primary) !important;
}

/* Outline Style (Legacy) */
.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--wood-primary) !important;
    border: 2px solid var(--wood-primary) !important;
}
.is-style-outline .wp-block-button__link:hover {
    background: var(--wood-primary) !important;
    color: var(--cream) !important;
}

/* === SECTIONS === */
.hase-section {
    padding-block: var(--section-py-desktop);
    /* Full-bleed - Section bricht aus Container aus */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}
.hase-section--sand { background: var(--sand); }
.hase-section--dark { background: var(--wood-dark); color: var(--cream); }
.hase-section--dark h1,
.hase-section--dark h2,
.hase-section--dark h3 { color: var(--cream); }
.hase-section--dark p { color: #E6DFD1; }

@media (max-width: 768px) {
    .hase-section { padding-block: var(--section-py-mobile); }
}

/* === HERO === */
.hase-hero {
    position: relative;
    min-height: 64vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-primary) 100%);
    color: var(--cream);
    /* Full-Bleed aus Eltern-Container ausbrechen */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
/* Abstand zwischen Hero und Trust-Strip reduzieren */
body.home .hase-hero + section,
body.page-id-6 .hase-hero + section { margin-top: 0; }

.hase-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2020/11/neuesGlas-2-2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    pointer-events: none;
    animation: heroZoom 25s var(--ease-smooth) infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hase-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(184, 147, 90, 0.25), transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(150, 105, 73, 0.3), transparent 50%);
    pointer-events: none;
}

.hase-hero__inner {
    position: relative;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
    z-index: 1;
    animation: fadeInUp .8s var(--ease-smooth) backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hase-hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--wood-light);
    margin-bottom: 1rem;
}

.hase-hero h1 {
    color: var(--cream) !important;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    max-width: 20ch;
    margin-bottom: 1.5rem;
}

.hase-hero__lead {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.55;
    max-width: 52ch;
    color: var(--line);
    margin-bottom: 2.5rem;
}

.hase-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

.hase-hero__ctas .wp-block-button__link,
.hase-hero__cta {
    border-radius: var(--radius-md);
}

.hase-hero__ctas .wp-block-button__link.hase-hero__cta--primary,
.hase-hero__cta--primary {
    background: var(--gold) !important;
    color: var(--wood-dark) !important;
    border: 2px solid var(--gold) !important;
    font-weight: 700;
}
.hase-hero__ctas .wp-block-button__link.hase-hero__cta--primary:hover,
.hase-hero__cta--primary:hover {
    background: var(--gold-light) !important;
    border-color: var(--gold-light) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.hase-hero__ctas .wp-block-button__link.hase-hero__cta--ghost,
.hase-hero__cta--ghost {
    background: transparent !important;
    color: var(--sand) !important;
    border: 2px solid var(--sand) !important;
}
.hase-hero__ctas .wp-block-button__link.hase-hero__cta--ghost:hover,
.hase-hero__cta--ghost:hover {
    background: var(--sand) !important;
    color: var(--wood-dark) !important;
}

/* === SERVICE CARDS === */
.hase-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-top: 3rem;
}

.hase-service-card {
    background: var(--white);
    border: 1px solid #F0E8DC;
    border-radius: var(--radius-md);
    padding: clamp(1.75rem, 3.2vw, 2.5rem);
    transition: all .32s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(61, 40, 23, 0.08), 0 1px 2px rgba(61, 40, 23, 0.04);
}

.hase-service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--wood-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-smooth);
}

.hase-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(61, 40, 23, 0.2);
    border-color: var(--gold);
}
.hase-service-card:hover::before { transform: scaleX(1); }

.hase-service-card__icon {
    width: clamp(48px, 8vw, 56px);
    height: clamp(48px, 8vw, 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    color: var(--wood-primary);
    flex-shrink: 0;
}
.hase-service-card__icon svg {
    width: 65%;
    height: 65%;
    stroke: currentColor;
}

.hase-service-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.hase-service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

/* === HERO CONTENT === */
.hase-hero__content {
    position: relative;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
    z-index: 1;
}

.hase-hero__content h1 {
    color: var(--cream) !important;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hase-hero__content .hase-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--wood-light);
    margin-bottom: 1rem;
}

.hase-hero__content .hase-lead {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.55;
    max-width: 52ch;
    color: var(--line);
    margin-bottom: 2.5rem;
}

.hase-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
}

/* === SERVICES SECTION === */
.hase-services {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.hase-services__intro {
    text-align: center;
    margin-bottom: 3rem;
}

.hase-services__intro h2 {
    margin: 0 0 1rem;
}

.hase-services__intro p {
    color: var(--muted);
    margin: 0;
    font-size: 1.1rem;
    max-width: 60ch;
    margin-inline: auto;
}

.hase-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2rem);
}

/* === BUTTON STYLES === */
.hase-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(1.05rem, 2.5vw, 1.4rem) clamp(2.25rem, 4vw, 3rem);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(15px, 1.1vw, 17px);
    text-decoration: none;
    transition: all .28s var(--ease-smooth);
    cursor: pointer;
    border: none;
    min-height: 50px;
    min-width: 50px;
    box-shadow: 0 2px 8px rgba(61, 40, 23, 0.12);
    letter-spacing: 0.3px;
}

.hase-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(61, 40, 23, 0.18);
}

.hase-button:active {
    transform: translateY(-1px);
}

.hase-button--primary {
    background: var(--sand);
    color: var(--wood-dark);
}

.hase-button--primary:hover {
    background: var(--cream);
}

.hase-button--secondary {
    background: transparent;
    color: var(--sand);
    border: 2px solid var(--sand);
    box-shadow: none;
}

.hase-button--secondary:hover {
    background: var(--sand);
    color: var(--wood-dark);
}

.hase-button--light {
    background: var(--cream);
    color: var(--wood-dark);
}

.hase-button--light:hover {
    background: var(--white);
}

.hase-button__subtext {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 0.4rem;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

/* === SECTION CONTENT LAYOUT === */
.hase-section__content {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

.hase-section__content--centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 70ch;
}

.hase-section__content--centered h2 {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.hase-section__content--centered > p:first-of-type {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hase-section__text {
    display: flex;
    flex-direction: column;
}

.hase-section__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hase-section__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s var(--ease-smooth);
}

.hase-section:hover .hase-section__image img {
    transform: scale(1.04);
}

/* === UTILITY CLASSES === */
.hase-checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hase-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.hase-checklist li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--sand);
    color: var(--wood-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.hase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wood-primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap .3s var(--ease-smooth), color .3s var(--ease-smooth);
}

.hase-link:hover {
    color: var(--wood-accent);
    gap: 0.75rem;
}

.hase-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 3vw, 2rem);
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.hase-cta-group .hase-button {
    flex: 0 1 auto;
}

.hase-text--small {
    font-size: clamp(13px, 1.2vw, 15px);
    color: rgba(230, 223, 209, 0.85);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.02em;
}

/* === PREMIUM CTA REDESIGN === */
.hase-cta-premium {
    max-width: 90ch;
}

.hase-cta-premium__headline {
    font-family: var(--font-heading) !important;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--cream) !important;
    margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hase-cta-premium__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: stretch;
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.hase-cta-premium__divider {
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 20%,
        rgba(212, 175, 55, 0.5) 50%,
        rgba(212, 175, 55, 0.3) 80%,
        transparent 100%);
    margin: 0 clamp(0.5rem, 1vw, 1rem);
}

.hase-cta-premium__phone,
.hase-cta-premium__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    min-height: 280px;
}

.hase-button--call,
.hase-button--form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    transition: all .35s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.hase-button--call {
    background: var(--gold);
    color: var(--wood-dark);
    padding: clamp(1.75rem, 3vw, 2.25rem) clamp(2.5rem, 5vw, 3.5rem);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4), 0 4px 12px rgba(61, 40, 23, 0.2);
    min-width: 240px;
    font-weight: 700;
}

.hase-button--call:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.4) 0%, transparent 70%);
    pointer-events: none;
}

.hase-button--call:hover {
    background: var(--gold-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(212, 175, 55, 0.5), 0 8px 20px rgba(61, 40, 23, 0.25);
}

.hase-button--form {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--gold);
    padding: clamp(1.75rem, 3vw, 2.25rem) clamp(2.5rem, 5vw, 3.5rem);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    transition: all .35s var(--ease-smooth);
}

.hase-button--form:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.3);
}

.hase-button__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(2.4rem, 4.5vw, 3.2rem);
    height: clamp(2.4rem, 4.5vw, 3.2rem);
    margin-bottom: 0.5rem;
}

.hase-button__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.hase-button__label {
    display: block;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hase-button__number {
    display: block;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.hase-cta-premium__subtext {
    font-size: clamp(13px, 1.3vw, 15px);
    color: rgba(31, 27, 22, 0.7);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hase-cta-premium__footer {
    display: flex;
    gap: clamp(2rem, 3vw, 3.5rem);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: clamp(1.5rem, 2vw, 2.5rem);
    border-top: 1px solid rgba(184, 147, 90, 0.2);
}

.hase-cta-premium__hours,
.hase-cta-premium__location {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: clamp(13px, 1.2vw, 15px);
    color: rgba(230, 223, 209, 0.9);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hase-cta-premium__hours-icon,
.hase-cta-premium__location-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.hase-cta-premium__hours-icon svg,
.hase-cta-premium__location-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

/* === CONTACT PAGE LAYOUT === */
.hase-contact-main {
    max-width: var(--container-max);
    margin: clamp(2rem, 4vw, 3rem) auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.hase-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.hase-contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 2.5vw, 2rem);
}

.hase-contact-block {
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: var(--white);
    border: 1px solid #F0E8DC;
    border-radius: var(--radius-md);
    transition: all .32s var(--ease-smooth);
    box-shadow: 0 1px 3px rgba(61, 40, 23, 0.05);
}

.hase-contact-block:hover {
    border-color: var(--wood-light);
    box-shadow: 0 8px 20px rgba(61, 40, 23, 0.1);
    transform: translateY(-3px);
}

.hase-contact-form {
    padding: clamp(2rem, 3.5vw, 3rem);
    background: var(--white);
    border: 1px solid #F0E8DC;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(61, 40, 23, 0.08);
}

.hase-contact-form h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin: 0 0 0.75rem;
}

/* === FORM ELEMENTS === */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 17px);
    padding: clamp(0.85rem, 1.5vw, 1.1rem);
    border: 1px solid #E6DFD1;
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--ink);
    transition: all .25s var(--ease-smooth);
    width: 100%;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--wood-primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(113, 91, 29, 0.08);
}

/* === RESPONSIVE === */
@media (max-width: 920px) {
    .hase-contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hase-cta-premium__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hase-cta-premium__divider {
        display: none;
    }

    .hase-button--call,
    .hase-button--form {
        min-width: auto;
        width: 100%;
        padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.5rem) !important;
        font-size: 16px !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hase-cta-premium__grid {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .hase-cta-premium__phone,
    .hase-cta-premium__form {
        min-height: auto;
    }

    .hase-cta-premium__divider {
        display: none;
    }

    .hase-cta-premium__footer {
        gap: 1rem;
        flex-direction: column;
    }

    /* Weitere Mobile CTA Optimierungen */
    .hase-button__label {
        font-size: clamp(1rem, 2vw, 1.15rem) !important;
    }

    .hase-button__number {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hase-section__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hase-hero__content {
        padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1rem, 4vw, 1.5rem);
    }

    /* Mobile Button Optimization - Apple Touch Target (44x44px minimum) */
    .wp-block-button__link,
    .ast-custom-button,
    input[type="submit"],
    button[type="submit"],
    .wpcf7-submit,
    .hase-button {
        padding: 12px 24px !important;
        font-size: 16px !important;
        min-height: 44px !important;
        min-width: 44px !important;
        line-height: 1.4;
    }

    .hase-button--large {
        padding: 14px 32px !important;
        font-size: 17px !important;
    }

    .hase-button--small {
        padding: 10px 20px !important;
        font-size: 15px !important;
    }

    /* CTA Group Layout */
    .hase-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .hase-cta-group .hase-button {
        flex: 1;
        width: 100%;
        margin: 0;
    }

    /* Hero CTAs - Full Width on Mobile */
    .hase-hero__ctas {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hase-hero__ctas .wp-block-button__link,
    .hase-hero__cta {
        width: 100%;
        padding: 12px 20px !important;
        font-size: 15px !important;
        min-height: 44px;
    }

    /* Service Page CTAs */
    .hase-service-cta-box .hase-button {
        width: 100%;
        margin-top: 1rem;
    }

    /* Avoid iOS Safari default zoom */
    input,
    button,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* === TRUST STRIP === */
.hase-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (max-width: 768px) {
    .hase-trust { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
/* === Mobile Filter/Search Optimization === */
@media (max-width: 640px) {
    /* Verstecke Filter und Suchleiste auf kleinen Geräten */
    form > div:has(#hase-category-filter),
    form > div:has(#hase-search-input),
    [style*="grid-template-columns: 1fr 1fr"] {
        display: none !important;
    }

    /* Verstecke Filterbereich generell auf Mobile */
    .hase-references-filter,
    .references-filter-section,
    [id*="filter"],
    [class*="filter-bar"] {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .hase-trust { grid-template-columns: 1fr; }

    /* Extra Small Screen Button Optimization */
    .wp-block-button__link,
    .ast-custom-button,
    input[type="submit"],
    button[type="submit"],
    .wpcf7-submit,
    .hase-button {
        padding: 11px 20px !important;
        font-size: 15px !important;
        min-height: 44px !important;
    }

    .hase-button__label {
        font-size: 14px !important;
    }

    .hase-button__number {
        font-size: 1.1rem !important;
    }

    .hase-button__icon {
        width: 2rem !important;
        height: 2rem !important;
    }

    /* Service Cards - Compact auf sehr kleinen Screens */
    .hase-service-card {
        padding: 1.25rem 1rem;
    }
}

.hase-trust__item {
    padding: clamp(1.75rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
}
.hase-trust__value {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    color: var(--wood-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hase-trust__label {
    font-size: clamp(13px, 1.2vw, 14px);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-top: 0.75rem;
    font-weight: 600;
}

.hase-trust__icon {
    width: 48px;
    height: 48px;
    background: var(--sand);
    color: var(--wood-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hase-trust__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* === TIMELINE === */
.hase-timeline {
    position: relative;
    padding-left: 2.5rem;
}

.hase-timeline::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.hase-timeline__item {
    position: relative;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.hase-timeline__item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.hase-timeline__item::before {
    content: "";
    position: absolute;
    left: -2.3rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--cream);
    border: 3px solid var(--wood-primary);
    border-radius: 50%;
}

.hase-timeline__year {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--wood-primary);
    margin: 0 0 0.5rem;
}

.hase-timeline__title {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 0.5rem;
    font-family: var(--font-body);
}

.hase-timeline__text {
    font-size: clamp(14px, 1vw, 15px);
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-body);
}

@media (max-width: 640px) {
    .hase-timeline {
        padding-left: 2rem;
    }

    .hase-timeline__item::before {
        left: -1.8rem;
    }

    .hase-timeline::before {
        left: 0.5rem;
    }
}

/* === REFERENCES GALLERY === */
.hase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: 2.5rem;
}

.hase-gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--sand);
}

.hase-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-smooth);
}

.hase-gallery__item:hover img { transform: scale(1.05); }

.hase-gallery__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.25rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(31, 27, 22, 0.88) 0%, rgba(31, 27, 22, 0) 100%);
    color: var(--cream);
    font-weight: 500;
}

/* === CTA BANNER === */
.hase-cta-banner {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-primary) 100%);
    color: var(--cream);
    border-radius: var(--radius-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hase-cta-banner h2 { color: var(--cream); }
.hase-cta-banner p { color: #E6DFD1; max-width: 55ch; margin-inline: auto; }
.hase-cta-banner .wp-block-button__link {
    background: var(--cream) !important;
    color: var(--wood-dark) !important;
}
.hase-cta-banner .wp-block-button__link:hover {
    background: var(--white) !important;
}

/* === FOOTER === */
/* Astra Footer komplett verstecken */
.site-footer,
.footer-widget-area,
footer.site-footer {
    display: none !important;
}

/* === CUSTOM FOOTER (NEW) === */
.hase-footer-custom {
    background: linear-gradient(135deg, var(--footer-bg-dark) 0%, var(--footer-bg-light) 100%);
    color: var(--footer-text);
    margin-top: clamp(4rem, 8vw, 6rem);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
}

.hase-footer-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(184, 147, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(184, 147, 90, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.hase-footer-custom__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 1;
}

.hase-footer-custom__main {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.hase-footer-custom__brand {
    min-width: clamp(140px, 20vw, 180px);
}

.hase-footer-custom__logo {
    max-width: clamp(160px, 25vw, 200px);
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease-smooth), box-shadow .3s var(--ease-smooth);
}

.hase-footer-custom__logo:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}

.hase-footer-custom__claim {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-sm);
    line-height: 1.6;
    color: var(--footer-text-light);
    font-style: italic;
    max-width: 30ch;
}

.hase-footer-custom__contact h3,
.hase-footer-custom__nav h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-body);
    font-size: var(--footer-heading-size);
    font-weight: 600;
    color: var(--footer-label);
}

.hase-footer-custom__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hase-footer-custom__contact address {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-md);
    line-height: 1.4;
    color: var(--footer-text);
    font-style: normal;
}

.hase-footer-custom__contact-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 0;
    flex-wrap: wrap;
}

.hase-footer-custom__link {
    color: var(--wood-light);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-md);
    transition: color .2s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    padding: clamp(0.5rem, 2vw, 0.75rem) 0;
    gap: 0.4rem;
    min-height: 44px;
}

.hase-footer-custom__link:hover {
    color: var(--footer-label);
}

.hase-footer-custom__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-width: 2;
    opacity: 0.85;
    transition: opacity .2s var(--ease-smooth);
}

.hase-footer-custom__link:hover svg {
    opacity: 1;
}

.hase-footer-custom__hours-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hase-footer-custom__hours-title {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--footer-heading-size);
    font-weight: 600;
    color: var(--footer-label);
}

.hase-footer-custom__hours-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.hase-footer-custom__hours-table td {
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-md);
    color: var(--ink);
    border-bottom: 1px solid #f0f0f0;
}

.hase-footer-custom__hours-table tr:last-child td {
    border-bottom: none;
}

.hase-footer-custom__hours-table td:first-child {
    font-weight: 600;
    color: var(--wood-dark);
    width: 50%;
}

.hase-footer-custom__hours-time {
    text-align: right;
    color: var(--wood-dark) !important;
    font-weight: 500;
}

.hase-footer-custom__hours-note {
    font-size: calc(var(--footer-font-size-sm) - 1px);
    color: var(--footer-text-light);
    font-weight: 500;
    margin: 0;
}

.hase-footer-custom__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hase-footer-custom__nav li a {
    color: var(--wood-light);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-md);
    transition: color .2s var(--ease-smooth);
    display: block;
    padding: clamp(4px, 1vw, 8px) 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.hase-footer-custom__nav li a:hover {
    color: var(--footer-label);
}

.hase-footer-custom__divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--footer-divider), transparent);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hase-footer-custom__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-family: var(--font-body);
    font-size: var(--footer-font-size-sm);
    color: var(--footer-text-light);
}

.hase-footer-custom__legal {
    display: flex;
    gap: 1.5rem;
}

.hase-footer-custom__legal a {
    color: var(--wood-light);
    text-decoration: none;
    font-size: var(--footer-font-size-sm);
    transition: color .2s var(--ease-smooth);
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.25rem;
    min-height: 44px;
}

.hase-footer-custom__legal a:hover {
    color: var(--footer-label);
    text-decoration: underline;
}

.hase-footer-custom__legal a::before {
    content: "•";
    margin-right: 0.75rem;
    opacity: 0.5;
}

.hase-footer-custom__legal a:first-child::before {
    content: "";
    margin-right: 0;
}

/* Responsive */
@media (max-width: 921px) {
    .hase-footer-custom__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hase-footer-custom__brand { min-width: auto; }
}

@media (max-width: 720px) {
    .hase-footer-custom {
        margin-top: clamp(3rem, 6vw, 5rem);
    }

    .hase-footer-custom__main {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .hase-footer-custom__inner {
        padding: clamp(2rem, 5vw, 3rem) clamp(0.75rem, 3vw, 1.5rem);
    }

    .hase-footer-custom__contact-links {
        flex-direction: column;
        gap: clamp(0.5rem, 1vw, 0.75rem);
    }

    .hase-footer-custom__hours-table {
        font-size: var(--footer-font-size-sm);
    }

    .hase-footer-custom__hours-table td {
        padding: 0.6rem 0.75rem;
    }

    .hase-footer-custom__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hase-footer-custom__legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hase-footer-custom__inner {
        padding: clamp(1.5rem, 4vw, 2rem) clamp(0.75rem, 2vw, 1rem);
    }

    .hase-footer-custom__claim {
        font-size: calc(var(--footer-font-size-sm) - 1px);
        max-width: 25ch;
    }

    .hase-footer-custom__divider {
        height: 1px;
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }

    .hase-footer-custom__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        font-size: calc(var(--footer-font-size-sm) - 1px);
    }

    .hase-footer-custom__legal {
        gap: 1rem;
    }

    .hase-footer-custom__nav ul {
        gap: 0.25rem;
    }
}

/* === INFO-BANNER (Kontakt-Seite) === */
.hase-info-banner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    margin-top: 1.5rem;
}
.hase-info-banner__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    background: linear-gradient(135deg, var(--sand) 0%, var(--line) 100%);
    border: 1px solid var(--wood-light);
    border-left: 5px solid var(--wood-primary);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 720px) {
    .hase-info-banner__inner {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    .hase-info-banner__cta { grid-column: 1 / -1; }
    .hase-info-banner__cta .wp-block-button__link { width: 100%; justify-content: center; }
}

.hase-info-banner__icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--wood-primary);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hase-info-banner__icon svg { width: 22px; height: 22px; }

.hase-info-banner__body strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--wood-dark);
    margin-bottom: 4px;
}
.hase-info-banner__body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--wood-dark);
    max-width: 70ch;
}
.hase-info-banner__cta .wp-block-button__link {
    white-space: nowrap;
}

.hase-footer-bottom {
    border-top: 1px solid rgba(245, 239, 230, 0.12);
    padding: clamp(1.25rem, 2vw, 2rem) 0;
    font-size: var(--footer-font-size-sm);
    font-family: var(--font-body);
    color: var(--footer-text-light);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hase-footer-legal {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: var(--footer-font-size-sm);
}
.hase-footer-legal a { color: var(--footer-text) !important; text-decoration: none; }

@media (max-width: 540px) {
    .hase-footer-bottom { justify-content: center; text-align: center; }
}

/* === REFERENZEN (Suche + Filter + Projekt-Karten) === */
.hase-refs {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.hase-refs__intro {
    text-align: center;
    max-width: 70ch;
    margin: 0 auto 2.5rem;
}
.hase-refs__intro h1 {
    margin: 0.5rem 0 1rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
}
.hase-refs__intro .hase-lead { margin: 0 auto; }

.hase-refs__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 150px;
    z-index: 5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hase-refs__search {
    position: relative;
    flex: 1 1 280px;
    min-width: 240px;
}
.hase-refs__search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    color: var(--wood-primary);
    pointer-events: none;
    transition: color .2s var(--ease-smooth);
}
.hase-refs__search input[type="search"] {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    transition: all .2s var(--ease-smooth);
    box-shadow: inset 0 1px 2px rgba(61, 40, 23, 0.04);
}
.hase-refs__search input[type="search"]::placeholder {
    color: var(--muted);
    opacity: 0.75;
}
.hase-refs__search input[type="search"]:hover {
    border-color: var(--wood-light);
}
.hase-refs__search input[type="search"]:focus {
    outline: none;
    border-color: var(--wood-primary);
    box-shadow: 0 0 0 3px rgba(113, 91, 29, 0.14), inset 0 1px 2px rgba(61, 40, 23, 0.04);
    background: var(--white);
}
.hase-refs__search:focus-within svg {
    color: var(--wood-dark);
}
/* Native clear icon in search inputs — hide to avoid doubling */
.hase-refs__search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.hase-refs__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background .15s var(--ease-smooth);
    font-size: 0 !important;
    line-height: 1 !important;
    flex: 0 0 28px !important;
    color: transparent;
}
.hase-refs__clear::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6356' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform .15s var(--ease-smooth);
}
.hase-refs__clear:hover {
    background: var(--sand) !important;
}
.hase-refs__clear:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D2817' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    transform: rotate(90deg);
}
.hase-refs__clear:focus-visible {
    outline: 2px solid var(--wood-primary);
    outline-offset: 2px;
}

.hase-refs__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 1rem;
    border-left: 1px solid var(--line);
}
@media (max-width: 640px) {
    .hase-refs__filters {
        padding-left: 0;
        border-left: none;
        width: 100%;
    }
}
.hase-refs__chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--white);
    color: var(--wood-dark);
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s var(--ease-smooth);
}
.hase-refs__chip:hover {
    background: var(--sand);
    color: var(--wood-dark);
    border-color: var(--wood-light);
}
.hase-refs__chip:focus-visible {
    outline: 2px solid var(--wood-primary);
    outline-offset: 2px;
}
.hase-refs__chip.is-active {
    background: var(--wood-dark);
    color: var(--cream);
    border-color: var(--wood-dark);
    box-shadow: 0 2px 6px rgba(61, 40, 23, 0.18);
}
.hase-refs__chip.is-active:hover {
    background: var(--wood-primary);
    border-color: var(--wood-primary);
    color: var(--cream);
}

.hase-refs__count {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 1.5rem;
    text-align: right;
}

.hase-refs__grid {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.hase-project {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s var(--ease-smooth);
}
.hase-project:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--wood-light);
}
.hase-project[hidden] { display: none; }

.hase-project__header {
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border-bottom: 1px solid var(--line);
}
.hase-project__header h2 {
    margin: 0 0 0.6rem 0;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.hase-project__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 0.75rem;
}
.hase-project__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--wood-primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hase-project__location {
    color: var(--muted);
    font-size: 14px;
    margin-left: 4px;
}
.hase-project__header p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 75ch;
}

.hase-project__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    background: var(--sand);
}
.hase-project__gallery--1 { grid-template-columns: 1fr; }
.hase-project__gallery--2 { grid-template-columns: repeat(2, 1fr); }
.hase-project__gallery--4 { grid-template-columns: repeat(4, 1fr); }
.hase-project__gallery--5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 900px) {
    .hase-project__gallery--3,
    .hase-project__gallery--4,
    .hase-project__gallery--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hase-project__gallery--2,
    .hase-project__gallery--3,
    .hase-project__gallery--4,
    .hase-project__gallery--5 { grid-template-columns: 1fr; }
}

.hase-project__item {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: zoom-in;
}
.hase-project__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--ease-smooth), filter .3s var(--ease-smooth);
}
.hase-project__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(61, 40, 23, 0);
    transition: background .3s var(--ease-smooth);
}
.hase-project__item:hover img { transform: scale(1.06); filter: brightness(0.92); }
.hase-project__item:hover::after { background: rgba(61, 40, 23, 0.15); }

/* Single-Image-Gallerie: Originalgroesse mit max-Hoehe, kein Zuschnitt */
.hase-project__gallery--1 {
    background: var(--sand);
    text-align: center;
}
.hase-project__gallery--1 .hase-project__item {
    aspect-ratio: auto;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--sand);
}
.hase-project__gallery--1 .hase-project__item img {
    max-width: 100%;
    max-height: 560px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.hase-refs__empty {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--sand);
    border-radius: var(--radius-md);
    color: var(--muted);
}
.hase-refs__empty svg {
    width: 48px; height: 48px;
    color: var(--wood-primary);
    margin-bottom: 1rem;
}
.hase-refs__empty h3 {
    margin: 0 0 0.5rem;
    color: var(--wood-dark);
}
.hase-refs__empty p { margin: 0 0 1.5rem; max-width: 40ch; margin-inline: auto; }

/* === LIGHTBOX === */
.hase-lightbox {
    padding: 0;
    border: none;
    background: rgba(31, 27, 22, 0.95);
    color: var(--cream);
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    display: block;
    margin: 0;
}
.hase-lightbox:not([open]) { display: none; }
.hase-lightbox::backdrop { background: rgba(31, 27, 22, 0.95); }

.hase-lightbox img {
    display: block;
    max-width: min(95vw, 1400px);
    max-height: 85vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: var(--radius-md);
}
.hase-lightbox__close,
.hase-lightbox__prev,
.hase-lightbox__next {
    position: absolute;
    background: rgba(245, 239, 230, 0.1);
    color: var(--cream);
    border: 1px solid rgba(245, 239, 230, 0.3);
    cursor: pointer;
    transition: all .2s var(--ease-smooth);
    z-index: 2;
    font-family: var(--font-body);
    line-height: 1;
}
.hase-lightbox__close:hover,
.hase-lightbox__prev:hover,
.hase-lightbox__next:hover {
    background: var(--wood-primary);
    border-color: var(--wood-primary);
}
.hase-lightbox__close {
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 28px;
}
.hase-lightbox__prev,
.hase-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 32px;
}
.hase-lightbox__prev { left: 20px; }
.hase-lightbox__next { right: 20px; }
.hase-lightbox__caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 27, 22, 0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    max-width: 80vw;
}

/* === ALTBAU-USP (Home-Sektion) === */
.hase-altbau-usp {
    background: linear-gradient(135deg, #FDFCF8 0%, var(--sand) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hase-altbau-usp__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    position: relative;
}
.hase-altbau-usp__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--wood-dark);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hase-altbau-usp__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
@media (max-width: 900px) {
    .hase-altbau-usp__grid { grid-template-columns: 1fr; }
}
.hase-altbau-usp__text h2 {
    margin: 0 0 1rem 0;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    max-width: 22ch;
    hyphens: manual;
    word-break: normal;
    overflow-wrap: normal;
}
.hase-altbau-usp__points {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: grid;
    gap: 10px;
}
.hase-altbau-usp__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--wood-dark);
}
.hase-altbau-usp__points svg {
    width: 20px;
    height: 20px;
    color: var(--wood-primary);
    flex-shrink: 0;
    margin-top: 3px;
}
.hase-altbau-usp__visual {
    background: var(--wood-dark);
    color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px -16px rgba(61, 40, 23, 0.3);
    position: relative;
    overflow: hidden;
}
.hase-altbau-usp__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(184, 147, 90, 0.25), transparent 55%);
    pointer-events: none;
}
.hase-altbau-usp__number {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--wood-light);
    line-height: 1;
    position: relative;
    z-index: 1;
}
.hase-altbau-usp__number span {
    font-size: 0.5em;
    color: var(--cream);
    vertical-align: super;
    margin-left: 4px;
}
.hase-altbau-usp__caption {
    margin-top: 0.75rem;
    color: #E6DFD1;
    font-size: 14px;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* === LEISTUNGS-HERO mit Hintergrund-Bild (Parent = Leistungen) === */
body.page-parent-leistungen .entry-content > .hase-section:first-child,
body.page-parent-leistungen .entry-content > section.hase-section:first-of-type {
    position: relative;
}
.hase-section--img {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    isolation: isolate;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
/* Bild-Layer: gedeckelt + dunkles Gradient-Overlay fuer Lesbarkeit */
.hase-section--img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: -2;
    filter: saturate(0.9);
}
.hase-section--img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(245, 239, 230, 0.96) 0%, rgba(245, 239, 230, 0.75) 50%, rgba(245, 239, 230, 0.35) 100%);
    z-index: -1;
}
/* Dark Hero Variante: dunkler Gradient drueber */
.hase-section--img.hase-section--dark::after {
    background: linear-gradient(100deg, rgba(61, 40, 23, 0.95) 0%, rgba(61, 40, 23, 0.82) 50%, rgba(61, 40, 23, 0.55) 100%);
}
.hase-section--img > * { position: relative; z-index: 1; }

.hase-section--img--haustueren::before { background-image: url('/wp-content/uploads/2020/10/IMG_20201009_151732-2.jpg'); }
.hase-section--img--fenster::before    { background-image: url('/wp-content/uploads/2020/10/IMG_6728-scaled-1.jpg'); }
.hase-section--img--innentueren::before { background-image: url('/wp-content/uploads/2021/04/Tuer-6.jpeg'); }
.hase-section--img--innenausbau::before { background-image: url('/wp-content/uploads/2020/10/WhatsApp-Image-2020-10-23-at-15.47.40-4.jpeg'); }
.hase-section--img--boden::before      { background-image: url('/wp-content/uploads/2021/04/Fussboden-1.jpeg'); }
.hase-section--img--moebel::before     { background-image: url('/wp-content/uploads/2021/04/Tuer-3.jpeg'); }
.hase-section--img--reparatur::before  { background-image: url('/wp-content/uploads/2021/04/Tuer-5.jpeg'); }
.hase-section--img--altbau::before     { background-image: url('/wp-content/uploads/2021/04/Tuer-8.jpeg'); }

/* === RATGEBER-TYPOGRAFIE (Leistungs-Seiten) === */
body.page-parent-leistungen .entry-content,
body.page-parent-leistungen article .entry-content,
.hase-article {
    max-width: 780px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
}

/* --- Wenn die Seite eine wp:html Sektion als Hero hat, schiebt die den Article-Content zurück an den Container-Rand.
        Der Fließtext in wp:paragraph / wp:heading soll aber die schöne schmalere Lesebreite bekommen. --- */
body.page-parent-leistungen .entry-content > p,
body.page-parent-leistungen .entry-content > h2,
body.page-parent-leistungen .entry-content > h3,
body.page-parent-leistungen .entry-content > h4,
body.page-parent-leistungen .entry-content > ul,
body.page-parent-leistungen .entry-content > ol,
body.page-parent-leistungen .entry-content > blockquote,
body.page-parent-leistungen .entry-content > figure:not(.wp-block-gallery),
body.page-parent-leistungen .entry-content > .wp-block-table {
    max-width: 780px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

/* H2: Sektions-Header mit Holz-Akzent-Linie */
body.page-parent-leistungen .entry-content > h2 {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2rem);
    position: relative;
    color: var(--wood-dark);
    scroll-margin-top: 120px;
}

/* Wenn direkt vor h2 ein eyebrow kommt, weniger Abstand zwischen eyebrow und h2 */
body.page-parent-leistungen .entry-content > .hase-eyebrow {
    margin-top: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 0.35rem;
    display: block;
}
body.page-parent-leistungen .entry-content > .hase-eyebrow + h2 {
    margin-top: 0 !important;
}

/* Mehr Luft nach Buttons, Listen, Absätzen vor dem nächsten Abschnitt */
body.page-parent-leistungen .entry-content > .wp-block-button,
body.page-parent-leistungen .entry-content > .wp-block-buttons {
    margin-block: 1.5rem 2rem;
}
body.page-parent-leistungen .entry-content > ul,
body.page-parent-leistungen .entry-content > ol {
    margin-block: 1rem 2rem;
}
body.page-parent-leistungen .entry-content > p {
    margin-block: 0 1.25rem;
}
body.page-parent-leistungen .entry-content > p + p { margin-top: 0; }
body.page-parent-leistungen .entry-content > h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--wood-primary);
    margin-top: 12px;
    border-radius: 2px;
}

body.page-parent-leistungen .entry-content > h3 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    color: var(--wood-dark);
}

/* Erster Paragraph nach h1 ist der Lead */
body.page-parent-leistungen .entry-content > p:first-of-type,
body.page-parent-leistungen .entry-content > h1 + p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--wood-dark);
    font-weight: 400;
}

/* Custom Bullets fuer Listen */
body.page-parent-leistungen .entry-content > ul {
    list-style: none;
    padding-left: 0;
}
body.page-parent-leistungen .entry-content > ul > li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
}
body.page-parent-leistungen .entry-content > ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 10px;
    height: 10px;
    background: var(--wood-primary);
    border-radius: 2px;
    transform: rotate(45deg);
}

/* Nummerierte Listen als Ablauf-Steps */
body.page-parent-leistungen .entry-content > ol {
    list-style: none;
    counter-reset: step;
    padding-left: 0;
}
body.page-parent-leistungen .entry-content > ol > li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 0.85rem;
    counter-increment: step;
}
body.page-parent-leistungen .entry-content > ol > li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    background: var(--wood-dark);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
}

/* Inline-Text: strong bekommt eine leichte Hintergrund-Markierung */
body.page-parent-leistungen .entry-content > p strong,
body.page-parent-leistungen .entry-content > ul strong,
body.page-parent-leistungen .entry-content > ol strong {
    color: var(--wood-dark);
    font-weight: 600;
}

/* Links im Fließtext dezent unterstrichen */
body.page-parent-leistungen .entry-content > p a:not([class]),
body.page-parent-leistungen .entry-content > ul a:not([class]),
body.page-parent-leistungen .entry-content > ol a:not([class]) {
    color: var(--wood-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .15s var(--ease-smooth);
}
body.page-parent-leistungen .entry-content > p a:not([class]):hover {
    color: var(--wood-dark);
    text-decoration-thickness: 2px;
}

/* Pull-Quote / Blockquote */
body.page-parent-leistungen .entry-content > blockquote,
body.page-parent-leistungen .entry-content > .wp-block-quote {
    border: none;
    border-left: 4px solid var(--wood-primary);
    background: var(--sand);
    padding: 1.5rem 1.75rem;
    margin: 2rem auto;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--wood-dark);
}

/* Tabellen fuer Preisuebersichten */
body.page-parent-leistungen .entry-content .wp-block-table,
body.page-parent-leistungen .entry-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}
body.page-parent-leistungen .entry-content table th {
    background: var(--wood-dark);
    color: var(--cream);
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.page-parent-leistungen .entry-content table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}
body.page-parent-leistungen .entry-content table tr:last-child td {
    border-bottom: none;
}
body.page-parent-leistungen .entry-content table tr:nth-child(even) td {
    background: rgba(245, 239, 230, 0.35);
}

/* Inhaltsverzeichnis (TOC) */
.hase-toc {
    max-width: 780px;
    margin: 2rem auto;
    padding: 1.25rem 1.5rem;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.hase-toc__title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    color: var(--wood-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hase-toc__title svg { width: 16px; height: 16px; color: var(--wood-primary); }
.hase-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 1;
}
@media (min-width: 640px) {
    .hase-toc__list { columns: 2; column-gap: 2rem; }
}
.hase-toc__list li {
    padding: 3px 0;
    font-size: 14.5px;
    break-inside: avoid;
}
.hase-toc__list a {
    color: var(--wood-dark);
    text-decoration: none;
    transition: color .15s var(--ease-smooth);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}
.hase-toc__list a:hover {
    color: var(--wood-primary);
    border-bottom-color: var(--wood-primary);
}
.hase-toc__list a::before {
    content: "§ ";
    color: var(--wood-light);
    font-weight: 500;
    margin-right: 4px;
}

/* Reading-Time-Badge */
.hase-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--sand);
    color: var(--muted);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.hase-reading-time svg { width: 14px; height: 14px; color: var(--wood-primary); }

/* Callout-Boxen: Info / Tipp / Warnung */
.hase-note,
.hase-tip,
.hase-warning {
    max-width: 780px;
    margin: 1.5rem auto;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid transparent;
    font-size: 15.5px;
    line-height: 1.6;
}
.hase-note::before,
.hase-tip::before,
.hase-warning::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1.15rem;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.hase-note {
    background: #eef4f7;
    border-color: #c4d6de;
    color: #254956;
}
.hase-note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23254956' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}
.hase-tip {
    background: #f5efe6;
    border-color: #c9b38a;
    color: var(--wood-dark);
}
.hase-tip::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23715B1D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M15.09 14c.18-.98.65-1.74 1.41-2.5A4.65 4.65 0 0 0 18 8 6 6 0 0 0 6 8c0 1 .23 2.23 1.5 3.5A4.61 4.61 0 0 1 8.91 14'/%3E%3C/svg%3E");
}
.hase-warning {
    background: #fdecea;
    border-color: #f0a79a;
    color: #8b2e1e;
}
.hase-warning::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b2e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}
.hase-note strong,
.hase-tip strong,
.hase-warning strong { display: block; margin-bottom: 4px; }

/* === FAQ-Accordion === */
.hase-faq,
body .hase-faq,
body .entry-content > .hase-faq {
    max-width: var(--container-max);
    margin-inline: auto !important;
    margin-top: clamp(2rem, 4vw, 3rem) !important;
    margin-bottom: clamp(4rem, 8vw, 6rem) !important;
    padding-inline: clamp(1rem, 4vw, 2rem);
    padding-bottom: 2rem;
}
.hase-faq__head {
    text-align: center;
    margin-bottom: 2rem;
}
.hase-faq__head h2 {
    margin: 0.5rem 0 0.5rem;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.hase-faq__head p {
    color: var(--muted);
    margin: 0 auto;
    max-width: 60ch;
}

.hase-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 820px;
    margin-inline: auto;
}

.hase-faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth);
}
.hase-faq details[open] {
    border-color: var(--wood-light);
    box-shadow: var(--shadow-sm);
}
.hase-faq summary {
    list-style: none;
    padding: 1rem 3rem 1rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    color: var(--wood-dark);
    cursor: pointer;
    position: relative;
    transition: background .15s var(--ease-smooth);
    border-radius: var(--radius-md);
    line-height: 1.45;
}
.hase-faq summary::-webkit-details-marker { display: none; }
.hase-faq summary::marker { content: ""; }
.hase-faq summary:hover { background: var(--sand); }
.hase-faq summary::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--wood-primary);
    border-bottom: 2px solid var(--wood-primary);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .25s var(--ease-smooth);
}
.hase-faq details[open] > summary::after {
    transform: translateY(-35%) rotate(-135deg);
}
.hase-faq details > *:not(summary) {
    padding: 0 1.25rem 1rem 1.25rem;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}
.hase-faq details p { margin: 0 0 0.5rem; }
.hase-faq details p:last-child { margin-bottom: 0; }
.hase-faq details ul,
.hase-faq details ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* === KONTAKT (2-Spalten) === */
.hase-contact {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}

.hase-contact__header {
    text-align: center;
    max-width: 72ch;
    margin: 0 auto 3rem;
}
.hase-contact__header h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}
.hase-contact__header .hase-lead { margin: 0 auto; }

.hase-contact__grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}
@media (max-width: 960px) {
    .hase-contact__grid { grid-template-columns: 1fr; }
}

.hase-contact__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
}
@media (max-width: 960px) {
    .hase-contact__sidebar { position: static; }
}

.hase-contact__card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    position: relative;
    transition: all .3s var(--ease-smooth);
}
.hase-contact__card:hover {
    border-color: var(--wood-light);
    box-shadow: var(--shadow-sm);
}
.hase-contact__card h3 {
    margin: 0 0 0.5rem !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    color: var(--muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hase-contact__card p,
.hase-contact__card address {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: var(--wood-dark) !important;
    font-style: normal;
}
.hase-contact__icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px; height: 36px;
    background: var(--sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wood-primary);
}
.hase-contact__icon svg { width: 18px; height: 18px; }

.hase-contact__phone-hint {
    font-size: 12.5px !important;
    color: var(--muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 !important;
    font-weight: 500;
}
.hase-contact__phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--wood-dark) !important;
    text-decoration: none !important;
    margin-top: 2px !important;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    transition: color .2s var(--ease-smooth);
}
.hase-contact__phone:hover { color: var(--wood-primary) !important; }
.hase-contact__phone--primary {
    font-size: 1.65rem !important;
    color: var(--wood-primary) !important;
}
.hase-contact__phone--primary:hover { color: var(--wood-dark) !important; }

.hase-contact__mail {
    font-size: 15px !important;
    color: var(--wood-primary) !important;
    text-decoration: none !important;
    word-break: break-all;
    font-weight: 500;
}
.hase-contact__mail:hover { color: var(--wood-dark) !important; text-decoration: underline !important; }

.hase-contact__hours {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
}
.hase-contact__hours li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14.5px;
    border-bottom: 1px dashed var(--line);
}
.hase-contact__hours li:last-child { border-bottom: none; }
.hase-contact__hours span:first-child { color: var(--muted); }
.hase-contact__hours span:last-child { color: var(--wood-dark); font-weight: 500; font-variant-numeric: tabular-nums; }

.hase-contact__hint {
    margin-top: 0.75rem !important;
    padding: 10px 12px;
    background: var(--sand);
    border-left: 3px solid var(--wood-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: var(--wood-dark) !important;
}
.hase-contact__hint strong { font-weight: 600; color: var(--wood-dark); }

.hase-contact__form-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}
.hase-contact__form-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}
.hase-contact__form-head h2 {
    margin: 0 0 0.35rem !important;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
}
.hase-contact__form-head p {
    margin: 0 !important;
    color: var(--muted);
    font-size: 14px;
}
.hase-contact__form-head .req { color: var(--wood-primary); font-weight: 600; }

.hase-contact__form-wrap .wpcf7-form { max-width: none; }

/* === KATALOGE === */
.hase-catalogs {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.hase-catalogs__intro {
    text-align: center;
    max-width: 72ch;
    margin: 0 auto 2.5rem;
}
.hase-catalogs__intro h1 {
    margin: 0.5rem 0 1rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
}
.hase-catalogs__intro .hase-lead { margin: 0 auto; }

.hase-catalogs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 150px;
    z-index: 5;
    margin-bottom: 3rem;
}
.hase-catalogs__nav a {
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--wood-dark);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s var(--ease-smooth);
}
.hase-catalogs__nav a:hover {
    background: var(--wood-dark);
    color: var(--cream);
}

.hase-catalogs__group {
    margin-bottom: clamp(3rem, 5vw, 4rem);
    scroll-margin-top: 120px;
}

.hase-catalogs__group-head {
    text-align: center;
    margin-bottom: 2rem;
}
.hase-catalogs__group-head h2 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    position: relative;
    display: inline-block;
}
.hase-catalogs__group-head h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--wood-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}
.hase-catalogs__group-head p {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.hase-catalogs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.hase-catalog {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    text-decoration: none !important;
    color: inherit;
    transition: all .3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    min-height: 220px;
}
.hase-catalog::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wood-primary), var(--wood-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease-smooth);
}
.hase-catalog::after {
    content: "";
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 26px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23715B1D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
    transition: opacity .3s var(--ease-smooth);
}
.hase-catalog:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--wood-light);
}
.hase-catalog:hover::before { transform: scaleX(1); }
.hase-catalog:hover::after { opacity: 1; }

.hase-catalog__brand {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--wood-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: max-content;
    max-width: 70%;
    margin-bottom: 0.5rem;
}

/* Logo-Box oben in der Card */
.hase-catalog__logo-wrap {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    padding-right: 2.5rem; /* Platz für PDF-Icon rechts */
}
.hase-catalog__logo-wrap img {
    max-height: 56px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hase-catalog__logo-wrap--text span {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: var(--sand);
    color: var(--wood-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.hase-catalog h3 {
    margin: 0 0 0.35rem 0 !important;
    font-size: 1.25rem !important;
    color: var(--wood-dark) !important;
    padding-right: 2.5rem;
}
.hase-catalog p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--muted) !important;
    flex: 1;
}
.hase-catalog__cta {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 14px;
    color: var(--wood-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s var(--ease-smooth);
}
.hase-catalog:hover .hase-catalog__cta { gap: 10px; color: var(--wood-dark); }

.hase-catalogs__footer {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--sand);
    border-radius: var(--radius-md);
    text-align: center;
}
.hase-catalogs__footer p { margin: 0; color: var(--wood-dark); font-size: 16px; }
.hase-catalogs__footer a {
    color: var(--wood-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--wood-primary);
}
.hase-catalogs__footer a:hover { color: var(--wood-dark); border-bottom-color: var(--wood-dark); }

/* === MASCHINENPARK-USP === */
.hase-workshop__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
@media (max-width: 900px) {
    .hase-workshop__inner { grid-template-columns: 1fr; }
}

.hase-workshop__points {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0 0;
    display: grid;
    gap: 0.85rem;
}
.hase-workshop__points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #E6DFD1;
    font-size: 15.5px;
    line-height: 1.55;
}
.hase-workshop__points svg {
    width: 22px; height: 22px;
    color: var(--wood-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.hase-workshop__points strong {
    color: var(--cream);
    font-weight: 600;
}

.hase-workshop__visual {
    padding: 2rem;
    background: rgba(245, 239, 230, 0.06);
    border: 1px solid rgba(184, 147, 90, 0.3);
    border-radius: var(--radius-lg);
}
.hase-workshop__stats {
    display: grid;
    gap: 1.5rem;
}
.hase-workshop__stat {
    padding: 1.25rem 1.5rem;
    background: rgba(245, 239, 230, 0.04);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--wood-light);
}
.hase-workshop__stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--wood-light);
    line-height: 1;
}
.hase-workshop__stat-lbl {
    font-size: 14px;
    color: #D6CEBD;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* === BREADCRUMB NAVIGATION === */
.hase-breadcrumb {
    background: var(--sand);
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--muted);
}
.hase-breadcrumb__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.hase-breadcrumb a {
    color: var(--wood-primary);
    text-decoration: none;
    transition: color .2s var(--ease-smooth);
}
.hase-breadcrumb a:hover {
    color: var(--wood-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hase-breadcrumb .breadcrumb_last {
    color: var(--wood-dark);
    font-weight: 500;
}
.hase-breadcrumb nav,
.hase-breadcrumb > span,
.hase-breadcrumb > p { margin: 0; padding: 0; display: block; }

/* === FORMS (Contact Form 7) === */
.wpcf7-form {
    max-width: 780px;
    margin-inline: auto;
}

.wpcf7-form label {
    display: block;
    font-weight: 500;
    color: var(--wood-dark);
    margin-bottom: 4px;
    font-size: 14.5px;
    letter-spacing: 0.01em;
}
.wpcf7-form label .req {
    color: var(--wood-primary);
    font-weight: 600;
    margin-left: 2px;
}
.wpcf7-form label .hint {
    color: var(--muted);
    font-weight: 400;
    font-size: 13px;
    margin-left: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--ink);
    transition: border-color .2s var(--ease-smooth), box-shadow .2s var(--ease-smooth), background .2s var(--ease-smooth);
    box-shadow: none;
    box-sizing: border-box;
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #A89D87;
    opacity: 1;
}

.wpcf7-form input:hover,
.wpcf7-form textarea:hover {
    border-color: var(--wood-light);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--wood-primary);
    box-shadow: 0 0 0 4px rgba(113, 91, 29, 0.12);
    background: var(--cream);
}

.wpcf7-form textarea { min-height: 160px; resize: vertical; line-height: 1.55; }

.hase-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 620px) {
    .hase-form-row { grid-template-columns: 1fr; gap: 0; }
}

.hase-form-field {
    margin: 0 0 1rem 0 !important;
}

.hase-form-field--optional label .hint,
.hase-form-field--upload label .hint {
    color: var(--wood-accent);
    font-weight: 500;
}

.hase-form-field--upload {
    padding: 1rem;
    background: var(--sand);
    border: 1px dashed var(--wood-light);
    border-radius: var(--radius-sm);
}

.hase-form-field--acceptance {
    padding: 0.75rem 0;
}
.wpcf7-form .hase-form-field--acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.wpcf7-form .wpcf7-list-item-label,
.wpcf7-form .wpcf7-acceptance label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 400;
}
.wpcf7-form .hase-form-field--acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--wood-primary);
    margin: 2px 0 0 0;
    cursor: pointer;
}
.wpcf7-form .hase-form-field--acceptance a {
    color: var(--wood-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hase-form-field--submit {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem !important;
}
.hase-form-submit,
.wpcf7-form .wpcf7-submit {
    padding: 14px 36px !important;
    font-size: 16px !important;
}
.hase-form-note {
    font-size: 13.5px;
    color: var(--muted);
    font-style: italic;
}

/* Drag-and-Drop Upload styling */
.wpcf7-form .codedropz-upload-wrapper {
    background: var(--white);
    border: 2px dashed var(--wood-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all .2s var(--ease-smooth);
}
.wpcf7-form .codedropz-upload-wrapper:hover {
    border-color: var(--wood-primary);
    background: var(--cream);
}
.wpcf7-form .codedropz-upload-inner h3 {
    color: var(--wood-dark);
    font-size: 1rem;
    margin: 0 0 0.5rem;
}
.wpcf7-form .codedropz-upload-inner .codedropz-btn-wrap a.cd-upload-btn {
    background: var(--wood-dark);
    color: var(--cream);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

/* Validation Errors */
.wpcf7-form .wpcf7-not-valid,
.wpcf7-form .wpcf7-not-valid:focus { border-color: #b23e26 !important; box-shadow: 0 0 0 3px rgba(178, 62, 38, 0.12) !important; }
.wpcf7-form .wpcf7-not-valid-tip { color: #b23e26; font-size: 13px; margin-top: 4px; display: block; }
.wpcf7-form .wpcf7-response-output {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem !important;
    margin: 1.5rem 0 0 !important;
    font-size: 14.5px;
}
.wpcf7-form.sent .wpcf7-response-output { background: #e8f3ea; border: 1px solid #4a8d5e; color: #1f5b37; }
.wpcf7-form.invalid .wpcf7-response-output { background: #fdecea; border: 1px solid #b23e26; color: #8b2e1e; }

/* === HASE COOKIE BANNER === */
/* Wenn [hidden] Attribut gesetzt, darf das Element keinen Platz einnehmen
   und keine Klicks abfangen — CSS muss das HTML-Attribut respektieren */
.hase-cookie[hidden] {
    display: none !important;
    pointer-events: none !important;
}
.hase-cookie {
    position: fixed;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    left: auto;
    z-index: 9999;
    width: min(460px, calc(100% - 2rem));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 24px 48px -12px rgba(61, 40, 23, 0.28), 0 8px 16px rgba(61, 40, 23, 0.10);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 1rem;
    row-gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s var(--ease-smooth), transform .3s var(--ease-smooth);
    font-family: var(--font-body);
    pointer-events: none;
}
.hase-cookie.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hase-cookie__icon {
    grid-row: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wood-primary);
}
.hase-cookie__icon svg { width: 24px; height: 24px; }

.hase-cookie__body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}
.hase-cookie__body strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--wood-dark);
    margin-bottom: 4px;
}
.hase-cookie__body p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
}
.hase-cookie__body a {
    color: var(--wood-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hase-cookie__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.hase-cookie__btn {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .2s var(--ease-smooth);
    white-space: nowrap;
}
.hase-cookie__btn--primary {
    background: var(--wood-dark);
    color: var(--cream);
    border-color: var(--wood-dark);
}
.hase-cookie__btn--primary:hover {
    background: var(--wood-primary);
    border-color: var(--wood-primary);
    transform: translateY(-1px);
}
.hase-cookie__btn--secondary {
    background: transparent;
    color: var(--wood-dark);
    border-color: var(--line);
}
.hase-cookie__btn--secondary:hover {
    border-color: var(--wood-dark);
    background: var(--sand);
}
.hase-cookie__btn:focus-visible {
    outline: 3px solid var(--wood-light);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .hase-cookie {
        right: 0.5rem;
        left: 0.5rem;
        bottom: 0.5rem;
        width: auto;
        padding: 0.9rem 1rem;
        grid-template-columns: 36px 1fr;
        column-gap: 0.75rem;
        row-gap: 0.5rem;
    }
    .hase-cookie__icon { width: 36px; height: 36px; }
    .hase-cookie__icon svg { width: 20px; height: 20px; }
    .hase-cookie__body strong { font-size: 15px; }
    .hase-cookie__body p { font-size: 12.5px; line-height: 1.5; }
    .hase-cookie__actions { justify-content: stretch; }
    .hase-cookie__btn { flex: 1; padding: 9px 12px; font-size: 13px; }
}

/* Sobald Cookie-Banner sichtbar ist, Padding unten an body damit
   der Footer nicht vom Banner verdeckt wird (Links muessen klickbar bleiben) */
body:has(.hase-cookie.is-visible),
body.has-cookie-visible { padding-bottom: 220px; }

@media (max-width: 480px) {
    body:has(.hase-cookie.is-visible),
    body.has-cookie-visible { padding-bottom: 260px; }
}

/* === ALT-PLUGIN COOKIE-NOTICE (falls doch aktiv) wegblenden === */
#cookie-notice, .cookie-notice-container.cookie-revoke-hidden { display: none !important; }

/* === ALT-COOKIE-NOTICE-STYLING (inaktiv, Fallback) === */
#cookie-notice,
div#cookie-notice,
.cookie-notice-container,
#cookie-notice.cookie-notice-visible {
    background: var(--white) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 24px 48px -12px rgba(61, 40, 23, 0.28), 0 8px 16px rgba(61, 40, 23, 0.12) !important;
    max-width: 460px !important;
    width: calc(100% - 2rem) !important;
    margin: 0 !important;
    padding: 0 !important;
    left: auto !important;
    right: clamp(1rem, 2vw, 1.5rem) !important;
    bottom: clamp(1rem, 2vw, 1.5rem) !important;
    top: auto !important;
    position: fixed !important;
    z-index: 9998 !important;
    font-family: var(--font-body) !important;
    min-height: auto !important;
    transform: translateY(0) !important;
}

#cookie-notice .cookie-notice-container {
    background: var(--white) !important;
    padding: 1.25rem 1.5rem 1.25rem 4.5rem !important;
    position: relative !important;
    max-width: none !important;
    width: 100% !important;
    color: var(--ink) !important;
    display: block !important;
    box-shadow: none !important;
    border: none !important;
    right: auto !important;
    bottom: auto !important;
}

/* Keks-Icon links */
#cookie-notice .cookie-notice-container::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    width: 40px;
    height: 40px;
    background: var(--sand);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23715B1D'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-.47-.04-.93-.1-1.38-.29.19-.63.31-1.01.31-.63 0-1.2-.27-1.6-.7-.08.02-.16.04-.25.04-1.1 0-2-.9-2-2 0-.09.02-.17.04-.25-.43-.4-.7-.97-.7-1.6 0-.38.12-.72.31-1.01C14.93 2.04 14.47 2 14 2h-2zm-4 6c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm8 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm-8 3c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm5 2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: center;
    flex-shrink: 0;
}

#cookie-notice #cn-notice-text,
#cookie-notice .cn-text-container {
    color: var(--wood-dark) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    display: block !important;
    margin: 0 0 0.85rem 0 !important;
    padding: 0 !important;
    float: none !important;
    font-weight: 500;
}

#cookie-notice a {
    color: var(--wood-primary) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

#cookie-notice .cn-buttons-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    white-space: normal !important;
}

#cookie-notice .cn-button,
#cookie-notice .cookie-notice-btn,
#cookie-notice #cn-accept-cookie,
#cookie-notice #cn-refuse-cookie,
#cookie-notice #cn-more-info,
#cookie-notice a.cn-button {
    background: var(--wood-dark) !important;
    color: var(--cream) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 18px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    border: 2px solid var(--wood-dark) !important;
    margin: 0 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    transition: all .2s var(--ease-smooth);
    cursor: pointer;
    box-shadow: none !important;
}
#cookie-notice .cn-button:hover,
#cookie-notice #cn-accept-cookie:hover {
    background: var(--wood-primary) !important;
    border-color: var(--wood-primary) !important;
    transform: translateY(-1px);
}

#cookie-notice #cn-refuse-cookie,
#cookie-notice a[data-cookie-set="refuse"] {
    background: transparent !important;
    color: var(--wood-dark) !important;
    border: 2px solid var(--line) !important;
}
#cookie-notice #cn-refuse-cookie:hover {
    border-color: var(--wood-dark) !important;
    background: var(--sand) !important;
}

#cookie-notice #cn-more-info,
#cookie-notice a.cn-privacy-policy-link {
    background: transparent !important;
    border: none !important;
    color: var(--wood-primary) !important;
    padding: 10px 4px !important;
    font-weight: 500 !important;
}
#cookie-notice a.cn-privacy-policy-link:hover { text-decoration: underline !important; }

@media (max-width: 480px) {
    #cookie-notice,
    div#cookie-notice,
    .cookie-notice-container {
        right: 0.5rem !important;
        left: 0.5rem !important;
        bottom: 0.5rem !important;
        width: auto !important;
        max-width: none !important;
    }
    #cookie-notice .cookie-notice-container { padding: 1rem 1rem 1rem 3.75rem !important; }
    #cookie-notice .cookie-notice-container::before { left: 0.85rem; top: 0.95rem; width: 36px; height: 36px; }
}

/* === BREADCRUMBS + SINGLE PAGE === */
.ast-breadcrumbs-wrapper {
    padding: 1rem 0;
    font-size: 14px;
    color: var(--muted);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.ast-breadcrumbs-wrapper a { color: var(--wood-primary); }

.single .ast-single-post-order,
.page .ast-page-title { margin-bottom: 2rem; }

/* Astra's "TISCHLEREI RALF HASE" Page-Title-Bar ausblenden (Dubletten) */
body.page .ast-page-header,
body.single .ast-page-header,
body .ast-archive-description,
body .ast-primary-header-bar + .ast-single-post-order,
body .ast-site-identity-title,
body .ast-archive-title-wrap,
body .main-header-bar.ast-header-breadcrumb,
body .ast-header-break-point .main-header-bar.ast-header-breadcrumb,
body .ast-above-header-wrap,
body .ast-below-header-wrap { display: none !important; }

/* Fallback: Astra manchmal zeigt den Page-Titel als großen h1 vor dem Content */
body.page-id-6 .entry-title,
body.page-id-6 h1.entry-title,
body.home .entry-title { display: none !important; }

/* Auf allen Leistungs-/Standort-/Hub-Seiten: automatischen Page-Title verstecken,
   der Hero-Abschnitt bringt sein eigenes H1 mit */
body.page-parent-leistungen .entry-title,
body.page-parent-leistungen h1.entry-title,
body.page-parent-standorte .entry-title,
body.page-parent-standorte h1.entry-title,
body.page-parent-leistungen header.entry-header,
body.page-parent-standorte header.entry-header,
body.page-id-573 .entry-title,
body.page-id-574 .entry-title,
body.page-id-573 header.entry-header,
body.page-id-574 header.entry-header { display: none !important; }

/* Breadcrumb + Seitentitel-Bereich auf Home komplett weg */
body.home .ast-breadcrumbs-wrapper,
body.home .yoast-breadcrumbs,
body.page-id-6 .ast-breadcrumbs-wrapper,
body.page-id-6 .yoast-breadcrumbs,
body.home .ast-above-title-wrapper,
body.page-id-6 .ast-above-title-wrapper,
body.home .ast-primary-header-bar + .ast-container,
body.home .entry-header { display: none !important; }

.entry-content > * + * { margin-top: 1.5rem; }
.entry-content img { border-radius: var(--radius-md); }

/* === UTILITIES === */
.hase-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: clamp(12px, 1vw, 13px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--wood-primary);
    margin-bottom: 1rem;
}

.hase-lead {
    font-size: clamp(1.1rem, 2.1vw, 1.5rem);
    line-height: 1.75;
    color: var(--muted);
    max-width: 62ch;
    font-weight: 500;
}

.hase-divider {
    width: 60px;
    height: 3px;
    background: var(--wood-primary);
    border: none;
    margin: 1.5rem 0;
    border-radius: 2px;
}

/* === PREMIUM HEADER REDESIGN === */
.hase-header-premium {
    background: var(--cream);
    border-bottom: 1px solid #E6DFD1;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all .35s var(--ease-smooth);
}

.hase-header-premium.is-sticky {
    box-shadow: 0 2px 12px rgba(61, 40, 23, 0.08);
}

.ast-container {
    max-width: var(--container-max) !important;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.site-logo-img,
.custom-logo {
    max-width: clamp(140px, 20vw, 180px) !important;
    height: auto !important;
}

/* HEADER MAIN LAYOUT */
.hase-header-main {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    padding: clamp(0.85rem, 1.5vw, 1.25rem) 0;
}

/* HEADER SERVICES NAV */
.hase-header-services {
    display: flex;
    gap: clamp(0.5rem, 1.5vw, 1.2rem);
    align-items: center;
    flex-wrap: wrap;
}

.hase-header-service-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 600;
    color: var(--wood-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all .25s var(--ease-smooth);
}

.hase-header-service-link:hover {
    background: var(--sand);
    color: var(--wood-dark);
    transform: translateY(-1px);
}

.hase-header-service-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

/* HEADER INFO (Phone + Hours) */
.hase-header-info {
    display: flex;
    gap: clamp(1.5rem, 2.5vw, 2rem);
    align-items: center;
    padding-left: clamp(1.5rem, 2.5vw, 2rem);
    border-left: 1px solid #E6DFD1;
}

.hase-header-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hase-header-phone {
    font-weight: 700;
    color: var(--wood-dark);
    font-size: clamp(14px, 1.1vw, 16px);
    text-decoration: none;
    transition: color .25s var(--ease-smooth);
}

.hase-header-phone:hover {
    color: var(--wood-primary);
}

.hase-header-hours {
    font-size: clamp(12px, 0.9vw, 13px);
    color: var(--muted);
    text-align: right;
}

/* HEADER CTA BUTTON */
.hase-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.75rem, 1.5vw, 0.95rem) clamp(1.25rem, 2vw, 1.75rem);
    background: linear-gradient(135deg, var(--wood-primary), var(--wood-accent));
    color: var(--cream);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: clamp(14px, 1vw, 15px);
    text-decoration: none;
    cursor: pointer;
    transition: all .3s var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(113, 91, 29, 0.2);
    text-align: center;
}

.hase-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(113, 91, 29, 0.3);
}

/* MOBILE HEADER HIDE */
@media (max-width: 1100px) {
    .hase-header-services {
        display: none;
    }

    .hase-header-info {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .hase-header-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .hase-header-info-item {
        text-align: right;
    }

    .hase-header-hours {
        text-align: right;
    }

    .hase-header-main {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
    }
}

/* Scroll detection for enhanced shadow */
window.addEventListener('scroll', () => {
    const header = document.querySelector('.site-header');
    if (window.scrollY > 10) {
        header.classList.add('is-sticky');
    } else {
        header.classList.remove('is-sticky');
    }
});

/* === SERVICE PAGE CONVERSION LAYOUT === */
.hase-service-conversion {
    max-width: var(--container-max);
    margin: clamp(2rem, 4vw, 3rem) auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.hase-service-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.hase-service-main {
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 5vw, 4rem);
}

.hase-service-section {
    padding: clamp(2rem, 3vw, 2.5rem);
    background: var(--white);
    border: 1px solid #F0E8DC;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(61, 40, 23, 0.05);
}

.hase-service-section h2 {
    margin: 0 0 1.25rem;
}

.hase-service-section p {
    margin: 0 0 1.5rem;
    color: var(--muted);
    line-height: 1.8;
}

.hase-problem-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.hase-problem-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--ink);
}

.hase-problem-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--wood-primary);
    font-weight: 700;
}

/* SOLUTION GRID */
.hase-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hase-solution-card {
    padding: 1.5rem;
    background: var(--sand);
    border-radius: var(--radius-md);
    border: 1px solid #E6DFD1;
}

.hase-solution-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: var(--wood-dark);
}

.hase-solution-card p {
    font-size: 14px;
    margin: 0 0 1rem;
}

.hase-solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hase-solution-card li {
    font-size: 14px;
    padding: 0.4rem 0;
    color: var(--ink);
}

.hase-solution-card li::before {
    content: "✓ ";
    color: var(--wood-primary);
    font-weight: 700;
    margin-right: 0.4rem;
}

/* PROCESS STEPS */
.hase-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.hase-process-step {
    position: relative;
    padding: 1.5rem;
    background: var(--cream);
    border: 2px solid #E6DFD1;
    border-radius: var(--radius-md);
    text-align: center;
}

.hase-process-step__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--wood-primary), var(--wood-accent));
    color: var(--cream);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
}

.hase-process-step h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.hase-process-step p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* WHY US GRID */
.hase-why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hase-why-us-item {
    padding: 1.5rem;
    background: var(--sand);
    border-radius: var(--radius-md);
    text-align: center;
}

.hase-why-us-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    background: var(--wood-primary);
    color: var(--cream);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3rem;
}

.hase-why-us-item h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.hase-why-us-item p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* FAQ */
.hase-faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.hase-faq-item {
    padding: 1.25rem;
    background: var(--sand);
    border: 1px solid #E6DFD1;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all .25s var(--ease-smooth);
}

.hase-faq-item:hover {
    border-color: var(--wood-light);
    background: #FCF8F1;
}

.hase-faq-item summary {
    font-weight: 600;
    color: var(--wood-dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hase-faq-item summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--wood-primary);
    color: var(--cream);
    border-radius: 50%;
    font-weight: 700;
    transition: transform .25s var(--ease-smooth);
}

.hase-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.hase-faq-item p {
    margin: 1rem 0 0;
    font-size: 14px;
    color: var(--muted);
}

/* SIDEBAR */
.hase-service-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hase-service-cta-box {
    padding: 2rem;
    background: var(--sand);
    border: 2px solid var(--wood-primary);
    border-radius: var(--radius-md);
    text-align: center;
}

.hase-service-cta-box h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
}

.hase-service-cta-box p {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 1.25rem;
}

.hase-service-trust-box {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid #E6DFD1;
    border-radius: var(--radius-md);
    text-align: center;
}

.hase-service-trust-box h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--wood-dark);
}

.hase-service-trust-box p {
    font-size: 14px;
    color: var(--muted);
    margin: 0.5rem 0;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .hase-service-layout {
        grid-template-columns: 1fr;
    }

    .hase-service-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 640px) {
    .hase-solution-grid,
    .hase-process-steps,
    .hase-why-us-grid {
        grid-template-columns: 1fr;
    }

    .hase-faq-item summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .hase-faq-item summary::after {
        margin-top: 0.75rem;
    }

    .hase-references-filters {
        display: none !important;
    }
}

/* === ACCESSIBILITY & FOCUS STATES === */
:focus-visible {
    outline: 2px solid var(--wood-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--wood-primary);
    outline-offset: 3px;
}

/* === RESPONSIVE NAV === */
@media (max-width: 921px) {
    .hase-header-phone {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* === SIDE-CTA (Quick Contact am linken Seitenrand) === */
.hase-side-cta {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 997;
    padding: 8px 0;
}

.hase-side-cta__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 70px;
    height: auto;
    gap: 0.5rem;
    background: var(--wood-dark);
    color: var(--cream);
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: all .3s var(--ease-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0.9rem 0.6rem;
}

.hase-side-cta__item svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: var(--cream);
}

.hase-side-cta__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: inherit;
}

.hase-side-cta__item:hover {
    background: var(--wood-primary);
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 20px 40px -12px rgba(61, 40, 23, 0.25), 0 8px 16px rgba(61, 40, 23, 0.12);
}

.hase-side-cta__item--consultation {
    background: var(--sand);
    color: var(--wood-dark);
}

.hase-side-cta__item--consultation svg {
    color: var(--wood-dark);
}

.hase-side-cta__item--consultation:hover {
    background: var(--cream);
}

.hase-side-cta__item--phone {
    background: var(--wood-accent);
    color: var(--cream);
}

.hase-side-cta__item--phone svg {
    color: var(--cream);
}

.hase-side-cta__item--phone:hover {
    background: var(--wood-primary);
}

.hase-side-cta__item--phone:hover {
    background: var(--wood-accent);
}

.hase-side-cta__item:focus-visible {
    outline: 3px solid var(--wood-light);
    outline-offset: 3px;
}

/* Mobile: kleiner, unten rechts (neben scroll-to-top) */
@media (max-width: 768px) {
    .hase-side-cta {
        top: auto;
        left: auto;
        right: clamp(1rem, 2vw, 1.5rem);
        bottom: calc(clamp(1rem, 2vw, 1.5rem) + 60px);
        transform: none;
        flex-direction: column;
        gap: 10px;
    }
    .hase-side-cta__item {
        border-radius: 50%;
        max-width: 48px;
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
    }
    .hase-side-cta__item:hover,
    .hase-side-cta__item:focus-visible {
        max-width: 48px;
        padding: 0;
        transform: scale(1.05);
    }
    .hase-side-cta__label { display: none; }
}

/* === SCROLL TO TOP === */
.hase-to-top {
    position: fixed;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    width: 56px !important;
    min-width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background: var(--sand);
    color: var(--wood-dark);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .25s var(--ease-smooth), transform .25s var(--ease-smooth), background .25s var(--ease-smooth), box-shadow .25s var(--ease-smooth);
    z-index: 998;
    line-height: 1;
    font-family: var(--font-body);
    font-weight: 600;
}
.hase-to-top svg { width: 24px; height: 24px; }
.hase-to-top:hover {
    background: var(--cream);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.hase-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.hase-to-top:focus-visible {
    outline: 3px solid var(--wood-light);
    outline-offset: 2px;
}

/* === PROCESS / ABLAUF === */
.hase-process {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    counter-reset: hase-process;
    position: relative;
}
.hase-process::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--wood-light) 0 8px, transparent 8px 16px);
    z-index: 0;
}
@media (max-width: 960px) {
    .hase-process { grid-template-columns: repeat(2, 1fr); }
    .hase-process::before { display: none; }
}
@media (max-width: 560px) {
    .hase-process { grid-template-columns: 1fr; }
}
.hase-process__step {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 2rem 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}
.hase-process__step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hase-process__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--sand);
    color: var(--wood-primary);
    display: grid;
    place-items: center;
}
.hase-process__icon svg { width: 26px; height: 26px; }
.hase-process__num {
    position: absolute;
    top: -12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wood-primary);
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1rem;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}
.hase-process__title {
    font-size: 1.1rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--ink);
}
.hase-process__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}

/* === SERVICE AREA / EINZUGSGEBIET === */
.hase-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 820px) {
    .hase-area { grid-template-columns: 1fr; }
}
.hase-area__header h2 { margin-top: 0; }
.hase-area__header .hase-lead { margin-top: 1rem; }
.hase-area__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.hase-area__list li {
    padding: 0.55rem 1rem;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--wood-dark);
    transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
}
.hase-area__list li:hover {
    background: var(--cream);
    border-color: var(--wood-light);
}

/* === REVIEWS / KUNDENSTIMMEN === */
.hase-reviews__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.hase-reviews__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--muted);
}
.hase-reviews__stars {
    display: inline-flex;
    gap: 2px;
    color: #F5B301;
}
.hase-reviews__stars svg { width: 18px; height: 18px; }
.hase-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .hase-reviews { grid-template-columns: 1fr; }
}
.hase-review {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}
.hase-review::before {
    content: "\201C";
    position: absolute;
    top: -0.25rem;
    left: 1rem;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--wood-light);
    opacity: 0.35;
}
.hase-review__quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
    padding-top: 0.5rem;
    quotes: none;
}
.hase-review__author {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 0.75rem;
    margin-top: auto;
}
.hase-review__name {
    font-weight: 600;
    color: var(--wood-dark);
}
.hase-review__location { font-size: 0.85rem; }
.hase-reviews__cta {
    text-align: center;
    margin-top: 2.25rem;
}

/* === RATGEBER HUB === */
.hase-ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.hase-ratgeber-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}
.hase-ratgeber-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--wood-light);
}
.hase-ratgeber-card__topic {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wood-primary);
}
.hase-ratgeber-card__title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin: 0;
}
.hase-ratgeber-card__title a {
    color: var(--ink);
    text-decoration: none;
}
.hase-ratgeber-card__title a:hover { color: var(--wood-primary); }
.hase-ratgeber-card__excerpt {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}
.hase-ratgeber-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-weight: 600;
    color: var(--wood-primary);
    text-decoration: none;
}
.hase-ratgeber-card__link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease-smooth); }
.hase-ratgeber-card__link:hover { color: var(--wood-dark); }
.hase-ratgeber-card__link:hover svg { transform: translateX(3px); }

/* === RATGEBER ARTICLE === */
.hase-article {
    padding-block: clamp(3rem, 6vw, 5rem);
}
.hase-article__inner {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.hase-article__header { margin-bottom: 2.5rem; }
.hase-article__crumbs {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}
.hase-article__crumbs a {
    color: var(--muted);
    text-decoration: none;
}
.hase-article__crumbs a:hover { color: var(--wood-primary); }
.hase-article__header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
}
.hase-article__header .hase-lead { max-width: none; }

.hase-article__body h2 {
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    margin: 2.25rem 0 0.85rem;
    color: var(--ink);
}
.hase-article__body p,
.hase-article__body ul,
.hase-article__body ol {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 1rem;
}
.hase-article__body ul,
.hase-article__body ol { padding-left: 1.5rem; }
.hase-article__body li { margin-bottom: 0.4rem; }
.hase-article__body strong { color: var(--wood-dark); }

.hase-article__steps {
    list-style: none;
    counter-reset: hase-article-step;
    padding: 0;
}
.hase-article__steps li {
    position: relative;
    padding: 0.25rem 0 0.25rem 2.75rem;
    margin-bottom: 1.25rem;
    counter-increment: hase-article-step;
}
.hase-article__steps li::before {
    content: counter(hase-article-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    background: var(--wood-primary);
    color: var(--cream);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.hase-article__cta {
    margin-top: 3rem;
    padding: 2rem 1.75rem;
    background: var(--sand);
    border-radius: var(--radius-md);
    text-align: center;
}
.hase-article__cta h2 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}
.hase-article__cta p {
    margin: 0;
    color: var(--muted);
}

/* === PRICE FACTORS === */
.hase-factors__header {
    text-align: center;
    margin-bottom: 3rem;
}
.hase-factors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 900px) { .hase-factors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hase-factors { grid-template-columns: 1fr; } }
.hase-factor {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}
.hase-factor:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hase-factor__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: var(--sand);
    color: var(--wood-primary);
    display: grid;
    place-items: center;
}
.hase-factor__icon svg { width: 22px; height: 22px; }
.hase-factor__title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--ink);
}
.hase-factor__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--muted);
    margin: 0;
}
.hase-factors__note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--muted);
    font-style: italic;
}

/* === BRANCH HERO (Instandhaltung / Manufaktur) === */
.hase-branch-hero {
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 6rem);
    color: var(--cream);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.hase-branch-hero--instandhaltung {
    background: linear-gradient(135deg, var(--wood-dark) 0%, #4a3825 100%);
}
.hase-branch-hero--manufaktur {
    background: linear-gradient(135deg, #2a2018 0%, var(--wood-accent) 100%);
}
.hase-branch-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 85% 15%, rgba(184, 147, 90, 0.2), transparent 55%),
                      radial-gradient(circle at 10% 85%, rgba(150, 105, 73, 0.18), transparent 50%);
    pointer-events: none;
}
.hase-branch-hero__inner {
    position: relative;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.hase-branch-hero h1 {
    color: var(--cream);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin: 0.5rem 0 1.25rem;
    max-width: 18ch;
}

/* === B2B SECTION (Instandhaltung) === */
.hase-b2b {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 860px) {
    .hase-b2b { grid-template-columns: 1fr; }
}
.hase-b2b__text h2 { margin-top: 0.5rem; }
.hase-b2b__list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.6rem;
}
.hase-b2b__list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
}
.hase-b2b__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 10px;
    height: 10px;
    background: var(--wood-primary);
    border-radius: 50%;
}
.hase-b2b__card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-md);
}
.hase-b2b__card-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wood-primary);
    margin-bottom: 0.5rem;
}
.hase-b2b__card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}
.hase-b2b__card p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.6;
}
.hase-b2b__features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    display: grid;
    gap: 0.4rem;
}
.hase-b2b__features li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--ink);
}
.hase-b2b__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--wood-primary);
    font-weight: 700;
}
.hase-b2b__footnote {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    font-style: italic;
}

/* === PORTFOLIO (Manufaktur) === */
.hase-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 900px) { .hase-portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hase-portfolio { grid-template-columns: 1fr; } }
.hase-portfolio__item {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}
.hase-portfolio__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.hase-portfolio__media {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--sand) 0%, #E6DFD1 100%);
    position: relative;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.hase-portfolio__media[data-placeholder]::after {
    content: attr(data-placeholder);
    opacity: 0.6;
}
.hase-portfolio__caption {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.hase-portfolio__kind {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--wood-primary);
}
.hase-portfolio__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--ink);
}

/* === MOBILE OFF-CANVAS MENU (slide-in from left) === */
/* Desktop: Close-Button verstecken */
.hase-menu-close {
    display: none !important;
}

@media (max-width: 921px) {
    /* Mobile Nav als Drawer von links */
    body .ast-primary-header-bar .main-header-bar-navigation,
    body .main-header-bar-navigation {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(85vw, 340px) !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: var(--cream) !important;
        box-shadow: 6px 0 24px rgba(61, 40, 23, 0.18);
        transform: translateX(-100%);
        transition: transform .32s var(--ease-smooth);
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 72px 0 24px 0;
        display: block !important;
        flex: none !important;
        min-height: 0 !important;
        justify-content: flex-start !important;
    }
    /* Sichtbar wenn Body-Klasse gesetzt */
    body.hase-menu-open .main-header-bar-navigation,
    body.ast-main-header-nav-open .main-header-bar-navigation {
        transform: translateX(0) !important;
    }
    /* Backdrop */
    body.hase-menu-open::before,
    body.ast-main-header-nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(31, 27, 22, 0.55);
        z-index: 9998;
        animation: hase-backdrop-fade .25s var(--ease-smooth);
    }
    @keyframes hase-backdrop-fade {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    /* Body-Scroll sperren wenn Menu offen */
    body.hase-menu-open,
    body.ast-main-header-nav-open { overflow: hidden; }

    /* Close-Button im Drawer */
    .hase-menu-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: var(--wood-dark);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        transition: background .2s var(--ease-smooth);
        z-index: 1;
    }
    .hase-menu-close:hover { background: var(--sand); }
    .hase-menu-close svg { width: 22px; height: 22px; }

    /* Menu-Items vertikal */
    body .main-header-bar-navigation .main-navigation,
    body .main-header-bar-navigation #primary-site-navigation {
        display: block !important;
        min-height: 0 !important;
    }
    body .main-header-bar-navigation .main-header-menu {
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    body .main-header-bar-navigation .main-header-menu > li {
        display: block !important;
        min-height: 0 !important;
    }
    body .main-header-bar-navigation .main-header-menu > li > a,
    body .main-header-bar-navigation .main-header-menu > li > a:link,
    body .main-header-bar-navigation .main-header-menu > li > a:visited,
    body.ast-theme-transparent-header .main-header-bar-navigation .main-header-menu > li > a,
    body.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-link {
        padding: 14px 24px !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        border-bottom: 1px solid var(--line) !important;
        color: var(--wood-dark) !important;
        background: transparent !important;
        background-color: transparent !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        font-weight: 500 !important;
    }
    body .main-header-bar-navigation .main-header-menu > li > a:hover,
    body .main-header-bar-navigation .main-header-menu > li > a:focus,
    body .main-header-bar-navigation .main-header-menu > li.current-menu-item > a {
        background: var(--sand) !important;
        color: var(--wood-primary) !important;
    }
    body .main-header-bar-navigation .main-header-menu .sub-menu {
        position: static !important;
        background: var(--sand) !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    body .main-header-bar-navigation .main-header-menu .sub-menu > li > a,
    body .main-header-bar-navigation .main-header-menu .sub-menu > li > a:link,
    body .main-header-bar-navigation .main-header-menu .sub-menu > li > a:visited {
        padding: 12px 36px !important;
        font-size: 14px !important;
        background: transparent !important;
        color: var(--wood-dark) !important;
        border-bottom: 1px solid rgba(180, 150, 100, 0.18) !important;
        font-weight: 400 !important;
    }
    body .main-header-bar-navigation .main-header-menu .sub-menu > li > a:hover,
    body .main-header-bar-navigation .main-header-menu .sub-menu > li > a:focus {
        background: var(--cream) !important;
        color: var(--wood-primary) !important;
    }
    /* Sub-Menu Toggle (versteckt, Parent-Link-Tap ist Haupt-UX) */
    body .main-header-bar-navigation .main-header-menu > li.menu-item-has-children {
        position: relative;
    }
    body .main-header-bar-navigation .ast-menu-toggle {
        pointer-events: none !important;
        visibility: hidden !important;
    }
    /* Sub-Menu standardmäßig versteckt */
    body .main-header-bar-navigation .main-header-menu .sub-menu {
        display: none !important;
    }
    /* Aufgeklappt wenn JS Klasse setzt (oder Astras eigene Klasse) */
    body .main-header-bar-navigation .main-header-menu > li.hase-submenu-open > .sub-menu,
    body .main-header-bar-navigation .main-header-menu > li.ast-submenu-expanded > .sub-menu,
    body .main-header-bar-navigation .main-header-menu > li.toggled-on > .sub-menu {
        display: block !important;
    }
}

/* === MOBILE HEADER FIX (Logo sichtbar, Hamburger rechts) === */
@media (max-width: 921px) {
    /* Logo erzwingen sichtbar, mittig zwischen Hamburger und Phone */
    body .site-branding {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        order: 2;
        margin: 0 8px;
    }
    body .site-branding .ast-site-identity,
    body .site-branding .site-logo-img,
    body .site-branding .custom-logo-link {
        display: inline-flex !important;
        align-items: center;
    }
    body .site-header .custom-logo-link img,
    body .site-header .site-logo-img img {
        display: block !important;
        max-height: 44px !important;
        max-width: clamp(140px, 50vw, 220px) !important;
        width: auto !important;
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    /* Reihenfolge: Hamburger (ganz links) | Logo (mittig, fluid) | Phone (ganz rechts) */
    body .ast-mobile-menu-buttons { order: 1; flex-shrink: 0; margin: 0; }
    body .ast-main-header-bar-alignment {
        order: 3;
        flex: 0 0 auto;
        margin: 0;
    }
    body .hase-header-phone {
        order: 3;
        margin: 0;
    }
    /* Header-Höhe etwas reduzieren */
    body .main-header-bar { min-height: 60px; }
    body .main-header-bar .ast-flex.main-header-container { min-height: 60px; gap: 8px; }
}

/* === IPHONE OPTIMIZATION (≤ 768px) === */
@media (max-width: 768px) {
    body .menu-toggle,
    body .ast-mobile-menu-buttons {
        margin-left: -28px !important;
        padding: 14px 20px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    body .menu-toggle svg,
    body .ast-mobile-menu-buttons svg {
        width: 32px !important;
        height: 32px !important;
    }
}

/* === MOBILE OPTIMIZATION (<= 768px) === */
@media (max-width: 768px) {
    /* Hero: kompakter, Inhalt schneller above-the-fold */
    .hase-hero { min-height: 0; }
    .hase-hero__inner { padding: clamp(2.25rem, 8vw, 3.5rem) 1.25rem; }
    .hase-hero__eyebrow {
        font-size: 11.5px;
        letter-spacing: 0.18em;
        margin-bottom: 0.6rem;
    }
    .hase-hero h1 {
        font-size: clamp(1.85rem, 7.2vw, 2.4rem);
        line-height: 1.1;
        margin-bottom: 1rem;
        max-width: none;
    }
    .hase-hero__lead {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.75rem;
        max-width: none;
    }
    .hase-hero__ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }
    .hase-hero__ctas .wp-block-button__link {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 18px !important;
        font-size: 15px !important;
    }

    /* Trust-Strip: kompaktere Boxen, lesbare Labels */
    .hase-trust { gap: 0.25rem 0.75rem; }
    .hase-trust__item { padding: 1rem 0.5rem; }
    .hase-trust__value { font-size: 2rem; }
    .hase-trust__label {
        font-size: 11px;
        letter-spacing: 0.08em;
        line-height: 1.3;
        margin-top: 0.35rem;
    }

    /* Floating CTAs: horizontal anordnen (kleinerer Footprint, weniger Overlap) */
    .hase-side-cta {
        flex-direction: row;
        gap: 0.5rem;
        bottom: calc(clamp(1rem, 2vw, 1.5rem) + 56px);
        right: clamp(0.75rem, 2vw, 1.25rem);
    }
    .hase-side-cta__item {
        width: 44px;
        height: 44px;
        max-width: 44px;
    }
    .hase-side-cta__item svg { width: 18px; height: 18px; }

    /* Scroll-to-top: passend zur Größe */
    .hase-to-top {
        width: 44px !important;
        min-width: 44px;
        height: 44px;
    }
    .hase-to-top svg { width: 20px; height: 20px; }

    /* Body Safe-Area: verhindert dass die untersten Inhalte unter Buttons verschwinden */
    body { padding-bottom: env(safe-area-inset-bottom, 0); }
    body.home, body.page-id-6 { /* nur dort wo CTAs sichtbar sind, etwas Luft am Ende */ }
}

@media (max-width: 380px) {
    .hase-hero__inner { padding-inline: 1rem; }
    .hase-hero h1 { font-size: 1.7rem; }
    .hase-hero__lead { font-size: 0.95rem; }
    .hase-trust__value { font-size: 1.75rem; }
    .hase-trust__label { font-size: 10.5px; }
}

/* === KATALOGE: HERSTELLERLOGOS === */
.hase-catalogs__brands {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    margin: clamp(3rem, 8vw, 5rem) 0;
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--sand);
    border-radius: var(--radius-lg);
}

.hase-catalogs__brands-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--wood-dark);
    text-align: center;
    margin: 0;
}

.hase-catalogs__brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
    justify-items: center;
}

.hase-catalogs__brand {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-smooth);
}

.hase-catalogs__brand:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.hase-catalogs__brand img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === PHONE BAR === */
.hase-phone-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-primary) 100%);
    color: var(--cream);
    z-index: 10000 !important;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.4s ease;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s var(--ease-smooth), pointer-events 0.3s var(--ease-smooth);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hase-phone-bar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0.8rem clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.hase-phone-bar__spacer {
    flex: 1;
}

.hase-phone-bar__link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s var(--ease-smooth);
}

.hase-phone-bar__link:hover {
    opacity: 0.9;
}

.hase-phone-bar__text {
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--sand);
    letter-spacing: 0.03em;
}

.hase-phone-bar__number {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--cream);
    letter-spacing: -0.01em;
}

.hase-phone-bar__close {
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.hase-phone-bar__close:hover {
    opacity: 0.8;
}

.hase-phone-bar__close svg {
    width: 18px;
    height: 18px;
}

/* Spacing für Header (damit Phone Bar nicht überlappt) */
.site-header {
    margin-top: 52px;
}

/* Mobile: Herstellerlogos Grid anpassen */
@media (max-width: 768px) {
    .hase-catalogs__brands {
        gap: 1.5rem;
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .hase-catalogs__brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.25rem;
    }

    .hase-catalogs__brand {
        height: 100px;
    }

    .hase-catalogs__brands-title {
        font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    }
}

@media (max-width: 480px) {
    .hase-catalogs__brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .hase-catalogs__brand {
        height: 90px;
    }
}

/* Mobile: Phone Bar kompakt */
@media (max-width: 768px) {
    .hase-phone-bar__inner {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
    }

    .hase-phone-bar__text {
        display: none;
    }

    .hase-phone-bar__number {
        font-size: 16px;
    }

    .hase-phone-bar__icon {
        width: 18px;
        height: 18px;
    }
}

/* Sehr kleine Screens */
@media (max-width: 480px) {
    .hase-phone-bar__inner {
        padding: 0.5rem 0.75rem;
    }

    .hase-phone-bar__number {
        font-size: 14px;
    }

    .site-header {
        margin-top: 48px;
    }
}

/* === PRINT === */
@media print {
    .site-header, .site-footer, .hase-header-phone, .hase-cta-banner, .hase-to-top, .hase-side-cta, .hase-phone-bar { display: none; }
}
