/* ============================================================
   MWP – hw-base.css  (Handwerk-Theme)
   Variablen kommen aus header.php als :root overrides
   ============================================================ */

:root {
    --hw-primary:      #1e293b;
    --hw-accent:       #f97316;
    --hw-accent-dk:    #ea6c0a;
    --hw-bg:           #ffffff;
    --hw-text:         #0f172a;
    --hw-font-heading: 'Poppins', system-ui, sans-serif;
    --hw-font-body:    'Inter',   system-ui, sans-serif;
    --hw-h1-size:      clamp(2rem, 5vw, 3.5rem);
    --hw-h2-size:      clamp(1.4rem, 3vw, 2rem);
    --hw-card-radius:  12px;
    --hw-btn-radius:   8px;
    --hw-shadow:       0 4px 20px rgba(0,0,0,.08);
    --hw-transition:   .2s ease;
    --hw-light:        #f8fafc;
    --hw-steel:        #64748b;
    --hw-border:       #e2e8f0;
    --topbar-h:        36px;
    --header-h:        68px;
    --offset:          calc(var(--topbar-h) + var(--header-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--hw-font-body);
    color: var(--hw-text);
    background: var(--hw-bg);
    line-height: 1.6;
    padding-top: var(--offset);
}

/* ── UTILITIES ── */
.mwp-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.mwp-container--narrow { max-width: 720px; }

/* ── HEADER / NAV ── */
.mwp-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--hw-primary);
    transition: box-shadow var(--hw-transition);
}
.mwp-header--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.mwp-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; max-width: 1140px; margin: 0 auto; gap: 16px;
}
.mwp-logo { text-decoration: none; }
.mwp-logo-text { font-family: var(--hw-font-heading); font-weight: 900; font-size: 20px; color: #fff; letter-spacing: .5px; }
.mwp-logo-img { height: 44px; width: auto; }
.mwp-nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.mwp-nav-link {
    display: block; padding: 8px 14px; color: rgba(255,255,255,.8);
    text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 6px;
    transition: color var(--hw-transition), background var(--hw-transition);
}
.mwp-nav-link:hover, .mwp-nav-link--active { color: #fff; background: rgba(255,255,255,.12); }
.mwp-nav-actions { display: flex; align-items: center; gap: 12px; }
.mwp-nav-tel { color: rgba(255,255,255,.85); font-size: 13px; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.mwp-nav-tel:hover { color: var(--hw-accent); }

/* Burger */
.mwp-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.mwp-burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.mwp-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mwp-burger.is-open span:nth-child(2) { opacity: 0; }
.mwp-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mwp-nav-mobile { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: var(--hw-primary); }
.mwp-nav-mobile--open { max-height: 500px; }
.mwp-nav-mobile-list { list-style: none; margin: 0; padding: 8px 20px 16px; }
.mwp-nav-mobile-list .mwp-nav-link { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }

@media (max-width: 768px) {
    .mwp-nav, .mwp-nav-tel { display: none; }
    .mwp-burger { display: flex; }
}

/* ══════════════════════════════════════════════════════════
   TOPBAR + HAUPTNAVIGATION (Stahl & Licht – wie handwerk.andi24.de)
   ══════════════════════════════════════════════════════════ */
.hw-topbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--topbar-h); background: var(--hw-primary);
    z-index: 1001; display: flex; align-items: center;
}
.hw-topbar-inner {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hw-topbar-left { display: flex; align-items: center; gap: 20px; overflow: hidden; }
.hw-topbar-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: rgba(255,255,255,.45); white-space: nowrap; flex-shrink: 0;
}
.hw-topbar-item i { color: var(--hw-accent); font-size: 10px; }
.hw-topbar-item a { color: rgba(255,255,255,.65); }
.hw-topbar-item a:hover { color: var(--hw-accent); }
.hw-topbar-right { flex-shrink: 0; }
.hw-topbar-notdienst {
    background: #dc2626; color: #fff;
    padding: 3px 12px; font-size: 10px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 2px; display: flex; align-items: center; gap: 6px;
}
.hw-topbar-notdienst::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #fca5a5; animation: hwBlink 1.2s infinite;
}
.hw-topbar-notdienst a { color: #fef08a; font-weight: 700; }
.hw-topbar-notdienst a:hover { text-decoration: underline; }
@keyframes hwBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

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

.hw-header {
    position: fixed; top: var(--topbar-h); left: 0; right: 0;
    height: var(--header-h); background: #fff;
    border-bottom: none;
    z-index: 1000; display: flex; align-items: stretch;
    transition: box-shadow .3s;
}
.hw-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.hw-header-inner {
    width: 100%; max-width: 1280px; margin: 0 auto; display: flex; align-items: stretch;
}
.hw-logo { background: var(--hw-accent); padding: 0 22px;
    display: flex; align-items: center; flex-shrink: 0; transition: background .2s;
}
.hw-logo:hover { background: var(--hw-accent-dk); }
.hw-logo a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hw-logo-icon {
    width: 32px; height: 32px; background: var(--hw-primary); border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    color: var(--hw-accent); font-size: 17px; flex-shrink: 0;
}
.hw-logo-img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.hw-logo--custom { background: transparent; padding: 4px 12px; }
.hw-logo--custom:hover { background: rgba(0,0,0,.05); }
.hw-logo--custom .hw-logo-img { height: 75px; max-width: 220px; filter: none; object-fit: contain; }
.hw-logo-text {
    font-weight: 800; font-size: 13px; color: var(--hw-primary);
    letter-spacing: -0.5px; line-height: 1.2; white-space: nowrap;
}
.hw-logo-text small {
    display: block; font-size: 9px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; color: rgba(30,41,59,.5);
}
.hw-nav { display: flex; align-items: stretch; flex: 1; padding-left: 4px; }
.hw-nav > ul { display: flex; align-items: stretch; list-style: none; flex: 1; }
.hw-nav > ul > li { display: flex; align-items: stretch; position: relative; }
.hw-nav > ul > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 0 14px; font-size: 11px; font-weight: 700;
    color: var(--hw-steel); letter-spacing: .4px; text-transform: uppercase;
    border-bottom: 3px solid transparent; white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.hw-nav > ul > li > a i { font-size: 12px; }
.hw-nav > ul > li > a:hover  { color: var(--hw-primary); border-bottom-color: var(--hw-accent); }
.hw-nav > ul > li > a.active { color: var(--hw-primary); border-bottom-color: var(--hw-accent); }
.hw-nav-cta {
    align-self: center !important; margin: 0 0 0 8px !important;
    background: var(--hw-accent) !important; color: #fff !important;
    padding: 9px 18px !important; border-bottom: none !important;
    border-radius: 3px !important; font-size: 11px !important;
    letter-spacing: .5px !important; gap: 6px !important; flex-shrink: 0;
}
.hw-nav-cta i { color: #fff !important; font-size: 12px !important; }
.hw-nav-cta:hover { background: var(--hw-accent-dk) !important; color: #fff !important; border-bottom: none !important; }
.hw-dd-l1 {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff !important; border: 1px solid var(--hw-border);
    border-top: 3px solid var(--hw-accent);
    min-width: 200px; padding: 5px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.2); z-index: 1001; list-style: none;
}
.hw-has-dd:hover .hw-dd-l1 { display: block; }
.hw-has-dd.open  .hw-dd-l1 { display: block; }
.hw-has-dd.open > a .hw-dd-arrow { transform: rotate(180deg); }
.hw-dd-arrow { transition: transform .2s; }
.hw-dd-l1-direct a {
    display: block; padding: 10px 16px;
    font-size: 11px; font-weight: 700; color: var(--hw-steel);
    text-transform: uppercase; letter-spacing: .5px;
    border-left: 3px solid transparent; transition: all .15s;
}
.hw-dd-l1-direct a:hover {
    color: var(--hw-primary); background: var(--hw-light);
    border-left-color: var(--hw-accent); padding-left: 20px;
}
.hw-hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 5px; background: none; border: none;
    margin: auto 16px auto auto; flex-shrink: 0;
}
.hw-hamburger span { display: block; width: 22px; height: 2px; background: var(--hw-primary); transition: all .3s; border-radius: 1px; }
.hw-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hw-hamburger.open span:nth-child(2) { opacity: 0; }
.hw-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

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

/* ── BUTTONS ── */
.mwp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--hw-btn-radius); font-family: var(--hw-font-heading);
    font-size: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
    cursor: pointer; transition: all var(--hw-transition); white-space: nowrap;
}
.mwp-btn-accent { background: var(--hw-accent); color: #fff; border-color: var(--hw-accent); }
.mwp-btn-accent:hover { filter: brightness(1.08); transform: translateY(-1px); }
.mwp-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.mwp-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.mwp-btn-ghost { background: transparent; color: var(--hw-primary); border-color: #e2e8f0; }
.mwp-btn-ghost:hover { border-color: var(--hw-accent); color: var(--hw-accent); }
.mwp-btn-sm  { padding: 7px 14px; font-size: 13px; }
.mwp-btn-lg  { padding: 14px 28px; font-size: 16px; }
.mwp-btn-full { width: 100%; }

/* ── INPUTS ── */
.mwp-input {
    width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px;
    font-size: 14px; font-family: var(--hw-font-body); color: var(--hw-text); background: #fff;
    transition: border-color var(--hw-transition), box-shadow var(--hw-transition); box-sizing: border-box;
}
.mwp-input:focus { outline: none; border-color: var(--hw-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hw-accent) 20%, transparent); }
.mwp-textarea { resize: vertical; min-height: 100px; }

/* ── ALERTS ── */
.mwp-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.mwp-alert--success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.mwp-alert--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.mwp-alert p { margin: 4px 0; }

/* ── HERO ── */
.hw-hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    background: var(--hw-primary);
    background-image: linear-gradient(135deg, var(--hw-primary) 0%, color-mix(in srgb, var(--hw-primary) 80%, #000) 100%);
}
.hw-hero[style*="--hw-hero-bg"] {
    background-image: var(--hw-hero-bg, none);
    background-size: cover; background-position: center;
}
.hw-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 100%);
}
.hw-hero-content { position: relative; z-index: 1; padding: 80px 20px; }
.hw-hero-badge { display: inline-block; background: var(--hw-accent); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hw-hero-h1 { font-family: var(--hw-font-heading); font-size: var(--hw-h1-size); font-weight: 900; color: #fff; margin: 0 0 16px; line-height: 1.15; max-width: 700px; }
.hw-hero-sub { font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,.85); margin: 0 0 32px; max-width: 580px; }
.hw-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hw-hero-rating { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px; }
.hw-stars { color: #fbbf24; font-size: 18px; }

/* Stats Bar */
.hw-stats-bar { background: var(--hw-accent); padding: 20px 0; }
.hw-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 16px; text-align: center; }
.hw-stat-val { display: block; font-family: var(--hw-font-heading); font-size: 2rem; font-weight: 900; color: #fff; }
.hw-stat-label { font-size: 12px; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .5px; }

/* Sections */
.hw-section { padding: 72px 0; }
.hw-section-title { font-family: var(--hw-font-heading); font-size: var(--hw-h2-size); font-weight: 800; text-align: center; margin: 0 0 8px; color: var(--hw-primary); }
.hw-section-sub { text-align: center; color: #64748b; margin: 0 0 40px; }
.hw-page-title { font-family: var(--hw-font-heading); font-size: var(--hw-h2-size); font-weight: 800; margin: 0 0 8px; color: var(--hw-primary); }
.hw-page-sub { color: #64748b; margin: 0 0 32px; }

/* Leistungen Grid */
.hw-leistungen-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 20px; }
.hw-leistungen-grid--detail { grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); }
.hw-leistung-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--hw-card-radius); padding: 28px 20px; text-align: center; transition: all var(--hw-transition); }
.hw-leistung-card:hover { border-color: var(--hw-accent); box-shadow: var(--hw-shadow); transform: translateY(-2px); }
.hw-leistung-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.hw-leistung-title { font-family: var(--hw-font-heading); font-weight: 700; font-size: 16px; margin: 0 0 8px; color: var(--hw-primary); }
.hw-leistung-desc { font-size: 13px; color: #64748b; margin: 0 0 16px; }
.hw-leistung-cta { color: var(--hw-accent); font-size: 13px; font-weight: 600; text-decoration: none; }
.hw-leistungen-cta-wrap { text-align: center; margin-top: 32px; }

/* Why */
.hw-why-section { background: #f8fafc; }
.hw-why-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 24px; }
.hw-why-card { text-align: center; padding: 24px; }
.hw-why-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.hw-why-card h3 { font-family: var(--hw-font-heading); font-weight: 700; margin: 0 0 8px; color: var(--hw-primary); }
.hw-why-card p { font-size: 14px; color: #64748b; margin: 0; }

/* Notdienst */
.hw-notdienst-banner { background: var(--hw-primary); padding: 20px 0; }
.hw-notdienst-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hw-notdienst-icon { font-size: 28px; }
.hw-notdienst-inner strong { display: block; color: #fff; font-weight: 700; }
.hw-notdienst-inner span { color: rgba(255,255,255,.75); font-size: 14px; }

/* CTA Section */
.hw-cta-section { background: var(--hw-primary); padding: 56px 0; }
.hw-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hw-cta-text h2 { font-family: var(--hw-font-heading); font-size: 1.8rem; font-weight: 800; color: #fff; margin: 0 0 8px; }
.hw-cta-text p { color: rgba(255,255,255,.75); margin: 0; }

/* Forms */
.hw-form-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--hw-card-radius); padding: 36px; box-shadow: var(--hw-shadow); }
.hw-form-row { display: grid; gap: 16px; }
.hw-form-row--2 { grid-template-columns: 1fr 1fr; }
.hw-form-group { display: flex; flex-direction: column; gap: 6px; }
.hw-form-group label { font-size: 13px; font-weight: 600; color: #475569; }
.hw-form-dsgvo { margin: 16px 0; }
.hw-checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #64748b; cursor: pointer; }
.hw-checkbox-label input { margin-top: 3px; accent-color: var(--hw-accent); }
.hw-checkbox-label a { color: var(--hw-accent); }
@media (max-width: 600px) { .hw-form-row--2 { grid-template-columns: 1fr; } }

/* Kontakt */
.hw-kontakt-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.hw-kontakt-info h2 { font-family: var(--hw-font-heading); font-weight: 700; margin: 0 0 20px; color: var(--hw-primary); }
.hw-kontakt-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.hw-kontakt-icon { font-size: 22px; margin-top: 2px; }
.hw-kontakt-item strong { display: block; font-size: 13px; color: #64748b; margin-bottom: 4px; }
.hw-kontakt-link { color: var(--hw-primary); text-decoration: none; font-weight: 500; }
.hw-kontakt-link:hover { color: var(--hw-accent); }
.hw-oz-box { margin-top: 20px; padding: 16px; background: #f8fafc; border-radius: 8px; }
.hw-oz-box strong { display: block; font-size: 13px; color: #64748b; margin-bottom: 10px; }
.hw-oz-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; }
@media (max-width: 768px) { .hw-kontakt-grid { grid-template-columns: 1fr; } }

/* Newsletter Section */
.mwp-nl-section { background: var(--hw-primary); padding: 56px 0; }
.mwp-nl-box { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.mwp-nl-title { font-family: var(--hw-font-heading); font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 6px; }
.mwp-nl-sub { color: rgba(255,255,255,.75); margin: 0; font-size: 14px; }
.mwp-nl-form { flex: 1; min-width: 280px; }
.mwp-nl-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.mwp-nl-fields .mwp-input { flex: 1; min-width: 200px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.mwp-nl-fields .mwp-input::placeholder { color: rgba(255,255,255,.5); }
.mwp-nl-hint { font-size: 12px; color: rgba(255,255,255,.5); margin: 8px 0 0; }
.mwp-nl-msg { margin-top: 10px; font-size: 13px; padding: 8px 12px; border-radius: 6px; }
.mwp-nl-msg--ok  { background: rgba(134,239,172,.15); color: #bbf7d0; }
.mwp-nl-msg--err { background: rgba(252,165,165,.15); color: #fca5a5; }

/* Footer */
.mwp-footer { background: #0f172a; color: rgba(255,255,255,.75); padding: 48px 0 0; }
.mwp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 32px; }
.mwp-footer-title { font-family: var(--hw-font-heading); font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.mwp-footer-p { font-size: 14px; line-height: 1.7; margin: 0 0 10px; }
.mwp-footer-link { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.mwp-footer-link:hover { color: var(--hw-accent); }
.mwp-footer-links { list-style: none; margin: 0; padding: 0; }
.mwp-footer-links li { margin-bottom: 8px; font-size: 14px; }
.mwp-footer-oz { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.mwp-footer-oz-day { color: rgba(255,255,255,.5); }
.mwp-footer-notdienst { font-size: 13px; color: var(--hw-accent); margin-top: 12px; font-weight: 600; }
.mwp-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.mwp-social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border-radius: 50%; color: rgba(255,255,255,.7); text-decoration: none; font-size: 18px; transition: background .2s; }
.mwp-social-link:hover { background: var(--hw-accent); color: #fff; }
.mwp-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding: 16px 0; }
.mwp-footer-bottom .mwp-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.4); }
.mwp-footer-powered a { color: rgba(255,255,255,.4); }
.mwp-footer-powered a:hover { color: var(--hw-accent); }
/* ═══════════════════════════════════════════════════════════
   HANDWERK SaaS – COMPONENTS  ·  Design: Stahl & Licht v2
   Alle Icons geprüft gegen andi24-icons-core/tools.css
   ═══════════════════════════════════════════════════════════ */

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

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

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

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

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

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

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

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

/* Section-Tag — Linie davor, ggf. zentriert */
.hw-section-tag {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--hw-accent); margin-bottom: 14px;
}
.hw-section-tag::before {
    content: ''; display: block; width: 20px; height: 2px;
    background: var(--hw-accent); flex-shrink: 0;
}
/* Wenn im text-center Container: Tag selbst zentrieren */
.text-center .hw-section-tag,
.hw-section-tag.center {
    display: flex; justify-content: center;
}

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

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

/* ── HERO ────────────────────────────────────────────────── */
.hw-hero {
    min-height: calc(100vh - var(--offset));
    display: grid;
    grid-template-columns: 55% 45%;
    position: relative; overflow: hidden;
}

/* LINKE SEITE — dunkel */
.hw-hero-left {
    background: var(--hw-primary);
    display: flex; align-items: center;
    padding: 80px 72px 80px 80px;
    position: relative; z-index: 2;
}
/* Diagonale Kante */
.hw-hero-left::after {
    content: ''; position: absolute;
    top: 0; right: -80px; width: 160px; height: 100%;
    background: var(--hw-primary);
    clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
    z-index: 3;
}
/* Grid-Overlay */
.hw-hero-left::before {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}
.hw-hero-content { position: relative; z-index: 4; width: 100%; max-width: 560px; }

/* RECHTE SEITE — Bild */
.hw-hero-right { position: relative; overflow: hidden; }
.hw-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    background-size: cover; background-position: center;
}
.hw-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,.6) 0%, rgba(15,23,42,.2) 100%);
}
/* Diagonale Überlappung von links */
.hw-hero-right::before {
    content: ''; position: absolute; top: 0; left: -40px;
    width: 120px; height: 100%;
    background: var(--hw-primary);
    clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
    z-index: 5;
}
/* Badge auf Bild */
.hw-hero-img-badge {
    position: absolute; bottom: 40px; left: 60px; z-index: 6;
    background: var(--hw-accent); color: var(--hw-primary);
    padding: 18px 22px; border-radius: 2px;
    font-weight: 900;
}
.hw-hero-img-badge span { display: block; font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.hw-hero-img-badge small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* Hero Inhalt */
.hw-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    border: 0px; background: rgba(249,115,22,.08);
    color: var(--hw-accent); padding: 6px 14px; border-radius: 2px;
    font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 28px;
}
.hw-hero-badge i { font-size: 11px; }

.hw-hero-title {
    font-size: clamp(28px, 6vw, 62px); font-weight: 900;
    color: #fff; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 22px;
    overflow-wrap: break-word; word-break: break-word;
}
.hw-hero-title em { font-style: normal; color: var(--hw-accent); }

.hw-hero-subtitle {
    font-size: 15px; color: rgba(255,255,255,.5);
    line-height: 1.75; max-width: 440px; margin-bottom: 40px;
}
.hw-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

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

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

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

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

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

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

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

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

.hw-about-text {
    background: var(--hw-primary);
    display: flex; align-items: center;
    padding: 72px 64px;
}
.hw-about-inner { max-width: 480px; }
.hw-about-divider { width: 48px; height: 3px; background: var(--hw-accent); margin: 14px 0 24px; }

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

}

/* ── REVIEWS ─────────────────────────────────────────────── */
.hw-reviews-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--hw-border);
    margin-top: 0;
}
.hw-review-card {
    padding: 36px 32px;
    border-right: 1px solid var(--hw-border);
    background: #fff;
    transition: background .2s; position: relative;
}
.hw-review-card:last-child { border-right: none; }
.hw-review-card:hover { background: var(--hw-light); }
/* Anführungszeichen Deko */
.hw-review-card::before {
    content: '"';
    position: absolute; top: 16px; right: 24px;
    font-size: 72px; color: rgba(249,115,22,.08);
    font-family: Georgia, serif; font-weight: 900; line-height: 1;
}
.hw-review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
/* Sterne als Unicode-Fallback + Icon */
.hw-review-stars i {
    color: var(--hw-accent); font-size: 14px;
    /* Wenn Icon nicht rendert → Unicode Stern via CSS */
}
.hw-review-stars i::before {
    content: '★'; /* Fallback */
}
/* Echter Icon-Pfad, wenn vorhanden */
.ai-star.hw-star-icon { font-size: 14px; color: var(--hw-accent); }

.hw-review-text {
    font-size: 14px; color: var(--hw-steel); line-height: 1.8;
    margin-bottom: 24px; font-style: italic;
}
.hw-review-author { display: flex; align-items: center; gap: 12px; }
.hw-review-avatar {
    width: 42px; height: 42px; border-radius: 3px;
    background: var(--hw-primary); color: var(--hw-accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 17px; flex-shrink: 0;
}
.hw-review-name   { font-weight: 700; color: var(--hw-primary); font-size: 14px; }
.hw-review-source { font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

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

/* ── GALERIE / REFERENZEN ────────────────────────────────── */
.hw-galerie-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.hw-galerie-thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--hw-primary); }
.hw-galerie-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.hw-galerie-thumb:hover img { transform: scale(1.05); }
.hw-galerie-overlay { position: absolute; inset: 0; background: rgba(249,115,22,0); display: flex; align-items: center; justify-content: center; transition: background .25s; }
.hw-galerie-thumb:hover .hw-galerie-overlay { background: rgba(249,115,22,.7); }
.hw-galerie-icon { color: #fff; font-size: 28px; opacity: 0; transition: opacity .25s; }
.hw-galerie-thumb:hover .hw-galerie-icon { opacity: 1; }
.hw-galerie-placeholder { display: flex; align-items: center; justify-content: center; background: var(--hw-light); color: #ccc; font-size: 48px; aspect-ratio: 4/3; }
@media(max-width:767px) { .hw-galerie-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .hw-galerie-grid { grid-template-columns: 1fr; } }

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

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

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

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

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

/* ── MISC ────────────────────────────────────────────────── */
.hw-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.hw-badge-accent  { background: rgba(249,115,22,.1); color: var(--hw-accent); }
.hw-badge-success { background: rgba(34,197,94,.1);  color: #16a34a; }
.hw-badge-danger  { background: rgba(239,68,68,.1);  color: #dc2626; }
.hw-divider-full  { border: none; border-top: 1px solid var(--hw-border); margin: 40px 0; }
/* ── TEAM CARDS ──────────────────────────────────────────── */
.hw-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 24px;
}
@media(max-width:991px) { .hw-team-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media(max-width:480px) { .hw-team-grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }

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

/* ── PAGE HERO (Unterseiten) ─────────────────────────────── */
.hw-page-hero {
    background: var(--hw-primary); padding: 64px 0 56px;
    position: relative; overflow: hidden;
}
.hw-page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 60px);
    pointer-events: none;
}
/* Diagonale Akzentlinie rechts */
.hw-page-hero::after {
    content: ''; position: absolute; top: 0; right: 80px; bottom: 0;
    width: 3px; background: linear-gradient(to bottom, transparent, var(--hw-accent), transparent);
    opacity: .3;
}
.hw-page-hero-inner { position: relative; z-index: 1; }
.hw-page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 52px); margin-bottom: 8px; }
.hw-page-hero p  { color: rgba(255,255,255,.5); font-size: 15px; max-width: 540px; margin-bottom: 0; }
.hw-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hw-breadcrumb a  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--hw-accent); opacity: .7; }
.hw-breadcrumb a:hover { opacity: 1; }
.hw-breadcrumb span { font-size: 11px; color: rgba(255,255,255,.25); }

