/* ============================================================
   MALEREIBETRIEB SCHLICHTING · BARDOWICK
   Designsystem & Startseiten-Prototyp (Redesign, kein Rebranding)
   ------------------------------------------------------------
   Leitidee: Drei Generationen. Ein Handwerk. Immer neue Möglichkeiten.
   CD-Farben: Dunkelblau/Violett · Gelb · Rot (Fallback-Werte, vor
   Livegang exakt aus Original-Logo pipettieren – s. DESIGN-GUIDE)
   Typografie: DM Serif Display (Statements) · Manrope · Inter
   Signatur-Motiv: Pinselstrich (Logo-Referenz) als wiederkehrendes
   grafisches Element – dezent, nie comicartig.
   ============================================================ */

/* ---------- 0. Tokens ---------- */
:root {
    --navy: #2E2A55;
    --navy-deep: #201D3D;
    --navy-line: rgba(46, 42, 85, .16);
    --yellow: #F4B400;
    --yellow-deep: #D89A00;
    --red: #C1272D;
    --offwhite: #F6F4EF;
    --offwhite-soft: #FBFAF7;
    --ink: #252525;
    --grey: #6E6B67;
    --white: #FFFFFF;
    --line: rgba(37, 37, 37, .13);
    --line-navy: rgba(246, 244, 239, .18);

    --radius-btn: 8px;
    --radius-card: 12px;
    --radius-img: 6px;

    --container: 1280px;
    --container-text: 700px;

    --font-serif: "DM Serif Display", Georgia, serif;
    --font-head: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
    --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

    --space-section: clamp(72px, 9.5vw, 148px);
    --space-section-lg: clamp(88px, 12vw, 180px);
    --ease: cubic-bezier(.3, .55, .25, 1);
}

/* ---------- 1. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow-deep); }
p a:hover { color: var(--navy); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--yellow); color: var(--navy-deep); }

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 300;
    background: var(--navy); color: var(--white);
    padding: 10px 18px; border-radius: var(--radius-btn);
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 2. Pinselstrich-Motiv (Signatur-Element) ---------- */
.brush {
    display: block; width: 54px; height: 12px; color: var(--yellow);
    overflow: visible; flex-shrink: 0;
}
.brush path { stroke: currentColor; }
.eyebrow .brush { width: 40px; height: 9px; }

