/* ============================================================
   FENSTERBAU STRUTHMANN — Stile
   Variante A aus dem Design-Canvas (11.10.2026): clean, hell, Anthrazit als
   Klammer, helles Holz als einzige Akzentfarbe. Gold bleibt im Logo.
   ============================================================ */

:root {
    /* Flächen */
    --papier: #F6F4F0;
    --weiss: #FFFFFF;
    --holz-flaeche: #EFE8DC;
    --anthrazit: #141517;
    --anthrazit-2: #24272B;

    /* Text auf hell */
    --tinte: #1A1B1D;
    --tinte-70: #3A3936;
    --tinte-50: #5B5853;
    --linie: #DAD6CE;
    --linie-holz: #D3C8B5;
    --feldrand: #B9B4AA;

    /* Text auf dunkel */
    --bone: #F2F1EE;
    --bone-70: #C9C5BD;
    --bone-50: #B9B6AF;
    --rand-dunkel: rgba(242, 241, 238, .14);
    --rand-dunkel-stark: rgba(242, 241, 238, .18);

    /* Akzent */
    --holz: #D9C4A0;
    --bronze: #7A5C33;

    /* Schrift */
    --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
    --breit: 112%;

    --breite: 1280px;
    --rand-seite: 32px;
    --kopf: 80px;
    --dauer: .3s;
    --kurve: cubic-bezier(.22, .61, .36, 1);
}

/* === Grundlagen ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; background: var(--papier); color: var(--tinte);
    overflow-x: clip; /* nichts darf die Seite seitlich verbreitern (Handy-Layout-Viewport) */
    font-family: var(--f); font-size: 17px; line-height: 1.55; font-weight: 400;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.fs-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--tinte); color: var(--bone); }
.fs-skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.fs-dunkel :focus-visible { outline-color: var(--holz); }
.fs-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fs-wrap { width: min(var(--breite), 100% - 2 * var(--rand-seite)); margin: 0 auto; }
.fs-wrap--schmal { width: min(760px, 100% - 2 * var(--rand-seite)); }

/* === Typografie ========================================================= */
.fs-eyebrow {
    font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--bronze); margin-bottom: 20px;
}
.fs-eyebrow--holz, .fs-dunkel .fs-eyebrow { color: var(--holz); }
.fs-h1, .fs-h2, .fs-h3, .fs-fakt__zahl, .fs-objektbau__zahl { font-weight: 800; font-stretch: var(--breit); line-height: 1.05; }
.fs-h1 { font-size: clamp(44px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.02em; }
.fs-h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.015em; }
.fs-h2--gross { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.02em; max-width: 15em; }
.fs-h3 { font-size: 30px; line-height: 1.1; }
.fs-lede { font-size: 20px; line-height: 1.5; color: var(--tinte-70); max-width: 30em; margin-top: 28px; }
.fs-lede--hell { color: var(--bone-70); }
.fs-prosa-gross { font-size: 19px; line-height: 1.55; color: var(--tinte-70); max-width: 32em; margin-top: 18px; }
.fs-kapitel + .fs-prosa-gross { margin-top: 32px; }
.fs-prosa-gross--hell { color: var(--bone-70); margin-top: 0; }
.fs-untertitel { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bone-50); margin-bottom: 20px; }
.fs-untertitel--abstand { margin-top: 64px; }
.fs-textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 2px solid var(--bronze); padding-bottom: 4px; transition: border-color var(--dauer); }
.fs-textlink--hell { border-color: var(--holz); color: var(--bone); margin-top: 44px; }
.fs-textlink:hover { border-color: currentColor; }
.fs-pfeil { flex: none; transition: transform var(--dauer) var(--kurve); }
a:hover > .fs-pfeil, button:hover > .fs-pfeil { transform: translateX(3px); }