/* Diagonaler Abschluss unten */
.hw-page-hero-bottom {
    height: 40px;
    background: linear-gradient(to bottom right, var(--hw-primary) 49.5%, #fff 50%);
}

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

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

.hw-galerie-item { border-radius: 8px; overflow: hidden; }

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

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

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

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

/* ── TERMINANFRAGE SEITE ─────────────────────────────────── */
.hw-termin-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.hw-termin-form-card { background: #fff; border: 1px solid var(--hw-border); border-top: 3px solid var(--hw-accent); padding: 40px; }
.hw-termin-sidebar {}
.hw-termin-info-card { background: var(--hw-primary); padding: 32px; margin-bottom: 16px; border-radius: 2px; }
.hw-termin-info-card h5 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.hw-termin-info-card ul { list-style: none; }
.hw-termin-info-card li { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; align-items: flex-start; }
.hw-termin-info-card li i { color: var(--hw-accent); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.hw-termin-steps { display: flex; gap: 0; margin-bottom: 32px; counter-reset: step; }
.hw-step { flex: 1; text-align: center; position: relative; }
.hw-step::after { content: ''; position: absolute; top: 18px; left: 50%; width: 100%; height: 2px; background: var(--hw-border); z-index: 0; }
.hw-step:last-child::after { display: none; }
.hw-step-num {
    width: 36px; height: 36px; border-radius: 3px;
    background: var(--hw-border); color: var(--hw-steel);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; margin: 0 auto 8px;
    position: relative; z-index: 1; transition: all .2s;
}
.hw-step.active .hw-step-num { background: var(--hw-accent); color: #fff; }
.hw-step.done  .hw-step-num  { background: #22c55e; color: #fff; }
.hw-step-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--hw-steel); }
.hw-step.active .hw-step-label { color: var(--hw-primary); }

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

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

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

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

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

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

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

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
[data-reveal="fade-up"]    { transform: translateY(40px); }
[data-reveal="fade-down"]  { transform: translateY(-30px); }
[data-reveal="fade-left"]  { transform: translateX(40px); }
[data-reveal="fade-right"] { transform: translateX(-40px); }
[data-reveal="zoom"]       { transform: scale(0.93); }
[data-reveal="fade"]       { transform: none; }
[data-reveal].revealed     { opacity: 1; transform: none; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