/* ---------- 3. Typografie ---------- */
.serif { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; }
.hero-title    { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.statement-xl  { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.12; }
.section-title {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.16; letter-spacing: -.014em;
}
.section-sub { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--grey); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-head); font-weight: 700; font-size: .75rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
}
.on-dark .eyebrow, .on-navy .eyebrow { color: var(--yellow); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.65; color: #45433f; }
.note { font-size: .85rem; color: var(--grey); line-height: 1.6; }

/* ---------- 4. Layout ---------- */
.wrap      { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.wrap-text { max-width: var(--container-text); }
.section    { padding-block: var(--space-section); }
.section-lg { padding-block: var(--space-section-lg); }
.sec-head { max-width: 780px; display: grid; gap: 14px; margin-bottom: clamp(36px, 5.5vw, 64px); }
.on-dark, .on-navy { background: var(--navy-deep); color: var(--offwhite); }
.on-dark .section-title, .on-navy .section-title { color: var(--white); }
.on-dark .lead, .on-navy .lead { color: rgba(246, 244, 239, .82); }
.on-dark .note, .on-navy .note { color: rgba(246, 244, 239, .55); }
.on-white { background: var(--white); }
.hairline { border-top: 1px solid var(--line); }

.frame { position: relative; overflow: hidden; border-radius: var(--radius-img); background: #E7E2D6; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 5. Buttons ---------- */
.btn, .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 700; font-size: .97rem;
    padding: 15px 30px; border-radius: var(--radius-btn); border: 1px solid transparent; cursor: pointer;
    transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn { background: var(--yellow); color: var(--navy-deep); }
.btn:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(216, 154, 0, .55); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(37, 37, 37, .3); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
.on-dark .btn-ghost, .on-navy .btn-ghost { color: var(--offwhite); border-color: rgba(246, 244, 239, .4); }
.on-dark .btn-ghost:hover, .on-navy .btn-ghost:hover { border-color: var(--white); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .btn:hover, .btn-ghost:hover, .btn-navy:hover { transform: none; } }

/* ---------- 6. Topbar & Header ---------- */
.topbar { background: var(--navy-deep); color: rgba(246, 244, 239, .88); font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .03em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; padding-block: 6px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a:hover { color: var(--yellow); }

.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease);
}
.header.is-compact { box-shadow: 0 8px 26px -20px rgba(37, 37, 37, .45); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; transition: padding .3s var(--ease); }
.header.is-compact .header-in { padding-block: 11px; }

.wordmark { display: grid; line-height: 1.12; }
.wordmark strong { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; letter-spacing: .01em; color: var(--navy); }
.wordmark span { font-family: var(--font-head); font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }

.nav ul { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav a { position: relative; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #45433f; padding-block: 6px; transition: color .2s var(--ease); }
.nav a .brush { position: absolute; left: 0; bottom: -4px; width: 100%; height: 8px; opacity: 0; transform: scaleX(.4); transform-origin: left; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.nav a:hover { color: var(--navy); }
.nav a:hover .brush { opacity: 1; transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.header-tel svg { width: 17px; height: 17px; color: var(--navy); }
.header .btn { padding: 12px 22px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle-bars span { height: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero (asymmetrisches Split) ---------- */
.hero { position: relative; background: var(--offwhite); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: min(86vh, 820px); }
.hero-copy { display: grid; align-content: center; gap: 20px; max-width: 620px; padding-block: clamp(52px, 7vw, 88px); margin-left: max(24px, calc((100vw - var(--container)) / 2)); padding-right: clamp(24px, 4vw, 56px); }
.hero-copy .lead { max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-brandline { font-family: var(--font-head); font-weight: 700; font-size: .89rem; color: var(--grey); letter-spacing: .02em; }
.hero-brandline strong { color: var(--navy); }
.hero-media { position: relative; min-height: 400px; }
.hero-media .frame { position: absolute; inset: 0; border-radius: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 244, 239, .22), rgba(46, 42, 85, 0) 28%); }
/* Pinselstrich-Akzent unter der Eyebrow im Hero: subtile horizontale Geste, kein Blob */
.hero-copy .eyebrow .brush { width: 46px; }

/* ---------- 8. Trust Bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(26px, 3.6vw, 42px); }
.trust-item { padding-inline: clamp(14px, 2.2vw, 32px); border-left: 1px solid var(--line); display: grid; gap: 3px; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.trust-item span { font-size: .87rem; color: var(--grey); }

/* ---------- 9. Markenstatement „3 Generationen" ---------- */
.brandstatement { background: var(--offwhite); }
.brand-head { max-width: 900px; display: grid; gap: 20px; }
.brand-head .lead { max-width: 62ch; }
.brand-head .statement-xl em { font-style: italic; }

/* ---------- 10. Leistungen (3 Kompetenzwelten) ---------- */
.competences { background: var(--white); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comp-card {
    background: var(--offwhite-soft); border: 1px solid var(--line); border-radius: var(--radius-card);
    overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.comp-card:hover { border-color: rgba(46, 42, 85, .4); transform: translateY(-3px); }
.comp-card .frame { aspect-ratio: 4 / 3; border-radius: 0; }
.comp-card .frame img { transition: transform .6s var(--ease); }
.comp-card:hover .frame img { transform: scale(1.03); }
.comp-body { padding: clamp(22px, 2.6vw, 30px); display: grid; gap: 12px; align-content: start; }
.comp-num { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .1em; color: var(--yellow-deep); }
.comp-body h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.16rem, 1.7vw, 1.4rem); color: var(--navy); }
.comp-list { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.comp-list li { font-size: .92rem; color: #45433f; display: flex; align-items: baseline; gap: 8px; }
.comp-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--red); transform: translateY(-3px); }
@media (max-width: 1024px) { .comp-grid { grid-template-columns: 1fr 1fr; } .comp-card:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .comp-grid { grid-template-columns: 1fr; } .comp-card:nth-child(3) { grid-column: auto; } }

/* ---------- 11. Kreative Oberflächen ---------- */
.surfaces { background: var(--offwhite); }
.surf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.surf-a { grid-column: span 7; }
.surf-b { grid-column: span 5; display: grid; gap: 20px; }
.surf-card { position: relative; overflow: hidden; border-radius: var(--radius-img); }
.surf-a .frame { aspect-ratio: 21 / 12; }
.surf-b .frame { aspect-ratio: 16 / 11; }
.surf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(to top, rgba(32, 29, 61, .82), rgba(32, 29, 61, 0)); color: var(--white); }
.surf-cap strong { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.surf-cap span { font-size: .82rem; color: rgba(246, 244, 239, .8); }
@media (max-width: 900px) { .surf-a, .surf-b { grid-column: 1 / -1; } }

/* ---------- 12. Ausgewählte Referenzen (Editorial-Masonry) ---------- */
.portfolio { background: var(--white); }
.pf-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 72px; gap: 20px; }
.pf-card { position: relative; overflow: hidden; border-radius: var(--radius-img); isolation: isolate; display: flex; background: #E7E2D6; }
.pf-card .frame { position: absolute; inset: 0; border-radius: 0; }
.pf-card .frame img { transition: transform .6s var(--ease); }
.pf-card:hover .frame img, .pf-card:focus-within .frame img { transform: scale(1.03); }
.pf-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(32, 29, 61, .84) 0%, rgba(32, 29, 61, .1) 50%, rgba(32, 29, 61, 0) 100%); }
.pf-meta { position: relative; z-index: 2; align-self: flex-end; width: 100%; padding: clamp(16px, 2.2vw, 26px); color: var(--white); display: grid; gap: 3px; }
.pf-kind { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.pf-meta h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.22rem); }
.pf-meta .pf-place { font-size: .84rem; color: rgba(246, 244, 239, .8); }
.pf-view { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .84rem; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.pf-card:hover .pf-view, .pf-card:focus-within .pf-view { opacity: 1; transform: translateY(0); }
@media (hover: none) { .pf-view { opacity: 1; transform: none; } }
.pf-a { grid-column: span 7; grid-row: span 6; }
.pf-b { grid-column: span 5; grid-row: span 3; }
.pf-c { grid-column: span 5; grid-row: span 3; }
.pf-d { grid-column: span 4; grid-row: span 4; }
.pf-e { grid-column: span 4; grid-row: span 4; }
.pf-f { grid-column: span 4; grid-row: span 4; }
.pf-note { margin-top: 20px; }

/* ---------- 13. Tradition × Innovation (Signature-Split) ---------- */
.tradinno { position: relative; background: var(--navy-deep); }
.ti-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ti-panel { position: relative; padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px); display: grid; align-content: center; gap: 18px; color: var(--offwhite); }
.ti-panel.ti-trad { background: var(--navy-deep); }
.ti-panel.ti-innov { background: var(--navy); }
.ti-panel h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--white); }
.ti-panel p { color: rgba(246, 244, 239, .8); max-width: 42ch; }
.ti-panel .frame { aspect-ratio: 4 / 3; margin-bottom: 4px; }
.ti-trad .frame img { filter: grayscale(1) contrast(1.02); }
.ti-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5;
    background: var(--yellow); color: var(--navy-deep); font-family: var(--font-head); font-weight: 800;
    font-size: .82rem; letter-spacing: .04em; padding: 10px 18px; border-radius: 999px;
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .5); white-space: nowrap;
}
@media (max-width: 860px) { .ti-grid { grid-template-columns: 1fr; } .ti-badge { position: static; transform: none; justify-self: center; margin-block: 8px; } }

