/* LA BAU Digital: Papier, Tinte, Gold. Eine Schrift fuer Ueberschriften, eine fuer Text. */
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("schriften/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("schriften/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("schriften/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("schriften/public-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --papier: #f4f1ea;
  --flaeche: #ebe6da;
  --tinte: #141b26;
  --tinte-2: #3a4352;
  --grau: #6b7280;
  --gold: #b8893a;
  --gold-hell: #d9b46a;
  --linie: #d8d1c1;
  --nacht: #101620;
  --radius: 14px;
  --breite: 1200px;
  --rand: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 17px/1.6 "Public Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }
h1 { font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.ueber { font: 600 0.8rem/1 "Public Sans", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.leise { color: var(--tinte-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Navigation */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--papier) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.15rem/1 "Archivo", sans-serif; letter-spacing: -0.01em; }
.marke-zeichen { width: 38px; height: 38px; border-radius: 10px; background: var(--tinte); color: var(--gold-hell); display: grid; place-items: center; font-size: 0.95rem; letter-spacing: 0; }
.marke span.dig { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--tinte-2); position: relative; }
.nav a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.knopf):hover::after { transform: scaleX(1); } }
.menue-knopf { display: none; background: none; border: 1px solid var(--linie); border-radius: 10px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; color: var(--tinte); }

/* Knoepfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 "Public Sans", sans-serif; text-decoration: none; cursor: pointer; border: 1.5px solid var(--tinte); transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.knopf:active { transform: scale(0.97); }
.knopf.voll { background: var(--tinte); color: var(--papier); }
.knopf.rand { background: transparent; color: var(--tinte); }
@media (hover: hover) and (pointer: fine) {
  .knopf.voll:hover { background: #26303f; }
  .knopf.rand:hover { background: var(--tinte); color: var(--papier); }
}
.nav .knopf { min-height: 42px; padding: 0 18px; color: var(--papier); }

/* Abschnitte */
main > section { padding: clamp(80px, 11vw, 140px) 0; }
.kopfzeile { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.kopfzeile p { margin-top: 18px; font-size: 1.1rem; }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px) !important; padding-bottom: clamp(64px, 8vw, 110px) !important; min-height: calc(100svh - 72px); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .unter { margin-top: 26px; font-size: 1.2rem; max-width: 540px; color: var(--tinte-2); }
.hero .aktionen { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.fakten { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--linie); }
.fakten div { font-size: 0.92rem; color: var(--grau); }
.fakten strong { display: block; font: 800 1.35rem/1.2 "Archivo", sans-serif; color: var(--tinte); }
.buehne { position: relative; aspect-ratio: 1.1 / 1; }
.buehne .pc { position: absolute; left: 0; top: 6%; width: 88%; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(20, 27, 38, 0.45), 0 0 0 1px rgba(20, 27, 38, 0.08); background: var(--nacht); }
.buehne .pc .leiste { height: 26px; background: #1e2633; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.buehne .pc .leiste i { width: 9px; height: 9px; border-radius: 50%; background: #3b4554; }
.buehne .handy { position: absolute; right: 0; bottom: 0; width: 31%; border-radius: 26px; overflow: hidden; border: 6px solid var(--tinte); box-shadow: 0 30px 50px -18px rgba(20, 27, 38, 0.55); background: var(--nacht); }

/* Leistungen */
.leistungen { background: var(--flaeche); }
.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .karte:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(20, 27, 38, 0.35); } }
.karte .zeichen { width: 46px; height: 46px; border-radius: 12px; background: var(--tinte); color: var(--gold-hell); display: grid; place-items: center; }
.karte .zeichen svg { width: 24px; height: 24px; }
.karte p { color: var(--tinte-2); font-size: 0.98rem; }
.karte ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 0.93rem; color: var(--tinte-2); }
.karte li::before { content: "– "; color: var(--gold); }

