/* © 2026 INNOVATION CONCEPTS · Kennung IC-ENZ-E968 · Demo EINZUG · innovation-concepts.com */
/* EINZUG · Wohnungssanierung in Linz (fiktive Demo, INNOVATION CONCEPTS, 2.12.2026)
   Leitbild: Bauplan auf dem Tisch. Planpapier, Graphit, ein Material (Kreppband), ein Akzent (Schlagschnur-Blau).
   Kein Glas, keine Verläufe als Dekor, keine Kartenreihen, keine Nummern. CI-Abstand geprüft (ci_abstand.py). */

@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  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; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/plex-mono-500-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/plex-mono-600-latin.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --papier: #f2eee6; --papier-2: #e8e3d8; --putz: #fbfaf6;
  --graphit: #24231f; --graphit-2: #5b5750; --linie: #c9c1b2;
  --krepp: #e3dcc8; --krepp-kante: #cfc6ae;
  --schnur: #2b5aa6; --schnur-dunkel: #1f4686; --schnur-hell: #dfe6f2;
  --sans: "Archivo", system-ui, sans-serif; --mono: "Plex Mono", ui-monospace, "SF Mono", monospace;
  --rand: 16px; --breit: 1240px;
  --focus: var(--schnur); --ink: var(--graphit); --ground: var(--putz);
}
:where([hidden]) { display: none !important; }
:where(ul, ol)[role="list"] { list-style: none; margin: 0; padding: 0; }
img { height: auto; }

body {
  background: var(--papier); color: var(--graphit);
  font: 400 17px/1.55 var(--sans); font-stretch: 100%;
  background-image: linear-gradient(var(--papier-2) 1px, transparent 1px), linear-gradient(90deg, var(--papier-2) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
}
.wrap { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }
.mono { font-family: var(--mono); }
.k { font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphit-2); }
h1, h2, h3 { font-weight: 800; line-height: .98; letter-spacing: -.01em; font-stretch: 72%; }
h2 { font-size: clamp(34px, 6vw, 64px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-stretch: 85%; line-height: 1.1; }
p { max-width: 62ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--graphit-2); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--papier) 94%, transparent); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; justify-content: space-between; align-items: center; height: 56px; gap: 16px; }
.marke { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 800; font-stretch: 125%; letter-spacing: .05em; font-size: 20px; text-decoration: none; color: inherit; white-space: nowrap; }
.marke small { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphit-2); }
.kopf nav { display: flex; gap: 22px; align-items: center; }
.kopf nav a:not(.knopf-klein) { font: 600 13px var(--mono); text-decoration: none; color: var(--graphit-2); }
.kopf nav a:not(.knopf-klein):hover { color: var(--graphit); }
.knopf-klein { font: 600 13px var(--mono); color: var(--putz); background: var(--schnur); text-decoration: none; padding: 9px 14px; white-space: nowrap; }
.knopf-klein:hover { background: var(--schnur-dunkel); }
@media (max-width: 899px) { .kopf nav a:not(.knopf-klein) { display: none; } .marke small { display: none; } }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 18px; border: 0;
  background: var(--schnur); color: #fff; font-weight: 700; font-size: 17px; font-stretch: 90%; text-decoration: none; text-align: left; }
.knopf:hover { background: var(--schnur-dunkel); }
.knopf-linie { display: inline-flex; align-items: center; min-height: 52px; padding: 12px 2px; font: 600 14px var(--mono); color: var(--graphit); text-decoration: none; border-bottom: 2px solid var(--graphit); }
.knopf-linie:hover { color: var(--schnur); border-color: var(--schnur); }

/* Maßkette: Linie mit Endstrichen und Beschriftung */
.masskette { display: flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .05em; color: var(--graphit-2); white-space: nowrap; }
.masskette::before, .masskette::after { content: ""; flex: 1; height: 9px; border-left: 1px solid var(--graphit-2); background: linear-gradient(var(--graphit-2), var(--graphit-2)) center / 100% 1px no-repeat; }
.masskette::after { border-left: 0; border-right: 1px solid var(--graphit-2); }