/* ---------- 14. Fassaden ---------- */
.facades { background: var(--offwhite); }
.facades-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.facades-copy { display: grid; gap: 18px; }
.facades-points { display: grid; border-top: 1px solid var(--line); margin-top: 6px; }
.facades-points li { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: .95rem; display: flex; gap: 10px; }
.facades-points li strong { color: var(--navy); font-family: var(--font-head); font-weight: 700; flex-shrink: 0; }
.facades-media { display: grid; gap: 14px; }
.facades-media .frame { aspect-ratio: 4 / 3; }
.facades-media figcaption { font-size: .82rem; color: var(--grey); }
.facades-partner { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: .86rem; color: var(--grey); }
.facades-partner img { height: 26px; width: auto; opacity: .8; }

/* ---------- 15. Before / After ---------- */
.ba-section { background: var(--white); }
.ba-wrap { display: grid; gap: 18px; max-width: 920px; margin-inline: auto; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-img); overflow: hidden; background: #E7E2D6; touch-action: none; user-select: none; border: 1px solid var(--line); }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 2px; background: var(--white); z-index: 3; }
.ba-handle::after {
    content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy-deep);
    display: grid; place-items: center; font-size: .72rem; letter-spacing: 1px; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .45);
}
.ba-label { position: absolute; bottom: 14px; z-index: 2; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(32, 29, 61, .75); color: var(--white); padding: 7px 14px; border-radius: var(--radius-btn); }
.ba-label--before { left: 14px; }
.ba-label--after { right: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ba-caption p { font-size: .92rem; color: #45433f; max-width: 60ch; }

/* ---------- 16. Raumgestaltung ---------- */
.rooms { background: var(--offwhite); }
.rooms-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 76px); align-items: center; }
.rooms-copy { display: grid; gap: 18px; }
.rooms-media { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.rooms-media .frame:first-child { aspect-ratio: 3 / 4; grid-row: span 2; }
.rooms-media .frame { aspect-ratio: 1 / 1; }

/* ---------- 17. Wärmedämmung / Gebäudekompetenz ---------- */
.envelope { background: var(--white); }
.env-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 76px); align-items: center; }
.env-copy { display: grid; gap: 18px; }
.env-points { display: grid; border-top: 1px solid var(--line); }
.env-points li { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.env-points strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .96rem; }
.env-media .frame { aspect-ratio: 4 / 3; }

