@font-face { font-family: "Sofia Sans"; src: url(fonts/sofia-sans.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sofia Sans Condensed"; src: url(fonts/sofia-sans-condensed.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --rot: #ff0000;
  --rot-text: #cc0000;
  --gelb: #ffff00;
  --wand: #ffffff;
  --tinte: #1f1a16;
  --grau: #5b534c;
  --boden: #2e2219;
  --rand: clamp(16px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--wand); color: var(--tinte); font: 400 1.125rem/1.55 "Sofia Sans", system-ui, sans-serif; overflow-x: clip; }
h1, h2 { font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif; font-weight: 800; line-height: .98; margin: 0; }
a { color: inherit; }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.breite { max-width: 1240px; margin-inline: auto; padding-inline: var(--rand); }

/* Zimmer eins: Wand, Sockelleiste, Boden */
.wand { padding-block: clamp(20px, 3vw, 32px) 0; overflow-x: clip; }
.kopf { display: flex; justify-content: flex-end; margin: 0 0 clamp(16px, 3vh, 32px); font-size: 1.25rem; font-weight: 700; }
.kopf a { text-decoration: none; }
.kopf a:hover { color: var(--rot-text); }
h1 { font-size: clamp(2.5rem, 6.4vw, 5rem); letter-spacing: -.01em; }
.unter { max-width: 34em; margin: .75rem 0 clamp(24px, 4vh, 44px); font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* Der Balken im Logo läuft als Sockelleiste bis an beide Bildschirmkanten.
   Werte aus der viewBox 3924 × 1692: Balken y 1330–1542, Stiel des H bis 1633. */
.logo { --b: min(100%, 118svh); position: relative; z-index: 1; width: var(--b); margin-bottom: calc(var(--b) * -.0385); }
.logo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.logo::before, .logo::after { content: ""; position: absolute; top: 78.3%; bottom: 8.9%; background: var(--gelb); }
.logo::before { right: 96%; width: 100vw; }
.logo::after { left: 96%; width: 100vw; }

.boden { background: var(--boden) url(boden.svg); color: #fff; }
.boden a { color: var(--gelb); }
.schwelle { padding-block: clamp(40px, 8vw, 72px) clamp(32px, 6vw, 56px); font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 500; }
.schwelle p { margin: 0; }

/* Zimmer zwei */
.gewerk { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 16px clamp(32px, 6vw, 96px); padding-block: clamp(56px, 10vw, 112px); }
.gewerk h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.gewerk h2 + p { grid-column: 1; margin: .75rem 0 0; max-width: 22em; }
.gewerk ul { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; }
.gewerk li { padding-block: .7rem; border-top: 1px solid #d9d4cf; font: 700 clamp(1.5rem, 3vw, 2rem)/1.15 "Sofia Sans Condensed", sans-serif; }
.gewerk li:last-child { border-bottom: 1px solid #d9d4cf; }
.gewerk li span { display: block; font: 400 1.0625rem/1.4 "Sofia Sans", sans-serif; color: var(--grau); margin-top: .15rem; }
.boden .gewerk li, .boden .gewerk li:last-child { border-color: #6d5a4a; }
.boden .gewerk li span { color: #e4dcd4; }

.leiste { height: clamp(16px, 2.6vw, 28px); background: var(--gelb); }

.kontakt h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: .5rem; }
.kontakt p { margin: 0 0 1.5rem; max-width: 32em; }
.kontakt .nummer { font: 800 clamp(2rem, 6vw, 3.5rem)/1.1 "Sofia Sans Condensed", sans-serif; color: var(--gelb); margin: 0; }
.kontakt .nummer a { text-decoration-thickness: .05em; text-underline-offset: .15em; }
.kontakt .post { margin-top: .5rem; color: var(--gelb); }

.fuss { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px; border-top: 1px solid #6d5a4a; font-size: 1rem; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--gelb); }

.insel { padding-block: 0 clamp(56px, 10vw, 112px); }
.insel h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.insel p { max-width: 30em; margin: .75rem 0 0; font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.4; }

/* Raumvorschau: reines CSS über :has(), kommt ohne Skript aus */
.raum { --w: #f6f3ec; --b: url(boden-eiche.svg); padding-top: clamp(56px, 10vw, 112px); }
.raum:has(#w-sand:checked) { --w: #e3d6bd; }
.raum:has(#w-salbei:checked) { --w: #b7c4ae; }
.raum:has(#w-blau:checked) { --w: #9db2c4; }
.raum:has(#w-rot:checked) { --w: #b5604a; }
.raum:has(#b-dunkel:checked) { --b: url(boden.svg); }
.raum:has(#b-vinyl:checked) { --b: url(boden-vinyl.svg); }
.raum:has(#b-teppich:checked) { --b: url(boden-teppich.svg); }
.raum h2, .welcher h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.raum-text { max-width: 36em; margin: .75rem 0 clamp(24px, 4vw, 40px); }
.wahl { display: grid; gap: 12px; margin-top: 24px; }
.wahl fieldset { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 0; margin: 0; padding: 0; min-width: 0; }
.wahl legend { float: left; width: 4.5rem; padding: 0; font-weight: 700; line-height: 44px; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 6px; border: 2px solid #a9a29b; border-radius: 8px; cursor: pointer; background: #fff; }
.wahl label:hover { border-color: var(--tinte); }
.wahl input:checked + label { border-color: var(--rot-text); font-weight: 700; box-shadow: inset 0 0 0 1px var(--rot-text); }
.wahl input:focus-visible + label { outline: 3px solid var(--rot-text); outline-offset: 2px; }
.wahl i { width: 30px; height: 30px; border-radius: 5px; border: 1px solid #0005; background-size: 90px; }
.f-weiss { background-color: #f6f3ec; } .f-sand { background-color: #e3d6bd; } .f-salbei { background-color: #b7c4ae; } .f-blau { background-color: #9db2c4; } .f-rot { background-color: #b5604a; }
.m-eiche { background-image: url(boden-eiche.svg); } .m-dunkel { background-image: url(boden.svg); } .m-vinyl { background-image: url(boden-vinyl.svg); } .m-teppich { background-image: url(boden-teppich.svg); }

.bild { overflow: hidden; border-top: 1px solid #d9d4cf; }
.bild-wand { position: relative; height: clamp(220px, 34vw, 420px); background: var(--w); transition: background-color .2s ease-out; }
.tuer { position: absolute; bottom: 0; left: 62%; width: clamp(90px, 13vw, 170px); height: 82%; background: #fff; border: 6px solid #e9e4dc; border-bottom: 0; box-shadow: 0 0 0 1px #0005; }
.tuer::after { content: ""; position: absolute; right: 10%; top: 52%; width: 16%; height: 5px; border-radius: 3px; background: #6b6b6b; }
.bild-sockel { position: relative; z-index: 1; height: clamp(12px, 1.6vw, 18px); background: var(--gelb); }
.bild-boden { height: clamp(130px, 18vw, 220px); perspective: 500px; perspective-origin: 50% 0; overflow: hidden; }
.bild-boden div { width: 300%; height: 400%; margin-left: -100%; background: var(--b); transform: rotateX(62deg); transform-origin: 50% 0; }

.welcher { padding-block: clamp(56px, 10vw, 112px); }
.welcher > p { margin: .75rem 0 1.5rem; }
.welcher dl { margin: 0; }
.welcher dl div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4px 32px; padding-block: .9rem; border-top: 1px solid #d9d4cf; }
.welcher dl div:last-child { border-bottom: 1px solid #d9d4cf; }
.welcher dt { font: 700 clamp(1.5rem, 3vw, 2rem)/1.15 "Sofia Sans Condensed", sans-serif; }
.welcher dd { margin: 0; }

.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); padding-block: clamp(56px, 10vw, 112px) clamp(40px, 6vw, 64px); }
.kontakt h3 { font: 700 clamp(1.5rem, 3vw, 2rem)/1.15 "Sofia Sans Condensed", sans-serif; margin: clamp(32px, 6vw, 56px) 0 .5rem; }
.kontakt ul { margin: 0; padding-left: 1.2em; max-width: 32em; }

.anfrage form { display: grid; gap: 6px; }
.anfrage label { font-weight: 600; margin-top: 8px; }
.anfrage input[type=text], .anfrage input[type=email], .anfrage input[type=tel], .anfrage textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid #fff; border-radius: 6px; background: #fff; color: var(--tinte); font: inherit; }
.anfrage textarea { resize: vertical; }
.anfrage input:focus-visible, .anfrage textarea:focus-visible, .anfrage button:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.einwilligung { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.einwilligung input { width: 22px; height: 22px; margin: 4px 0 0; }
.einwilligung label { font-weight: 400; margin: 0; font-size: 1rem; }
.anfrage-fuss { margin-top: 14px; }
.anfrage button { min-height: 52px; padding: 10px 26px; border: 0; border-radius: 6px; background: var(--gelb); color: var(--tinte); font: 800 1.375rem/1 "Sofia Sans Condensed", sans-serif; cursor: pointer; }
.anfrage button:hover { background: #fff; }
.honigtopf { position: absolute; left: -9999px; }
.meldung { background: #fff; color: var(--tinte); border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.meldung p { margin: .35rem 0 0; }
.meldung a { color: var(--rot-text); }
.turnstile-feld { margin-top: 10px; }

/* Rechtstexte */
.text { max-width: 44rem; margin-inline: auto; padding: 32px var(--rand) 72px; }
.text img { display: block; width: min(300px, 100%); height: auto; margin-bottom: 40px; }
.text h1 { font-size: clamp(2.5rem, 7vw, 3.5rem); margin-bottom: 1.5rem; }
.text h2 { font-size: 1.75rem; margin: 2rem 0 .5rem; }
.text a { color: var(--rot-text); }
.fehlt { background: var(--gelb); padding-inline: .25em; }

@media (max-width: 720px) {
  .gewerk { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .gewerk ul { grid-column: 1; grid-row: auto; margin-top: 1rem; }
  .welcher dl div { grid-template-columns: minmax(0, 1fr); }
  .kontakt { grid-template-columns: minmax(0, 1fr); }
  .wahl legend { float: none; width: 100%; line-height: 1.4; margin-bottom: 4px; }
}
