/* Schriften lokal, keine Verbindung zu Google */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-italic-400-700.woff2) format('woff2');
  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: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-normal-400-700.woff2) format('woff2');
  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: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-400-600.woff2) format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-400.woff2) format('woff2');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-normal-500.woff2) format('woff2');
  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;
}

/* Layout: dunkelgrüne Bühne für die Fotos im Wechsel mit hellen Sandflächen; Bodoni für den Namen, Grotesk zum Lesen, Mono für Bildnummern wie auf dem Filmstreifen. */
:root {
  --forest: #16302A;
  --house: #1E3932;
  --green: #00704A;
  --sage: #D4E9E2;
  --sand: #F2EDE4;
  --dune: #E6DCC8;
  --ink: #1A2421;
  --paper: #EFE8DA;
  --paper-dim: rgba(239, 232, 218, .8);
  --ink-dim: #45544E;
  --line-dark: rgba(239, 232, 218, .16);
  --line-light: rgba(26, 36, 33, .14);

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--forest);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.band-dark :focus-visible { outline-color: var(--sage); }

.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 7vw, 104px); }
.band-dark { background: var(--forest) url("../img/topo.svg") center / cover no-repeat; color: var(--paper); }
.band-house { background-color: var(--house); background-position: 20% 80%; }
.hero.band-dark { background-position: 0% 0%; }
.refs.band-dark { background-position: 100% 50%; }
.foot.band-dark { background-position: 50% 100%; }
.band-light { background: var(--sand); color: var(--ink); }

/* Typo */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.05; letter-spacing: -.01em; font-variation-settings: "opsz" 18; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
h3 { font-size: 24px; line-height: 1.15; font-variation-settings: "opsz" 14; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--green);
}
.band-dark .eyebrow { color: var(--sage); }
.sec-text { max-width: 54ch; margin: 22px 0 0; color: var(--ink-dim); }
.band-dark .sec-text { color: var(--paper-dim); }
.hint { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink-dim); margin: 18px 0 0; }
.band-dark .hint { color: var(--paper-dim); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color .25s, color .25s, transform .25s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-light { background: var(--paper); color: var(--forest); }
.btn-light:hover { background: var(--sage); }
.btn-dark { background: var(--forest); color: var(--paper); }
.btn-dark:hover { background: var(--green); }
.btn-link {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.btn-link span { transition: transform .3s var(--ease-out); }
.btn-link:hover span { transform: translateX(4px); }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--forest) 92%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line-dark); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-sub { white-space: nowrap; }
/* SHW-Monogramm in Sucher-Ecken, wie beim Startbild */
.mark {
  --c: var(--sage);
  font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .08em; line-height: 1;
  font-variation-settings: "opsz" 14; padding: 8px 8px 7px 10px; color: var(--paper);
  background:
    linear-gradient(var(--c), var(--c)) left top / 7px 1.5px, linear-gradient(var(--c), var(--c)) left top / 1.5px 7px,
    linear-gradient(var(--c), var(--c)) right top / 7px 1.5px, linear-gradient(var(--c), var(--c)) right top / 1.5px 7px,
    linear-gradient(var(--c), var(--c)) left bottom / 7px 1.5px, linear-gradient(var(--c), var(--c)) left bottom / 1.5px 7px,
    linear-gradient(var(--c), var(--c)) right bottom / 7px 1.5px, linear-gradient(var(--c), var(--c)) right bottom / 1.5px 7px;
  background-repeat: no-repeat;
  transition: letter-spacing .4s var(--ease-out);
}
.brand:hover .mark { letter-spacing: .16em; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.brand-name { font-family: var(--f-display); font-size: 21px; font-weight: 600; font-variation-settings: "opsz" 14; }
.brand-sub { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--paper-dim); }
.menu { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; }
.menu a { text-decoration: none; position: relative; }
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.menu a:not(.menu-cta):hover::after { transform: scaleX(1); }
.menu-cta { padding: 9px 18px; border: 1px solid var(--line-dark); border-radius: 999px; transition: background-color .25s, color .25s; }
.menu-cta:hover { background: var(--paper); color: var(--forest); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; }