/* ---------- 18. Dennis Schlichting ---------- */
.principal { background: var(--offwhite); }
.pr-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.pr-media { display: grid; gap: 12px; }
.pr-media .frame { aspect-ratio: 4 / 5; }
.pr-media figcaption { font-size: .82rem; color: var(--grey); }
.pr-body { display: grid; gap: 16px; }
.pr-name { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.pr-role { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.pr-facts { display: flex; flex-wrap: wrap; gap: 10px 32px; border-top: 1px solid var(--line); padding-top: 18px; }
.pr-facts div { display: grid; gap: 2px; }
.pr-facts dt { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); }
.pr-facts dd { font-size: .84rem; color: var(--grey); max-width: 22ch; }

/* ---------- 19. Firmengeschichte (Heritage-Editorial) ---------- */
.heritage { background: var(--white); }
.her-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.her-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 132px; height: 1px; background: var(--line); z-index: 0; }
.her-item { position: relative; z-index: 1; padding-inline: clamp(10px, 1.6vw, 24px); display: grid; gap: 14px; justify-items: start; }
.her-year { font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--navy); line-height: 1; position: relative; }
.her-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--navy); margin-top: 6px; }
.her-item .frame { aspect-ratio: 3 / 4; width: 100%; max-width: 220px; }
.her-item h4 { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.her-item p { font-size: .9rem; color: #45433f; max-width: 34ch; }
@media (max-width: 860px) {
    .her-grid { grid-template-columns: 1fr; gap: 44px; }
    .her-grid::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .her-item { padding-left: 28px; }
}

/* ---------- 20. Arbeitsweise (Timeline) ---------- */
.process { background: var(--offwhite); }
.proc-line { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); position: relative; }
.proc-step { padding-top: 26px; position: relative; padding-right: clamp(8px, 1.5vw, 24px); }
.proc-step::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--navy); }
.proc-num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.proc-step h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; margin-top: 4px; }
.proc-step p { font-size: .89rem; color: var(--grey); margin-top: 4px; }
@media (max-width: 860px) { .proc-line { grid-template-columns: 1fr 1fr; row-gap: 30px; } }
@media (max-width: 520px) { .proc-line { grid-template-columns: 1fr; } }

