/* OT Bau-Objektservice
   Gestaltung aus der eigenen Welt: Visitenkarte Variante 3 „Bau-Grafik“.
   Millimeterpapier (Beton), Graphit, Ziegelrot, Barlow / Barlow Condensed,
   Maßband-Striche als Erkennungszeichen. Fassung 06.11.2026. */

@font-face{font-family:"Barlow";src:url("../fonts/barlow-400-latin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("../fonts/barlow-600-latin.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("../fonts/barlowcondensed-600-latin.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow Condensed";src:url("../fonts/barlowcondensed-700-latin.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --beton:#E5E2DC;
  --papier:#F2F0EB;
  --graphit:#2A2A2C;
  --anthrazit:#1E1E21;
  --ziegel:#B5482F;
  --ziegel-tief:#9A3C26;
  --ziegel-hell:#D9765C;
  --hell:#EDEBE7;
  --text-leise:#5E5B56;
  --linie:rgba(42,42,44,.22);
  --breite:1160px;
  --rand:clamp(20px,5vw,52px);
  --schmal:"Barlow Condensed","Arial Narrow",sans-serif;
  /* Millimeterpapier wie auf der Visitenkarte */
  --raster:
    linear-gradient(rgba(42,42,44,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(42,42,44,.075) 1px,transparent 1px),
    linear-gradient(rgba(42,42,44,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(42,42,44,.035) 1px,transparent 1px);
  --raster-dunkel:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  /* Maßband: kurze Striche alle 8 px, lange alle 40 px */
  --massband:
    repeating-linear-gradient(90deg,rgba(42,42,44,.55) 0 1px,transparent 1px 8px) bottom/100% 5px no-repeat,
    repeating-linear-gradient(90deg,rgba(42,42,44,.75) 0 1px,transparent 1px 40px) bottom/100% 10px no-repeat;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--beton)}
body{
  margin:0;color:var(--graphit);
  background-color:var(--beton);background-image:var(--raster);
  background-size:20px 20px,20px 20px,4px 4px,4px 4px;
  font-family:"Barlow","Segoe UI",system-ui,sans-serif;font-size:18px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:var(--ziegel)}
h1,h2,h3{margin:0;font-family:var(--schmal);font-weight:700;line-height:1;text-transform:uppercase;letter-spacing:.02em}
h2{font-size:clamp(2.2rem,4vw,3.2rem);margin-bottom:22px}
p{margin:0 0 1em}
::selection{background:var(--ziegel);color:#fff}
:focus-visible{outline:2px solid var(--ziegel);outline-offset:3px}

.ico{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sprung{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;background:var(--ziegel);color:#fff;font-weight:600;text-decoration:none}
.sprung:focus{top:12px}
.huelle{max-width:var(--breite);margin:0 auto;padding:0 var(--rand)}

/* ---------- Kopfzeile ---------- */
.kopf{
  position:absolute;top:0;left:0;right:0;z-index:40;min-height:84px;
  display:flex;align-items:center;justify-content:center;padding:18px var(--rand);
}
.menue{display:flex;align-items:center;gap:clamp(18px,3vw,34px)}
.menue a{
  color:var(--graphit);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent;
  font-family:var(--schmal);font-weight:600;font-size:1.12rem;letter-spacing:.05em;text-transform:uppercase;
}
.menue a:hover,.menue a:focus-visible{border-bottom-color:var(--ziegel)}
.menue .menue-tel{display:flex;align-items:center;gap:8px;padding-left:clamp(18px,3vw,34px);border-left:2px solid var(--ziegel)}
.menue .menue-tel .ico{color:var(--ziegel);font-size:1.05rem}
.kopf-tel{
  position:absolute;right:var(--rand);top:50%;transform:translateY(-50%);
  display:flex;align-items:center;gap:8px;color:var(--graphit);text-decoration:none;
  font-family:var(--schmal);font-weight:600;font-size:1.12rem;letter-spacing:.05em;
}
.kopf-tel .ico{color:var(--ziegel)}

/* ---------- Bühne ---------- */
.buehne{position:relative;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
.partikel{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
.buehne-innen{
  position:relative;z-index:3;flex:1 1 auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:100px var(--rand) 50px;text-align:center;
}
.schriftzug{display:flex;flex-direction:column;align-items:center;font-weight:700;text-transform:uppercase}
.logo-platz{display:block;width:clamp(170px,22vw,290px);aspect-ratio:200/140;margin:0 auto 18px}
.logo-bild{width:100%;height:100%}
.wort{white-space:nowrap;display:block}
.wort-name{font-family:var(--schmal);font-weight:700;font-size:clamp(3.2rem,8vw,6.6rem);line-height:.9;letter-spacing:.02em;color:var(--graphit)}
/* OBJEKTSERVICE: jeder Buchstabe sitzt in einem eigenen 20-px-Kästchen des
   Millimeterpapiers, keine Rasterlinie läuft durch einen Buchstaben.
   seite.js schiebt die Reihe dafür genau aufs Raster. */
.wort-zusatz{margin-top:14px;color:var(--ziegel)}
.felder{display:flex}
.felder i{
  flex:0 0 20px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;
  font-style:normal;font-family:var(--schmal);font-weight:700;font-size:20px;line-height:1;
  padding-top:2px;
}
.trenner{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.zusatz{margin:clamp(24px,4vh,40px) 0 0;font-size:clamp(1.02rem,1.5vw,1.2rem);color:var(--text-leise)}

/* Ablauf: Nur das Logo setzt sich aus Partikeln zusammen, Schrift steht sofort */
.js-partikel .logo-bild{opacity:0;transition:opacity .45s ease}
.ist-da .logo-bild{opacity:1}

/* Band unten wie auf der Visitenkarte: Graphit, Ziegel-Kante, Maßband darüber */
.band{
  position:relative;z-index:3;background:var(--graphit);color:var(--hell);
  border-top:4px solid var(--ziegel);
}
.band::before{content:"";position:absolute;left:0;right:0;top:-18px;height:12px;background:var(--massband)}
.wege{display:flex;padding-top:22px;padding-bottom:24px}
.wege > *{flex:1 1 0;display:flex;gap:14px;align-items:flex-start;color:var(--hell);text-decoration:none}
.wege > * + *{padding-left:clamp(18px,3vw,36px);margin-left:clamp(18px,3vw,36px);border-left:1px solid rgba(255,255,255,.14)}
.wege .ico{font-size:1.3rem;color:var(--ziegel-hell);margin-top:3px}
.weg-name{display:block;font-family:var(--schmal);font-weight:600;font-size:1.25rem;letter-spacing:.05em;text-transform:uppercase;line-height:1.2}
.weg-info{display:block;font-size:.98rem;color:rgba(237,235,231,.75)}
.wege a:hover .weg-name{color:var(--ziegel-hell)}

/* ---------- Leistungen ---------- */
.block{padding:clamp(70px,9vw,120px) 0}
.leistungen-raster{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(40px,6vw,90px);align-items:start}
.leistungen-text{position:relative;max-width:34em}
.skizze{position:absolute;right:0;top:-8px;width:clamp(90px,10vw,124px);height:auto;color:var(--ziegel);opacity:.5}
.einleitung{font-size:clamp(1.18rem,1.7vw,1.35rem);line-height:1.5;margin-bottom:18px;padding-right:clamp(0px,9vw,130px)}
.leistungen-text p:not(.einleitung){color:var(--text-leise)}

.tafel{
  position:relative;background-color:var(--graphit);background-image:var(--raster-dunkel);background-size:20px 20px;
  color:var(--hell);padding:clamp(22px,3vw,34px) clamp(22px,3vw,34px) clamp(22px,3vw,34px) clamp(34px,4vw,48px);
}
.tafel::before{content:"";position:absolute;left:clamp(16px,2vw,22px);top:28px;bottom:28px;width:4px;background:var(--ziegel)}
.leistungen{list-style:none;margin:0;padding:0}
.leistungen li{
  display:flex;align-items:center;gap:14px;padding:13px 0;
  font-family:var(--schmal);font-weight:600;font-size:clamp(1.15rem,1.6vw,1.35rem);letter-spacing:.05em;text-transform:uppercase;line-height:1.2;
}
.leistungen li + li{border-top:1px solid rgba(255,255,255,.12)}
.leistungen .ico{font-size:1.55rem;color:var(--ziegel-hell);stroke-width:1.4}

/* ---------- Kontakt ---------- */
.block-kontakt{position:relative;border-top:4px solid var(--graphit)}
.block-kontakt::before{content:"";position:absolute;left:0;right:0;top:-18px;height:12px;background:var(--massband)}
.kontakt{display:grid;grid-template-columns:1fr 1.35fr;gap:clamp(40px,6vw,90px);align-items:start}

/* Schild wie am Bauzaun: weiße Tafel, dunkler Rand, Kopfleiste */
.schild{background:var(--papier);border:3px solid var(--graphit);box-shadow:6px 6px 0 rgba(42,42,44,.18)}
.schild-kopf{margin:0;padding:14px 20px 12px;background:var(--graphit);color:var(--hell);border-bottom:4px solid var(--ziegel);font-size:clamp(1.8rem,3vw,2.3rem)}
.daten{margin:0;padding:6px 20px 10px}
.daten div{padding:13px 0}
.daten div + div{border-top:1px solid var(--linie)}
.daten dt{font-family:var(--schmal);font-weight:600;font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ziegel)}
.daten dd{margin:2px 0 0;font-size:1.08rem;font-weight:600}
.daten dd a{color:var(--graphit);text-decoration:none}
.daten dd a:hover{color:var(--ziegel)}

.formular h2{margin-bottom:10px}
.formular-hinweis{color:var(--text-leise);margin-bottom:24px;max-width:36em}
.feldreihe{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.feld{display:block;margin-bottom:16px}
.feld span{display:block;margin-bottom:5px;font-family:var(--schmal);font-weight:600;font-size:1.02rem;letter-spacing:.06em;text-transform:uppercase}
.feld input,.feld select,.feld textarea{
  width:100%;padding:12px 13px;font:inherit;font-size:1rem;color:var(--graphit);
  background:var(--papier);border:2px solid var(--graphit);border-radius:0;
}
.feld select{
  appearance:none;-webkit-appearance:none;padding-right:42px;
  background-image:linear-gradient(45deg,transparent 50%,var(--graphit) 50%),linear-gradient(135deg,var(--graphit) 50%,transparent 50%);
  background-position:calc(100% - 22px) 52%,calc(100% - 16px) 52%;background-size:6px 6px;background-repeat:no-repeat;
}
.feld textarea{resize:vertical;min-height:130px}
.feld input:focus,.feld select:focus,.feld textarea:focus{outline:none;border-color:var(--ziegel);background:#fff}
.feld.fehlt input,.feld.fehlt textarea{border-color:var(--ziegel);background:#fbefeb}
.falle{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.zustimmung{display:flex;gap:12px;align-items:flex-start;font-size:.95rem;color:var(--text-leise);line-height:1.5;margin:4px 0 16px;cursor:pointer}
.zustimmung input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--ziegel)}
.formular-meldung{min-height:1.2em;font-weight:600;margin:0 0 14px}
.formular-meldung.ok{color:#2f6b2a}
.formular-meldung.fehler{color:var(--ziegel-tief)}

.knopfzeile{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0}
.knopf{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 30px;
  /* Ziegelmauer: 4 Reihen, im Läuferverband versetzt, Fugen in Mörtelgrau */
  background:#A9A296 url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='112' height='28'><rect width='112' height='28' fill='%23A9A296'/><rect x='1' y='1' width='26' height='12' fill='%239E3D27'/><rect x='1' y='1' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='1' y='11.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='29' y='1' width='26' height='12' fill='%238A3420'/><rect x='29' y='1' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='29' y='11.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='57' y='1' width='26' height='12' fill='%23A5432B'/><rect x='57' y='1' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='57' y='11.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='85' y='1' width='26' height='12' fill='%2393382A'/><rect x='85' y='1' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='85' y='11.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='-13' y='15' width='26' height='12' fill='%237E3220'/><rect x='-13' y='15' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='-13' y='25.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='15' y='15' width='26' height='12' fill='%23A03F2A'/><rect x='15' y='15' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='15' y='25.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='43' y='15' width='26' height='12' fill='%238F3A25'/><rect x='43' y='15' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='43' y='25.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='71' y='15' width='26' height='12' fill='%23965034'/><rect x='71' y='15' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='71' y='25.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/><rect x='99' y='15' width='26' height='12' fill='%239E3D27'/><rect x='99' y='15' width='26' height='1' fill='%23fff' fill-opacity='.07'/><rect x='99' y='25.5' width='26' height='1.5' fill='%23000' fill-opacity='.18'/></svg>") 50% 0/112px 28px repeat;
  color:#fff;border:0;border-radius:0;cursor:pointer;text-decoration:none;
  box-shadow:0 0 0 2px #A9A296,4px 4px 0 2px rgba(42,42,44,.22);
  font-family:var(--schmal);font-weight:700;font-size:1.3rem;letter-spacing:.08em;text-transform:uppercase;
  text-shadow:0 1px 0 rgba(0,0,0,.45),0 0 4px rgba(40,12,6,.5);
  transition:filter .2s ease,transform .15s ease,box-shadow .15s ease;
}
.knopf:hover,.knopf:focus-visible{filter:brightness(1.12)}
.knopf:active{transform:translate(2px,2px);box-shadow:0 0 0 2px #A9A296,2px 2px 0 2px rgba(42,42,44,.22)}
.knopf-rand{background:transparent;color:var(--graphit);box-shadow:inset 0 0 0 2px var(--graphit);text-shadow:none}
.knopf-rand:hover,.knopf-rand:focus-visible{background:var(--graphit);color:var(--hell);filter:none}
.knopf[disabled]{opacity:.6;cursor:wait}

/* ---------- Fußzeile ---------- */
.fuss{position:relative;background:var(--graphit);color:var(--hell);border-top:4px solid var(--ziegel);padding:38px 0 34px}
.fuss::before{content:"";position:absolute;left:0;right:0;top:-18px;height:12px;background:var(--massband)}
.fuss-innen{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
.fuss-marke{display:flex;align-items:center;gap:16px}
.fuss-marke img{width:66px;height:auto}
.fuss-marke p{margin:0;font-size:.95rem;line-height:1.5;color:rgba(237,235,231,.8)}
.fuss-marke b{font-family:var(--schmal);font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hell)}
.fuss-links{display:flex;gap:26px}
.fuss-links a{color:var(--hell);text-decoration:none;font-family:var(--schmal);font-weight:600;font-size:1.1rem;letter-spacing:.06em;text-transform:uppercase}
.fuss-links a:hover{color:var(--ziegel-hell)}
.fuss-klein{width:100%;margin:6px 0 0;font-size:.85rem;color:rgba(237,235,231,.5)}

.leiste{display:none}

/* ---------- Rechtstexte ---------- */
.seite-text{padding:150px 0 110px}
.seite-text .huelle{max-width:820px}
.seite-text h1{font-size:clamp(2.6rem,5vw,3.6rem);margin-bottom:28px}
.seite-text h2{font-size:1.6rem;margin:36px 0 10px}
.seite-text p,.seite-text li{color:#3d3b38}
.seite-text a{color:var(--ziegel)}
.kopf-zurueck{
  position:absolute;left:var(--rand);top:50%;transform:translateY(-50%);
  display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--graphit);
  font-family:var(--schmal);font-weight:600;font-size:1.12rem;letter-spacing:.05em;text-transform:uppercase;
}
.kopf-zurueck img{width:58px;height:auto}

/* ---------- Breiten ---------- */
@media (max-width:980px){
  .leistungen-raster,.kontakt{grid-template-columns:1fr}
}
@media (max-width:860px){
  .menue a:not(.menue-tel){display:none}
  .menue .menue-tel{padding-left:0;border-left:0}
  .kopf{justify-content:flex-end}
  .kopf-tel{position:static;transform:none}
  .kopf-start{justify-content:center}
  .wege{flex-direction:column}
  .wege > * + *{padding-left:0;margin-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.14);padding-top:14px;margin-top:14px}
}
@media (max-width:640px){
  body{font-size:17px;padding-bottom:60px}
  .kopf-start{display:none}
  .buehne-innen{padding-top:60px}
  .logo-platz{width:clamp(170px,52vw,250px)}
  .felder i{font-size:18px}
  .einleitung{padding-right:90px}
  .skizze{width:80px}
  .feldreihe{grid-template-columns:1fr}
  .kopf-tel span{display:none}
  .kopf-tel{width:44px;height:44px;justify-content:center;border:2px solid var(--graphit)}
  .leiste{
    display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:80;
    background:var(--graphit);border-top:3px solid var(--ziegel);padding-bottom:env(safe-area-inset-bottom);
  }
  .leiste a{
    display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;color:var(--hell);text-decoration:none;
    font-family:var(--schmal);font-weight:700;font-size:1.15rem;letter-spacing:.06em;text-transform:uppercase;
  }
  .leiste a:first-child{background:var(--ziegel);color:#fff}
  .leiste .ico{font-size:1.15rem}
  .seite-text{padding-top:120px}
  .kopf-zurueck span{display:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js-partikel .logo-bild{opacity:1;transition:none}
}