/* Hero */
.hero { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero-title {
  font-size: clamp(52px, 6.6vw, 100px); line-height: .95; letter-spacing: -.02em;
  font-variation-settings: "opsz" 24; margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.1s var(--ease-out) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; padding-left: .32em; }
@keyframes lineUp { from { transform: translateY(105%); } }
.lead { font-size: clamp(17px, 1.3vw, 19px); max-width: 44ch; color: var(--paper-dim); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 40px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.hero-facts dt { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }
.hero-facts dd { margin: 4px 0 0; font-size: 16px; }
.hero-copy > *:not(.hero-title) { animation: fadeUp .9s var(--ease-out) both; animation-delay: .35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.hero-media { position: relative; margin: 0; min-width: 0; padding: 18px; justify-self: end; width: min(100%, 440px, max(280px, calc((100vh - 190px) * .8 + 36px))); }
.hero-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; animation: reveal 1.4s var(--ease-out) both .15s; }
.hero-frame img { width: 100%; height: 114%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(var(--hs, 1)); animation: settle 2.2s var(--ease-out) both .15s; will-change: transform; }
@keyframes reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { --hs: 1.15; } }
@property --hs { syntax: "<number>"; inherits: false; initial-value: 1; }
.vf { position: absolute; width: 26px; height: 26px; border: 0 solid var(--sage); opacity: .85; animation: vfIn .8s var(--ease-out) both 1.1s; }
.vf-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
@keyframes vfIn { from { opacity: 0; transform: scale(1.6); } }
.vf-focus {
  position: absolute; left: 50%; top: 42%; width: 54px; height: 54px; translate: -50% -50%;
  border: 1.5px solid var(--sage); opacity: 0; animation: focusLock 1.6s ease both 1.3s; pointer-events: none;
}
@keyframes focusLock { 0% { opacity: 0; transform: scale(1.5); } 30% { opacity: .9; transform: scale(1); } 45% { opacity: .2; } 60% { opacity: .9; } 100% { opacity: 0; } }
.hero-coords {
  position: absolute; left: 18px; bottom: -14px; translate: 0 100%;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; color: var(--paper-dim);
}

/* Vorher / Nachher */
.sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.vn-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.vn-head .sec-head { margin-bottom: 0; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--dune); gap: 2px; flex-wrap: wrap; }
.tab {
  border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-dim); transition: background-color .25s, color .25s;
}
.tab[aria-selected="true"] { background: var(--forest); color: var(--paper); }
.tab:not([aria-selected="true"]):hover { color: var(--ink); }

.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 3 / 2; width: min(100%, max(480px, calc((100vh - 200px) * 1.5))); max-width: 100%; margin-inline: auto; overflow: hidden; border-radius: 4px;
  background: var(--dune); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .35s ease; }