/* ---------- 21. Referenzgalerie (Archivstreifen) ---------- */
.more-refs { background: var(--white); border-top: 1px solid var(--line); }
.mr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.mr-head h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; }
.mr-thumbs { display: flex; flex-wrap: wrap; gap: 16px; }
.mr-thumbs figure { width: clamp(148px, 16vw, 205px); display: grid; gap: 8px; }
.mr-thumbs .frame { aspect-ratio: 4 / 3; }
.mr-thumbs figcaption { font-size: .77rem; color: var(--grey); line-height: 1.4; }

/* ---------- 22. Karriere-Teaser ---------- */
.career { background: var(--navy); color: var(--offwhite); }
.career-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.career-copy { display: grid; gap: 16px; }
.career-copy h2 { color: var(--white); }
.career-copy .lead { color: rgba(246, 244, 239, .8); }
.career-media .frame { aspect-ratio: 4 / 3; }

/* ---------- 23. FAQ ---------- */
.faq { background: var(--offwhite); }
.faq-list { max-width: 840px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
    padding-block: 19px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
    transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--navy); }
.faq-item summary::after { content: "+"; font-family: var(--font-serif); font-size: 1.5rem; color: var(--yellow-deep); line-height: 1; transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 20px; max-width: 66ch; color: #45433f; font-size: .96rem; }

/* ---------- 24. CTA + Projektanfrage ---------- */
.cta { background: var(--navy-deep); color: var(--offwhite); position: relative; overflow: hidden; }
.cta-in { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 760px; padding-block: clamp(60px, 9vw, 100px); }
.cta-in p { color: rgba(246, 244, 239, .82); font-size: 1.05rem; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.cta-tel { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; padding: 14px 6px; color: var(--white); }
.cta-tel svg { width: 18px; height: 18px; }

.inquiry { background: var(--offwhite); border-top: 1px solid var(--line); }
.inq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5.5vw, 90px); align-items: start; }
.inq-intro { display: grid; gap: 16px; }
.inq-contact { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 20px; font-size: .95rem; }
.inq-contact a { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.inq-contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.inq-contact span { color: var(--grey); font-size: .86rem; }

.inq-form { display: grid; gap: 15px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(22px, 3.2vw, 38px); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.f-field { display: grid; gap: 6px; }
.f-field label { font-family: var(--font-head); font-weight: 600; font-size: .83rem; color: var(--ink); }
.f-field label small { color: var(--grey); font-weight: 500; }
.f-field input, .f-field select, .f-field textarea {
    width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
    background: var(--offwhite-soft); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px 14px;
    transition: border-color .2s var(--ease);
}
.f-field input:hover, .f-field select:hover, .f-field textarea:hover { border-color: rgba(46, 42, 85, .4); }
.f-field input:focus-visible, .f-field select:focus-visible, .f-field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.f-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232E2A55' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.f-field textarea { min-height: 118px; resize: vertical; }
.f-upload {
    border: 1px dashed rgba(46, 42, 85, .45); border-radius: var(--radius-btn); padding: 14px 16px;
    display: flex; gap: 12px; align-items: center; font-size: .9rem; color: #45433f; cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease); position: relative;
}
.f-upload:hover { border-color: var(--navy); background: rgba(46, 42, 85, .04); }
.f-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.f-upload svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--navy); }
.f-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .83rem; color: #45433f; }
.f-consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.inq-form .btn { justify-self: start; margin-top: 2px; font-size: 1rem; padding: 15px 30px; }
.f-status { font-size: .89rem; color: var(--navy); font-family: var(--font-head); font-weight: 600; min-height: 1.4em; }