/* Referenzen */
.projekt { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--linie); }
.projekt:last-child { border-bottom: 1px solid var(--linie); }
.projekt:nth-child(even) .bild { order: 2; }
.projekt .bild { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(20, 27, 38, 0.45), 0 0 0 1px rgba(20, 27, 38, 0.08); }
.projekt .bild img { transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .projekt .bild:hover img { transform: scale(1.025); } }
.projekt .art { font-size: 0.85rem; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.projekt h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 10px 0 14px; font-weight: 800; }
.projekt p { color: var(--tinte-2); }
.projekt .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.projekt .chips span { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); }
.projekt .link { display: inline-block; margin-top: 18px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Baustelle (dunkel) */
.baustelle { background: var(--nacht); color: #e9edf3; }
.baustelle .ueber { color: var(--gold-hell); }
.baustelle .leise { color: #a8b2c1; }
.baustelle .wrap { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.baustelle ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.baustelle li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: #d3dae4; }
.baustelle li b { color: #fff; font-weight: 600; }
.baustelle li svg { width: 22px; height: 22px; color: var(--gold-hell); margin-top: 3px; }
.geraet { width: min(330px, 100%); margin: 0 auto; background: #0b0f16; border: 8px solid #252d3a; border-radius: 34px; padding: 18px 14px 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); font-size: 0.82rem; }
.geraet .titel { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 600; margin: 4px 4px 14px; }
.geraet .titel small { color: var(--gold-hell); font-weight: 600; }
.foto { background: #151c27; border: 1px solid #263042; border-radius: 14px; padding: 10px; margin-bottom: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.foto .vorschau { border-radius: 9px; aspect-ratio: 1; background: linear-gradient(160deg, #6b5a3e, #3a3226 55%, #1d2530); position: relative; overflow: hidden; }
.foto .vorschau::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 22%; height: 3px; background: #f59e0b; border-radius: 2px; box-shadow: 0 -6px 0 #3b82f6; }
.foto b { display: block; color: #fff; font-weight: 600; font-size: 0.85rem; }
.foto span { color: #8f9bad; display: block; line-height: 1.45; }
.foto .ok { color: #4ade80; }
.geraet .pdf { margin-top: 12px; text-align: center; background: var(--gold-hell); color: var(--tinte); border-radius: 12px; padding: 11px; font-weight: 700; }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.schritt { border-top: 3px solid var(--tinte); padding-top: 22px; }
.schritt::before { counter-increment: s; content: "0" counter(s); font: 800 2.6rem/1 "Archivo", sans-serif; color: var(--gold); display: block; margin-bottom: 18px; }
.schritt p { color: var(--tinte-2); margin-top: 10px; font-size: 0.98rem; }

/* Gross */
.gross { background: var(--flaeche); }
.gross .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.gross .zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gross .zahl { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; }
.gross .zahl strong { display: block; font: 800 2.2rem/1 "Archivo", sans-serif; margin-bottom: 8px; }
.gross .zahl > span { color: var(--tinte-2); font-size: 0.95rem; }

/* Preise */
.preise .raster { grid-template-columns: repeat(3, 1fr); }
.preis { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.preis.hervor { background: var(--tinte); color: #eef1f5; border-color: var(--tinte); }
.preis.hervor .leise, .preis.hervor li { color: #b9c2cf; }
.preis .betrag { font: 800 2.6rem/1 "Archivo", sans-serif; margin: 18px 0 6px; }
.preis .betrag small { font-size: 1rem; font-weight: 600; }
.preis ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 0.97rem; color: var(--tinte-2); flex: 1; }
.preis li::before { content: "✓  "; color: var(--gold); font-weight: 700; }
.preis.hervor .knopf.voll { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--tinte); }
@media (hover: hover) and (pointer: fine) { .preis.hervor .knopf.voll:hover { background: #e6c584; } }
.hinweis { margin-top: 22px; font-size: 0.92rem; color: var(--grau); }

/* Kontakt */
.kontakt .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 90px); }
.kontakt .wege { margin-top: 30px; display: grid; gap: 14px; }
.kontakt .wege a { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 16px 18px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); font-weight: 600; transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.kontakt .wege a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .kontakt .wege a:hover { border-color: var(--gold); } }
.kontakt .wege small { display: block; font-weight: 400; color: var(--grau); }
form { display: grid; gap: 16px; background: var(--flaeche); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--tinte); background: var(--papier); border: 1.5px solid var(--linie); border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color 160ms ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tinte); }
textarea { min-height: 130px; resize: vertical; }
.zweier { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formhinweis { font-size: 0.85rem; color: var(--grau); }
.formhinweis a { color: var(--tinte); }

/* Fuss */
.fuss { background: var(--tinte); color: #b9c2cf; padding: 56px 0 40px; font-size: 0.93rem; }
.fuss .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fuss .marke { color: #fff; }
.fuss nav { display: flex; gap: 22px; flex-wrap: wrap; }
.fuss a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fuss a:hover { color: #fff; } }
.fuss .unten { width: 100%; padding-top: 24px; border-top: 1px solid #2a3443; color: #8691a1; }

/* Hero-Auftritt: einmal beim Laden */
[data-enter] > * { animation: rein 700ms var(--ease-out) both; }
[data-enter] > *:nth-child(2) { animation-delay: 120ms; }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } }
.buehne .pc { animation: rein 900ms var(--ease-out) 150ms both; }
.buehne .handy { animation: rein 900ms var(--ease-out) 380ms both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Rechtstexte */
.text { max-width: 760px; padding: 64px 0 96px; }
.text h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 28px; }
.text h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.text p { margin-bottom: 12px; color: var(--tinte-2); }

/* Tablet und Handy */
@media (max-width: 1020px) {
  .raster, .preise .raster { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
}
@media (max-width: 860px) {
  .menue-knopf { display: grid; place-items: center; }
  .nav { display: none; position: fixed; inset: 72px 0 0 0; background: var(--papier); flex-direction: column; align-items: stretch; padding: 24px var(--rand); gap: 4px; }
  .nav.offen { display: flex; }
  .nav a { font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .nav a::after { display: none; }
  .nav .knopf { margin-top: 18px; min-height: 52px; border-bottom: 0; }
  .hero { min-height: 0; }
  .hero .wrap, .baustelle .wrap, .gross .wrap, .kontakt .wrap, .projekt { grid-template-columns: 1fr; }
  .projekt:nth-child(even) .bild { order: 0; }
  .buehne { max-width: 560px; margin-top: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .raster, .preise .raster, .schritte, .gross .zahlen, .zweier { grid-template-columns: 1fr; }
  .hero .aktionen .knopf { width: 100%; }
  .fakten { gap: 18px 26px; }
  .preis .knopf { width: 100%; }
}

[aria-invalid="true"] { border-color: #b42318; }

.fuss .marke-zeichen { background: var(--gold-hell); color: var(--tinte); }
svg.marke-zeichen { display: block; width: 38px; height: 38px; background: none; }
.fuss svg.marke-zeichen rect { fill: #222c3b; }