/* Kreppband als Material */
.krepp-band { background: repeating-linear-gradient(92deg, rgba(255,255,255,.22) 0 2px, transparent 2px 5px), linear-gradient(var(--krepp), var(--krepp));
  box-shadow: 0 1px 0 var(--krepp-kante) inset, 0 -1px 0 var(--krepp-kante) inset, 0 3px 6px -3px rgba(36,35,31,.3);
  clip-path: polygon(0 8%, 2% 0, 4% 10%, 6% 2%, 8% 6%, 92% 4%, 94% 0, 96% 9%, 98% 2%, 100% 7%, 100% 94%, 98% 100%, 96% 91%, 94% 99%, 92% 95%, 8% 97%, 6% 100%, 4% 90%, 2% 99%, 0 93%); }

/* Hero */
.hero { padding: 28px 0 40px; }
.hero .wrap { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(44px, 9.5vw, 104px); font-stretch: 68%; }
.hero h1 span { display: block; }
.hero .sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 40ch; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.hero-bild { position: relative; margin: 0; }
.hero-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--papier-2); }
.hero-bild .masskette { margin-top: 8px; }
.hero-bild .etikett { position: absolute; left: -8px; top: 18px; padding: 6px 16px; font: 600 12px var(--mono); letter-spacing: .12em; transform: rotate(-4deg); }
@media (min-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr 1.08fr; column-gap: 56px; align-items: end; }
  .hero-text { padding-bottom: 28px; display: grid; gap: 26px; }
}
@media (max-width: 899px) { .hero-text { display: grid; gap: 16px; } }