/* ---------- 25. Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(246, 244, 239, .78); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); gap: 38px clamp(26px, 4vw, 60px); padding-block: clamp(50px, 8vw, 80px) 42px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-logo { background: var(--white); border-radius: var(--radius-img); padding: 12px 16px; width: fit-content; }
.footer-logo img { height: 34px; width: auto; }
.footer-claim { font-family: var(--font-serif); font-size: 1.24rem; color: var(--white); max-width: 28ch; line-height: 1.35; }
.footer-brand address { font-size: .92rem; line-height: 1.8; }
.footer-brand address a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-navy); display: grid; place-items: center; transition: border-color .2s var(--ease), color .2s var(--ease); }
.footer-social a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h3 { font-family: var(--font-head); font-weight: 700; font-size: .77rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 15px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: .91rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-navy); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .81rem; color: rgba(246, 244, 239, .5); }
.footer-bottom a:hover { color: var(--offwhite); }

/* ---------- 26. Mobile Sticky Bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 15px 10px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.mobile-bar .mb-call { background: var(--white); color: var(--ink); }
.mobile-bar .mb-ask { background: var(--yellow); color: var(--navy-deep); }
.mobile-bar svg { width: 16px; height: 16px; }

/* ---------- 27. Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .rd-1 { transition-delay: .08s; }
.js .rd-2 { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .comp-card .frame img, .pf-card .frame img, .nav a .brush { transition: none !important; }
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 1180px) { .header-tel span { display: none; } .nav ul { gap: 16px; } }

@media (max-width: 1024px) {
    html { scroll-padding-top: 80px; }
    .nav { position: fixed; inset: 0; z-index: 95; background: var(--offwhite); display: grid; place-content: center; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
    .nav.is-open { opacity: 1; visibility: visible; }
    .nav ul { flex-direction: column; align-items: center; gap: 26px; text-align: center; }
    .nav a { font-size: 1.3rem; font-weight: 700; }
    .nav-toggle { display: block; position: relative; z-index: 96; }
    .header .btn { display: none; }

    .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-copy { margin-inline: 24px; padding: clamp(44px, 8vw, 68px) 0 34px; max-width: 640px; }
    .hero-media { min-height: 50vh; }

    .facades-grid, .rooms-grid, .env-grid, .pr-grid, .career-grid, .inq-grid { grid-template-columns: 1fr; }
    .rooms-media { max-width: 560px; }

    .pf-grid { grid-auto-rows: 66px; }
    .pf-a { grid-column: span 12; grid-row: span 5; }
    .pf-b, .pf-c { grid-column: span 6; grid-row: span 4; }
    .pf-d, .pf-e, .pf-f { grid-column: span 4; grid-row: span 3; }

    .surf-a, .surf-b { grid-column: span 12; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
    .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    body { font-size: 1rem; }
    .topbar-links { display: none; }
    .topbar-in { justify-content: center; }
    .hero-ctas .btn, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
    .mobile-bar { display: grid; }
    body { padding-bottom: 58px; }
    .rooms-media { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .wrap { width: calc(100% - 40px); }
    .comp-grid { grid-template-columns: 1fr; }
    .comp-card:nth-child(3) { grid-column: auto; }
    .pf-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; }
    .pf-card { min-height: 300px; }
    .facades-media, .env-media { max-width: 100%; }
    .f-row { grid-template-columns: 1fr; }
    .rooms-media { grid-template-columns: 1fr; }
    .rooms-media .frame:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
    .her-grid { gap: 36px; }
    .mr-thumbs figure { width: calc(50% - 8px); }
    .footer-grid { grid-template-columns: 1fr; }
    .ba-slider { aspect-ratio: 1 / 1; }
}

@media print {
    .topbar, .header, .mobile-bar, .hero-ctas, .inq-form { display: none !important; }
    body { background: #fff; color: #000; }
}
