/* =========================================================
   Ni-Castro GmbH – Baudekoration Malermeister
   Schrift: Archivo (lokal eingebunden, kein Google-Server)
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #1E272C;
  --ink-soft: #4A555B;
  --plaster: #F1F2EF;
  --white: #FFFFFF;
  --line: #D6D9D4;
  --petrol: #172983;
  --petrol-deep: #0F1C5C;
  --ochre: #FFED00;
  --ochre-soft: #FFF6B0;
  --red: #E2001A;
  --sage: #8FA593;
  --sand: #C9B79A;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;

  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--petrol-deep); }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Typo ---------- */
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
h1, h2 { font-stretch: 118%; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font: inherit; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ochre); color: var(--ink); }
.btn-primary:hover { background: #FFF35C; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink); color: #C9CFD1; font-size: .9rem;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--ochre); }
.topbar span + span { margin-left: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 48px; height: 48px; flex: none; }
.brand-name small { font-size: .62em; font-weight: 700; font-stretch: 100%; letter-spacing: .02em; }
.brand-name { font-weight: 800; font-stretch: 118%; font-size: 1.3rem; line-height: 1; display: block; }
.brand-sub { font-size: .82rem; color: var(--ink-soft); display: block; margin-top: 3px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav a { display: block; white-space: nowrap; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: var(--radius); }
.nav a:hover { background: var(--plaster); color: var(--ink); }
.nav .btn { margin-left: 10px; padding: 11px 20px; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .topbar .hide-sm { display: none; }
  .topbar .wrap > div:first-child { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line);
    display: none; padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--plaster); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-radius: var(--radius); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--plaster); }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  min-height: min(78vh, 680px); padding-top: 56px; padding-bottom: 56px;
}
.hero h1 { max-width: 15ch; }
.hero-kicker { margin: 0 0 14px; font-stretch: 100%; line-height: 1.3; font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); display: flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--red); }
.h1-accent { color: #4E7D4A; }
@media (max-width: 560px) { .hero-kicker { font-size: .78rem; letter-spacing: .04em; gap: 8px; } .hero-kicker::before { width: 20px; } }
.hero .lead { margin-top: 22px; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--petrol); }
.hero-facts li:nth-child(2)::before { background: var(--red); }
.hero-facts li:nth-child(3)::before { background: var(--ochre); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.hero-facts li a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(30,39,44,.3); }
.hero-facts li a:hover { border-bottom-color: var(--ink); }
.hero-facts li.fact-eco::before { background: #4E7D4A; box-shadow: none; }
.hero-facts li.fact-eco a { color: #2F5A2C; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(47,90,44,.35); }
.hero-facts li.fact-eco a:hover { border-bottom-color: #2F5A2C; }

/* Farbfächer */
.fan-stage { position: relative; height: 100%; min-height: 420px; }
.fan {
  position: absolute; left: 50%; bottom: 0;
  width: min(440px, 100%); aspect-ratio: 1 / 1.25;
  transform: translateX(-50%);
}
.fan .blade {
  position: absolute; left: 50%; bottom: 6%;
  width: 21%; height: 86%;
  margin-left: -10.5%;
  transform-origin: 50% 92%;
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 18px 30px -18px rgba(30,39,44,.45);
  background: #fff;
  display: flex; flex-direction: column; padding: 7px 7px 26px;
  transform: rotate(0deg);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.fan .blade i { flex: 1; display: block; margin-bottom: 4px; border-radius: 2px; }
.fan .blade i:last-child { margin-bottom: 0; }
.fan .pin {
  position: absolute; left: 50%; bottom: calc(6% + 86% * .08 - 9px);
  width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 5px #59656B; z-index: 20;
}
.fan.open .blade { transform: rotate(var(--r)); }
.eco-seal {
  position: absolute; right: 0; top: 70px; z-index: 30;
  width: 240px; height: 240px; border-radius: 50%; display: block;
  filter: drop-shadow(0 18px 22px rgba(30,39,44,.28));
  transform: rotate(-8deg); transition: transform .3s ease;
}
.eco-seal:hover, .eco-seal:focus-visible { transform: rotate(0deg) scale(1.04); }
.eco-seal svg { width: 100%; height: 100%; display: block; overflow: visible; }
.eco-seal .ring { font-size: 13.5px; font-weight: 800; letter-spacing: .1em; }
.eco-seal .big { font-size: 19px; font-weight: 800; letter-spacing: .05em; }
.eco-seal .small { font-size: 13px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .fan .blade { transition: none; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .fan-stage { min-height: 300px; }
  .fan { width: min(300px, 80%); }
  .eco-seal { width: 118px; height: 118px; top: 0; right: 3%; }
  .fan-stage { min-height: 400px; }
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--ink-soft); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: #fff; padding: 30px 28px 32px; position: relative; }
.service::before {
  content: ""; display: block; width: 48px; height: 10px; border-radius: 2px;
  background: var(--chip, var(--petrol)); margin-bottom: 22px;
}
.service h3 { margin-bottom: 10px; }
.service p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.eco { margin-top: 28px; background: #EEF3EC; border: 1px solid #CFDCCB; border-left: 6px solid #4E7D4A; padding: 30px 28px; }
.eco-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.eco-badge { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #4E7D4A; color: #fff; display: grid; place-items: center; }
.eco-head h3 { margin: 0 0 6px; }
.eco-head p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.eco-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; }
.eco-list li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eco-list strong { color: #2F5A2C; }
.eco-list span { color: var(--ink-soft); font-size: .95rem; }
.eco-link { font-weight: 700; color: #2F5A2C; text-decoration: none; }
.eco-link:hover { text-decoration: underline; }
@media (max-width: 1000px) { .eco-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eco { padding: 24px 18px; } .eco-list { grid-template-columns: 1fr; } }
.services > .service:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .services > .service:last-child:nth-child(3n+1) { grid-column: auto; } .services > .service:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.also {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.also strong { margin-right: 6px; }
.tag { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; background: var(--plaster); }

/* Spezialgebiete */
.special { background: var(--petrol); color: #fff; }
.special h2 { color: #fff; }
.special .section-head p { color: #D5DAF2; }
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.special-card { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 34px 32px; background: var(--petrol-deep); }
.special-card h3 { font-size: 1.6rem; font-stretch: 112%; margin-bottom: 14px; color: #fff; }
.special-card p { color: #D9DDF3; }
.special-card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.special-card li { padding: 10px 0 10px 30px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.special-card li::before {
  content: ""; position: absolute; left: 0; top: 17px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--ochre); border-bottom: 2.5px solid var(--ochre); transform: rotate(-45deg);
}
.cert { display: inline-block; margin-bottom: 18px; padding: 6px 12px; background: var(--ochre); color: var(--ink); font-weight: 700; font-size: .88rem; border-radius: 3px; }
@media (max-width: 800px) { .special-grid { grid-template-columns: 1fr; } }

/* Projekte – Vorher/Nachher */
.ba {
  position: relative; aspect-ratio: 16 / 10; max-height: 640px; width: 100%;
  overflow: hidden; border-radius: var(--radius); background: #CDD2CF;
  user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .label {
  position: absolute; top: 16px; padding: 6px 12px; background: rgba(30,39,44,.82); color: #fff;
  font-weight: 700; font-size: .9rem; border-radius: 3px; pointer-events: none;
}
.ba .label.l { left: 16px; } .ba .label.r { right: 16px; background: var(--ochre); color: var(--ink); }
.ba .handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px;
  background: #fff; pointer-events: none;
}
.ba .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E272C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-size: 24px; background-repeat: no-repeat; background-position: center;
}
.ba input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
}
.ba input[type=range]:focus-visible + .handle::after { outline: 3px solid var(--ochre); outline-offset: 3px; }
.project-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; color: var(--ink-soft); }
.project-caption strong { color: var(--ink); }

/* Über uns */
.about { background: var(--plaster); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.quote {
  margin: 0 0 32px; padding: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; font-stretch: 108%; line-height: 1.25;
  border-left: 6px solid var(--red); padding-left: 24px;
}
.quote footer { margin-top: 14px; font-size: 1rem; font-weight: 500; font-stretch: 100%; color: var(--ink-soft); }
.values { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 8px; }
.value { padding: 20px 0; border-top: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.quals { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--line); }
.quals h3 { margin-bottom: 12px; }
.quals ul { margin: 0; padding-left: 20px; }
.quals li { margin: 6px 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li:nth-child(2)::before { color: var(--red); }
.steps li:nth-child(3)::before { color: #B3A600; }
.steps li::before {
  content: counter(step); display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 125%; color: var(--petrol); line-height: 1; margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { background: var(--ink); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-grid > *, .about-grid > *, .hero .wrap > * { min-width: 0; }
.contact-info p { color: #C9CFD1; }
.contact-list { list-style: none; margin: 30px 0 0; padding: 0; }
.contact-list li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list span { color: #98A3A8; font-size: .95rem; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--ochre); }
.contact-call { margin-top: 30px; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form > p { color: var(--ink-soft); font-size: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(23,41,131,.2); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--petrol); }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-msg { display: none; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 600; }
.form-msg.ok { display: block; background: #E3F1E6; color: #1E5B2B; }
.form-msg.err { display: block; background: #FBE6E4; color: #8A241F; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Footer */
.site-footer { background: #161D21; color: #98A3A8; font-size: .95rem; padding: 34px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #DDE2E4; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer nav a + a { margin-left: 22px; }

/* Mobile Anruf-Leiste */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid #000;
  }
  .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; color: #fff; text-decoration: none; font-weight: 700; }
  .callbar a + a { background: var(--ochre); color: var(--ink); }
  .callbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 54px; }
}

/* Rechtstexte */
.legal { padding: clamp(48px, 7vw, 90px) 0; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.4rem; font-stretch: 105%; margin: 40px 0 12px; }
.legal p, .legal li { max-width: 72ch; }

/* Vorher/Nachher nebeneinander */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-pair figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #CDD2CF; }
.ba-pair img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-pair .label {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px; background: rgba(30,39,44,.85); color: #fff;
  font-weight: 700; font-size: .95rem; border-radius: 3px;
}
.ba-pair .label.r { background: var(--ochre); color: var(--ink); }
@media (max-width: 520px) { .ba-pair { gap: 8px; } .ba-pair .label { top: 8px; left: 8px; font-size: .8rem; padding: 4px 8px; } }

/* Hinweisleiste unter dem Hero */
.news { display: block; background: var(--ink); color: #fff; text-decoration: none; }
.news .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.news:hover { color: #fff; } .news:hover u { color: var(--ochre); }
.news u { text-underline-offset: 3px; }
.news-tag { background: var(--ochre); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 3px; }

/* Generationenwechsel */
.gen-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px 60px; align-items: end; }
.gen-head > * { min-width: 0; }
.gen-head h2 { margin-bottom: 20px; }
.duo { display: grid; gap: 14px; }
.person { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.person strong { display: block; font-size: 1.1rem; }
.person span:not(.mono) { color: var(--ink-soft); font-size: .95rem; }
.mono {
  width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 3px;
  background: var(--m); color: #fff; font-weight: 800; font-stretch: 120%; font-size: 1.15rem;
}
.gen-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; margin-top: 56px; }
.gen-cols > * { min-width: 0; }
.gen-cols h3 { margin-bottom: 8px; }
.gen-list { list-style: none; margin: 0; padding: 0; }
.gen-list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.gen-list strong { color: var(--ink); }
@media (max-width: 860px) { .gen-head, .gen-cols { grid-template-columns: 1fr; } }

/* Kontakt als QR-Code / vCard */
.vcard { display: flex; gap: 24px; align-items: center; margin-top: 34px; padding: 22px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); }
.vcard img { width: 168px; height: 168px; flex: none; border-radius: 3px; background: #fff; }
.vcard h3 { color: #fff; margin-bottom: 8px; }
.vcard p { font-size: .95rem; margin-bottom: 14px; }
.vcard .btn { padding: 11px 18px; }
@media (max-width: 520px) { .vcard { flex-direction: column; align-items: flex-start; } .vcard img { width: 200px; height: 200px; } }

/* Team */
.team { background: var(--plaster); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.member h3 { margin: 16px 0 4px; font-size: 1.2rem; }
.member p { margin: 0; }
.member-role { font-weight: 600; color: var(--petrol); font-size: .98rem; }
.member-spec { margin-top: 8px !important; color: var(--ink-soft); font-size: 1rem; }
.todo { color: #9AA3A7 !important; font-style: italic; font-weight: 400; }
.member-photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: #E3E6E2; }
.member-ini {
  position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--m); color: var(--mf); font-weight: 800; font-stretch: 120%; font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}
.member-soon { position: absolute; top: 14px; right: 14px; font-size: .85rem; color: var(--ink-soft); background: #fff; padding: 4px 10px; border-radius: 3px; }
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@media (max-width: 400px) { .member h3 { font-size: 1.05rem; } .member-soon { display: none; } }

.team-group { position: relative; margin: 0 0 56px; aspect-ratio: 16 / 7; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: #E3E6E2; }
.team-group img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-group-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink-soft); font-weight: 600; }
.team-group-bars { display: flex; gap: 6px; }
.team-group-bars i { width: 22px; height: 46px; border-radius: 2px; background: var(--petrol); }
.team-group-bars i:nth-child(2) { background: var(--red); } .team-group-bars i:nth-child(3) { background: var(--ochre); }
@media (max-width: 600px) { .team-group { aspect-ratio: 4 / 3; margin-bottom: 36px; } }

/* Logo im Kopf nie umbrechen oder quetschen */
.brand { flex: none; }
.brand-name, .brand-sub { white-space: nowrap; }
@media (max-width: 360px) { .brand-name { font-size: 1.1rem; } .brand-sub { font-size: .75rem; } .brand-mark { width: 40px; height: 40px; } }
.special-grid > *, .services > *, .steps > * { min-width: 0; }
@media (max-width: 400px) { .special-card { padding: 26px 20px; } .special-card h3 { font-size: 1.35rem; } }

/* Mittlere Breiten: Menü als zweite Zeile unter dem Logo, Reiter bleiben sichtbar */
@media (min-width: 761px) and (max-width: 1360px) {
  html { scroll-padding-top: 165px; }
  .site-header .wrap { height: auto; flex-wrap: wrap; row-gap: 4px; padding-top: 12px; padding-bottom: 10px; }
  .nav { width: 100%; }
  .nav ul { gap: 2px; flex-wrap: wrap; }
  .nav a { padding: 8px 12px; font-size: .97rem; }
  .nav li:first-child a { padding-left: 0; }
  .site-header .wrap { position: relative; }
  .nav li:last-child { position: absolute; right: var(--gutter); top: 16px; }
  .nav .btn { margin: 0; padding: 11px 20px; }
}
.hero h1 { hyphens: manual; }

/* QR-Code: am Computer scannen, am Handy antippen */
.vcard-qr { display: block; flex: none; line-height: 0; }
.vcard-mob { display: none; }
@media (max-width: 700px), (pointer: coarse) {
  .vcard-qr { display: none; }
  .vcard-desk { display: none; }
  .vcard-mob { display: block; }
  .vcard .btn { width: 100%; justify-content: center; padding: 15px 20px; }
}

/* Neues Logo (Burg-Plakette) */
.brand-mark { width: auto !important; height: 60px !important; }
.brand { gap: 10px; }
.about-badge { display: block; width: 100%; max-width: 280px; height: auto; margin: 0 0 28px; }
@media (max-width: 360px) { .brand-mark { height: 46px !important; } }
.site-header .wrap { gap: 24px; }

/* Kalkputz-Karte über volle Breite */
.special-wide { grid-column: 1 / -1; }
.special-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; margin-top: 6px; }
.special-cols > * { min-width: 0; }
.special-cols h4 { margin: 14px 0 0; font-size: 1.05rem; color: var(--ochre); }
@media (max-width: 800px) { .special-wide { grid-column: auto; } .special-cols { grid-template-columns: 1fr; } }
