/* =========================================================
   AS-Fliesenlegermeister – Design System
   Navy / Blau mit warmem Amber-Akzent, Inter (lokal eingebunden)
   ========================================================= */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #0b2447;
    --navy-2: #12305c;
    --navy-3: #1a427a;
    --blue: #1f4e8c;
    --blue-bright: #2f6fd0;
    --sky: #e8f0fb;
    --sky-2: #f3f7fd;
    --bg: #f6f8fc;
    --white: #fff;
    --text: #14202e;
    --muted: #556375;
    --line: #dde4ee;
    --cta: #f2a900;
    --gold: #c9972f;
    --gold-title: #d8b77f; /* Champagner-Gold der Überschriften wie auf toowie.de */
    --cta-hover: #ffbc2e;
    --cta-text: #1b1405;
    --ok: #1f8a5b;
    --danger: #c0392b;

    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(11, 36, 71, .06);
    --shadow: 0 12px 36px rgba(11, 36, 71, .10);
    --shadow-lg: 0 24px 60px rgba(11, 36, 71, .18);
    --container: 1400px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--cta); color: var(--cta-text); box-shadow: 0 2px 6px rgba(11, 36, 71, .14); }
.btn-cta:hover { background: var(--cta-hover); color: var(--cta-text); box-shadow: 0 3px 10px rgba(11, 36, 71, .18); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn-whatsapp { background: #1ea952; border-color: #1ea952; color: #fff; }
.btn-whatsapp:hover { background: #178a43; border-color: #178a43; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #cfe0f7; font-size: .875rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 22px; }

/* ---------- Header / Navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand img { width: auto; height: 54px; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav li { position: relative; }
.nav-link {
    display: inline-block; padding: 10px 14px; border-radius: 10px;
    color: var(--navy); font-weight: 600; font-size: .98rem; text-decoration: none;
}
.nav-link:hover, .nav-link.is-active { background: var(--sky); color: var(--blue); }
.has-sub { display: flex; align-items: center; }
.sub-toggle {
    display: inline-grid; place-items: center; width: 22px; height: 32px; margin-left: -14px;
    border: 0; background: transparent; color: var(--navy); border-radius: 8px;
}
/* Desktop: Text und Pfeil bilden eine gemeinsame Fläche (Hover/Aktiv) */
@media (min-width: 1081px) {
    .has-sub { border-radius: 10px; }
    .has-sub .nav-link { padding-right: 4px; }
    .has-sub .nav-link:hover, .has-sub .nav-link.is-active { background: none; }
    .has-sub .sub-toggle { margin-left: -2px; width: 22px; }
    .has-sub:hover, .has-sub:focus-within, .has-sub:has(.nav-link.is-active) { background: var(--sky); }
    .has-sub:hover .nav-link, .has-sub:hover .sub-toggle,
    .has-sub:has(.nav-link.is-active) .sub-toggle { color: var(--blue); }
}
.sub-toggle .icon { transform: rotate(90deg); transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 270px; padding-top: 12px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 50;
}
.sub-menu > ul {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 8px;
}
.sub-menu-wide { min-width: 330px; }
.sub-menu a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
    color: var(--navy); font-weight: 600; font-size: .96rem; text-decoration: none;
}
.sub-menu a .icon { color: var(--blue-bright); }
.sub-menu a:hover { background: var(--sky); color: var(--blue); }
@media (min-width: 1081px) {
    .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu {
        opacity: 1; visibility: visible; transform: none;
    }
    .has-sub.is-closed > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(6px); }
}
.nav-toggle {
    display: none; width: 48px; height: 48px; place-items: center;
    border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 12px;
}

@media (max-width: 1080px) {
    :root { --header-h: 68px; }
    .topbar-claim { display: none; }
    .topbar-inner { justify-content: center; }
    .nav-toggle { display: inline-grid; }
    .brand img { height: 46px; }
    .site-nav {
        position: fixed; inset: calc(var(--header-h) + 0px) 0 0 0; top: var(--header-h);
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; padding: 12px 20px 110px; overflow-y: auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform .28s ease, visibility .28s;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav > ul > li { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
    .nav-link { padding: 16px 4px; font-size: 1.1rem; background: none !important; flex: 1; }
    .sub-toggle { width: 48px; height: 48px; margin: 0; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; padding: 0 0 10px; min-width: 0; }
    .has-sub.open > .sub-menu { display: block; }
    .sub-menu > ul { box-shadow: none; border: 0; background: var(--sky-2); }
    .nav-cta { margin-top: 20px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--sky-2); border-bottom: 1px solid var(--line); font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 12px 0; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li + li::before { content: '›'; margin: 0 10px; color: #9fb0c6; }
.breadcrumbs a { color: var(--blue); text-decoration: none; font-weight: 500; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(47, 111, 208, .55), transparent 60%),
        radial-gradient(700px 400px at -10% 110%, rgba(47, 111, 208, .35), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 72px 0 88px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold-title); }
.hero .lead { font-size: 1.2rem; color: #d3e2f8; max-width: 58ch; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px;
    border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: rgba(255,255,255,.1); color: #cfe0f7; border: 1px solid rgba(255,255,255,.18);
}
.eyebrow-dark { background: var(--sky); color: var(--blue); border-color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: #cfe0f7; font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--gold); }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.14); aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    background: #fff; color: var(--navy); border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 700; line-height: 1.25;
}
.hero-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.hero-badge .icon { color: var(--blue-bright); }
.hero-badge-1 { left: -28px; bottom: 56px; }
.hero-badge-2 { right: -14px; top: 36px; }

.page-hero { padding: 56px 0 64px; }
.page-hero .hero-inner { padding: 0; grid-template-columns: 1fr; }
.page-hero.has-media .hero-inner { grid-template-columns: 1.2fr .8fr; padding: 0; gap: 48px; }
.page-hero .hero-photo { aspect-ratio: 4 / 3; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

@media (max-width: 980px) {
    .hero-inner, .page-hero.has-media .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
    .page-hero.has-media .hero-inner { padding: 0; }
    .hero-photo { aspect-ratio: 4 / 3; }
    .hero-badge-1 { left: 12px; bottom: -22px; }
    .hero-badge-2 { right: 12px; top: 12px; }
}

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trustbar li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-right: 1px solid var(--line); }
.trustbar li:last-child { border-right: 0; }
.trustbar .icon { color: var(--blue-bright); width: 34px; height: 34px; }
.trustbar strong { display: block; color: var(--navy); line-height: 1.2; }
.trustbar span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
@media (max-width: 900px) { .trustbar ul { grid-template-columns: 1fr 1fr; } .trustbar li:nth-child(2) { border-right: 0; } .trustbar li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .trustbar ul { grid-template-columns: 1fr; } .trustbar li { border-right: 0; border-bottom: 1px solid var(--line); } .trustbar li:last-child { border-bottom: 0; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg); }
.section-sky { background: var(--sky-2); }
.section-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #d3e2f8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .lead, .lead { font-size: 1.15rem; color: var(--muted); }
.section-dark .lead { color: #b9cdea; }
@media (max-width: 700px) { .section { padding: 60px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c5d3e6; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-icon {
    position: absolute; left: 16px; bottom: 16px; width: 50px; height: 52px; display: grid; place-items: center;
    background: var(--blue); color: #fff; border-radius: 14px; box-shadow: var(--shadow);
}
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .45em; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-body p { color: var(--muted); font-size: .98rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tag { padding: 4px 12px; border-radius: 999px; background: var(--sky); color: var(--blue); font-size: .8rem; font-weight: 600; }

.card-plain { padding: 28px; }
.card-plain .icon-box { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--sky); color: var(--blue); margin-bottom: 18px; }
.card-plain p { color: var(--muted); margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-media::before {
    content: ''; position: absolute; z-index: -1; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--sky), #cfe0f7);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } .split-media::before { inset: 14px -10px -14px 10px; } }

.check-list li { position: relative; padding: 7px 0 7px 36px; }
.check-list li::before {
    content: ''; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4e8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(255,255,255,.12); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step { position: relative; padding: 30px 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); counter-increment: step; }
.step::before {
    content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px;
    border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .4em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.section-dark .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section-dark .step::before { background: var(--cta); color: var(--cta-text); }
.section-dark .step p { color: #b9cdea; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 28px; }
.stat { padding: 20px; border-radius: var(--radius); background: var(--sky-2); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Prose (Leistungen/Artikel) ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.prose-block { margin-bottom: 44px; }
.prose-block h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: .6em; }
.prose-block p { color: #2b3a4d; }
.prose-block p a, .prose a { font-weight: 600; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: #d3e2f8; box-shadow: var(--shadow); }
.side-card h2, .side-card h3 { color: #fff; font-size: 1.35rem; }
.side-card p { color: #b9cdea; font-size: .96rem; }
.side-card .btn + .btn { margin-top: 10px; }
.side-card-light { background: var(--sky-2); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.side-card-light h3 { color: var(--navy); font-size: 1.1rem; }
.side-card-light li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.side-card-light li:last-child a { border-bottom: 0; }
@media (max-width: 1000px) { .content-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #b9cdea; font-size: .92rem; margin-top: 18px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 480px; object-fit: cover; }

/* ---------- Chips (Orte) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy); text-decoration: none; }
a.chip:hover { background: var(--sky); border-color: #b8cdea; color: var(--blue); }
.chip-static { background: var(--sky-2); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: var(--shadow); border-color: #c5d3e6; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--navy); position: relative; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--sky); color: var(--blue); font-size: 1.3rem; font-weight: 600; line-height: 1;
}
.faq-item[open] summary::after { content: '–'; background: var(--blue); color: #fff; }
.faq-item .faq-a { padding: 0 24px 22px; color: #34455a; }
.faq-item .faq-a p:last-child { margin: 0; }

/* ---------- Compare-Slider ---------- */
.compare { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 3; background: var(--sky); user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); translate: -50% 0; pointer-events: none; }
.compare-handle::after {
    content: '‹ ›'; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px;
    display: grid; place-items: center; background: #fff; color: var(--navy); border-radius: 50%; font-weight: 800; box-shadow: var(--shadow-lg); letter-spacing: 2px;
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(11,36,71,.85); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.compare-label-before { left: 14px; }
.compare-label-after { right: 14px; background: var(--cta); color: var(--cta-text); }

/* ---------- Galerie / Lightbox ---------- */
.gallery { columns: 3 260px; column-gap: 16px; }
.gallery-item { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--sky); border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; }
.gallery-item img { width: 100%; transition: transform .45s ease, filter .3s; }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(.92); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(5, 15, 32, .92); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 88vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox video { max-width: min(560px, 100%); max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); background: #000; }
.lightbox video[hidden], .lightbox img[hidden] { display: none; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
    width: 100%; padding: 14px 16px; font: inherit; color: var(--text);
    background: #fff; border: 1.5px solid #c3cfdf; border-radius: 12px;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47, 111, 208, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.checkbox input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 12px; font-weight: 600; }
.alert-error { background: #fdecea; color: #8c2118; border: 1px solid #f5c2bc; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .form-card { padding: 24px 20px; } }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--blue-bright); margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #cfe0f7; max-width: 56ch; }
.cta-band .cta-row { margin: 0; }
@media (max-width: 700px) { .cta-band { padding: 36px 24px; } }

/* ---------- Karriere-Hinweis ---------- */
.career-band { display: grid; grid-template-columns: 1fr 1.25fr; align-items: start; gap: 28px 44px; background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%); border: 1px solid #cddcf2; border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.career-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .4em; color: var(--navy); }
.career-copy p { margin: 0 0 1.2em; color: var(--muted); }
.career-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.career-phone { color: var(--blue); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.career-phone:hover { text-decoration: underline; }
.career-sub { margin: 1em 0 .3em !important; font-weight: 700; color: var(--navy) !important; }
.career-roles { display: grid; gap: 12px; }
.career-role { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.career-role:hover { border-color: var(--blue-bright); box-shadow: var(--shadow-sm); }
.career-role[aria-expanded="true"] { border-color: var(--blue-bright); background: var(--sky-2); }
.career-role:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.career-role > svg:first-child { flex: none; color: var(--blue); }
.career-role-title { flex: 1; }
.career-role-title strong { display: block; color: var(--navy); }
.career-role-title small { display: block; font-size: .92rem; color: var(--muted); }
.career-role > svg:last-child { flex: none; color: var(--blue); transform: rotate(90deg); transition: transform .2s; }
.career-role[aria-expanded="true"] > svg:last-child { transform: rotate(-90deg); }
.career-panels { grid-column: 1 / -1; }
.career-panel { margin-top: 4px; padding: 32px 36px; background: #fff; border: 1px solid #cddcf2; border-radius: 18px; box-shadow: 0 6px 22px rgba(11, 36, 71, .08); }
.career-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; margin-top: .4em; }
.career-panel p { margin: 0 0 .6em; color: var(--text); }
.career-panel ul { margin: 0 0 .6em; }
.career-sub { font-size: 1rem; margin: 1.1em 0 .3em !important; }
.career-note + .career-sub { margin-top: .8em !important; }
.career-note { max-width: 760px; }
.career-col .career-sub { margin-top: .6em !important; }
.career-note { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 14px; padding: 14px 16px; background: var(--sky-2); border-radius: 14px; }
.career-avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.career-note blockquote { margin: 0; }
.career-note blockquote p { margin: 0 0 .4em; font-style: italic; color: var(--text); }
.career-note figcaption { font-size: .88rem; color: var(--muted); }
.career-note figcaption strong { color: var(--navy); }
.career-list { list-style: none !important; padding-left: 0 !important; }
.career-list li { position: relative; padding: 4px 0 4px 28px; margin: 0 !important; }
.career-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4e8c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.career-list-offer li::before { background-color: #fdeeb8; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L19 7'/%3E%3C/svg%3E"); }
.career-interest { margin-top: 1.4em; padding-top: 1.2em; border-top: 1px dashed #cddcf2; }
.career-interest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
@media (max-width: 900px) { .career-band { grid-template-columns: 1fr; padding: 28px 22px; } .career-panel-grid { grid-template-columns: 1fr; } .career-panel { padding: 22px 18px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cdea; margin-top: 0; font-size: .96rem; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 56px 0 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: #fff; margin-bottom: .2em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.footer-cta p { margin: 0; max-width: 54ch; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 40px; padding: 52px 0; }
.footer-title { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1em; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.site-footer a { color: #b9cdea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid li { padding: 4px 0; }
.footer-contact a { color: #fff; font-weight: 600; }
.social-list { display: flex; gap: 10px; margin-top: 18px; }
.social-list a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; }
.social-list a:hover { background: var(--cta); color: var(--cta-text); text-decoration: none; }
.social-list a[aria-label="WhatsApp"] { background: #1ea952; }
.social-list a[aria-label="WhatsApp"]:hover { background: #178a43; color: #fff; }
.social-list a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%); }
.social-list a[aria-label="Facebook"] { background: #1877f2; }
.social-list a[aria-label="TikTok"] { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.social-list a[aria-label="Instagram"]:hover, .social-list a[aria-label="Facebook"]:hover, .social-list a[aria-label="TikTok"]:hover { color: #fff; filter: brightness(1.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 22px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } }

/* ---------- Mobile Schnellkontakt ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; font-weight: 800; text-decoration: none; }
    .mobile-bar-call { background: var(--navy); color: #fff; }
    .mobile-bar-form { background: var(--cta); color: var(--cta-text); }
    body { padding-bottom: 72px; }
}

/* ---------- Tabelle / Legal ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal li { padding: 2px 0; }
.sitemap-cols { columns: 3 280px; column-gap: 40px; }
.sitemap-cols h2 { font-size: 1.2rem; margin: 0 0 .5em; break-after: avoid; }
.sitemap-cols ul { margin-bottom: 28px; break-inside: avoid; }
.sitemap-cols li { padding: 3px 0; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Schnittzeichnungen ---------- */
.figure { margin: 8px 0 44px; }
.figure img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sky-2); }
.figure figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); text-align: center; }

/* ---------- Hero: Inhaber vor fertigem Bad ---------- */
.hero-owner { position: absolute; left: -44px; bottom: -34px; width: 62%; display: flex; flex-direction: column; align-items: flex-start; }
.hero-owner-photo { width: 100%; max-width: 270px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: #cfd6df; }
.hero-owner span { position: absolute; left: 52%; bottom: 36px; padding: 12px 20px; background: #fff; color: var(--navy); border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; line-height: 1.3; white-space: nowrap; }
.hero-owner strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.hero-owner small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
@media (max-width: 980px) {
    .hero-media { margin-bottom: 70px; }
    .hero-owner { left: 8px; bottom: -60px; width: 48%; }
    .hero-owner-photo { max-width: 200px; }
}
@media (max-width: 480px) { .hero-owner span { left: 56%; padding: 10px 14px; } .hero-owner small { display: none; } }

/* ---------- Startseiten-Hero mit großem Fliesenbild ---------- */
.hero-home { display: flex; align-items: center; min-height: clamp(580px, 84vh, 800px); background: var(--navy); }
.hero-home::after { display: none; }
.hero-home::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 20, 30, .72) 0%, rgba(14, 20, 30, .5) 55%, rgba(14, 20, 30, .3) 100%);
}
.hero-home .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-home .hero-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
    width: min(100% - 32px, var(--container)); padding: 80px 0; z-index: 2;
}
/* Text links direkt auf dem Bild, ohne Kasten */
.hero-home .hero-copy { flex: 0 1 600px; padding: 0; }
.hero-home h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .8em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero-home .hero-copy .cta-row { margin-top: 0; }
/* Inhaber rechts: großes Rundbild mit Namensschild */
.hero-home .hero-owner {
    position: relative; left: auto; right: auto; bottom: auto; width: auto; flex: none;
    display: flex; flex-direction: column; align-items: center; margin-right: 150px;
}
.hero-home .hero-owner-photo { width: 360px; max-width: none; border-width: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hero-home .hero-owner-name {
    margin-top: -34px; padding: 12px 26px; text-align: center; position: relative;
    background: #fff; color: var(--navy); border-radius: 16px; box-shadow: var(--shadow-lg);
}
.hero-home .hero-owner-name strong { font-size: 1.2rem; line-height: 1.2; }
.hero-home .hero-owner-name small { margin-top: 2px; font-weight: 600; color: var(--blue); font-size: .88rem; }
/* Meisterbrief-Siegel am rechten Rand, nur im Hero (scrollt mit) */
.hero-badge-master {
    position: absolute; right: 24px; bottom: 28px; z-index: 3; width: 200px; padding: 10px 10px 12px;
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); text-align: center; color: var(--navy);
}
.hero-badge-master img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.hero-badge-master strong { display: block; margin-top: 8px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.hero-badge-master small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
@media (max-width: 1280px) {
    .hero-home .hero-owner { margin-right: 120px; }
    .hero-home .hero-owner-photo { width: 300px; }
    .hero-badge-master { width: 170px; right: 16px; }
}
@media (max-width: 1080px) {
    .hero-home .hero-inner { flex-direction: column; align-items: flex-start; padding: 48px 0 56px; }
    .hero-home .hero-copy { flex: none; width: 100%; max-width: 620px; }
    .hero-home .hero-owner { align-self: center; margin-right: 0; }
    .hero-badge-master { bottom: 16px; }
}
@media (max-width: 560px) {
    .hero-home .hero-owner-photo { width: 200px; border-width: 5px; }
    .hero-home .hero-inner { padding-bottom: 150px; }
    .hero-badge-master { width: 130px; padding: 7px 7px 9px; }
    .hero-badge-master small { display: none; }
}
.hero-badge-master { border: 0; font: inherit; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.hero-badge-master:hover { transform: translateY(-3px); }
.hero-badge-master:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero-badge-master { padding: 8px; }

/* Hero: Überschrift in zwei Zeilen, Meisterbrief bündig an Rand und unten */
@media (min-width: 1081px) {
    .hero-home .hero-copy { flex: 1 1 auto; max-width: none; }
    .hero-home h1 { font-size: clamp(2.2rem, 3.3vw, 3.2rem); }
    .hero-home .h1-line { display: block; white-space: nowrap; }
}
.hero-badge-master { right: 0; bottom: 0; width: 250px; padding: 10px; border-radius: 16px 0 0 0; }
@media (max-width: 1280px) { .hero-badge-master { width: 210px; right: 0; } }
@media (max-width: 1080px) { .hero-badge-master { bottom: 0; } }
@media (max-width: 560px) { .hero-badge-master { width: 150px; padding: 6px; } }

/* Hero: Text tiefer und größer, Inhaber-Foto weiter oben rechts */
@media (min-width: 1081px) {
    .hero-home .hero-inner { align-items: stretch; padding: 56px 0 72px; }
    .hero-home .hero-copy { align-self: flex-end; padding-bottom: 36px; }
    .hero-home h1 { font-size: clamp(2.2rem, 3.4vw, 3.6rem); margin-bottom: 1.1em; }
    .hero-home .hero-copy .cta-row { margin-top: 12px; gap: 16px; }
    .hero-home .hero-owner { align-self: flex-start; margin-right: 40px; }
}
@media (min-width: 1081px) and (max-width: 1280px) { .hero-home .hero-owner { margin-right: 20px; } }

/* Hero: Inhaber-Foto größer, näher an die obere rechte Ecke */
@media (min-width: 1081px) {
    .hero-home .hero-owner { margin-right: 0; margin-top: -24px; }
    .hero-home .hero-owner-photo { width: 430px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner-photo { width: 340px; }
}

/* Hero-Hintergrund: dunkler, damit Schrift und Gold besser wirken */
.hero-home::before {
    background:
        linear-gradient(90deg, rgba(12, 16, 24, .88) 0%, rgba(12, 16, 24, .66) 50%, rgba(12, 16, 24, .5) 100%);
}

/* Hero: Inhaber-Foto kleiner, Namensschild rechts am Kreis */
@media (min-width: 1081px) {
    .hero-home .hero-owner { flex-direction: row; align-items: center; margin-right: 0; margin-top: -8px; }
    .hero-home .hero-owner-photo { width: 300px; }
    .hero-home .hero-owner-name { margin: 0 0 0 -44px; padding: 14px 24px 14px 58px; text-align: left; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner-photo { width: 240px; }
    .hero-home .hero-owner-name { margin-left: -36px; padding: 12px 18px 12px 46px; }
}

/* Hero: Inhaber-Foto in die obere rechte Ecke des Hero */
@media (min-width: 1081px) {
    .hero-home .hero-inner { position: static; }
    .hero-home .hero-copy { position: relative; z-index: 2; }
    .hero-home .hero-owner { position: absolute; top: 24px; right: 24px; margin: 0; z-index: 2; }
}

/* Hero: Logo im Namensschild */
.hero-home .hero-owner-logo { display: block; width: 210px; max-width: none; height: auto; margin: -22px -12px -14px -6px; }
@media (min-width: 1081px) {
    .hero-home .hero-owner-name { padding: 16px 22px 16px 56px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner-logo { width: 170px; margin: -18px -8px -12px -4px; }
}
@media (max-width: 1080px) { .hero-home .hero-owner-logo { width: 170px; margin: -18px auto -12px; } }
.hero-home .hero-owner-name { overflow: hidden; }

/* ---------- Hero: drei einzelne, anklickbare Karten (Inhaber, Logo, Meisterbrief) ---------- */
.hero-home .hero-owner { flex-direction: column; align-items: flex-end; gap: 14px; }
.hero-home .owner-link { display: flex; align-items: center; color: inherit; text-decoration: none; }
.hero-home .owner-link .hero-owner-photo { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hero-home .owner-link .hero-owner-name { transition: transform .25s ease, box-shadow .25s ease; }
.hero-home .owner-link .hero-owner-name strong { transition: color .2s ease; }
.hero-home .owner-link:hover .hero-owner-photo,
.hero-home .owner-link:focus-visible .hero-owner-photo { transform: scale(1.04); border-color: var(--gold-title); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero-home .owner-link:hover .hero-owner-name,
.hero-home .owner-link:focus-visible .hero-owner-name { transform: translateX(4px); box-shadow: 0 0 0 2px var(--gold-title), var(--shadow-lg); }
.hero-home .owner-link:hover .hero-owner-name strong { color: var(--blue); }
.hero-home .owner-link:focus-visible { outline: none; }

.hero-home .hero-owner-row { display: flex; align-items: stretch; gap: 14px; }
.hero-home .hero-logo-card,
.hero-home .hero-master-chip {
    display: flex; align-items: center; justify-content: center; border: 0; background: #fff; color: var(--navy);
    border-radius: 16px; box-shadow: var(--shadow-lg); text-decoration: none; font: inherit;
    transition: transform .22s ease, box-shadow .22s ease;
}
.hero-home .hero-logo-card { padding: 4px 8px; width: 190px; }
.hero-home .hero-logo-card img { display: block; width: 100%; height: auto; margin: 0; max-width: none; }
.hero-home .hero-logo-card:hover, .hero-home .hero-logo-card:focus-visible,
.hero-home .hero-master-chip:hover, .hero-home .hero-master-chip:focus-visible {
    transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold-title), var(--shadow-lg);
}
.hero-home .hero-master-chip { gap: 10px; padding: 0 22px; cursor: zoom-in; font-weight: 700; }
.hero-home .mc-icons { position: relative; display: grid; place-items: center; width: 28px; height: 28px; color: var(--gold); }
.hero-home .mc-icons > * { grid-area: 1 / 1; transition: opacity .2s ease, transform .2s ease; }
.hero-home .mc-zoom { opacity: 0; transform: scale(.7); color: var(--blue); }
.hero-home .hero-master-chip:hover .mc-award, .hero-home .hero-master-chip:focus-visible .mc-award { opacity: 0; transform: scale(.7); }
.hero-home .hero-master-chip:hover .mc-zoom, .hero-home .hero-master-chip:focus-visible .mc-zoom { opacity: 1; transform: none; }
@media (max-width: 1080px) {
    .hero-home .hero-owner { align-items: center; }
    .hero-home .hero-owner-row { flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 1081px) and (max-width: 1280px) { .hero-home .hero-logo-card { width: 150px; } .hero-home .hero-master-chip { padding: 0 14px; } }

/* Hero: Text weiter unten und etwas weiter links */
@media (min-width: 1081px) {
    .hero-home .hero-inner { padding-bottom: 48px; }
    .hero-home .hero-copy { padding-bottom: 0; margin-left: -48px; }
}

/* Alte .hero-owner span-Regel (absolut positioniertes Schild) für die neuen Karten zurücksetzen */
.hero-home .hero-owner-name, .hero-home .mc-award, .hero-home .mc-text {
    left: auto; bottom: auto; white-space: nowrap;
}
.hero-home .mc-award, .hero-home .mc-text { position: static; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.hero-home .mc-icons { left: auto; bottom: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; white-space: nowrap; }

/* Hero-Hintergrund: offen und hell, nur links ein weicher blauer Schleier für die Lesbarkeit */
.hero-home::before {
    background: linear-gradient(90deg, rgba(11, 36, 71, .72) 0%, rgba(11, 36, 71, .45) 42%, rgba(11, 36, 71, .08) 80%, rgba(11, 36, 71, 0) 100%);
}
.hero-home .hero-bg { object-position: center 70%; }

/* Hero-Hintergrund: helles Bad mit großformatigen Fliesen */
.hero-home .hero-bg { object-position: center center; }
.hero-home::before {
    background: linear-gradient(90deg, rgba(11, 36, 71, .78) 0%, rgba(11, 36, 71, .55) 38%, rgba(11, 36, 71, .15) 70%, rgba(11, 36, 71, 0) 100%);
}

/* Hero-Hintergrund: Bad mit großformatigen Fliesen (bad1) */
.hero-home::before {
    background: linear-gradient(90deg, rgba(14, 20, 30, .74) 0%, rgba(14, 20, 30, .52) 55%, rgba(14, 20, 30, .3) 100%);
}
.hero-home .hero-bg { object-position: center 100%; }
.hero-home .hero-bg { object-position: center 62%; }

/* ---------- Hero: Namensschild, Logo und Meisterbrief als Kartenstapel direkt am Foto ---------- */
.hero-home .hero-owner { flex-direction: row; align-items: center; gap: 0; }
.hero-home .owner-photo-link { display: block; flex: none; position: relative; z-index: 2; border-radius: 50%; }
.hero-home .owner-photo-link .hero-owner-photo { display: block; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.hero-home .hero-owner-cards { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 250px; margin-left: -44px; position: relative; z-index: 1; }
.hero-home .hero-owner-cards > * {
    margin: 0; width: 100%; border-radius: 14px; background: #fff; color: var(--navy); border: 0; font: inherit;
    box-shadow: var(--shadow-lg); text-decoration: none; text-align: left; overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.hero-home .hero-owner-name { display: block; padding: 12px 18px 12px 58px; left: auto; }
.hero-home .hero-owner-name strong { display: block; font-size: 1.1rem; line-height: 1.2; transition: color .2s ease; }
.hero-home .hero-owner-name small { display: block; margin-top: 2px; font-weight: 600; color: var(--blue); font-size: .85rem; }
.hero-home .hero-logo-card { display: flex; align-items: center; justify-content: center; height: 62px; padding: 0 12px 0 50px; }
.hero-home .hero-logo-card img { display: block; width: 168px; max-width: none; height: auto; margin: 0; }
.hero-home .hero-master-chip { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 11px 18px 11px 50px; cursor: zoom-in; font-weight: 700; }
.hero-home .hero-owner-cards > *:hover, .hero-home .hero-owner-cards > *:focus-visible {
    transform: translateX(4px); box-shadow: 0 0 0 2px var(--gold-title), var(--shadow-lg);
}
/* Foto und Namensschild reagieren gemeinsam */
.hero-home .hero-owner:has(.hero-owner-name:hover) .hero-owner-photo,
.hero-home .hero-owner:has(.hero-owner-name:focus-visible) .hero-owner-photo,
.hero-home .owner-photo-link:hover .hero-owner-photo { transform: scale(1.04); border-color: var(--gold-title); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.hero-home .hero-owner:has(.owner-photo-link:hover) .hero-owner-name { transform: translateX(4px); box-shadow: 0 0 0 2px var(--gold-title), var(--shadow-lg); }
.hero-home .hero-owner-name:hover strong { color: var(--blue); }
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner-cards { width: 215px; margin-left: -36px; }
    .hero-home .hero-owner-cards .hero-owner-name { padding-left: 46px; }
    .hero-home .hero-logo-card { padding-left: 40px; }
    .hero-home .hero-logo-card img { width: 140px; }
    .hero-home .hero-master-chip { padding-left: 40px; }
}
@media (max-width: 1080px) {
    .hero-home .hero-owner { flex-direction: column; }
    .hero-home .hero-owner-cards { width: min(100%, 300px); margin: -36px 0 0; padding-top: 0; }
    .hero-home .hero-owner-cards > * { padding-left: 20px; text-align: center; }
    .hero-home .hero-owner-cards .hero-owner-name, .hero-home .hero-master-chip { padding-left: 20px; justify-content: center; }
    .hero-home .hero-logo-card { padding-left: 12px; }
}

/* ---------- Hero: Karten locker um das Foto verteilt (Meisterbrief oben rechts, Name unten, Logo links) ---------- */
@media (min-width: 1081px) {
    .hero-home .hero-owner { flex-direction: row; top: 24px; right: 110px; width: 300px; height: 300px; }
    .hero-home .hero-owner-cards { display: contents; }
    .hero-home .hero-owner .hero-owner-cards > * {
        position: absolute; width: auto; margin: 0; z-index: 3; text-align: center;
    }
    /* Meisterbrief: oben rechts */
    .hero-home .hero-owner .hero-master-chip {
        top: 10px; right: -90px; left: auto; padding: 14px 24px; justify-content: center; gap: 10px;
    }
    /* Name: unten mittig */
    .hero-home .hero-owner .hero-owner-name {
        bottom: -26px; left: 50%; margin-left: -120px; width: 240px; padding: 14px 22px; text-align: center;
    }
    /* Logo: links mittig */
    .hero-home .hero-owner .hero-logo-card {
        top: 50%; left: -120px; margin-top: -38px; width: 210px; height: 76px; padding: 0 14px;
    }
    .hero-home .hero-owner .hero-logo-card img { width: 190px; }
    .hero-home .hero-owner .hero-owner-cards > *:hover,
    .hero-home .hero-owner .hero-owner-cards > *:focus-visible { transform: translateY(-3px); }
    .hero-home .hero-owner:has(.owner-photo-link:hover) .hero-owner-name { transform: translateY(-3px); }
}

/* Hover/Fokus: Foto, Name und Logo gehören zusammen und reagieren gemeinsam */
.hero-home .hero-owner:is(:has(.owner-photo-link:hover), :has(.hero-owner-name:hover), :has(.hero-logo-card:hover),
                          :has(.hero-owner-name:focus-visible), :has(.hero-logo-card:focus-visible)) .hero-owner-photo {
    transform: scale(1.04); border-color: var(--gold-title); box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.hero-home .hero-owner:is(:has(.owner-photo-link:hover), :has(.hero-owner-name:hover), :has(.hero-logo-card:hover),
                          :has(.hero-owner-name:focus-visible), :has(.hero-logo-card:focus-visible)) :is(.hero-owner-name, .hero-logo-card) {
    transform: translateY(-3px); box-shadow: 0 0 0 2px var(--gold-title), var(--shadow-lg);
}
.hero-home .hero-owner:is(:has(.owner-photo-link:hover), :has(.hero-owner-name:hover), :has(.hero-logo-card:hover)) .hero-owner-name strong { color: var(--blue); }

/* Navigation: Menüpunkte mit mehr Abstand, mittig zwischen Logo und „Angebot anfragen“ */
@media (min-width: 1081px) {
    .site-nav { flex: 1; min-width: 0; margin-left: 24px; }
    .site-nav > ul { flex: 1; justify-content: center; gap: 14px; }
    .site-nav .nav-link { padding-left: 16px; padding-right: 16px; }
    .has-sub .nav-link { padding-right: 4px; }
}

/* Hero: Karten liegen hinter dem Foto (Foto z-index 2, Karten z-index 1) */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-owner-cards > * { z-index: 1; }
    .hero-home .hero-owner .hero-master-chip { right: -100px; padding: 14px 24px 14px 62px; }
    .hero-home .hero-owner .hero-owner-name { bottom: -56px; }
    .hero-home .hero-owner .hero-logo-card { left: -165px; width: 200px; padding: 0 44px 0 10px; }
    .hero-home .hero-owner .hero-logo-card img { width: 148px; }
}
/* Navigation: Pfeil direkt an der Schrift */
@media (min-width: 1081px) {
    .has-sub .nav-link { padding-right: 0; }
    .has-sub .sub-toggle { margin-left: -6px; margin-right: -6px; width: 24px; min-height: 24px; }
}

/* Hero: Meisterbrief-Karte rutscht an die obere rechte Ecke, Symbol bleibt sichtbar */
@media (min-width: 1081px) {
    .hero-home .hero-owner { right: 190px; }
    .hero-home .hero-owner .hero-master-chip { right: -140px; top: 18px; padding: 14px 24px 14px 38px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner { right: 150px; }
    .hero-home .hero-owner .hero-master-chip { right: -110px; padding-left: 34px; }
}

/* Hero: Meisterbrief-Karte schiebt sich wie das Logo unter das Foto, Name liegt vor dem Foto */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-master-chip { right: -100px; top: 18px; padding: 14px 24px 14px 96px; }
    .hero-home .hero-owner .hero-owner-name { z-index: 4; bottom: -34px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner .hero-master-chip { right: -100px; padding-left: 96px; }
}

/* Hero: Meisterbrief-Karte weiter nach rechts, damit das Symbol sichtbar bleibt und nur ihr linker Rand unter dem Foto liegt */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-master-chip { right: -165px; padding: 14px 24px 14px 100px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner { right: 190px; }
    .hero-home .hero-owner .hero-master-chip { right: -150px; padding-left: 84px; }
}

/* „Leistungen“ in der Navigation ist nur eine Überschrift (Button, kein Link) */
.nav-label { border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.more-services { margin-top: 28px; }
.more-services[hidden] { display: none; }

/* Hero: Logo und Meisterbrief auf einer Ebene (gleiche Mittellinie am Foto) */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-logo-card { top: 70px; margin-top: 0; }
    .hero-home .hero-owner .hero-master-chip { top: 83px; right: -172px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner .hero-master-chip { right: -156px; }
}

/* Hero: Telefon-Button dunkelblau mit weißer Schrift */
.hero-home .btn-outline-light { background: var(--navy); border-color: var(--navy); color: #fff; }
.hero-home .btn-outline-light:hover, .hero-home .btn-outline-light:focus-visible { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }

/* Hero: Telefon-Button passend zum dunklen Bad (warmes Anthrazit, Champagner-Rand, weiße Schrift) */
.hero-home .btn-outline-light {
    background: rgba(24, 20, 16, .72); border-color: rgba(216, 183, 127, .6); color: #fff;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-home .btn-outline-light:hover, .hero-home .btn-outline-light:focus-visible {
    background: rgba(24, 20, 16, .9); border-color: var(--gold-title); color: #fff;
}

/* Hero: Logo und Meisterbrief beide rechts am Foto, Logo oben, Meisterbrief darunter */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-logo-card,
    .hero-home .hero-owner .hero-master-chip { left: auto; right: -170px; width: 230px; margin: 0; }
    .hero-home .hero-owner .hero-logo-card { top: 81px; height: 76px; padding: 0 12px 0 70px; }
    .hero-home .hero-owner .hero-logo-card img { width: 148px; }
    .hero-home .hero-owner .hero-master-chip { top: 167px; padding: 14px 20px 14px 70px; justify-content: flex-start; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner .hero-logo-card { top: 51px; }
    .hero-home .hero-owner .hero-master-chip { top: 137px; right: -170px; padding-left: 70px; }
}

/* Hero: Logo und Meisterbrief starten weiter oben */
@media (min-width: 1081px) {
    .hero-home .hero-owner .hero-logo-card { top: 41px; }
    .hero-home .hero-owner .hero-master-chip { top: 127px; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-owner .hero-logo-card { top: 11px; }
    .hero-home .hero-owner .hero-master-chip { top: 97px; }
}

/* Ablauf mit Symbolen statt Nummern: helle Karten, goldener Symbol-Kreis */
.step.step-icon { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 22px 30px; background: #fff; border-color: transparent; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.step.step-icon::before { display: none; }
.step.step-icon:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-symbol { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%; background: #f7f0e2; color: var(--gold); box-shadow: inset 0 0 0 2px rgba(216, 183, 127, .55); }
.step.step-icon h3, .section-dark .step.step-icon h3 { color: var(--navy); }
.step.step-icon p, .section-dark .step.step-icon p { color: var(--muted); }

/* Ablauf, überarbeitet: hellere Blau-Karten mit goldenem Rand, goldene Symbol-Kreise, kleine Zahlen */
.section-dark .step.step-icon, .step.step-icon {
    position: relative; background: linear-gradient(165deg, #21487f 0%, #153766 100%);
    border: 1px solid rgba(216, 183, 127, .5); box-shadow: 0 14px 34px rgba(3, 14, 32, .45);
}
.step.step-icon::before {
    display: block; content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 18px; left: auto;
    width: auto; height: auto; background: none; border-radius: 0; box-shadow: none;
    font-size: .82rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-title);
}
.step.step-icon:hover { border-color: var(--gold-title); box-shadow: 0 18px 40px rgba(3, 14, 32, .55); }
.step-symbol { background: linear-gradient(145deg, #e3c48c 0%, #c69a57 100%); color: var(--navy); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.step.step-icon h3, .section-dark .step.step-icon h3 { color: #fff; }
.step.step-icon p, .section-dark .step.step-icon p { color: #cfe0f7; }

/* Ablauf: weißer, ausgefüllter Pfeil am rechten Rand zeigt die Richtung zum nächsten Schritt */
@media (min-width: 1280px) {
    .steps:has(.step-icon) { gap: 36px; }
    .step.step-icon:not(:last-child)::after {
        content: ''; position: absolute; top: 50%; right: -26px; width: 0; height: 0; transform: translateY(-50%);
        border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 18px solid #fff;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
    }
}

/* Ablauf: Beim Hovern zeigt jede Karte gleich an, welcher Schritt es ist (Schritt 1 bis 5), und leuchtet golden auf */
.step.step-icon { cursor: default; }
.step.step-icon::before { transition: color .2s ease, letter-spacing .2s ease; }
.step-symbol { transition: transform .25s ease, box-shadow .25s ease; }
.step.step-icon:hover, .step.step-icon:focus-within {
    transform: translateY(-6px); border-color: var(--gold-title);
    box-shadow: 0 0 0 1px var(--gold-title), 0 0 30px rgba(216, 183, 127, .38), 0 18px 40px rgba(3, 14, 32, .55);
}
.step.step-icon:hover .step-symbol { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(216, 183, 127, .3), 0 8px 20px rgba(0, 0, 0, .35); }
@media (min-width: 1280px) {
    .step.step-icon:not(:last-child):hover::after { border-left-color: var(--gold-title); }
}

/* Ablauf: Beim Hovern leuchten alle Schritte bis zur gehoverten Karte golden auf, die folgenden Schritte werden ausgegraut */
.step.step-icon { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease, filter .25s ease; }

/* Ablauf: ganze Karte ist anklickbar und führt zum Kontakt */
.step.step-icon { cursor: pointer; }
.step-link { color: inherit; text-decoration: none; }
.step-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.step-link:focus-visible { outline: none; }
.step.step-icon:has(.step-link:focus-visible) { outline: 3px solid var(--gold-title); outline-offset: 3px; }
.step-link:hover, .step-link:focus-visible { color: inherit; }

/* Ablauf: Zahl wird beim Hovern weiß (für alle aufleuchtenden Karten) */

/* Kontaktmöglichkeiten: Button sitzt in jeder Karte unten */
.contact-option { display: flex; flex-direction: column; align-items: flex-start; }
.contact-option p { flex: 1; margin-bottom: 22px; }
.contact-option .btn { width: 100%; justify-content: center; }

/* Referenzen auf der Startseite ausklappen */
.more-references { margin-top: 28px; }
.more-references[hidden] { display: none; }
.more-references .more-block + .more-block { margin-top: 64px; }

/* Weg zum perfekten Ergebnis: Planung und Ergebnis als Bildpaar mit Pfeil */
.plan-result { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 56px; }
.plan-result-item { position: relative; margin: 0; width: min(320px, 42vw); }
.plan-result-item img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid rgba(216, 183, 127, .5); box-shadow: 0 14px 34px rgba(3, 14, 32, .45); }
.plan-result-item figcaption {
    position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px;
    background: rgba(11, 36, 71, .85); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .04em;
}
.plan-result-arrow { flex: none; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 26px solid #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
@media (max-width: 560px) { .plan-result { gap: 14px; } .plan-result-arrow { border-top-width: 14px; border-bottom-width: 14px; border-left-width: 18px; } }
.plan-result-item img { aspect-ratio: 2 / 3; object-fit: cover; height: auto; }
.plan-result { gap: 32px; }

/* Weg zum perfekten Ergebnis: links und rechts ein Bild, in der Mitte die Schritte paarweise untereinander */
.steps-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.steps-layout .steps-image { width: 100%; }
.steps-layout .steps { grid-column: 1 / -1; order: -1; }
@media (min-width: 1101px) {
    .steps-layout { grid-template-columns: 280px minmax(0, 1fr) 280px; gap: 48px; }
    .steps-layout .steps { grid-column: auto; order: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px 58px; }
    .steps-layout .steps-image-left { order: -1; }
    .steps-layout .steps-image-right { order: 1; }
    .steps-layout .step.step-icon:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 29px); }
    /* Pfeile: nach rechts bei Schritt 1 und 3, nach unten bei Schritt 2 und 4 */
    .steps-layout .step.step-icon::after {
        content: ''; position: absolute; width: 30px; height: 30px; border: 0; background: #fff;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); transition: background .2s ease;
    }
    .steps-layout .step.step-icon:nth-child(odd)::after { top: 50%; right: -44px; left: auto; bottom: auto; transform: translateY(-50%); clip-path: polygon(0 0, 100% 50%, 0 100%); }
    .steps-layout .step.step-icon:nth-child(even)::after { left: 50%; bottom: -38px; top: auto; right: auto; transform: translateX(-50%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
    .steps-layout .step.step-icon:last-child::after { display: none; }
}

/* Weg zum Ergebnis: die vier Karten (2 x 2) sind so hoch wie die beiden Bilder, Abnahme steht darunter */
@media (min-width: 1101px) {
    .steps-layout { grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr) 280px; gap: 46px 58px; align-items: stretch; }
    .steps-layout .steps { display: contents; }
    .steps-layout .step.step-icon:nth-child(1) { grid-column: 2; grid-row: 1; }
    .steps-layout .step.step-icon:nth-child(2) { grid-column: 3; grid-row: 1; }
    .steps-layout .step.step-icon:nth-child(3) { grid-column: 2; grid-row: 2; }
    .steps-layout .step.step-icon:nth-child(4) { grid-column: 3; grid-row: 2; }
    .steps-layout .step.step-icon:nth-child(5) { grid-column: 2 / 4; grid-row: 3; width: calc(50% - 29px); justify-self: center; }
    .steps-layout .steps-image { margin: 0; height: 100%; }
    .steps-layout .steps-image-left { grid-column: 1; grid-row: 1 / span 2; order: 0; }
    .steps-layout .steps-image-right { grid-column: 4; grid-row: 1 / span 2; order: 0; }
    .steps-layout .steps-image img { height: 100%; aspect-ratio: auto; object-fit: cover; }
    /* keine Pfeile nach unten */
    .steps-layout .step.step-icon:nth-child(even)::after { display: none; }
}

/* Weg zum Ergebnis: vier kompakte Karten (2 x 2) zwischen den Bildern */
.steps-layout .step.step-icon { padding: 22px 18px 20px; }
.steps-layout .step-symbol { width: 54px; height: 54px; margin-bottom: 12px; }
.steps-layout .step-symbol svg { width: 26px; height: 26px; }
.steps-layout .step.step-icon h3 { font-size: 1rem; }
.steps-layout .step.step-icon p { font-size: .88rem; }
@media (min-width: 1101px) {
    .steps-layout { grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr) 240px; gap: 36px 52px; }
    .steps-layout .step.step-icon:nth-child(4) { grid-column: 3; grid-row: 2; width: auto; justify-self: stretch; }
    .steps-layout .step.step-icon:nth-child(5) { display: none; }
}

/* Weg zum Ergebnis: alle vier Boxen exakt gleich groß, keine Pfeile */
.steps-layout .step.step-icon::after { display: none !important; }
@media (min-width: 1101px) {
    .steps-layout { grid-template-rows: repeat(2, 1fr); }
    .steps-layout .step.step-icon { justify-content: center; }
}
@media (min-width: 1101px) { .steps-layout .step.step-icon { justify-content: flex-start; padding-top: 26px; } }

/* Ablauf: Beim Hovern wird nur die jeweilige Box hervorgehoben (Zahl wird weiß) */
.step.step-icon:hover::before { color: #fff; }

/* Bilder neben den Schritten: anklickbar, öffnen in der Großansicht */
.steps-image-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; border-radius: var(--radius-lg); cursor: zoom-in; overflow: hidden; }
.steps-image-btn img { transition: transform .4s ease; }
.steps-image-btn:hover img, .steps-image-btn:focus-visible img { transform: scale(1.04); }
.steps-image-btn:focus-visible { outline: 3px solid var(--gold-title); outline-offset: 3px; }

/* Bei schmaleren Bildschirmen werden die Bilder neben den Schritten ausgeblendet */
@media (max-width: 1100px) { .steps-layout .steps-image { display: none; } }

/* Footer: Text des gelben Buttons schwarz */
.site-footer .btn-cta, .site-footer .btn-cta:hover, .site-footer .btn-cta:focus-visible { color: #111; }

/* Heller Rahmen-Button (z. B. Telefonnummer): beim Hovern nur leicht aufgehellt, Schrift bleibt weiß, keine Unterstreichung */
.btn-outline-light:hover, .btn-outline-light:focus-visible,
.site-footer .btn-outline-light:hover, .site-footer .btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; text-decoration: none;
}
.btn:hover, .btn:focus-visible, .site-footer .btn:hover { text-decoration: none; }

/* Leistungsseiten: Überschrift = Leistung, darunter überall gleich der Einsatzort */
.h1-where { display: block; margin-top: .35em; font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--gold-title); }

/* Flaggen der Einsatzorte (ersetzen den Pin) */
.flag { display: inline-block; vertical-align: -.15em; border-radius: 3px; box-shadow: 0 0 0 1px rgba(11, 36, 71, .18); object-fit: cover; flex: none; }
.sub-menu a .flag { margin-right: 2px; }
.chip .flag { margin-right: 4px; vertical-align: -.2em; }
.flag-link { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .flag { vertical-align: -.2em; margin-right: 2px; }
.flag-box { display: grid; place-items: center; width: 64px; height: 52px; margin-bottom: 18px; border-radius: 14px; background: var(--sky); }
.flag-box .flag { border-radius: 4px; }
.sub-menu a:has(.flag) { white-space: nowrap; }
@media (min-width: 1081px) { .sub-menu:has(.flag) { min-width: 290px; } }

/* Von der Planung zum fertigen Bad: zwei Bilder ohne Regler, anklickbar */
.blend-pair { display: flex; justify-content: center; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.blend-item { width: min(380px, 100%); }
.blend-image { height: auto; box-shadow: var(--shadow); }
.blend-image img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.blend-image img { aspect-ratio: 2 / 3; object-fit: cover; }

/* Navigation mit Pfeil: rechts derselbe Innenabstand wie links */
@media (min-width: 1081px) { .site-nav .has-sub { padding-right: 18px; } }

/* Ratgeber: die ganze Karte ist anklickbar (Überschrift ist hier eine h2) */
.card-body h2 a::after { content: ''; position: absolute; inset: 0; }

/* Footer: Logo unter den Social-Media-Symbolen (auf weißer Fläche, da das Logo einen weißen Hintergrund hat) */
.footer-logo { display: block; width: 190px; margin-top: 22px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.footer-logo img { display: block; width: 100%; height: auto; margin: -18px 0 -14px; transform: scale(1.12); }
.footer-logo:hover { text-decoration: none; }

/* Header: nicht mehr durchscheinend, damit das Logo (weißer Hintergrund) beim Scrollen nahtlos passt */
.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Footer-Logo etwas größer */
.footer-logo { width: 190px; }
.footer-logo + .footer-contact { margin-top: 20px; }

/* Startseite: weniger Abstand unter dem Button „Alle Referenzen ansehen“ */
#referenzen { padding-bottom: 40px; }
#referenzen + .section { padding-top: 56px; }

/* Leiste unter dem Hero: alle vier Felder sind anklickbar */
.trustbar li { padding: 0; }
.trust-item {
    display: flex; align-items: center; gap: 14px; width: 100%; height: 100%; padding: 22px 20px; border: 0; background: none;
    font: inherit; text-align: left; color: inherit; text-decoration: none; cursor: pointer; transition: background .2s ease;
}
.trust-item:hover, .trust-item:focus-visible { background: var(--sky-2); text-decoration: none; }
.trust-item:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.trust-item .icon { transition: transform .2s ease, color .2s ease; }
.trust-item:hover .icon { transform: scale(1.1); color: var(--navy); }
.trust-item:hover strong { color: var(--blue); }

/* ===== Responsive: Handy und Tablet ===== */
@media (max-width: 1080px) {
    .topbar .topbar-claim { display: none; }
    /* Hero: Foto und Name untereinander, Logo und Meisterbrief entfallen (Meisterbrief steht unter dem Hero zum Anklicken) */
    .hero-home .hero-owner { position: static; flex-direction: column; align-items: center; width: auto; height: auto; margin: 8px 0 0; }
    .hero-home .hero-owner-cards { display: flex; flex-direction: column; align-items: center; width: auto; margin: -22px 0 0; padding: 0; position: relative; z-index: 3; }
    .hero-home .hero-owner .hero-logo-card, .hero-home .hero-owner .hero-master-chip { display: none; }
    .hero-home .hero-owner .hero-owner-name { position: static; margin: 0; width: auto; min-width: 220px; padding: 12px 22px; text-align: center; transform: none; }
    .hero-home .hero-owner-photo { width: 190px; border-width: 5px; }
    .hero-home .hero-inner { padding-bottom: 40px; gap: 24px; }
}
@media (max-width: 640px) {
    .topbar { display: none; }
}

@media (max-width: 700px) {
    .section { padding: 56px 0; }
    .section-tight { padding: 40px 0; }
    .section-head { margin-bottom: 28px; }
    #referenzen { padding-bottom: 32px; }
    #referenzen + .section { padding-top: 40px; }
    .card-media { aspect-ratio: 16 / 9; }
    /* Ablauf: vier Karten 2 x 2, kompakt */
    .steps-layout .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
    .steps-layout .step.step-icon { padding: 18px 12px 16px; }
    .steps-layout .step.step-icon::before { top: 8px; right: 12px; font-size: .72rem; }
    .steps-layout .step-symbol { width: 44px; height: 44px; margin-bottom: 10px; }
    .steps-layout .step-symbol svg { width: 22px; height: 22px; }
    .steps-layout .step.step-icon h3 { font-size: .95rem; }
    .steps-layout .step.step-icon p { font-size: .8rem; line-height: 1.4; }
}
@media (max-width: 520px) {
    /* Leiste unter dem Hero: 2 x 2 */
    .trustbar ul { grid-template-columns: 1fr 1fr; }
    .trustbar li { border-bottom: 1px solid var(--line); }
    .trustbar li:nth-child(odd) { border-right: 1px solid var(--line); }
    .trustbar li:nth-child(even) { border-right: 0; }
    .trustbar li:nth-child(n+3) { border-bottom: 0; }
    .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 12px; }
    .trust-item .icon { width: 26px; height: 26px; }
    .trustbar span { font-size: .78rem; }
}
@media (min-width: 701px) and (max-width: 1100px) { .steps-layout .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 700px) { .blend-image img { aspect-ratio: 4 / 5; } .blend-pair { gap: 32px; } }
@media (max-width: 1080px) { .topbar { display: none; } }
/* Inline-Spalten (Kontakt, Nachhaltigkeit) auf kleineren Bildschirmen untereinander */
@media (max-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 36px; } }
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 36px 0; }
    .footer-grid > section:first-child { grid-column: 1 / -1; }
    .footer-grid li a { font-size: .9rem; }
    .footer-cta { padding: 40px 0 32px; }
}

/* Hero auf kleineren Laptops (1081 bis 1280 px): Foto mit Namensschild, Logo und Meisterbrief entfallen (Meisterbrief über die Leiste unter dem Hero) */
@media (min-width: 1081px) and (max-width: 1280px) {
    .hero-home .hero-inner { align-items: center; padding: 56px 0; gap: 32px; }
    .hero-home .hero-copy { margin-left: 0; align-self: center; flex: 1 1 auto; }
    .hero-home .hero-owner { position: static; flex-direction: column; align-items: center; width: auto; height: auto; margin: 0; flex: none; }
    .hero-home .hero-owner-cards { display: flex; flex-direction: column; align-items: center; width: auto; margin: -22px 0 0; position: relative; z-index: 3; }
    .hero-home .hero-owner .hero-logo-card, .hero-home .hero-owner .hero-master-chip { display: none; }
    .hero-home .hero-owner .hero-owner-name { position: static; left: auto; bottom: auto; margin: 0; width: auto; min-width: 210px; padding: 12px 22px; text-align: center; transform: none; }
    .hero-home .hero-owner-photo { width: 230px; }
}
/* Keine horizontale Verschiebung durch dekorative Elemente am Rand */
main { overflow-x: clip; }
@media (max-width: 900px) { .split-media { max-width: 380px; margin-inline: auto; } }

/* ===== Startseite auf dem Handy: kompakte Kartenlisten, weniger Höhe ===== */
@media (max-width: 700px) {
    /* Leistungen und Referenzen: Karten als kompakte Zeilen (kleines Bild links, Text rechts) */
    #leistungen .grid, #referenzen .grid { gap: 14px; }
    #leistungen .card, #referenzen .card { flex-direction: row; align-items: stretch; border-radius: 18px; }
    #leistungen .card-media, #referenzen .card-media { flex: 0 0 112px; aspect-ratio: auto; min-height: 112px; }
    #leistungen .card-media img, #referenzen .card-media img { height: 100%; object-fit: cover; }
    #leistungen .card-icon, #referenzen .card-icon { display: none; }
    #leistungen .card-body, #referenzen .card-body { padding: 14px 16px !important; justify-content: center; }
    #leistungen .card-body h3, #referenzen .card-body h3 { font-size: 1.05rem; margin-bottom: .25em; }
    #leistungen .card-body p, #referenzen .card-body p { font-size: .86rem; line-height: 1.4; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    #leistungen .link-arrow, #referenzen .link-arrow { font-size: .88rem; }
    #referenzen .tags { margin-bottom: 6px; }
    /* Bereich „Ihr Bad“ und „Ein Meister“: Bilder kleiner */
    .split { gap: 28px; }
    .split-media { max-width: 300px; }
    /* Footer-CTA kompakter */
    .footer-cta { gap: 18px; padding: 36px 0 28px; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn { flex: 1 1 140px; justify-content: center; }
}
@media (max-width: 700px) {
    .check-list li { padding-top: 3px; padding-bottom: 3px; }
    .section .cta-row { gap: 10px; }
    .section .cta-row .btn { padding: 12px 16px; font-size: .95rem; }
}
@media (max-width: 700px) { .section .cta-row .btn { flex: 1 1 150px; justify-content: center; text-align: center; } }
@media (max-width: 700px) { .section .cta-row .btn { white-space: nowrap; padding: 12px 12px; font-size: .9rem; flex: 1 1 auto; } }
@media (max-width: 700px) {
    .footer-cta-actions .btn { padding: 12px 14px; font-size: .95rem; white-space: nowrap; flex: 1 1 auto; }
    .chips { gap: 8px; }
    .chip { padding: 7px 12px; font-size: .88rem; }
}

/* Tablet (701 bis 1080 px): Hero zweispaltig, Text links, Foto rechts */
@media (min-width: 701px) and (max-width: 1080px) {
    .hero-home { min-height: 0; }
    .hero-home .hero-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 56px 0; }
    .hero-home .hero-copy { flex: 1 1 auto; width: auto; max-width: none; }
    .hero-home .hero-owner { margin: 0; flex: none; }
    .hero-home .h1-line { white-space: normal; }
    .hero-home h1 { font-size: clamp(1.9rem, 4.6vw, 2.6rem); }
}

/* Hero: auf Handy und Tablet keine feste Mindesthöhe (sonst entsteht viel leerer Platz über dem Text) */
@media (max-width: 1080px) { .hero-home { min-height: 0; align-items: flex-start; } }
@media (max-width: 700px) { .hero-home .hero-inner { padding-top: 36px; padding-bottom: 36px; } }
@media (max-width: 700px) {
    #leistungen .card-media, #referenzen .card-media { position: relative; }
    #leistungen .card-media img, #referenzen .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    #leistungen .card-media, #referenzen .card-media { min-height: 108px; }
}
@media (max-width: 700px) {
    .page-hero { padding: 36px 0 44px; }
    .page-hero .hero-inner { gap: 28px; }
    .breadcrumbs { display: none; }
}

/* Handy und Tablet: erst Überschrift, Text und Buttons, danach das Bild (volle Breite) */
@media (max-width: 900px) {
    .split > .split-media, .split.reverse > .split-media { order: 2; width: 100%; max-width: 560px; margin-inline: auto; }
    .split > :not(.split-media) { order: 1; }
}
@media (max-width: 700px) {
    .split-media { max-width: none; }
    .split-media::before { inset: 12px -6px -12px 6px; }
}

/* Handy und Tablet, überarbeitet: kleine Zeile, Überschrift, Bild, dann Text und Buttons */
@media (max-width: 900px) {
    .split { display: flex; flex-direction: column; gap: 0; }
    .split > :not(.split-media) { display: contents; }
    .split .eyebrow { order: 1; align-self: flex-start; }
    .split h2 { order: 2; }
    .split > .split-media, .split.reverse > .split-media { order: 3; margin: 6px auto 26px; }
    .split > :not(.split-media) > :not(.eyebrow):not(h2) { order: 4; }
}

/* Karriere: Überschrift im aufgeklappten Bereich, Zitat unter den Listen */
.career-panel-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin: 0 0 .5em; }
.career-sub { font-size: 1.05rem; }
.career-note { margin: 1.4em 0 0; max-width: none; }
.career-interest { margin-bottom: 0; }
.career-interest + .career-note { margin-top: 1.4em; }
/* Karriere: Einladung und Zitat nebeneinander, in den Spalten der Listen */
.career-closing { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: stretch; margin-top: 1.4em; padding-top: 1.2em; border-top: 1px dashed #cddcf2; }
.career-closing .career-interest { margin: 0; padding: 0; border: 0; }
.career-closing .career-note { margin: 0; align-items: center; }
@media (max-width: 900px) { .career-closing { grid-template-columns: 1fr; gap: 18px; } }
/* Karriere: Einladung über die volle Breite, darunter zwei Boxen (Arbeit / Persönlich) */
.career-interest { margin: 1.4em 0 0; padding: 1.2em 0 0; border-top: 1px dashed #cddcf2; }
.career-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 1.4em; }
.career-notes .career-note { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; max-width: none; }
.career-note-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.career-notes blockquote { margin: 0; flex: 1; }
.career-notes blockquote p { margin: 0; font-style: italic; }
.career-note-sign { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.career-note-sign strong { color: var(--navy); }
@media (max-width: 900px) { .career-notes { grid-template-columns: 1fr; } }
/* Karriere: Einladung mit Foto von Arturs */
.career-interest { display: flex; align-items: center; gap: 24px; }
.career-avatar-lg { width: 130px; height: 130px; border-width: 4px; }
.career-interest-text { flex: 1; }
.career-interest-text p { margin: 0 0 .5em; }
.career-sign { font-size: .9rem; color: var(--muted) !important; }
.career-sign strong { color: var(--navy); }
.career-interest-text .career-interest-actions { margin-top: .9em; }
@media (max-width: 600px) { .career-interest { flex-direction: column; align-items: flex-start; } }
/* Karriere: weniger Abstand nach unten (Leistungen-Abschnitt bringt eigenen Abstand mit) */
#karriere { padding: 44px 0 0; }
@media (max-width: 900px) { #karriere { padding: 32px 0 0; } }
/* Karriere: dunkelblaues Band mit goldener Überschrift, fällt direkt unter dem Hero auf */
.career-band { background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 100%); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.career-copy h2, .career-main h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 .4em; }
.career-copy .career-gold, .career-main .career-gold { color: inherit; }
.career-copy > p, .career-main > p { color: #cfe0f7; }
.career-copy .career-phone, .career-main .career-phone { color: #fff; }
.career-role:hover, .career-role[aria-expanded="true"] { border-color: var(--cta); }
.career-panel { color: var(--text); border-color: transparent; }
/* Direkt auf einen hellen Abschnitt folgend (z. B. FAQ auf Leistungsseiten): kein doppelter Abstand nach oben */
.section-flush-top { padding-top: 0; }

/* Videos (Einblicke) */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--navy); object-fit: cover; }
.video-card figcaption { padding: 14px 18px; font-weight: 600; color: var(--navy); }

/* Rückruf-Grafiken auf der Startseite */
.callback-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.callback-card { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md, var(--shadow-sm)); transition: transform .2s, box-shadow .2s; }
.callback-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.callback-card img { display: block; width: 100%; height: auto; }
@media (max-width: 700px) { .callback-pair { gap: 12px; } }

/* Karriere: Ausbildungs-Aushang neben den Details */
.career-panel-wrap.has-poster { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 8px 40px; align-items: start; }
.career-poster { margin: 0; }
.career-poster .steps-image-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.career-poster img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .career-panel-wrap.has-poster { grid-template-columns: 1fr; } .career-poster { max-width: 340px; margin: 12px auto 0; } }

/* Karriere: Aushang links, Überschrift/Stellen/Button rechts, Details darunter */
.career-band { grid-template-columns: 260px minmax(0, 1fr); align-items: center; }
.career-poster-top { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.career-poster-top img { display: block; width: 100%; height: auto; }
.career-poster-top:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.career-main > p { margin: 0 0 1.2em; }
.career-main .career-roles { margin-bottom: 1.2em; }
.career-band .career-panels { grid-column: 1 / -1; }
@media (max-width: 900px) { .career-band { grid-template-columns: 1fr; } .career-poster-top { max-width: 280px; margin: 0 auto; } }

/* Weitere Orte (Seitenleiste): Text direkt nach der Flagge, linksbündig, bei Bedarf zweizeilig */
.side-card-light li a.flag-link { justify-content: flex-start; align-items: flex-start; text-align: left; }
.side-card-light li a.flag-link .flag { flex: none; margin-top: .2em; }
.side-card-light li a.flag-link .flag-link-text { flex: 1; min-width: 0; line-height: 1.35; }
.side-card-light li a.flag-link > svg:last-child { flex: none; margin-top: .25em; }
.video-card video { cursor: zoom-in; }
.video-card video:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: -3px; }

/* Mobile Navigation: ganze Zeile klickbar, Untermenüs klappen auf */
.sub-mobile-only { display: none; }
@media (max-width: 1080px) {
    .site-nav > ul > li:not(.has-sub) > .nav-link { display: block; width: 100%; }
    .site-nav > ul > li > .nav-link { cursor: pointer; -webkit-tap-highlight-color: rgba(31, 78, 140, .12); }
    .site-nav > ul > li > .nav-link:active { background: var(--sky) !important; }
    .has-sub > .nav-link { display: block; }
    .has-sub > .sub-toggle { cursor: pointer; }
    .sub-mobile-only { display: list-item; }
    .sub-menu a { padding: 14px 14px; }
}

/* Kleine Bildschirme (Handy/Tablet), Seiten-Hero: Überschrift, Unterüberschrift, Bild, Text, dann der Button */
@media (max-width: 980px) {
    .page-hero.has-media .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
    .page-hero.has-media .hero-inner > div:first-child { display: contents; }
    .page-hero.has-media .hero-inner > div:first-child > * { margin: 0; }
    .page-hero.has-media .hero-inner .eyebrow { order: 0; }
    .page-hero.has-media .hero-inner h1 { order: 1; }
    .page-hero.has-media .hero-inner .hero-photo { order: 2; align-self: center; width: 100%; }
    .page-hero.has-media .hero-inner .lead { order: 3; }
    .page-hero.has-media .hero-inner .cta-row { order: 4; margin-top: 4px; }
}

/* Startseite, Handy: Überschrift, Bild (Foto, Namensschild, Logo, Meisterbrief), dann die Buttons */
@media (max-width: 700px) {
    .hero-home .hero-inner { gap: 24px; }
    .hero-home .hero-copy { display: contents; }
    .hero-home .hero-copy h1 { order: 1; margin: 0; width: 100%; max-width: 620px; }
    .hero-home .hero-owner { order: 2; }
    .hero-home .hero-copy .cta-row { order: 3; margin-top: 0; }
}

/* Startseite, Handy und Tablet: wie am Desktop. Rundes Foto vorn, Logo und Meisterbrief rechts dahinter, Namensschild unten am Foto */
@media (max-width: 1280px) {
    .hero-home .hero-owner { position: relative; inset: auto; display: block; width: 320px; max-width: 100%; height: 226px; margin: 8px 0 0; align-self: center; }
    .hero-home .hero-owner .owner-photo-link { position: absolute; left: 0; top: 0; z-index: 2; display: block; margin: 0; }
    .hero-home .hero-owner-photo { width: 180px; border-width: 5px; }
    .hero-home .hero-owner-cards { display: contents; }
    .hero-home .hero-owner .hero-logo-card,
    .hero-home .hero-owner .hero-master-chip {
        display: flex; position: absolute; z-index: 1; left: 110px; right: auto; bottom: auto; width: 210px; margin: 0; transform: none;
        align-items: center; justify-content: flex-start;
    }
    .hero-home .hero-owner .hero-logo-card { top: 20px; height: 52px; padding: 0 8px 0 76px; }
    .hero-home .hero-owner .hero-logo-card img { width: 112px; }
    .hero-home .hero-owner .hero-master-chip { top: 80px; height: 46px; padding: 0 12px 0 72px; gap: 6px; white-space: nowrap; font-size: .9rem; }
    .hero-home .hero-owner .hero-master-chip .mc-award svg, .hero-home .hero-owner .hero-master-chip .mc-zoom { width: 22px; height: 22px; }
    .hero-home .hero-owner .hero-master-chip .mc-icons { flex: none; }
    .hero-home .hero-owner .hero-owner-name { position: absolute; z-index: 3; left: 8px; right: auto; top: 164px; bottom: auto; width: 164px; min-width: 0; margin: 0; padding: 10px 12px; text-align: center; transform: none; }
}
@media (max-width: 380px) {
    .hero-home .hero-owner { width: 300px; }
    .hero-home .hero-owner .hero-logo-card, .hero-home .hero-owner .hero-master-chip { width: 190px; }
}

/* Startseite, Handy (bis 700 px): nur Foto und Namensschild, Logo und Meisterbrief entfallen */
@media (max-width: 700px) {
    .hero-home .hero-owner { position: static; display: flex; flex-direction: column; align-items: center; width: auto; height: auto; margin: 8px 0 0; align-self: center; }
    .hero-home .hero-owner .owner-photo-link { position: static; }
    .hero-home .hero-owner-photo { width: 190px; }
    .hero-home .hero-owner-cards { display: flex; flex-direction: column; align-items: center; width: auto; margin: -22px 0 0; position: relative; z-index: 3; }
    .hero-home .hero-owner .hero-logo-card, .hero-home .hero-owner .hero-master-chip { display: none; }
    .hero-home .hero-owner .hero-owner-name { position: static; width: auto; min-width: 220px; margin: 0; padding: 12px 22px; text-align: center; }
}

/* "Wir stellen ein", kleine Bildschirme: Überschrift, Bild darunter, dann Text, Stellen und Button */
@media (max-width: 900px) {
    .career-band { gap: 18px; }
    .career-band .career-main { display: contents; }
    .career-band .career-main > h2 { order: 1; margin: 0; }
    .career-band .career-poster-top { order: 2; }
    .career-band .career-main > p { order: 3; margin: 0; }
    .career-band .career-main > .career-roles { order: 4; margin: 0; }
    .career-band .career-main > .career-action { order: 5; }
    .career-band .career-panels { order: 6; }
}

/* Handy und Tablet: Überschrift, Haken-Liste und Buttons in den Textabschnitten linksbündig (nicht zentriert) */
@media (max-width: 900px) {
    .split { align-items: stretch; }
    .split > :not(.split-media) > .cta-row, .split .cta-row { justify-content: flex-start; }
}

/* "Wir stellen ein": Aushang auf kleinen Bildschirmen linksbündig */
@media (max-width: 900px) {
    .career-band .career-poster-top { margin: 0; justify-self: start; align-self: flex-start; }
}
/* Startseite, Handy: Buttons im Hero mittig */
@media (max-width: 700px) {
    .hero-home .hero-copy .cta-row { align-self: center; justify-content: center; align-items: center; flex-direction: column; width: 100%; }
    .hero-home .hero-copy .cta-row .btn { justify-content: center; }
}

/* Startseite, Handy: Angebot anfragen und Telefonnummer nebeneinander, mittig (bei sehr schmalen Geräten darf es umbrechen) */
@media (max-width: 700px) {
    .hero-home .hero-copy .cta-row { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; width: 100%; }
    .hero-home .hero-copy .cta-row .btn { flex: 0 0 auto; width: auto; padding: 13px 18px; font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 700px) {
    .hero-home .hero-copy .cta-row .btn.btn-lg { padding: 12px 14px; font-size: .9rem; gap: 6px; }
    .hero-home .hero-copy .cta-row .btn.btn-lg .icon { width: 18px; height: 18px; }
}
@media (max-width: 400px) {
    .hero-home .hero-copy .cta-row { gap: 8px; }
    .hero-home .hero-copy .cta-row .btn.btn-lg { padding: 11px 10px; font-size: .84rem; gap: 5px; }
    .hero-home .hero-copy .cta-row .btn.btn-lg .icon { width: 16px; height: 16px; }
}

/* Leistungsseiten: "Jetzt unverbindlich anfragen" nur in der Seitenleiste (Desktop), bei schmalen Bildschirmen entfällt der eigene Abschnitt */
@media (max-width: 1000px) { .sidebar .side-card-cta { display: none; } }

/* Startseite, Handy: Foto, Namensschild und Buttons linksbündig wie die Überschrift */
@media (max-width: 700px) {
    .hero-home .hero-owner { align-self: flex-start; align-items: flex-start; }
    .hero-home .hero-owner-cards { align-items: flex-start; }
    .hero-home .hero-owner .hero-owner-name { margin-left: 0; text-align: center; }
    .hero-home .hero-copy .cta-row { align-self: flex-start; justify-content: flex-start; }
}

/* Startseite, Handy (bis 700 px): Hero komplett zentriert */
@media (max-width: 700px) {
    .hero-home .hero-inner { align-items: center; text-align: center; }
    .hero-home .hero-copy h1 { text-align: center; max-width: 620px; }
    .hero-home .hero-owner { align-self: center; align-items: center; }
    .hero-home .hero-owner-cards { align-items: center; }
    .hero-home .hero-copy .cta-row { align-self: center; justify-content: center; }
}

/* "Wir stellen ein", kleine Bildschirme: Überschrift und Aushang zentriert */
@media (max-width: 900px) {
    .career-band .career-main > h2 { text-align: center; }
    .career-band .career-poster-top { margin: 0 auto; justify-self: center; align-self: center; }
}

/* "Ihr Wohlfühlbad", kleine Bildschirme: kleine Zeile und Überschrift zentriert (Text, Haken und Buttons bleiben linksbündig) */
@media (max-width: 900px) {
    #wohlfuehlbad .split .eyebrow { align-self: center; }
    #wohlfuehlbad .split h2 { text-align: center; }
}

/* "Über den Betrieb": wie das Wohlfühlbad, kleine Zeile und Überschrift zentriert */
@media (max-width: 900px) {
    #ueber-den-betrieb .split .eyebrow { align-self: center; }
    #ueber-den-betrieb .split h2 { text-align: center; }
}

/* Startseite "Einsatzgebiet": am Desktop mittig, auf Handy und Tablet linksbündig (Orte laufen in Reihen weiter, so viele wie nebeneinander passen) */
.chips-center { justify-content: center; }
@media (max-width: 900px) {
    #einsatzgebiet-start .chips-center { justify-content: flex-start; }
}
@media (max-width: 900px) {
    #einsatzgebiet-start .chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; justify-content: stretch; }
    #einsatzgebiet-start .chip { display: flex; align-items: center; gap: 8px; text-align: left; line-height: 1.3; padding: 9px 12px; border-radius: 14px; }
    #einsatzgebiet-start .chip .flag { flex: none; margin: 0; }
}

/* Leistungsseiten: Hero-Überschrift mit Unterüberschrift zentriert, solange der Hero einspaltig ist */
@media (max-width: 980px) {
    .service-hero .hero-inner h1 { align-self: stretch; width: 100%; text-align: center; }
}

/* Leistungsseiten: "Weitere Leistungen" mit Symbolen, bei schmalen Bildschirmen mehrere nebeneinander */
.side-card-services li a { gap: 12px; justify-content: flex-start; }
.side-card-services .side-service-icon { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--blue-bright); border: 1px solid var(--line); }
.side-card-services .side-service-name { flex: 1; min-width: 0; line-height: 1.3; }
.side-card-services li a > svg:last-child { flex: none; }
@media (max-width: 1000px) {
    .side-card-services ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
    .side-card-services li a { height: 100%; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
    .side-card-services li:last-child a { border-bottom: 1px solid var(--line); }
    .side-card-services .side-service-icon { background: var(--sky-2); }
}
@media (max-width: 1000px) {
    .side-card-services { padding: 22px 18px; }
    .side-card-services ul { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; }
    .side-card-services li a { gap: 8px; padding: 9px 10px; }
    .side-card-services .side-service-icon { width: 30px; height: 30px; }
    .side-card-services .side-service-name { overflow-wrap: anywhere; font-size: .9rem; }
    .side-card-services li a > svg:last-child { display: none; }
}
@media (max-width: 600px) {
    .side-card-services li a { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 12px; }
    .side-card-services .side-service-name { flex: none; width: 100%; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; font-size: .88rem; }
}

/* Rückruf-Grafiken: immer zwei Karten nebeneinander, auch auf Mobil */
.callback-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }

/* Ortsseiten: "Weitere Orte" als Kästchen mit Flagge, wie auf der Startseite (so viele nebeneinander wie passen) */
.side-card-cities ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.side-card-cities li a.flag-link { height: 100%; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; line-height: 1.3; }
.side-card-cities li:last-child a.flag-link { border-bottom: 1px solid var(--line); }
.side-card-cities li a.flag-link:hover { background: var(--sky); border-color: #b8cdea; color: var(--blue); }
.side-card-cities li a.flag-link .flag { margin-top: 0; }
.side-card-cities li a.flag-link > svg:last-child { display: none; }
.side-card-cities li a.flag-link .flag-link-text { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 1000px) {
    .side-card-cities { padding: 22px 18px; }
    .side-card-cities ul { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
}

/* Orte als Kästchen: auf der Startseite (Einsatzgebiet) und auf den Ortsseiten (Weitere Orte) einheitlich, auf allen Bildschirmgrößen linksbündig */
#einsatzgebiet-start .chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; justify-content: stretch; }
#einsatzgebiet-start .chip { display: flex; align-items: center; gap: 8px; text-align: left; }
#einsatzgebiet-start .chip .flag { flex: none; margin: 0; }
#einsatzgebiet-start .chip,
.side-card-cities li a.flag-link { padding: 9px 12px; border-radius: 14px; font-size: .9rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) {
    #einsatzgebiet-start .chips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Leistungs- und Ortsseiten bei 1000 px und weniger: alles steht untereinander, deshalb sind die Abschnitte leicht unterschiedlich getönt */
@media (max-width: 1000px) {
    .content-boxed .prose > .prose-block,
    .content-boxed .prose > .figure {
        margin-bottom: 18px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
    }
    .content-boxed .prose > .prose-block:nth-child(odd),
    .content-boxed .prose > .figure:nth-child(odd) { background: var(--sky-2); }
    .content-boxed .prose > .prose-block:nth-child(even),
    .content-boxed .prose > .figure:nth-child(even) { background: #e9f1fc; border-color: #d3e1f5; }
    .content-boxed .prose > .prose-block > h2:first-child { margin-top: 0; }
    .content-boxed .prose > .prose-block > :last-child { margin-bottom: 0; }
    .faq-tinted { background: var(--sky-2); padding-top: 56px; margin-top: 8px; }
}
@media (max-width: 1000px) {
    /* Direkt unter dem Hero beginnt jetzt ein Kasten, deshalb weniger Abstand dazwischen */
    .page-hero + .section:has(> .container.content-boxed) { padding-top: 28px; }
}
@media (max-width: 1000px) {
    /* Weniger Abstand um "Häufige Fragen": zum Abschnitt davor, innen und zur Fragenliste */
    .section:has(> .container.content-boxed) { padding-bottom: 28px; }
    .faq-tinted { padding: 32px 0 44px; margin-top: 0; }
    .faq-tinted .section-head { margin-bottom: 26px; }
}
@media (max-width: 1000px) {
    /* Abstände zwischen den Kästen überall gleich (18 px): Text-Abschnitte, "Weitere Orte/Leistungen" und Anfrage-Kasten */
    .content-layout.content-boxed { gap: 18px !important; }
    .content-boxed .prose > :last-child { margin-bottom: 0; }
    .content-boxed .sidebar { gap: 18px; }
}

/* Über uns, Handy und Tablet: kleine Zeile, Überschrift und Text unter dem Bild zentriert */
@media (max-width: 980px) {
    .about-hero .hero-inner { align-items: center; }
    .about-hero .hero-inner .eyebrow { align-self: center; }
    .about-hero .hero-inner h1,
    .about-hero .hero-inner .lead { align-self: stretch; width: 100%; text-align: center; }
}
@media (max-width: 980px) {
    .about-hero .hero-inner .lead { margin-left: auto; margin-right: auto; }
    .about-hero .hero-inner > div:first-child > .lead { max-width: 620px; }
}
@media (max-width: 980px) {
    .page-hero.has-media.about-hero .hero-inner > div:first-child > .lead { margin-left: auto; margin-right: auto; }
}

/* Über uns bei 1000 px und weniger: Seitenleiste ("Lernen wir uns kennen", "Mehr erfahren") entfällt, Abschnitte als Kästen */
@media (max-width: 1000px) {
    .sidebar-desktop-only { display: none; }
    .page-ueber-uns .section:has(> .container.content-boxed) { padding-bottom: 56px; }
}

/* Nachhaltigkeit bei 1000 px und weniger: Hero und "Unser Ansatz" zentriert, Seitenleiste und "Mehr zur Qualität" entfallen */
@media (max-width: 1000px) {
    .section-desktop-only { display: none; }
}
@media (max-width: 980px) {
    .sustain-hero .hero-inner { align-items: center; }
    .sustain-hero .hero-inner .eyebrow { align-self: center; }
    .sustain-hero .hero-inner h1, .sustain-hero .hero-inner .lead { text-align: center; }
    .sustain-hero .hero-inner .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 900px) {
    #ansatz .split .eyebrow { align-self: center; }
    #ansatz .split h2 { text-align: center; }
}
@media (max-width: 980px) {
    .sustain-hero .hero-inner > div:first-child { text-align: center; }
}

/* Seiten-Hero (Leistungen, Orte), Handy: Buttons nebeneinander, nicht untereinander */
@media (max-width: 700px) {
    .page-hero .cta-row { flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px; width: 100%; }
    .page-hero .cta-row .btn.btn-lg { flex: 0 1 auto; width: auto; min-width: 0; padding: 12px 14px; font-size: .9rem; gap: 6px; white-space: nowrap; justify-content: center; }
    .page-hero .cta-row .btn.btn-lg .icon { width: 18px; height: 18px; }
}
@media (max-width: 400px) {
    .page-hero .cta-row { gap: 8px; }
    .page-hero .cta-row .btn.btn-lg { padding: 11px 10px; font-size: .84rem; gap: 5px; }
    .page-hero .cta-row .btn.btn-lg .icon { width: 16px; height: 16px; }
}

/* Weitere Leistungen, Handy: Überschrift, Symbole und Schrift in den Kästen zentriert */
@media (max-width: 1000px) {
    .side-card-services h3 { text-align: center; }
    .side-card-services li a { justify-content: center; text-align: center; }
    .side-card-services .side-service-name { flex: none; text-align: center; }
}
@media (max-width: 560px) {
    .side-card-services li a { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
    .side-card-services .side-service-name { width: 100%; text-align: center; }
}

/* Footer, Handy: Firmenblock (Name, Adresse, Logo, Kontakt, Social) und Fußzeile zentriert; Leistungen, Einsatzgebiet, Informationen bleiben wie sie sind */
@media (max-width: 560px) {
    .footer-grid > section:first-child { text-align: center; }
    .footer-grid > section:first-child .footer-logo { margin-left: auto; margin-right: auto; }
    .footer-grid > section:first-child .social-list { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom ul { justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
}

/* "Wir stellen ein": Buttons (Jetzt kontaktieren, Telefon) bei 1000px und kleiner zentriert */
@media (max-width: 1000px) {
    .career-action, .career-interest-actions { justify-content: center; }
}

/* Footer-CTA "Lassen Sie uns über Ihr Projekt sprechen": bei 1160px und kleiner zentriert (Text und Buttons) */
@media (max-width: 1160px) {
    .footer-cta { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
    .footer-cta p { margin-left: auto; margin-right: auto; }
    .footer-cta-actions { justify-content: center; }
}

/* Weitere Leistungen, 1000px und kleiner: Symbol bleibt sichtbar, Schrift bricht in mehrere Zeilen um statt über die Box hinaus */
@media (max-width: 1000px) {
    .side-card-services ul { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
    .side-card-services li { min-width: 0; }
    .side-card-services li a { height: auto; min-height: 100%; min-width: 0; box-sizing: border-box; }
    .side-card-services .side-service-icon { flex: none; display: inline-grid; }
    .side-card-services .side-service-name { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
    .side-card-services li a > svg:last-child { display: none; }
}
@media (max-width: 560px) {
    .side-card-services ul { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .side-card-services li a { flex-direction: column; align-items: center; }
    .side-card-services .side-service-name { width: 100%; flex: none; }
}

/* Footer, Handy: Leistungen und Einsatzgebiet nebeneinander, als Paar mittig (gleicher Abstand links und rechts); Informationen darunter, als Block mittig, Text linksbündig */
@media (max-width: 560px) {
    .footer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; }
    .footer-grid > section:first-child { flex: 0 0 100%; }
    .footer-grid > section:nth-child(2), .footer-grid > section:nth-child(3) { flex: 0 0 auto; }
    .footer-grid > section:nth-child(4) { flex: 0 0 100%; display: grid; justify-content: center; }
}

/* Footer, sehr schmale Handys (399px und kleiner): Leistungen und Einsatzgebiet bleiben nebeneinander, Texte brechen bei Bedarf um */
@media (max-width: 399px) {
    .footer-grid { column-gap: 20px; }
    .footer-grid > section:nth-child(2), .footer-grid > section:nth-child(3) { flex: 0 1 auto; min-width: 0; max-width: calc(50% - 10px); }
    .footer-grid > section:nth-child(2) li a, .footer-grid > section:nth-child(3) li a { font-size: .85rem; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
}

/* Weitere Leistungen: Symbol immer links, Schrift mittig (Text bekommt links und rechts gleich viel Platz) */
.side-card-services li a { position: relative; flex-direction: row !important; align-items: center; justify-content: center; text-align: center; padding-left: 52px; padding-right: 52px; }
.side-card-services .side-service-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); }
.side-card-services .side-service-name { flex: 0 1 auto; width: auto; text-align: center; }
@media (max-width: 560px) {
    .side-card-services li a { padding-left: 46px; padding-right: 46px; }
    .side-card-services .side-service-icon { left: 8px; }
    .side-card-services .side-service-name { width: auto; }
}

/* Handy im Querformat: feste Leiste "Anrufen / Angebot anfragen" ausblenden, sie verdeckt sonst den halben Bildschirm */
@media (orientation: landscape) and (max-height: 520px) {
    .mobile-bar { display: none !important; }
    body { padding-bottom: 0 !important; }
}

/* Footer-Fußzeile (Copyright, Impressum, Datenschutz, Seitenübersicht) bei 742px und kleiner zentriert */
@media (max-width: 742px) {
    .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-bottom ul { justify-content: center; flex-wrap: wrap; gap: 8px 18px; }
}

/* Weitere Leistungen: Symbol links und auf einer Höhe mit der Schrift (Raster: Symbol | Schrift mittig | gleich breite Leerspalte), ab 1000px und kleiner */
@media (max-width: 1000px) {
    .side-card-services li a { display: grid !important; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; column-gap: 8px; position: static; padding: 10px 12px; text-align: center; }
    .side-card-services li a::after { content: ""; grid-column: 3; }
    .side-card-services .side-service-icon { position: static; transform: none; grid-column: 1; justify-self: start; align-self: center; }
    .side-card-services .side-service-name { grid-column: 2; width: auto; max-width: 100%; text-align: center; align-self: center; }
}
@media (max-width: 600px) {
    .side-card-services li a { grid-template-columns: 30px minmax(0, 1fr) 30px; column-gap: 6px; padding: 9px 10px; }
}
/* Über 1000px (Seitenleiste am Desktop): wieder wie ursprünglich, Symbol vor der Schrift, linksbündig */
@media (min-width: 1001px) {
    .side-card-services li a { position: static; flex-direction: row !important; justify-content: flex-start; text-align: left; padding-left: 0; padding-right: 0; }
    .side-card-services .side-service-icon { position: static; transform: none; }
    .side-card-services .side-service-name { flex: 1; text-align: left; }
}

/* Footer: das Handy-Layout (Firmenblock zentriert, Leistungen + Einsatzgebiet als Paar, Informationen darunter) gilt schon ab 742px und kleiner */
@media (max-width: 742px) {
    .footer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 36px 0; }
    .footer-grid > section:first-child { flex: 0 0 100%; text-align: center; }
    .footer-grid > section:first-child .footer-logo { margin-left: auto; margin-right: auto; }
    .footer-grid > section:first-child .social-list { justify-content: center; }
    .footer-grid > section:nth-child(2), .footer-grid > section:nth-child(3) { flex: 0 0 auto; }
    .footer-grid > section:nth-child(4) { flex: 0 0 100%; display: grid; justify-content: center; }
}
@media (max-width: 399px) {
    .footer-grid { column-gap: 20px; }
    .footer-grid > section:nth-child(2), .footer-grid > section:nth-child(3) { flex: 0 1 auto; min-width: 0; max-width: calc(50% - 10px); }
}

/* Hamburgermenü (Handy/Tablet): Antippen färbt Punkte nicht dauerhaft blau (kein "hängender" Hover), nur die aktuelle Seite bleibt hervorgehoben */
@media (max-width: 1080px), (hover: none) {
    .site-nav .nav-link:not(.is-active):hover,
    .site-nav .nav-link:not(.is-active):focus,
    .site-nav .sub-toggle:hover,
    .site-nav .sub-toggle:focus,
    .site-nav .sub-menu a:not(.is-active):hover,
    .site-nav .sub-menu a:not(.is-active):focus { color: var(--navy); background: none; }
    .site-nav .nav-link:focus, .site-nav .sub-toggle:focus { outline: none; }
    .site-nav .nav-link:focus-visible, .site-nav .sub-toggle:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
}

/* Google-Bewertungen als durchlaufendes Band unter den Rückruf-Grafiken */

.g-reviews { padding: 24px 0 28px; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.g-reviews-head { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 0 24px 18px; box-sizing: border-box; }
.g-reviews-score { font-size: 1.05rem; color: var(--text); }
.g-reviews-score strong { font-size: 1.6rem; color: var(--navy); }
.g-reviews-sub { font-size: .9rem; color: var(--muted); }
.g-reviews-link { margin-left: auto; text-align: center; }
.gr-stars { display: inline-flex; gap: 2px; letter-spacing: 0; }
.gr-star { color: #d5dae3; font-size: 1.05em; line-height: 1; }
.gr-star.is-on { color: #fbbc05; }
.g-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.g-marquee::-webkit-scrollbar { display: none; }
.g-marquee.is-dragging { cursor: grabbing; user-select: none; }
.g-marquee-track { display: flex; gap: 16px; width: max-content; padding-inline: 8px; }
.g-review { flex: 0 0 300px; margin: 0; padding: 14px 16px; background: var(--bg); border-radius: var(--radius); }
.g-review blockquote { margin: 6px 0 8px; font-size: .95rem; line-height: 1.5; color: var(--text); display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.g-review figcaption { font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
    .g-marquee { -webkit-mask-image: none; mask-image: none; }
    .g-review[aria-hidden="true"] { display: none; }
}
@media (max-width: 480px) {
    .g-reviews-head { padding-inline: 18px; }
    .g-reviews-link { margin-left: 0; width: 100%; }
    .g-review { flex-basis: 260px; }
}

/* Platzhalter für Bilder, die noch fehlen (media/{name}.webp ablegen, dann erscheint das Bild automatisch) */
.img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; min-height: 180px; aspect-ratio: 3 / 2; box-sizing: border-box; padding: 12px; text-align: center; color: var(--navy); background: repeating-linear-gradient(135deg, #eef3fb 0 14px, #e4ecf8 14px 28px); }
.img-placeholder strong { font-size: .95rem; }
.img-placeholder small { font-size: .78rem; opacity: .8; word-break: break-all; }
.card-media .img-placeholder { position: absolute; inset: 0; aspect-ratio: auto; min-height: 0; }

/* Bild-Text-Blöcke auf Leistungsseiten */
.feature .figure { margin-top: 18px; }
.feature .figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.feature .figure .img-placeholder { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }

/* Sidebar höher als das Fenster: Position wird per JS (main.js) gesteuert */
@media (min-width: 1001px) {
    .sidebar.is-tall { position: relative; top: 0; will-change: transform; }
}

/* Feature-Blöcke: Text links, Bild kompakt rechts (volle Breite nur mit 'wide') */
.feature-split { display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); column-gap: 28px; align-items: start; }
.feature-split > h2 { grid-column: 1; grid-row: 1; margin-top: 0; }
.feature-split .feature-text { grid-column: 1; grid-row: 2; }
.feature-split .feature-text p:last-child { margin-bottom: 0; }
.feature-split .figure { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.feature-split-half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature-split-half .figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 640px) {
    .feature-split { display: block; }
    .feature-split .figure { max-width: 380px; margin: 18px auto 0; }
}

.figure-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-lg); }
.figure-zoom:focus-visible { outline: 3px solid var(--blue-bright, #2f7fe0); outline-offset: 3px; }
.figure-zoom:hover img { filter: brightness(1.05); }

/* Abschnitt mit mehreren Bildern nebeneinander */
.feature-gallery h3 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.feature-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.feature-images .figure { margin: 0; }
.feature-images .figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Genau drei Bilder: drei Spalten, quadratischer Ausschnitt (Hoch- und Querformat) */
@media (min-width: 601px) {
    .feature-images:has(> .figure:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature-images:has(> .figure:nth-child(3):last-child) .figure img { aspect-ratio: 1 / 1; }
}
@media (max-width: 480px) { .feature-images { grid-template-columns: 1fr; } }


/* Ortsbeschriftung (Menü, Einsatzgebiet-Seite, Footer): "Fliesenleger" leicht und zurückhaltend, Ortsname kräftig */
.city-label .city-pre { font-weight: 400; font-size: .84em; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.city-label strong { font-weight: 700; letter-spacing: -.005em; }
.city-label-lg .city-pre { display: block; font-size: .6em; letter-spacing: .16em; margin-bottom: 2px; }
.city-label-lg strong { display: block; font-size: 1.15em; font-weight: 800; letter-spacing: -.015em; }
.city-label-footer { font-weight: 600; letter-spacing: .03em; }
/* Startseite: Kästchen unverändert, nur die Beschriftung in Blau ("Fliesenleger") und Navy (Ort) */
.city-label-home .city-pre { color: var(--blue); opacity: 1; }
.city-label-home strong { color: var(--navy); }
.more-block { margin-top: 24px; }
.more-block[hidden] { display: none; }

/* Einblicke: Fotos und Videos direkt untereinander, ohne Zwischenüberschrift, mit kleinen Abständen */
.section-insights { padding: 56px 0 64px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-grid { align-items: start; }
.gallery-grid .gallery-item { margin: 0; }
.video-grid-start { margin-top: 28px; }
.video-grid.more-block, .gallery-grid.more-block { margin-top: 16px; }
.video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.video-grid .video-card figcaption { padding: 10px 12px; font-size: .88rem; line-height: 1.3; }
.more-toggle { text-align: center; margin: 22px 0 0; }
.more-toggle-last { margin-top: 30px; }
@media (max-width: 1000px) {
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .gallery-grid { grid-template-columns: 1fr; }
}
.insights-jump { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.insights-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; }
.insights-heading h2 { margin: 0; flex: none; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); opacity: .7; }
.insights-heading::before, .insights-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.insights-heading-videos { margin-top: 40px; }
.video-grid-start { margin-top: 0; }
.page-hero-compact { padding: 28px 0 30px; }
.page-hero-compact h1 { margin-bottom: 0; }
@media (max-width: 900px) { .page-hero-compact { padding: 22px 0 24px; } }
.btn-instagram { color: #fff; border-color: transparent; background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 4px 14px rgba(204, 35, 102, .3); }
.btn-instagram:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 6px 18px rgba(204, 35, 102, .4); }
.social-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn-tiktok { color: #fff; background: #010101; border-color: transparent; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.btn-tiktok:hover { color: #fff; filter: brightness(1.25); }
.btn-facebook { color: #fff; background: #1877f2; border-color: transparent; box-shadow: 0 4px 14px rgba(24, 119, 242, .3); }
.btn-facebook:hover { color: #fff; background: #0f66d6; }
@media (max-width: 700px) { .social-more .btn { width: 100%; max-width: 380px; } }

/* ---------- Schlüter-Systems: Abschnitt auf Leistungsseiten ---------- */
.schlueter-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 28px; align-items: start; grid-template-rows: auto 1fr; }
.schlueter-teaser h2 { grid-column: 1; margin: 0 0 .4em; overflow-wrap: break-word; }
.schlueter-teaser-text-only { display: block; }
.schlueter-teaser .schlueter-teaser-text { grid-column: 1; }
.schlueter-teaser .figure { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.schlueter-teaser .figure img { display: block; width: 100%; height: auto; }
.schlueter-teaser .figure + .figure { grid-row: 3; margin-top: 12px; }
.schlueter-teaser .schlueter-teaser-text p { margin: 0 0 .8em; }
.schlueter-teaser .schlueter-teaser-text p:last-child { margin-bottom: 0; }
/* zwei Bilder (Foto + Diagramm): Text volle Breite, Bilder nebeneinander darunter */
.schlueter-teaser-two { display: block; }
.schlueter-teaser-two .schlueter-teaser-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 22px; }
.schlueter-teaser-two .schlueter-teaser-images .figure { margin: 0; grid-column: auto; grid-row: auto; }
.schlueter-teaser-two .schlueter-teaser-images .figure + .figure { margin-top: 0; grid-row: auto; }
@media (max-width: 700px) {
    .schlueter-teaser { display: block; }
    .schlueter-teaser .figure { margin: 18px 0 0; }
}
@media (max-width: 480px) {
    .schlueter-teaser-two .schlueter-teaser-images { grid-template-columns: 1fr; }
    .schlueter-teaser-two .schlueter-teaser-images .figure:first-child { margin-top: 0; }
    .schlueter-teaser-two .schlueter-teaser-images .figure + .figure { margin-top: 16px; }
}
.prose-block p a.text-link, .text-link { text-decoration: underline; text-underline-offset: 3px; }