/* === Knöpfe ============================================================= */
.fs-knopf {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; padding: 0 28px; border: 2px solid transparent;
    font-size: 16px; font-weight: 700; letter-spacing: .01em; line-height: 1.2; text-align: center;
    transition: background-color var(--dauer), border-color var(--dauer), color var(--dauer), transform var(--dauer);
}
.fs-knopf:hover { transform: translateY(-1px); }
.fs-knopf--hell { background: var(--bone); color: var(--anthrazit); }
.fs-knopf--hell:hover { background: #fff; }
.fs-knopf--dunkel { background: var(--anthrazit); color: var(--bone); }
.fs-knopf--dunkel:hover { background: var(--anthrazit-2); }
.fs-knopf--rahmen { border-color: var(--holz); color: var(--bone); }
.fs-knopf--rahmen:hover { background: rgba(217, 196, 160, .12); }
.fs-knopf--holz { background: var(--holz); color: var(--anthrazit); }
.fs-knopf--holz:hover { background: #E3D2B4; }
.fs-knopf--breit { width: 100%; }
.fs-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* === Kopf =============================================================== */
.fs-kopf { position: sticky; top: 0; z-index: 50; background: var(--anthrazit); color: var(--bone); }
.fs-kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--kopf); }
.fs-kopf__logo img { height: 44px; width: auto; }
.fs-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.fs-nav__liste { display: flex; gap: 28px; }
.fs-nav__liste a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color var(--dauer); }
.fs-nav__liste a:hover { border-color: var(--holz); }
.fs-nav__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.fs-kopf__menueknopf { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; color: var(--bone); }
.fs-kopf__menuestrich, .fs-kopf__menuestrich::before, .fs-kopf__menuestrich::after {
    position: absolute; left: 10px; width: 24px; height: 2px; background: currentColor; transition: transform var(--dauer), opacity var(--dauer);
}
.fs-kopf__menuestrich { top: 21px; }
.fs-kopf__menuestrich::before { content: ""; top: -8px; left: 0; }
.fs-kopf__menuestrich::after { content: ""; top: 8px; left: 0; }
.ist-offen .fs-kopf__menuestrich { background: transparent; }
.ist-offen .fs-kopf__menuestrich::before { transform: translateY(8px) rotate(45deg); }
.ist-offen .fs-kopf__menuestrich::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 899px) {
    .fs-kopf__menueknopf { display: block; }
    .fs-nav {
        position: fixed; inset: var(--kopf) 0 0 0; width: 100vw; max-width: 100%; box-sizing: border-box; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
        padding: 16px var(--rand-seite) 32px; background: var(--anthrazit); overflow: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--dauer), transform var(--dauer), visibility 0s var(--dauer);
    }
    .ist-offen .fs-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .fs-nav__liste { flex-direction: column; gap: 0; }
    .fs-nav__liste a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rand-dunkel); font-size: 22px; font-weight: 600; }
    .fs-nav__cta { margin-top: 24px; min-height: 56px; font-size: 17px; }
}

/* === Abschnitte, Flächen =============================================== */
.fs-abschnitt { padding: 120px 0; }
.fs-dunkel { background: var(--anthrazit); color: var(--bone); }
.fs-kapitel { margin-bottom: 0; }
.fs-kapitel--hell .fs-h2 { color: var(--bone); }
.fs-ueber { background: var(--papier); }
.fs-leistungen { background: var(--weiss); padding: 112px 0; }
.fs-objektbau { background: var(--anthrazit-2); padding: 0 0 112px; }
.fs-produktion { background: var(--holz-flaeche); }
.fs-referenzen { background: var(--papier); }
.fs-karriere { padding: 128px 0 120px; }
.fs-kontakt { background: var(--weiss); }

/* === Start ============================================================== */
.fs-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(760px, 88vh); }
.fs-hero__text { display: flex; align-items: center; padding: 96px var(--rand-seite); }
.fs-hero__innen { width: 100%; max-width: 640px; margin-left: auto; padding-right: 56px; container-type: inline-size; }
@media (min-width: 1345px) { .fs-hero__innen { margin-left: calc((100vw - var(--breite)) / 2 - var(--rand-seite)); } }
/* Größe an die Textspalte gekoppelt, nicht ans Fenster: das längste Wort
   „anspruchsvolle" ist im Breitschnitt 8,2 × Schriftgröße breit — 10,8cqi
   lässt rund 11 % der Spalte plus den Innenabstand rechts frei. */
.fs-hero__titel { color: var(--bone); font-size: clamp(30px, 10.8cqi, 78px); }
.fs-hero__bild { position: relative; min-height: 420px; overflow: hidden; }
.fs-hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
/* Text und Bild bleiben bis 700 px nebeneinander — das Hero-Foto ist hochkant (3:4);
   in einem Querformat-Rahmen bliebe nur gut die Hälfte des Gebäudes sichtbar. */
@media (max-width: 699px) {
    .fs-hero { grid-template-columns: 1fr; min-height: 0; }
    .fs-hero__text { padding: 64px var(--rand-seite) 56px; }
    .fs-hero__innen { max-width: none; margin: 0; padding: 0; }
    .fs-hero__bild { min-height: 0; aspect-ratio: 4 / 5; max-height: 80svh; }
}

