/* Florian Peters Baudienstleistungen
   Gestaltung: „Schnitt A–A“ – Papier, Tinte, Signalorange. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F2EEE6;
  --paper-2: #E8E1D3;
  --card: #FAF8F3;
  --ink: #17324D;
  --ink-2: #2B3D50;
  --night: #0F2236;
  --night-2: #183049;
  --night-line: #2E4660;
  --on-night: #F2EEE6;
  --on-night-2: #B9C3CE;
  --muted: #55606C;
  --line: #D9D1C1;
  --line-2: #C3B9A6;
  --signal: #E07B24;
  --signal-hover: #EA8B37;
  --signal-text: #94460A;

  --ff: "Archivo", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.2vw, 64px);
  --radius: 6px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 750; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--night); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: var(--on-night); padding: 12px 16px; border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

/* ---------- Kleinteile ---------- */
.eyebrow, .sec-label, .facts dt, .contact-list dt, .plan-caption span, .lageplan figcaption span {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow { color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--signal); }

.stars { color: var(--signal); letter-spacing: 0.12em; font-size: 0.95em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 64px; padding: 14px 26px; font-size: 1.0625rem; }
.btn-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.btn-signal { background: var(--signal); color: var(--night); }
.btn-signal:hover { background: var(--signal-hover); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--night-line); color: var(--on-night); background: transparent; }
.btn-ghost:hover { border-color: var(--on-night-2); }
.btn-ghost-dark { border-color: var(--night-line); color: var(--on-night); }
.btn-num { display: block; font-family: var(--ff-mono); font-weight: 500; font-size: .8125rem; letter-spacing: .04em; margin-top: 3px; }
.btn-lg span { text-align: left; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; text-decoration: none; color: inherit;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow[target="_blank"]::after { content: "↗"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 750; font-stretch: 112%; font-size: 1.1875rem; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--ff-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a { text-decoration: none; font-size: .9375rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; padding-left: 28px; border-left: 1px solid var(--line); }
.nav-call-num { font-weight: 750; font-stretch: 108%; font-size: 1.0625rem; }
.nav-call-sub { font-family: var(--ff-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-call:hover .nav-call-num { color: var(--signal-text); }

.header-phone, .menu-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.0625rem; }
  .header-in { gap: 10px; }
  .header-phone, .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: var(--radius); flex: none;
  }
  .header-phone { background: var(--signal); color: var(--night); }
  .header-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .menu-toggle { border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
  .menu-toggle-bars { display: flex; flex-direction: column; gap: 6px; }
  .menu-toggle-bars span { display: block; width: 18px; height: 1.8px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3.9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-3.9px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font-size: 1.25rem; font-weight: 650; font-stretch: 108%; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-call { align-items: flex-start; border: 0; padding: 20px 0 0; }
  .nav-call-num { font-size: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(28px, 5vw, 56px); }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23, 50, 77, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 50, 77, .055) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 70% at 75% 45%, #000 20%, transparent 75%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-title { font-size: clamp(2.6rem, 0.4rem + 3.9vw, 3.85rem); line-height: 1.02; font-stretch: 112%; letter-spacing: -0.03em; max-width: 14ch; hyphens: manual; }
.hero-lead { font-size: clamp(1.0625rem, .98rem + .35vw, 1.25rem); color: var(--ink-2); margin: 26px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { font-size: .875rem; color: var(--muted); margin: 14px 0 0; }
.hero-quote { margin: 36px 0 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--signal); max-width: 30em; }
.hero-quote blockquote { margin: 0; }
.hero-quote blockquote p { margin: 0; font-size: 1.1875rem; line-height: 1.4; font-weight: 550; letter-spacing: -0.005em; }
.hero-quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 8px; font-size: .875rem; color: var(--muted); }
.hero-quote figcaption a { color: var(--ink); text-underline-offset: 3px; }

.hero-plan { position: relative; }
.plan-frame { position: relative; }
.haus { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.haus .ln { stroke: currentColor; stroke-width: 1.3; fill: none; }
.haus .ln.paper, .haus .paper.ln { fill: var(--paper); }
.haus .paper { fill: var(--paper); }
.haus .ln2 { stroke: currentColor; stroke-width: 2; }
.haus .roofline { stroke-width: 1.6; }
.haus .hl { stroke: currentColor; stroke-width: .8; opacity: .55; fill: none; }
.haus .dot { fill: currentColor; opacity: .5; }
.haus .ins { stroke: var(--signal); stroke-width: 1; fill: none; }
.haus .dash { stroke: currentColor; stroke-width: .8; stroke-dasharray: 3 3; fill: none; }
.haus .faint { opacity: .35; }
.haus .soil { opacity: .55; }
.haus .fade { fill: none; }
.haus .nost { stroke: none; }
.haus .lbl { font-family: var(--ff-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; fill: currentColor; }
.haus .is-hot { color: var(--signal-text); }

/* Zeichnung baut sich auf */
.js .haus .ln, .js .haus .ln2, .js .haus .ins { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-plan.is-in .haus .ln, .js .hero-plan.is-in .haus .ln2, .js .hero-plan.is-in .haus .ins { animation: draw 1.5s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
.js .haus .hl, .js .haus .dot, .js .haus .soil, .js .haus .lbl, .js .haus .dash { opacity: 0; transition: opacity .9s ease .9s; }
.js .hero-plan.is-in .haus .hl { opacity: .55; }
.js .hero-plan.is-in .haus .dot { opacity: .5; }
.js .hero-plan.is-in .haus .soil { opacity: .55; }
.js .hero-plan.is-in .haus .lbl, .js .hero-plan.is-in .haus .dash { opacity: 1; }
.js .hero-plan.is-in .haus .faint { opacity: .35; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.spot {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0;
  padding: 0; border: 0; background: none; cursor: pointer;
  min-width: 44px; min-height: 44px; justify-content: center;
}
.spot span {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--signal); color: var(--night);
  font-family: var(--ff-mono); font-size: .6875rem; font-weight: 500;
  box-shadow: 0 0 0 4px rgba(242, 238, 230, .85);
  transition: transform .25s var(--ease), background-color .2s;
}
.spot em {
  position: absolute; left: 50%; bottom: calc(100% - 2px);
  transform: translate(-50%, 4px);
  font-style: normal; white-space: nowrap;
  background: var(--night); color: var(--on-night);
  font-size: .8125rem; font-weight: 600; padding: 6px 10px; border-radius: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.spot:hover span, .spot:focus-visible span, .spot.is-active span { transform: scale(1.12); background: var(--signal-hover); }
.spot:hover em, .spot:focus-visible em, .spot.is-active em { opacity: 1; transform: translate(-50%, 0); }
.spot::before {
  content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--signal); opacity: 0;
}
.js .spot { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .35s var(--ease), transform .35s var(--ease); transition-delay: calc(1200ms + var(--i, 0) * 90ms); }
.js .hero-plan.is-in .spot { opacity: 1; transform: translate(-50%, -50%); }
.js .hero-plan.is-in .spot::before { animation: ping 2.6s ease-out calc(2200ms + var(--i, 0) * 160ms) 2; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
/* Positionen der Markierungen in der Zeichnung (Prozent von 640 × 520) */
.spot[data-spot="innenausbau"] { --x: 34.1%; --y: 75.4%; }
.spot[data-spot="trockenbau"] { --x: 46.1%; --y: 70.8%; }
.spot[data-spot="sanierung"] { --x: 22.7%; --y: 71.5%; }
.spot[data-spot="daemmung"] { --x: 61.3%; --y: 50.4%; }
.spot[data-spot="dachfenster"] { --x: 32.7%; --y: 42.7%; }
.spot[data-spot="pflaster"] { --x: 12.8%; --y: 82.3%; }
.spot[data-spot="rund-ums-haus"] { --x: 78.1%; --y: 75%; }
.plan-caption { margin: 10px 0 0; font-size: .8125rem; color: var(--muted); display: flex; gap: 12px; align-items: baseline; justify-content: flex-end; }
.plan-caption span { color: var(--ink); font-size: .6875rem; white-space: nowrap; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(40px, 6vw, 72px) 0 0; padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  gap: 24px;
}
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { color: var(--muted); font-size: .6875rem; }
.facts dd { margin: 0; font-size: .9875rem; font-weight: 500; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 14ch; font-size: clamp(1.75rem, 10.5vw - 4px, 3.6rem); }
  .hero-plan { margin: 4px auto 0; width: min(100% + var(--gutter), 600px); }
  .plan-caption { justify-content: flex-start; padding-inline: calc(var(--gutter) * .5); }
}
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; justify-content: flex-start; }
  .hero-actions .btn-line { justify-content: center; }
  .hero-quote blockquote p { font-size: 1.0625rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .spot span { width: 24px; height: 24px; font-size: .625rem; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--night); color: var(--on-night); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.sec-label { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 18px; }
.sec-label span { color: var(--signal-text); }
.sec-label::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .5; }
.section-dark .sec-label { color: var(--on-night-2); }
.section-dark .sec-label span { color: var(--signal); }
.sec-title { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); }
.sec-intro { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); color: var(--ink-2); margin-top: 20px; max-width: 40em; }

/* Leistungen als Liste, nicht als Kacheln */
.services { border-top: 1.5px solid var(--ink); counter-reset: s; }
.service {
  display: grid;
  grid-template-columns: 72px minmax(0, 4fr) minmax(0, 6fr);
  grid-template-areas: "no title text" "no title tags";
  column-gap: 32px; row-gap: 10px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0;
  background: var(--signal); transition: width .5s var(--ease);
}
.service:hover::before, .service.is-flash::before { width: 100%; }
.service-no { grid-area: no; font-family: var(--ff-mono); font-size: .8125rem; color: var(--signal-text); padding-top: 8px; }
.service-title { grid-area: title; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); font-stretch: 110%; }
.service-text { grid-area: text; margin: 0; color: var(--ink-2); max-width: 36em; }
.service-tags { grid-area: tags; margin: 0; font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .06em; color: var(--muted); }
.services-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 36px; }
.services-foot p { margin: 0; font-size: 1.0625rem; }
.service.is-flash { background: linear-gradient(to right, rgba(224, 123, 36, .08), transparent 70%); }

@media (max-width: 760px) {
  .service { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "no title" "no text" "no tags"; column-gap: 12px; padding: 24px 0 26px; }
  .service-no { padding-top: 6px; }
}

/* Kundenstimme */
.review { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.review-main { margin: 0; }
.review-pull { margin: 0; }
.review-pull::before {
  content: ""; display: block; width: 58px; height: 40px; margin-bottom: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 40'%3E%3Cpath fill='%23E07B24' d='M10 0h15L13 40H0zM40 0h15L43 40H30z'/%3E%3C/svg%3E") no-repeat;
}
.review-pull p {
  margin: 0;
  font-size: clamp(1.85rem, 1.05rem + 3vw, 3.4rem);
  line-height: 1.1; font-weight: 650; font-stretch: 108%; letter-spacing: -0.02em;
  text-wrap: balance;
}
.review-pull p::after { content: "“"; }
.review-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 28px; color: var(--on-night-2); font-size: 1rem; }
.review-meta strong { color: var(--on-night); font-weight: 650; }
.review-side { padding-top: clamp(0px, 3vw, 40px); }
.review-side-label { font-family: var(--ff-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: 14px; }
.review-points { display: flex; flex-wrap: wrap; gap: 10px; }
.review-points li span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border: 1px solid var(--night-line); border-radius: 999px;
  font-size: .9375rem;
}
.review-points li span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.review-full { margin-top: 32px; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.review-full summary {
  list-style: none; cursor: pointer; padding: 18px 0; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 650;
}
.review-full summary::-webkit-details-marker { display: none; }
.review-full summary::after { content: "+"; font-family: var(--ff-mono); font-size: 1.25rem; color: var(--signal); transition: transform .25s var(--ease); }
.review-full[open] summary::after { transform: rotate(45deg); }
.review-full-body { padding: 0 0 22px; }
.review-full-body p:first-child { font-size: 1.0625rem; line-height: 1.65; color: var(--on-night); }
.review-full mark { background: none; color: inherit; box-shadow: inset 0 -0.42em 0 rgba(224, 123, 36, .38); padding: 0 .06em; }
.review-source { font-size: .8125rem; color: var(--on-night-2); margin: 0; }
.review-note { margin: 22px 0 0; font-size: .875rem; color: var(--on-night-2); }
.review-note a { display: inline-block; margin-top: 6px; color: var(--on-night); text-underline-offset: 3px; }
.review-note a::after { content: " ↗"; }
@media (max-width: 960px) { .review { grid-template-columns: minmax(0, 1fr); } .review-side { padding-top: 0; } }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.step { padding: 28px 28px 8px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-no { display: block; font-family: var(--ff-mono); font-size: .8125rem; color: var(--signal-text); margin-bottom: 40px; }
.step h3 { font-size: 1.375rem; font-stretch: 108%; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; font-size: 1rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step + .step { padding: 0 0 28px 44px; border-left: 1px solid var(--line-2); margin: 0 0 0 10px; border-top: 0; }
  .step:nth-child(3) { border-left: 1px solid var(--line-2); padding-left: 44px; }
  .step:nth-child(n+3) { margin-top: 0; border-top: 0; }
  .step:last-child { border-left-color: transparent; padding-bottom: 0; }
  .step-no { position: absolute; left: -15px; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-items: center; margin: 0; font-size: .6875rem; }
  .step h3 { padding-top: 2px; }
}

/* Betrieb */
.betrieb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.betrieb-copy > p:not(.sec-label) { color: var(--ink-2); max-width: 32em; }
.betrieb-copy .sec-title { margin-bottom: 28px; }
.betrieb-copy .link-arrow { margin-top: 8px; }
.lageplan { margin: 0; }
.lageplan svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.lp-ring { fill: none; stroke: var(--ink); stroke-opacity: .22; stroke-dasharray: 2 4; }
.lp-coast { fill: none; stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.2; }
.lp-sea { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; fill: var(--muted); }
.lp-km { font-family: var(--ff-mono); font-size: 8.5px; fill: var(--muted); }
.lp-place circle { fill: var(--ink); }
.lp-place text { font-size: 11.5px; font-weight: 600; fill: var(--ink); }
.lp-home circle { fill: var(--signal); }
.lp-home text { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; fill: var(--signal-text); font-weight: 500; }
.lp-pulse { opacity: .35; transform-origin: 180px 180px; animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.lageplan figcaption { display: flex; gap: 12px; justify-content: center; align-items: baseline; margin-top: 8px; font-size: .8125rem; color: var(--muted); }
.lageplan figcaption span { color: var(--ink); font-size: .6875rem; }
@media (max-width: 860px) {
  .betrieb { grid-template-columns: minmax(0, 1fr); }
}

/* Kontakt */
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-direct > p:not(.sec-label) { color: var(--on-night-2); margin: 24px 0 0; max-width: 28em; }
.contact-phone {
  display: flex; flex-direction: column; gap: 6px; margin: 36px 0 0;
  text-decoration: none; padding: 22px 24px; border-radius: var(--radius);
  background: var(--signal); color: var(--night);
  transition: background-color .2s var(--ease);
}
.contact-phone:hover { background: var(--signal-hover); }
.contact-phone-label { font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.contact-phone-num { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 780; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.05; }
.contact-list { margin: 36px 0 0; display: grid; gap: 20px; }
.contact-list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding-top: 16px; border-top: 1px solid var(--night-line); }
.contact-list dt { color: var(--on-night-2); font-size: .6875rem; padding-top: 4px; }
.contact-list dd { margin: 0; }

.request {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: 10px;
  padding: clamp(22px, 3.2vw, 40px);
}
.request-title { font-size: 1.5rem; font-stretch: 108%; }
.request-intro { color: var(--on-night-2); margin: 10px 0 26px; font-size: .9875rem; }
.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field legend, .field label { font-size: .875rem; font-weight: 600; color: var(--on-night); padding: 0; }
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: var(--night); color: var(--on-night);
  border: 1px solid var(--night-line); border-radius: var(--radius);
  padding: 13px 14px; font-size: 1rem; line-height: 1.4;
  transition: border-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #8695A6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(224, 123, 36, .25); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px;
  border: 1px solid var(--night-line); border-radius: 999px; font-size: .9375rem;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--on-night-2); }
.chip input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--night); font-weight: 600; }
.chip input:focus-visible + span { outline: 2.5px solid var(--signal); outline-offset: 2px; }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.request-actions .btn { flex: 1 1 auto; }
.request-status { min-height: 1.4em; margin: 12px 0 0; font-size: .9375rem; color: var(--signal); }
.request-desktop { font-size: .875rem; color: var(--on-night-2); margin: 4px 0 0; }
.request-privacy { font-size: .8125rem; color: var(--on-night-2); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--night-line); }
.is-touch .request-desktop { display: none; }
@media (max-width: 960px) {
  .contact-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .request-actions .btn { width: 100%; }
}