/* Großer Moment */
.moment { padding: 18px 0 40px; border-top: 2px solid var(--graphit); scroll-margin-top: 56px; }
.moment .wrap { display: grid; gap: 14px; }
.moment-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.moment-kopf h2 { font-size: clamp(32px, 6.4vw, 64px); }
.moment-kopf p { font: 500 13px/1.45 var(--mono); color: var(--graphit-2); max-width: 44ch; }
.plan { position: relative; aspect-ratio: 10 / 7; width: 100%; background: var(--putz); border: 7px solid var(--graphit); box-shadow: 0 30px 60px -40px rgba(36,35,31,.45); }
.plan .masskette { position: absolute; top: -28px; left: 0; right: 0; }
.fenster { position: absolute; top: -7px; height: 7px; background: var(--putz); border-left: 2px solid var(--graphit); border-right: 2px solid var(--graphit); }
.fenster::before, .fenster::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--graphit); }
.fenster::before { top: 1px; } .fenster::after { bottom: 1px; }
.raum { position: absolute; border: 3px solid var(--graphit); background: transparent; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 6px 8px; text-align: left; overflow: hidden; transition: background-color .25s; border-radius: 0; }
.raum:focus-visible { outline-offset: -6px; border-radius: 0; }
@media (hover: hover) { .raum:hover { background: color-mix(in srgb, var(--schnur-hell) 55%, transparent); } }
.raum[aria-pressed="true"] { background: color-mix(in srgb, var(--schnur-hell) 72%, transparent); }
.raum .name { font-weight: 700; font-size: clamp(11px, 1.5vw, 16px); font-stretch: 85%; position: relative; z-index: 2; line-height: 1.1; }
.raum .qm { font: 500 clamp(9.5px, 1.1vw, 12px) var(--mono); color: var(--graphit-2); position: relative; z-index: 2; }
.raum.parkett::before { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23c9c1b2' stroke-width='1'%3E%3Cpath d='M0 0l12 12M0 12l12 12M12 12l12-12M12 24l12-12M0 6l6 6M18 6l6-6M18 18l6-6M0 18l6 6'/%3E%3C/svg%3E") 0 0 / 24px 24px; }
.raum.fliese::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background: linear-gradient(var(--linie) 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(90deg, var(--linie) 1px, transparent 1px) 0 0 / 12px 12px; }
.raum .krepp { position: absolute; z-index: 1; left: -6%; width: 112%; top: 38%; height: clamp(20px, 3vw, 30px);
  display: flex; align-items: center; justify-content: center; font: 600 clamp(9px, 1.2vw, 12px) var(--mono); letter-spacing: .12em; color: var(--graphit);
  transform: rotate(var(--dreh, -8deg)) scaleX(0); transform-origin: left center; transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.raum[aria-pressed="true"] .krepp { transform: rotate(var(--dreh, -8deg)) scaleX(1); }
.hinweis { position: absolute; z-index: 3; font: 600 11px var(--mono); letter-spacing: .06em; background: var(--graphit); color: var(--putz); padding: 5px 8px; pointer-events: none; white-space: nowrap; animation: wippen 1.6s ease-in-out infinite; }
.hinweis::after { content: ""; position: absolute; left: 14px; bottom: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--graphit); }
@keyframes wippen { 50% { transform: translateY(-4px); } }

.ergebnis { display: grid; gap: 10px; align-content: start; }
.einzug { display: flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; border-top: 2px solid var(--graphit); padding-top: 8px; }
.einzug .k { width: 100%; }
.einzug .datum { font-weight: 800; font-stretch: 75%; font-size: clamp(30px, 5.6vw, 54px); line-height: 1; }
.einzug .kw { font: 600 14px var(--mono); color: var(--schnur); }
.einzug .wochen { font: 500 13px var(--mono); color: var(--graphit-2); width: 100%; }
.bauplan { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 3px; margin: 0; font: 500 11px/1.2 var(--mono); }
.bauplan dt { color: var(--graphit-2); white-space: nowrap; align-self: center; }
.bauplan dd { position: relative; height: 13px; margin: 0; }
.streif { position: absolute; top: 0; bottom: 0; background: var(--krepp); box-shadow: 0 0 0 1px var(--krepp-kante) inset; transition: left .35s, width .35s; }
.streif.trocknet { background: repeating-linear-gradient(-45deg, var(--krepp) 0 4px, transparent 4px 8px); }
.streif.ende { background: var(--schnur); box-shadow: none; }
.knopf-wahl { width: 100%; }
.knopf-wahl .wahl { display: block; font: 500 12.5px var(--mono); opacity: .88; margin-top: 2px; }
.knopf-wahl .kw-knopf { font: 600 13px var(--mono); white-space: nowrap; }
.knopf-wahl.wechsel { animation: nachgeben .28s ease; }
@keyframes nachgeben { 40% { transform: scale(.985); } }
.fuss { font: 500 11px var(--mono); color: var(--graphit-2); }
@media (min-width: 900px) {
  .moment { padding: 34px 0 72px; }
  .moment .wrap { grid-template-columns: 1.55fr 1fr; column-gap: 44px; row-gap: 22px; }
  .moment-kopf { grid-column: 1 / -1; }
  .plan-wrap, .ergebnis { padding-top: 30px; }
  .bauplan { font-size: 12px; row-gap: 6px; } .bauplan dd { height: 16px; }
  .knopf-wahl { font-size: 18px; }
}
@media (max-width: 899px) {
  .plan { width: min(100%, calc((100svh - 590px) * 10 / 7)); margin: 0 auto; border-width: 5px; }
  .plan .masskette { display: none; }
  .raum { border-width: 2px; padding: 4px 5px; }
  .moment-kopf p { display: none; }
}

/* Abschnitte */
.abschnitt { padding: 72px 0; border-top: 1px solid var(--linie); }
.abschnitt-kopf { display: grid; gap: 14px; margin-bottom: 32px; }
@media (min-width: 900px) { .abschnitt { padding: 112px 0; } }

/* Anlässe: ein Bildschirm, Liste links, Bild rechts */
.anlaesse .raster { display: grid; gap: 24px; }
.lagen { border-top: 1px solid var(--graphit); }
.lage { border-bottom: 1px solid var(--linie); }
.lage-knopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 0; background: none; border: 0; text-align: left; font-weight: 800; font-stretch: 78%; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.05; }
.lage-knopf::after { content: ""; flex: 0 0 34px; height: 12px; opacity: 0; transition: opacity .2s; }
.lage[data-aktiv] .lage-knopf::after { opacity: 1; background: var(--krepp); box-shadow: 0 0 0 1px var(--krepp-kante) inset; transform: rotate(-6deg); }
.lage-inhalt { display: grid; gap: 12px; padding: 0 0 22px; }
.lage-inhalt p { color: var(--graphit-2); }
.anlass-bild { margin: 0; position: relative; }
.anlass-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; background: var(--papier-2); }
.anlass-bild figcaption { margin-top: 8px; }
@media (min-width: 900px) {
  .anlaesse .raster { grid-template-columns: 1fr 1.1fr; column-gap: 56px; align-items: start; }
  .anlass-bild { position: sticky; top: 88px; }
}
@media (max-width: 899px) { .anlass-bild { order: -1; } }