/* === Fakten ============================================================= */
.fs-fakten { border-top: 1px solid var(--rand-dunkel); }
.fs-fakten__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fs-fakt { padding: 34px 24px; border-right: 1px solid var(--rand-dunkel); }
.fs-fakt:first-child { padding-left: 0; }
.fs-fakt:last-child { padding-right: 0; border-right: 0; }
.fs-fakt__zahl { font-size: 38px; line-height: 1; }
.fs-fakt__text { margin-top: 10px; font-size: 15px; color: var(--bone-50); }
@media (max-width: 899px) {
    .fs-fakten__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-fakt { padding: 24px 16px; border-bottom: 1px solid var(--rand-dunkel); }
    .fs-fakt:nth-child(2n) { border-right: 0; padding-right: 0; }
    .fs-fakt:nth-child(2n+1) { padding-left: 0; }
    .fs-fakt:nth-last-child(-n+2) { border-bottom: 0; }
    .fs-fakt__zahl { font-size: 30px; }
}

/* === Bilder ============================================================= */
.fs-bild { overflow: hidden; }
.fs-bild img { width: 100%; height: 100%; object-fit: cover; }
.fs-bild--4-3 { aspect-ratio: 4 / 3; }
.fs-bild--3-4 > img, .fs-bild--3-4 > div { aspect-ratio: 3 / 4; }
.fs-bild--4-5 { aspect-ratio: 4 / 5; }
figcaption { margin-top: 12px; font-size: 14px; color: var(--tinte-50); }

/* === Über uns =========================================================== */
.fs-ueber__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 899px) { .fs-ueber__raster { grid-template-columns: 1fr; gap: 40px; } }

/* === Leistungen ========================================================= */
.fs-leistungen__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.fs-leistungen__text { font-size: 18px; color: var(--tinte-50); max-width: 26em; }
.fs-leistungen__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 2px solid var(--tinte); }
.fs-leistungen__liste li { display: flex; gap: 18px; align-items: baseline; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--linie); }
.fs-leistungen__nr { font-size: 14px; font-weight: 600; color: var(--bronze); }
.fs-leistungen__name { font-size: 22px; font-weight: 700; }

/* === Objektbau ========================================================== */
.fs-objektbau__bild { height: clamp(360px, 55vw, 620px); overflow: hidden; }
.fs-objektbau__bild img { width: 100%; height: 100%; object-fit: cover; }
.fs-objektbau__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 88px; }
.fs-objektbau__zahlen { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.fs-objektbau__zahl { font-size: 30px; }
.fs-objektbau__text { font-size: 15px; color: var(--bone-50); margin-top: 6px; }
@media (max-width: 899px) { .fs-objektbau__raster { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

/* === Produktion ========================================================= */
.fs-produktion__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 56px; }
.fs-produktion__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); column-gap: 32px; padding-top: 8px; }
.fs-produktion__liste li { padding: 14px 0; border-bottom: 1px solid var(--linie-holz); font-size: 18px; font-weight: 600; }
.fs-produktion__bilder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 899px) {
    .fs-produktion__raster { grid-template-columns: 1fr; gap: 32px; }
    .fs-produktion__bilder { grid-template-columns: 1fr; gap: 32px; }
}

/* === Referenzen ========================================================= */
.fs-referenzen__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; margin-top: 56px; }
.fs-referenz__titel { font-size: 22px; font-weight: 700; color: var(--tinte); }
.fs-referenz__meta { font-size: 15px; color: var(--tinte-50); margin-top: 4px; }
.fs-referenz figcaption { margin-top: 18px; }
@media (max-width: 699px) { .fs-referenzen__raster { grid-template-columns: 1fr; gap: 40px; } }

/* === Karriere =========================================================== */
.fs-karriere__raster { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; margin-top: 80px; align-items: start; }
.fs-stellen { border-top: 1px solid var(--rand-dunkel-stark); }
.fs-stelle { display: block; border-bottom: 1px solid var(--rand-dunkel-stark); }
.fs-stelle__zeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; color: var(--bone); }
.fs-stelle__zeile::-webkit-details-marker { display: none; }
.fs-stelle__titel { display: block; font-size: 24px; font-weight: 700; line-height: 1.2; }
.fs-stelle__kurz { display: block; font-size: 15px; color: var(--bone-50); margin-top: 4px; }
.fs-stelle__plus { position: relative; flex: none; width: 22px; height: 22px; }
.fs-stelle__plus::before, .fs-stelle__plus::after { content: ""; position: absolute; background: currentColor; transition: transform var(--dauer); }
.fs-stelle__plus::before { left: 0; top: 10px; width: 22px; height: 2px; }
.fs-stelle__plus::after { left: 10px; top: 0; width: 2px; height: 22px; }
details[open] .fs-stelle__plus::after { transform: scaleY(0); }
.fs-stelle__text { padding: 0 0 32px; max-width: 40em; color: var(--bone-70); }
.fs-stelle__text p { margin: 0 0 14px; }
.fs-stelle__text .fs-knopf { margin-top: 10px; }
.fs-vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 32px; }
.fs-vorteile li { position: relative; padding-left: 26px; }
.fs-vorteile li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 2px; background: var(--holz); }
@media (max-width: 899px) { .fs-karriere__raster { grid-template-columns: 1fr; gap: 56px; } }