/* Projekte (vorbereitet) */
.projects { display: grid; gap: clamp(40px, 6vw, 80px); }
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.project:nth-child(even) .project-media { order: 2; }
.project-media { margin: 0; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.project-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.project-meta { font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.project-title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); margin-bottom: 14px; }
@media (max-width: 760px) { .project { grid-template-columns: minmax(0, 1fr); } .project:nth-child(even) .project-media { order: 0; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 40px; height: 40px; background: var(--paper); border-radius: 6px; padding: 4px; }
.footer-brand p { margin: 0; }
.footer-brand strong { color: var(--on-night); font-weight: 650; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: var(--on-night); font-weight: 650; text-decoration: none; font-size: 1.0625rem; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--on-night); text-underline-offset: 3px; }
.footer-copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: .8125rem; }
@media (max-width: 760px) { .footer-in { grid-template-columns: minmax(0, 1fr); } }

/* Anrufleiste mobil */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--night); border-top: 1px solid var(--night-line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .callbar .btn { min-height: 50px; }
  .callbar.is-visible { transform: none; }
  body.has-callbar .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

/* Rechtliche Seiten */
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: calc(780px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.375rem; margin: 40px 0 12px; font-stretch: 106%; }
.legal h3 { font-size: 1.0625rem; margin: 24px 0 8px; font-stretch: 104%; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.todo { background: #FBE3CC; color: #6B3307; padding: 1px 6px; border-radius: 3px; font-size: .9375em; font-weight: 600; }
.legal-note { border: 1px solid var(--signal); background: #FBEFE2; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 32px; font-size: .9375rem; }
.back-link { display: inline-block; margin-bottom: 28px; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--rd, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .haus .ln, .js .haus .ln2, .js .haus .ins { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .haus .hl, .js .haus .dot, .js .haus .soil, .js .haus .lbl, .js .haus .dash { opacity: .55; }
  .js .spot { opacity: 1; transform: translate(-50%, -50%); }
}

@media print {
  .site-header, .callbar, .request, .hero-grid-bg { display: none !important; }
  .section-dark { background: none; color: #000; }
}

@media (max-width: 380px) {
  .brand-sub { letter-spacing: .08em; }
  .brand-name { font-size: 1rem; }
}