/* Hinter dem Putz: Bild mit Maßlinien-Liste */
.putz .raster { display: grid; gap: 28px; }
.putz figure { margin: 0; }
.putz figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--papier-2); }
.befunde { display: grid; gap: 0; border-top: 1px solid var(--graphit); }
.befund { display: grid; gap: 6px; padding: 18px 0 20px; border-bottom: 1px solid var(--linie); }
.befund .k { color: var(--schnur); }
@media (min-width: 900px) { .putz .raster { grid-template-columns: 1.1fr 1fr; column-gap: 56px; align-items: end; } }

/* Nachbarn: Aushang */
.nachbarn .raster { display: grid; gap: 32px; }
.nachbarn figure { margin: 0; }
.nachbarn figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--papier-2); }
.aushang { position: relative; background: var(--putz); padding: 34px 26px 26px; box-shadow: 0 22px 44px -30px rgba(36,35,31,.55), 0 0 0 1px var(--linie); transform: rotate(-.6deg); max-width: 520px; }
.aushang::before, .aushang::after { content: ""; position: absolute; top: -10px; width: 96px; height: 24px; }
.aushang::before { left: 14px; transform: rotate(-8deg); }
.aushang::after { right: 14px; transform: rotate(7deg); }
.aushang::before, .aushang::after { background: repeating-linear-gradient(92deg, rgba(255,255,255,.22) 0 2px, transparent 2px 5px), var(--krepp); box-shadow: 0 0 0 1px var(--krepp-kante) inset; opacity: .95; }
.aushang h3 { font-size: 26px; margin-bottom: 14px; }
.aushang dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0; font: 500 14px/1.45 var(--mono); }
.aushang dt { color: var(--graphit-2); }
.aushang dd { margin: 0; }
.aushang .gruss { font: 500 13px var(--mono); color: var(--graphit-2); }
.zusagen { display: grid; gap: 0; border-top: 1px solid var(--graphit); margin-top: 8px; }
.zusagen li { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.zusagen b { display: block; font-stretch: 85%; font-size: 19px; }
@media (min-width: 900px) { .nachbarn .raster { grid-template-columns: 1fr 1fr; column-gap: 56px; align-items: start; } }

/* Fragen */
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen .liste { border-top: 1px solid var(--graphit); max-width: 860px; }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; font-stretch: 85%; font-size: clamp(18px, 1.9vw, 22px); line-height: 1.2; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font: 500 22px/1 var(--mono); color: var(--schnur); }
.fragen details[open] summary::after { content: "–"; }
.fragen .antwort { padding: 0 0 20px; display: grid; gap: 8px; color: var(--graphit-2); }
.fragen .antwort b { color: var(--graphit); font-weight: 600; }
.fragen .hinweis-recht { margin-top: 18px; font: 500 12px var(--mono); color: var(--graphit-2); }