/* === Formulare ========================================================== */
.fs-formular { display: flex; flex-direction: column; gap: 18px; }
.fs-formular--karte { background: var(--bone); color: var(--tinte); padding: 44px; }
.fs-formular--raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-content: start; }
.fs-formular__text { margin-top: 10px; font-size: 15px; color: var(--tinte-50); }
.fs-feld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fs-feld--voll { grid-column: 1 / -1; }
.fs-feld-reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fs-feld input, .fs-feld textarea {
    width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--feldrand); background: #fff; color: var(--tinte);
    font-size: 17px; font-weight: 400; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.fs-kontakt .fs-feld input, .fs-kontakt .fs-feld textarea { background: var(--papier); }
.fs-feld textarea { resize: vertical; }
.fs-feld input:focus, .fs-feld textarea:focus { outline: 2px solid var(--anthrazit); outline-offset: 0; border-color: var(--anthrazit); }
.fs-haken { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--tinte-70); line-height: 1.45; }
.fs-haken input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--anthrazit); }
.fs-haken a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.fs-formular__anruf { margin-top: 4px; font-size: 15px; color: var(--tinte-70); }
.fs-formular__anruf a { font-weight: 700; }
.fs-meldung { padding: 14px 16px; font-size: 15px; font-weight: 500; border-left: 3px solid var(--bronze); background: rgba(122, 92, 51, .08); }
.fs-meldung--ok { border-color: #3C7A4B; background: rgba(60, 122, 75, .1); }
.fs-meldung--error, .fs-meldung--invalid { border-color: #A3402F; background: rgba(163, 64, 47, .08); }
.fs-meldung:focus { outline: none; }
@media (max-width: 599px) {
    .fs-formular--karte { padding: 28px 20px; }
    .fs-formular--raster, .fs-feld-reihe { grid-template-columns: 1fr; }
}

/* === Kontakt ============================================================ */
.fs-kontakt__raster { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.fs-adresse { margin-top: 40px; font-size: 18px; line-height: 1.7; }
.fs-kontakt__wege { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; font-size: 18px; }
.fs-kontakt__wege a, .fs-kontakt__wege .fs-platzhalter { display: inline-flex; gap: 12px; align-items: center; }
.fs-kontakt__wege svg { width: 20px; height: 20px; flex: none; }
.fs-kontakt__wege a:hover { color: var(--bronze); }
.fs-platzhalter { color: var(--tinte-50); }
@media (max-width: 899px) { .fs-kontakt__raster { grid-template-columns: 1fr; gap: 48px; } }

/* === Fuß ================================================================ */
.fs-fuss { background: var(--anthrazit); color: var(--bone-50); font-size: 14px; }
.fs-fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0; }
.fs-fuss__marke { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.fs-fuss__marke img { height: 36px; width: auto; }
.fs-fuss__nav { display: flex; gap: 24px; }
.fs-fuss__nav a:hover { color: var(--bone); }

/* === Unterseiten (Impressum, Datenschutz, 404) ========================= */
.fs-seite { padding: 96px 0 120px; background: var(--papier); }
.fs-seitenkopf { margin-bottom: 40px; }
.fs-prosa { font-size: 17px; line-height: 1.65; color: var(--tinte-70); }
.fs-prosa h2 { font-size: 26px; font-weight: 800; font-stretch: var(--breit); color: var(--tinte); margin: 40px 0 12px; }
.fs-prosa h3 { font-size: 20px; font-weight: 700; color: var(--tinte); margin: 28px 0 8px; }
.fs-prosa p { margin: 0 0 16px; }
.fs-prosa ul, .fs-prosa ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.fs-prosa a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }
.fs-seite__zurueck { margin-top: 48px; }

/* === Reveal ============================================================= */
.fs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--kurve), transform .55s var(--kurve); }
.fs-reveal.ist-sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fs-reveal { opacity: 1; transform: none; transition: none; } }

/* === Schmal ============================================================= */
@media (max-width: 599px) {
    :root { --rand-seite: 20px; --kopf: 68px; }
    .fs-abschnitt { padding: 80px 0; }
    .fs-karriere { padding: 88px 0 80px; }
    .fs-kopf__logo img { height: 36px; }
    .fs-knopf { width: 100%; }
}