.compare.is-swapping img { opacity: 0; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -50% 0;
  background: var(--paper); box-shadow: 0 0 0 1px rgba(22, 48, 42, .15); pointer-events: none;
}
.cmp-knob {
  position: absolute; top: 50%; left: var(--pos); translate: -50% -50%;
  width: 60px; height: 60px; border-radius: 50%; background: var(--paper); color: var(--forest);
  display: grid; place-items: center; cursor: grab; box-shadow: 0 8px 28px rgba(10, 25, 21, .32);
  transition: scale .25s var(--ease-out);
}
.compare.is-dragging .cmp-knob { scale: .9; cursor: grabbing; }
.cmp-knob svg { width: 28px; height: 28px; }
.cmp-label {
  position: absolute; top: 18px; padding: 7px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(22, 48, 42, .72); color: var(--paper); pointer-events: none; transition: opacity .2s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cmp-label-before { left: 18px; }
.cmp-label-after { right: 18px; }

/* Referenzen */
.refs { padding-bottom: clamp(56px, 7vw, 96px); }
.refs-grid { display: grid; grid-template-columns: minmax(260px, 4fr) 8fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.refs-head { display: flex; flex-direction: column; min-width: 0; }
.refs-head h2 { font-size: clamp(34px, 3.4vw, 50px); }
.refs-meta { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.refs-count { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 4vw, 58px); line-height: 1; font-variation-settings: "opsz" 18; font-variant-numeric: tabular-nums lining-nums; }
.refs-count small { font-family: var(--f-mono); font-size: 14px; color: var(--paper-dim); letter-spacing: .08em; margin-left: 6px; vertical-align: .9em; }
.refs-cat { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.refs-nav { display: flex; gap: 10px; margin-top: 24px; }
.round {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.round:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }
.round svg { width: 20px; height: 20px; }

.viewer {
  --vmax: clamp(320px, calc(100vh - 300px), 560px);
  margin: 0; height: var(--vmax); display: grid; place-items: center; position: relative; min-width: 0; overflow: hidden;
}
.viewer img {
  max-width: 100%; max-height: var(--vmax); width: auto; height: auto; object-fit: contain;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .6);
  transition: opacity .35s ease, transform .6s var(--ease-out);
}
.viewer.is-out img { opacity: 0; transform: scale(.985); transition-duration: .18s, .18s; }

.strip-wrap { margin-top: clamp(36px, 4vw, 56px); position: relative; }
.perf {
  height: 10px; opacity: .14;
  background: repeating-linear-gradient(90deg, var(--paper) 0 14px, transparent 14px 26px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip {
  overflow: hidden; padding-block: 16px; touch-action: pan-y;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.strip.is-dragging { cursor: grabbing; }
.thumb {
  flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.thumb-img { height: clamp(120px, 13vw, 180px); aspect-ratio: var(--ar); overflow: hidden; position: relative; }
.thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .4s; filter: saturate(.85); }
.thumb:hover img { transform: scale(1.05); filter: none; }
.thumb-img::after {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--sage); opacity: 0; transition: opacity .3s;
}
.thumb.is-active .thumb-img::after { opacity: 1; }
.thumb.is-active img { filter: none; }
.thumb-cap { width: 0; min-width: 100%; overflow: hidden; white-space: nowrap; display: flex; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); }
.thumb.is-active .thumb-cap { color: var(--sage); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.service { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.service-img { aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; background: var(--dune); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service:hover .service-img img { transform: scale(1.04); }
.service h3 { margin-top: 6px; }
.service p { margin: 0; color: var(--ink-dim); font-size: 15.5px; }
.services-note { margin: 36px 0 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 21px; font-variation-settings: "opsz" 14; }

/* Über mich */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; width: min(100%, max(280px, calc((100vh - 160px) * .8))); max-width: 100%; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { min-width: 0; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy p:not(.eyebrow) { max-width: 52ch; color: var(--paper-dim); margin: 0 0 18px; }
.about-copy .sig { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 30px; color: var(--paper); margin-top: 28px; font-variation-settings: "opsz" 14; }
.about-copy .note { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-info { min-width: 0; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-light); flex-wrap: wrap; }
.contact-list span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); align-self: center; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .25s; }
.ig-link:hover { color: var(--forest); }
.ig-link svg { width: 17px; height: 17px; flex: none; }
.ig-link .arr { transition: transform .3s var(--ease-out); }
.ig-link:hover .arr { transform: translate(2px, -2px); }
.foot nav .ig-link { color: var(--paper); border-bottom-color: var(--line-dark); font-weight: 500; }
.foot nav .ig-link:hover { border-bottom-color: var(--paper); }
.radius { margin: 40px 0 0; max-width: 400px; }
.radius svg { width: 100%; height: auto; display: block; }
.radius figcaption { font-size: 14px; color: var(--ink-dim); margin-top: 10px; }
.radius .ring { fill: none; stroke: var(--green); stroke-width: .35; stroke-dasharray: 1.2 1.2; opacity: .7; }
.radius .ring-fill { fill: var(--sage); opacity: .55; }
.radius .town { fill: var(--forest); }
.radius .town-label { fill: var(--ink); font-family: var(--f-body); font-size: 3.4px; }
.radius .ring-label { fill: var(--green); font-family: var(--f-mono); font-size: 2.8px; letter-spacing: .1px; }
.radius .city { fill: var(--green); }
.radius .city-label { fill: var(--forest); font-family: var(--f-display); font-size: 4.6px; font-weight: 600; }
.radius .pulse { fill: none; stroke: var(--green); stroke-width: .5; transform-origin: 0 0; animation: ping 3s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(6); opacity: 0; } }

.form { background: var(--paper); padding: clamp(24px, 4vw, 48px); border-radius: 4px; display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid rgba(26, 36, 33, .3); border-radius: 0; padding: 10px 0; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); box-shadow: 0 1px 0 var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #8C978F; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-dim); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-msg { margin: 0; font-size: 15px; min-height: 1.5em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #9A3B2E; }

/* Footer */
.foot { padding-block: 56px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; }
.foot-sub { margin: 4px 0 0; color: var(--paper-dim); font-size: 14px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot nav a { text-decoration: none; color: var(--paper-dim); }
.foot nav a:hover { color: var(--paper); }
.foot-copy { margin: 0; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; color: var(--paper-dim); width: 100%; padding-top: 24px; border-top: 1px solid var(--line-dark); }


/* Vergrößern: Bild wächst aus seiner Position in die Vollansicht */
.zoomable { cursor: zoom-in; }
.viewer-pic { position: relative; display: block; line-height: 0; max-width: 100%; }
.viewer img.zoomable { transition: opacity .35s ease, transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.viewer-pic:hover img { transform: translateY(-4px); box-shadow: 0 36px 70px -28px rgba(0, 0, 0, .75); }
.viewer-pic:active img { transform: scale(.985); transition-duration: .12s; }
.zoom-badge {
  position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  background: rgba(239, 232, 218, .92); color: var(--forest);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease-out);
  box-shadow: 0 6px 18px rgba(10, 25, 21, .3);
}
.zoom-badge svg { width: 18px; height: 18px; }
.viewer-pic:hover .zoom-badge { opacity: 1; transform: none; }
@media (hover: none) { .zoom-badge { opacity: 1; transform: none; } }

.lb { position: fixed; inset: 0; z-index: 100; touch-action: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(12, 28, 24, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-img {
  position: fixed; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform, clip-path;
  cursor: zoom-out; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
}
.lb-ui { position: absolute; z-index: 2; }
.lb .round { background: rgba(239, 232, 218, .08); border-color: rgba(239, 232, 218, .22); color: var(--paper); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb .round:hover { background: var(--paper); color: var(--forest); }
.lb .round:active { transform: scale(.92); }
.lb-close { top: calc(18px + env(safe-area-inset-top, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(20px + env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lb-next { right: calc(20px + env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
.lb:not(.is-gallery) .lb-prev, .lb:not(.is-gallery) .lb-next { display: none; }
.lb-cap {
  left: 50%; translate: -50% 0; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper); white-space: nowrap; pointer-events: none;
}
@media (max-width: 700px) {
  .lb-prev, .lb-next { top: auto; translate: none; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .lb-cap { bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
}

/* Einblenden beim Scrollen, nur wo der Browser scroll-gesteuerte Animationen kann */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .services .service:nth-child(2) { animation-range: entry 6% entry 51%; }
    .services .service:nth-child(3) { animation-range: entry 12% entry 57%; }
    .services .service:nth-child(4) { animation-range: entry 18% entry 63%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(32px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .refs-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; max-width: 520px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refs-meta { padding-top: 28px; flex-direction: row; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .viewer { --vmax: 72vh; height: auto; }
  .hero-media, .about-img { width: min(100%, 440px); }
}
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--forest); border-bottom: 1px solid var(--line-dark);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 20px max(var(--gutter), env(safe-area-inset-left, 0px));
    display: none;
  }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .menu a::after { display: none; }
  .menu-cta { border: 0; border-radius: 0; padding: 14px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .1em; }
  .brand { gap: 10px; }
  .services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cmp-knob { width: 48px; height: 48px; }
  .cmp-label { top: 10px; font-size: 10px; padding: 5px 9px; }
  .cmp-label-before { left: 10px; }
  .cmp-label-after { right: 10px; }
  .compare { aspect-ratio: 4 / 5; width: 100%; }
  .hero-facts { gap: 16px 28px; }
}

/* WordPress: Adminleiste und sticky Header */
.admin-bar .top { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }

/* Formular: Rückmeldung nach dem Absenden, Honigtopf */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Rechtstexte und einfache Seiten */
.page-head { padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.015em; font-variation-settings: "opsz" 22; }
.prose { max-width: 72ch; padding-block: clamp(48px, 6vw, 88px); }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 14px; }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-dim); }
.prose a { color: var(--green); }
.prose ul { padding-left: 1.2em; }
.prose strong { color: var(--ink); }

/* Baustellenseite */
.soon { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); }
.soon-in { max-width: 560px; display: grid; justify-items: center; gap: 22px; }
.soon h1 { font-size: clamp(44px, 7vw, 84px); line-height: .95; letter-spacing: -.02em; font-variation-settings: "opsz" 24; }
.soon p { margin: 0; color: var(--paper-dim); }
.soon .mark { font-size: 18px; padding: 11px 11px 10px 13px; }
.soon nav { display: flex; gap: 22px; font-size: 14px; margin-top: 18px; }
.soon nav a { color: var(--paper-dim); text-decoration: none; }
.soon nav a:hover { color: var(--paper); }