/* Anfrage */
.anfrage .raster { display: grid; gap: 32px; }
.zettel { position: relative; background: var(--putz); padding: 26px 22px 22px; box-shadow: 0 18px 40px -30px rgba(36,35,31,.5), 0 0 0 1px var(--linie); }
.zettel::before { content: ""; position: absolute; top: -10px; left: 40%; width: 84px; height: 22px; background: var(--krepp); box-shadow: 0 0 0 1px var(--krepp-kante) inset; transform: rotate(-3deg); }
.zettel-kopf { font-weight: 800; font-stretch: 80%; font-size: 22px; line-height: 1.1; margin-bottom: 12px; }
.zettel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font: 500 14px var(--mono); }
.zettel dt { color: var(--graphit-2); } .zettel dd { margin: 0; }
.zettel .aendern { margin-top: 14px; }
.formular { display: grid; gap: 16px; }
.feld { display: grid; gap: 6px; }
.feld > span { font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphit-2); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 10px 12px; background: var(--putz); border: 1px solid var(--graphit-2); border-radius: 0; font-size: 16px; }
.feld textarea { min-height: 92px; resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--schnur); outline-offset: 0; border-color: var(--schnur); }
.feld-reihe { display: grid; gap: 16px; }
.formular .klein, .danke .klein { font: 500 12px var(--mono); color: var(--graphit-2); }
.fehler:empty { display: none; }
.feld input[aria-invalid="true"] { border-color: var(--schnur); box-shadow: inset 0 0 0 1px var(--schnur); }
.fehler { color: var(--graphit); font: 600 13px var(--mono); border-left: 3px solid var(--schnur); padding: 4px 0 4px 10px; }
.danke { background: var(--putz); padding: 24px; box-shadow: 0 0 0 1px var(--linie); display: grid; gap: 10px; }
.danke h3 { font-size: 28px; }
@media (min-width: 700px) { .feld-reihe { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .anfrage .raster { grid-template-columns: .9fr 1.1fr; column-gap: 56px; align-items: start; } .zettel { position: sticky; top: 88px; } }

/* Leiste beim Weiterscrollen (Handy): Wahl und Aktion bleiben greifbar */
.leiste { position: fixed; left: 0; right: 0; bottom: 76px; z-index: 60; padding: 0 var(--rand); transform: translateY(calc(100% + 100px)); visibility: hidden; transition: transform .3s, visibility 0s .3s; pointer-events: none; }
.leiste.zeigen { transform: none; visibility: visible; pointer-events: auto; transition: transform .3s, visibility 0s; }
.leiste a { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; min-height: 50px; padding: 10px 16px; background: var(--graphit); color: var(--putz); text-decoration: none; font-weight: 700; font-stretch: 90%; box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.leiste a span:last-child { font: 600 12.5px var(--mono); color: var(--schnur-hell); white-space: nowrap; }
@media (min-width: 900px) { .leiste { display: none; } }

/* Fuß */
.ft { padding: 64px 0 120px; border-top: 2px solid var(--graphit); background: var(--putz); }
.ft .wrap { display: grid; gap: 24px; }
.ft-marke { font-weight: 800; font-stretch: 125%; letter-spacing: .05em; font-size: clamp(48px, 11vw, 150px); line-height: .9; }
.ft-spalten { display: grid; gap: 20px; font-size: 15px; }
.ft-spalten p { color: var(--graphit-2); }
.ft-note { font: 500 12px var(--mono); color: var(--graphit-2); }
@media (min-width: 900px) { .ft-spalten { grid-template-columns: 1fr 1fr 2fr; gap: 40px; } }

.reduce *, .reduce *::before, .reduce *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
/* Kennung */ :root { --ic-enz-e968: 1; }
@media (max-width: 379px) { .ab-380 { display: none; } }
/* Kennung */ :root { --ic-enz-e968: 1; }
.moment-kopf h2 { text-wrap: balance; }
/* Kennung */ :root { --ic-enz-e968: 1; }
