:root {
  --white: #ffffff;
  --sand-50: #faf7f2;
  --sand-100: #f3ede3;
  --sand-200: #e8dccb;
  --sand-400: #c9b08a;
  --sand-600: #9c7c4f;
  --sand-800: #5e4a2f;
  --ink: #1d1913;
  --ink-soft: #4a4339;
  --line: #e6ddd0;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1200px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.header.solid, .header.light { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--ink); }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--ink); }
.logo-mark { font-family: var(--sans); font-weight: 300; font-size: 26px; letter-spacing: .32em; margin-right: -.32em; }
.logo-sub { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 8.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.logo-sub::before, .logo-sub::after { content: ""; width: 14px; height: 1px; background: currentColor; }
.nav { display: flex; gap: 40px; align-items: center; }
.nav a { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header.on-hero:not(.solid) { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--white);
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover { background: #000; border-color: #000; }
.btn:hover .arrow { transform: translateX(5px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.textlink { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 4px; transition: border-color .3s, color .3s; }
.textlink:hover { color: var(--sand-600); border-color: var(--sand-600); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: var(--ink); display: flex; align-items: flex-end; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: heroZoom 9s var(--ease) forwards;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,247,242,.9) 0%, rgba(250,247,242,.55) 40%, rgba(250,247,242,0) 70%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: 12vh; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.hero .eyebrow { color: var(--ink); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.hero p { max-width: 46ch; margin: 28px 0 40px; font-size: 18px; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn.ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.scroll-cue { position: absolute; right: 24px; bottom: 40px; z-index: 2; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 60px; margin: 14px auto 0; background: currentColor; animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.page-hero { padding: 200px 0 100px; background: var(--sand-50); }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; letter-spacing: -.02em; max-width: 16ch; }
.page-hero p { max-width: 56ch; margin-top: 28px; color: var(--ink-soft); font-size: 19px; }

/* ---------- Sections ---------- */
section { padding: 140px 0; }
.sand { background: var(--sand-50); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; }
.lead { font-size: 20px; color: var(--ink-soft); max-width: 58ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 72px; }
.section-head p { max-width: 44ch; color: var(--ink-soft); }

/* intro numbers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); margin-top: 80px; }
.stat { padding: 36px 0 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 48px; color: var(--ink); }
.stat span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* service cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; }
.service { display: block; }
.service .img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-100); border-bottom: 3px solid var(--ink); }
.service img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service:hover img { transform: scale(1.05); }
.service .num { display: inline-block; margin-top: 24px; padding: 3px 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; background: var(--ink); color: var(--white); }
.service h3 { margin: 8px 0 10px; }
.service p { color: var(--ink-soft); font-size: 16px; }
.service.cta-card { background: var(--ink); color: var(--white); padding: 48px 40px; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: auto; }
.service.cta-card p { color: rgba(255,255,255,.75); margin: 16px 0 32px; }
.service.cta-card .btn { background: var(--white); color: var(--ink); border-color: var(--white); align-self: flex-start; }
.service.cta-card .btn:hover { background: var(--sand-200); border-color: var(--sand-200); }

/* detail rows on Leistungen page */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; padding: 70px 0; border-top: 1px solid var(--ink); }
.detail:nth-of-type(even) .detail-img { order: 2; }
.detail-img { overflow: hidden; aspect-ratio: 5 / 4; background: var(--sand-100); }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail .num { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; background: var(--ink); color: var(--white); }
.detail h2 { margin: 12px 0 22px; font-size: clamp(30px, 3.4vw, 44px); }
.detail p { color: var(--ink-soft); }
.detail ul { list-style: none; margin-top: 26px; }
.detail li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 14px; }
.detail li::before { content: "—"; color: var(--ink); font-weight: 600; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { border-top: 1px solid var(--ink); padding-top: 28px; }
.step strong { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; margin: 10px 0 8px; }
.step span { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--sand-400); }
.step p { color: var(--ink-soft); font-size: 15px; }

/* image block */
.frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-100); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.values { list-style: none; margin-top: 36px; }
.values li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.values strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.values span { color: var(--ink-soft); font-size: 15px; }

/* band */
.band { background: var(--ink); color: var(--white); padding: 120px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.band h2 { max-width: 20ch; }
.band .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.band .btn:hover { background: var(--sand-200); border-color: var(--sand-200); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 100px; }
.contact-info p { color: var(--ink-soft); margin: 24px 0 40px; }
.contact-info dl { border-top: 2px solid var(--ink); }
.contact-info dt { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-top: 20px; }
.contact-info dd { padding: 4px 0 20px; border-bottom: 1px solid var(--line); }
.form { display: grid; gap: 28px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.field .req { color: var(--sand-600); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  transition: border-color .3s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 30px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-width: 2px; }
.field [aria-invalid="true"] { border-color: #a5432f; }
.field .help { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.field .err { font-size: 14px; color: #a5432f; margin-top: 8px; }
.form-error { color: #a5432f; font-size: 15px; }
.form-status { color: var(--ink-soft); }
.thanks { padding: 48px; background: var(--white); border-left: 4px solid var(--ink); }
.thanks h3 { margin-bottom: 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: 60px 0; font-size: 14px; color: rgba(255,255,255,.7); }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 28px; }
.footer a:hover { color: var(--white); }

/* legal */
.legal h2 { font-size: 28px; margin: 48px 0 12px; }
.legal p { color: var(--ink-soft); max-width: 70ch; }
.placeholder { background: var(--sand-100); padding: 2px 6px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.hero .reveal { transition-duration: 1.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; transform: none; }
  .scroll-cue::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 96px 0; }
  .split, .contact, .detail { grid-template-columns: 1fr; gap: 48px; }
  .detail:nth-of-type(even) .detail-img { order: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; flex-direction: column; gap: 0; background: var(--white); color: var(--ink); padding: 12px 24px 28px; box-shadow: 0 10px 30px rgba(0,0,0,.06); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease); }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .services, .steps, .stats, .two { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  .page-hero { padding: 150px 0 72px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* dark section */
.dark { background: var(--ink); color: var(--white); }
.dark .eyebrow { color: var(--white); }
.dark .step { border-top-color: rgba(255,255,255,.9); }
.dark .step p { color: rgba(255,255,255,.7); }
.band .eyebrow, .cta-card .eyebrow { color: var(--white); }
.page-hero { border-bottom: 1px solid var(--ink); }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(250,247,242,.2) 0%, rgba(250,247,242,.75) 55%, rgba(250,247,242,.95) 100%); }
}
/* award */
.award-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; padding: 8px 14px; background: var(--ink); color: var(--white) !important; font-size: 12px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; max-width: none !important; }
.award-badge span { color: var(--sand-400); }
.award { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 20px 24px; background: var(--ink); color: var(--white); }
.award-star { font-size: 28px; color: var(--sand-400); line-height: 1; }
.award strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.award span { font-size: 14px; color: rgba(255,255,255,.75); }

/* projects */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 36px; }
.project .img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-100); border-bottom: 3px solid var(--ink); }
.project.tall .img { aspect-ratio: 3 / 4; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project:hover img { transform: scale(1.04); }
.project figcaption { margin-top: 18px; }
.project .num { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: var(--white); }
.project p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }

/* faq */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 100px; }
.faq-item { border-top: 1px solid var(--ink); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--serif); font-size: 21px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; line-height: 1; transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--ink-soft); max-width: 60ch; }

/* footer additions */
.footer-brand { color: var(--white); margin-bottom: 16px; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.footer-brand .logo-mark { font-size: 22px; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; }
.portrait img { filter: grayscale(1); }

@media (max-width: 960px) {
  .faq { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .projects { grid-template-columns: 1fr; }
  .logo-mark { font-size: 21px; }
}
/* logo image */
.logo-img { display: block; height: 52px; width: auto; }
.footer-brand .logo-img { height: 38px; filter: brightness(0) invert(1); }
.hero-logo { display: block; width: min(520px, 80vw); height: auto; margin-bottom: 40px; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); }
.hero::after { background: linear-gradient(90deg, rgba(250,247,242,.94) 0%, rgba(250,247,242,.75) 40%, rgba(250,247,242,.15) 75%); }
.hero .wrap { padding-bottom: 10vh; }

/* minimal animations */
.hero-bg { animation: none; transform: none; }
.reveal { transform: none; transition: opacity .9s ease; }
.reveal.d1, .reveal.d2, .reveal.d3 { transition-delay: 0s; }
.scroll-cue::after { animation: none; }
.service:hover img, .project:hover img { transform: none; }
.btn:hover .arrow { transform: translateX(3px); }

@media (max-width: 720px) {
  .logo-img { height: 40px; }
  .hero-logo { width: 78vw; margin-bottom: 28px; }
  .hero::after { background: linear-gradient(180deg, rgba(250,247,242,.55) 0%, rgba(250,247,242,.85) 50%, rgba(250,247,242,.96) 100%); }
}
/* ===== v6: centered hero, accents, richer motion ===== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); z-index: 100; }

.hero { align-items: center; text-align: center; }
.hero::after { background: linear-gradient(180deg, rgba(250,247,242,.92) 0%, rgba(250,247,242,.7) 45%, rgba(250,247,242,.15) 100%); }
.hero .wrap { padding: 0 0 6vh; display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ""; width: 32px; height: 2px; background: currentColor; flex: none; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); max-width: 16ch; margin: 0 auto; }
.hero p { margin: 24px auto 44px; }
.hero-actions { justify-content: center; }
.hero-bg { animation: heroDrift 24s ease-in-out infinite alternate !important; }
@keyframes heroDrift { from { transform: scale(1.04) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
.hero-actions .btn { opacity: 0; transform: translateY(30px); animation: btnIn .9s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-actions .btn:nth-child(1) { animation-delay: .9s; }
.hero-actions .btn:nth-child(2) { animation-delay: 1.05s; }
@keyframes btnIn { to { opacity: 1; transform: none; } }
.scroll-cue::after { animation: cue 2.4s var(--ease) infinite !important; }

/* reveal motion */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1) !important; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s !important; } .reveal.d2 { transition-delay: .24s !important; } .reveal.d3 { transition-delay: .36s !important; }
.hero .reveal.d1 { transition-delay: .25s !important; } .hero .reveal.d2 { transition-delay: .5s !important; }
.from-left { transform: translateX(-60px); } .from-right { transform: translateX(60px); }

/* image curtain reveal */
.img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.77,0,.18,1); }
.img-reveal img { transform: scale(1.18); transition: transform 1.8s cubic-bezier(.22,.61,.36,1), filter .6s; }
.img-reveal.in { clip-path: inset(0 0 0 0); }
.img-reveal.in img { transform: scale(1); }
.service:hover .img-reveal.in img, .project:hover .img-reveal.in img { transform: scale(1.06); }

/* eyebrow line draws in */
.eyebrow::before, .hero .eyebrow::after { transform: scaleX(0); transform-origin: left; transition: transform .9s .2s cubic-bezier(.22,.61,.36,1); }
.eyebrow.in::before, .reveal.in .eyebrow::before, .in > .eyebrow::before, .hero .eyebrow.in::after { transform: scaleX(1); }
.hero .eyebrow::after { transform-origin: right; }

/* black accent bar under section headlines */
.section-head h2::after, .split h2::after, .faq h2::after, .contact h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 22px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1s .35s cubic-bezier(.22,.61,.36,1); }
.in h2::after, h2.in::after { transform: scaleX(1); }
.dark .section-head h2::after { background: var(--white); }

/* cards */
.service { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.service:hover { transform: translateY(-8px); }
.service .img { position: relative; }
.service .img::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.service:hover .img::after { transform: scaleX(1); }
.service h3 { transition: letter-spacing .4s; }

/* buttons: black fill sweep */
.btn { position: relative; overflow: hidden; z-index: 0; }
.btn::before { content: ""; position: absolute; inset: 0; background: #000; transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.77,0,.18,1); z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn.ghost:hover { background: transparent; color: var(--white); border-color: #000; }
.btn:hover .arrow { transform: translateX(6px); }

/* stats count-in + steps */
.stat strong { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.step { position: relative; border-top-color: transparent !important; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.step.in::before { transform: scaleX(1); }

/* faq */
.faq-item { transition: padding .4s; }
.faq-item[open] { padding-bottom: 30px; }

/* header shrink */
.header .wrap { transition: height .4s var(--ease); }
.header.solid .wrap { height: 68px; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .img-reveal, .hero-actions .btn { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
  .hero-bg { animation: none !important; }
}
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(250,247,242,.9) 0%, rgba(250,247,242,.75) 60%, rgba(250,247,242,.4) 100%); }
  .from-left, .from-right { transform: translateY(40px); }
}
.hero .eyebrow { white-space: nowrap; }
.hero::after { background: linear-gradient(180deg, rgba(250,247,242,.95) 0%, rgba(250,247,242,.85) 55%, rgba(250,247,242,.35) 100%); }
.hero p { color: var(--ink); font-weight: 500; }

/* ===== v8: dark hero, ergonomic buttons, uniform image fade ===== */
/* dark hero */
.hero { color: var(--white); }
.hero::after { background: linear-gradient(180deg, rgba(20,17,13,.55) 0%, rgba(20,17,13,.62) 50%, rgba(20,17,13,.78) 100%) !important; }
.hero .eyebrow, .hero h1 { color: var(--white); }
.hero p { color: rgba(255,255,255,.88) !important; font-weight: 400; }
.header.on-hero:not(.solid) { color: var(--white); }
.header.on-hero:not(.solid) .logo-img { filter: brightness(0) invert(1); }
.header.on-hero:not(.solid) .menu-toggle { color: var(--white); }

/* ergonomic buttons */
.btn { min-height: 54px; padding: 0 30px; justify-content: center; border-radius: 999px; font-size: 14px; letter-spacing: .08em; gap: 12px; }
.btn::before { border-radius: 999px; }
.hero-actions { gap: 14px; }
.hero-actions .btn { min-width: 220px; }
.hero .btn:not(.ghost) { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero .btn:not(.ghost)::before { background: var(--sand-200); }
.hero .btn:not(.ghost):hover { color: var(--ink); }
.hero .btn.ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn.ghost::before { background: var(--white); }
.hero .btn.ghost:hover { color: var(--ink); border-color: var(--white); }
.band .btn::before, .cta-card .btn::before { background: var(--sand-200); }
.band .btn:hover, .cta-card .btn:hover { color: var(--ink); }
.form .btn { min-width: 240px; }
.btn:focus-visible { outline: 2px solid var(--sand-400); outline-offset: 3px; }

/* uniform image appearance: simple fade */
.img-reveal { clip-path: none !important; opacity: 0; transition: opacity 1s ease !important; }
.img-reveal.in { opacity: 1; }
.img-reveal img, .img-reveal.in img { transform: none !important; transition: none !important; }
.service:hover .img-reveal.in img, .project:hover .img-reveal.in img { transform: none !important; }

@media (max-width: 720px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero-actions .btn { width: 100%; }
  .hero::after { background: linear-gradient(180deg, rgba(20,17,13,.6) 0%, rgba(20,17,13,.75) 100%) !important; }
}
/* ===== v9: bold heading font + oak texture in dark sections ===== */
:root { --serif: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .hero h1, .page-hero h1, .stat strong, .step strong, .values strong, .faq-item summary, .thanks h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800; letter-spacing: -.03em;
}
.hero h1 { line-height: 1.04; }
h2 { line-height: 1.08; }
h3, .step strong, .values strong, .faq-item summary { font-weight: 700; letter-spacing: -.02em; }
.stat strong { font-weight: 800; }

/* oak texture behind dark blocks */
.dark, .band, .footer {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(20,17,13,.86), rgba(20,17,13,.86)), url("https://static.wixstatic.com/media/8b05a5_130e1c4e01584052b56d59353c20cf4f~mv2.jpg/v1/fill/w_1920,h_1100,q_80/oak.jpg");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.service.cta-card {
  background-image: linear-gradient(rgba(20,17,13,.82), rgba(20,17,13,.82)), url("https://static.wixstatic.com/media/8b05a5_130e1c4e01584052b56d59353c20cf4f~mv2.jpg/v1/fill/w_900,h_1100,q_80/oak.jpg");
  background-size: cover; background-position: center;
}
@media (max-width: 960px) { .dark, .band, .footer { background-attachment: scroll; } }

/* ===== v11: light again, delicate headings ===== */
h1, h2, h3, .hero h1, .page-hero h1, .stat strong, .step strong, .values strong, .faq-item summary, .thanks h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 300; letter-spacing: -.025em;
}
.hero h1, .page-hero h1 { font-weight: 200; letter-spacing: -.03em; }
h3, .step strong, .values strong, .faq-item summary { font-weight: 400; letter-spacing: -.01em; }
.stat strong { font-weight: 200; }
.hero h1 { font-size: clamp(40px, 6vw, 84px); }

/* legal text (light) */
.legal h2 { font-size: 24px; margin: 52px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal ul { max-width: 75ch; margin-bottom: 12px; }
.legal ul { padding-left: 20px; color: var(--ink-soft); }
.legal a { border-bottom: 1px solid var(--ink); }
.legal .note { font-size: 14px; padding: 16px 20px; border-left: 3px solid var(--ink); background: var(--sand-50); }
/* ===== v12: palette from the landing page (deep brown-black, warm wood accent, neutral light) ===== */
:root {
  --sand-50: #f5f4f2;
  --sand-100: #ebe9e6;
  --sand-200: #dedad4;
  --sand-400: #b07a45;
  --sand-600: #8c5c2e;
  --ink: #17130f;
  --ink-soft: #57524c;
  --line: #e2dfda;
  --wood: #b07a45;
}
.sand, .page-hero { background: var(--sand-50); }
.eyebrow { color: var(--ink); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.progress { background: var(--wood); }
.textlink:hover { color: var(--wood); border-color: var(--wood); }
.field .req { color: var(--wood); }
.step span { color: var(--wood); }
.stat strong { color: var(--ink); }
.hero .btn:not(.ghost)::before { background: #e9e4dc; }
.band .btn::before, .cta-card .btn::before { background: #e9e4dc; }

/* subtle dividers */
main > section + section { border-top: 1px solid var(--line); }
main > section.dark, main > section.band, main > section.dark + section, main > section.band + section, .hero + section { border-top: 0; }
.section-head { position: relative; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.dark .section-head { border-bottom-color: rgba(255,255,255,.14); }
.service figcaption, .service .num { margin-top: 22px; }
.service p, .project p { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.stats { border-top: 1px solid var(--line); }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
.contact-info dl { border-top: 1px solid var(--line); }
.page-hero { border-bottom: 1px solid var(--line); }
.footer-bottom { border-top-color: rgba(255,255,255,.12); }
@media (max-width: 720px) { .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
/* ===== v13: landing-page colors across the site ===== */
:root { --wood: #b07a45; --honey: #d6a165; --deep: #17130f; }
/* hero service line below headline */
.hero .hero-services { margin: 26px 0 0; color: var(--honey); }
.hero .hero-services::before, .hero .hero-services::after { background: var(--honey); }
.hero p:not(.eyebrow) { margin-top: 22px; }

/* warm wood accents */
.eyebrow::before { background: var(--wood); }
.section-head h2::after, .split h2::after, .faq h2::after, .contact h2::after { background: var(--wood); }
.dark .section-head h2::after { background: var(--honey); }
.service .num, .detail .num, .project .num { background: var(--deep); color: var(--honey); }
.service .img, .project .img { border-bottom-color: var(--wood); }
.service .img::after { background: var(--deep); }
.stat strong { color: var(--wood); }
.detail li::before { color: var(--wood); }
.textlink { border-bottom-color: var(--wood); }
.btn::before { background: var(--wood); }
.btn:hover { border-color: var(--wood); }
.btn.ghost:hover { border-color: var(--wood); background: transparent; color: var(--white); }
.hero .btn:not(.ghost)::before, .band .btn::before, .cta-card .btn::before { background: var(--honey); }
.hero .btn.ghost::before { background: var(--honey); }
.hero .btn.ghost:hover { color: var(--deep); border-color: var(--honey); }
.dark .step span, .dark .eyebrow { color: var(--honey); }
.dark .eyebrow::before { background: var(--honey); }
.faq-item summary::after { color: var(--wood); }
.faq-item[open] summary { color: var(--wood); }
.nav a::after { background: var(--wood); }
.contact-info dt { color: var(--wood); }
.footer-bottom span:last-child { color: var(--honey); }
.page-hero { background: linear-gradient(180deg, #f5f4f2 0%, #efebe6 100%); }
.page-hero .eyebrow { color: var(--wood); }
/* ===== v14: warm-dark transition sections after the hero ===== */
.tone { color: #f1ebe1; border-top: 0 !important; }
.tone-1 { background: linear-gradient(180deg, #221d18 0%, #2c261f 100%); }
.tone-2 { background: linear-gradient(180deg, #2c261f 0%, #3a322a 100%); }
.tone .eyebrow { color: var(--honey); }
.tone .eyebrow::before { background: var(--honey); }
.tone h2, .tone h3 { color: #f6f1e9; }
.tone .lead, .tone p, .tone .stat span, .tone .section-head p { color: #c9bdad; }
.tone .textlink { color: #f6f1e9; border-bottom-color: var(--honey); }
.tone .textlink:hover { color: var(--honey); }
.tone .stats { border-top-color: rgba(241,235,225,.16); }
.tone .stat + .stat { border-left-color: rgba(241,235,225,.16); }
.tone .stat strong { color: var(--honey); }
.tone .section-head { border-bottom-color: rgba(241,235,225,.16); }
.tone .section-head h2::after, .tone .split h2::after { background: var(--honey); }
.tone .service p { border-bottom-color: rgba(241,235,225,.14); }
.tone .service .num { background: var(--honey); color: var(--deep); }
.tone .service .img { border-bottom-color: var(--honey); background: #2c261f; }
.tone .service .img::after { background: #f6f1e9; }
.tone + section { border-top: 0; }
@media (max-width: 720px) { .tone .stat + .stat { border-top-color: rgba(241,235,225,.16); } }
/* ===== v15: light again, all accents dark brown ===== */
:root { --wood: #3d2b1f; --honey: #3d2b1f; --brown: #3d2b1f; }
.progress { background: var(--brown); }
.scroll-cue { display: none !important; }

/* hero service line: subtler */
.hero .hero-services { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 400; letter-spacing: .32em; margin-top: 22px; }
.hero .hero-services::before, .hero .hero-services::after { background: rgba(255,255,255,.35); width: 22px; height: 1px; }
.hero .btn:not(.ghost)::before { background: #e9e4dc; }
.hero .btn.ghost::before { background: #fff; }
.hero .btn.ghost:hover { color: var(--deep); border-color: #fff; }

/* dark blocks (Ablauf, Band, Projekt-Kasten): neutral light accents */
.dark .eyebrow, .dark .step span { color: rgba(255,255,255,.75); }
.dark .eyebrow::before, .dark .section-head h2::after { background: rgba(255,255,255,.75); }
.band .btn::before, .cta-card .btn::before { background: #e9e4dc; }

/* footer: light, centered, dark brown */
.footer { background: #fff !important; background-image: none !important; color: var(--brown); border-top: 1px solid var(--line); padding: 44px 0; font-size: 14px; }
.footer-simple { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-simple nav { display: flex; gap: 28px; justify-content: center; }
.footer a { color: var(--brown); }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* ===== v16: plain numbers, project CTA, dark textured footer with logo ===== */
.service .num, .detail .num, .project .num, .tone .service .num { background: none !important; color: var(--ink-soft) !important; padding: 0; letter-spacing: .22em; font-weight: 500; }

.project-cta { margin-top: 72px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 52px; border: 1px solid var(--line); background: #fff; }
.project-cta h3 { max-width: 30ch; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.project-cta .eyebrow { margin-bottom: 14px; }
.project-cta .btn { flex: none; }
@media (max-width: 720px) { .project-cta { flex-direction: column; align-items: flex-start; padding: 32px 26px; } .project-cta .btn { width: 100%; } }

.footer {
  background-color: var(--deep) !important;
  background-image: linear-gradient(rgba(20,17,13,.86), rgba(20,17,13,.86)), url("https://static.wixstatic.com/media/8b05a5_130e1c4e01584052b56d59353c20cf4f~mv2.jpg/v1/fill/w_1920,h_700,q_80/oak.jpg") !important;
  background-size: cover !important; background-position: center !important;
  color: rgba(255,255,255,.82); border-top: 0; padding: 64px 0 48px;
}
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: #fff; }
/* ===== v17: playful image-free service list ===== */
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 60px; align-items: center; gap: 32px; padding: 34px 28px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .45s var(--ease), padding .45s var(--ease); }
.svc:nth-child(even) { margin-left: 6%; }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.77,0,.18,1); z-index: -1; }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { color: #fff; padding-left: 44px; }
.svc-num { font-family: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--ink); transition: -webkit-text-stroke-color .45s, color .45s; }
.svc:hover .svc-num { -webkit-text-stroke-color: #fff; }
.svc-body h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 6px; transition: transform .45s var(--ease); }
.svc-body p { color: var(--ink-soft); font-size: 16px; max-width: 60ch; padding: 0; border: 0 !important; transition: color .45s; }
.svc:hover .svc-body p { color: rgba(255,255,255,.75); }
.svc-arrow { justify-self: end; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: transform .45s var(--ease), background .45s, border-color .45s, color .45s; }
.svc:hover .svc-arrow { transform: rotate(-45deg); background: #fff; color: var(--ink); border-color: #fff; }
.svc.reveal { transform: translateX(-40px); }
.svc.reveal:nth-child(even) { transform: translateX(40px); }
.svc.reveal.in { transform: none; }
.svc:nth-child(2) { transition-delay: .06s; } .svc:nth-child(3) { transition-delay: .12s; } .svc:nth-child(4) { transition-delay: .18s; } .svc:nth-child(5) { transition-delay: .24s; } .svc:nth-child(6) { transition-delay: .3s; }
@media (max-width: 720px) {
  .svc { grid-template-columns: 56px minmax(0,1fr); gap: 16px; padding: 26px 8px; }
  .svc:nth-child(even) { margin-left: 0; }
  .svc-num { font-size: 40px; }
  .svc-arrow { display: none; }
  .svc:hover { padding-left: 16px; }
}

/* services page without images */
.detail { grid-template-columns: 1fr; padding: 56px 0; }
.detail > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 48px; align-items: start; transform: none; }
.detail .num { grid-column: 1; grid-row: 1 / span 3; font-size: 15px; padding-top: 14px; }
.detail h2 { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.detail p, .detail ul { grid-column: 3; }
.detail ul { margin-top: 18px; }
@media (max-width: 960px) { .detail > div { display: block; } .detail h2 { margin: 10px 0 18px; } }

/* about page */
.about-title { font-size: clamp(56px, 9vw, 128px) !important; }
.approach { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.approach h3 { font-size: 26px; margin-bottom: 12px; }
.approach p:not(.eyebrow) { color: var(--ink-soft); }
.svc.reveal.in { transition: color .45s ease, padding .45s ease, opacity 1s ease, transform 1.1s cubic-bezier(.22,.61,.36,1) !important; transition-delay: 0s !important; }

/* ===== v19 ===== */
.progress { display: none !important; }

/* solid dark footer */
.footer { background-image: none !important; background-color: var(--ink) !important; }

/* back button on services page */
.back-btn { position: fixed; left: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.08); transition: background .3s, color .3s; }
.back-btn:hover { background: var(--ink); color: #fff; }
.back-btn span { font-size: 16px; }
@media (max-width: 720px) { .back-btn { left: 16px; bottom: 16px; } }

/* calmer motion on services page */
.page-leistungen .reveal, .page-leistungen .from-left, .page-leistungen .from-right { transform: none !important; transition: opacity .6s ease !important; transition-delay: 0s !important; }
.page-leistungen .section-head h2::after, .page-leistungen .eyebrow::before { transition-duration: .4s; }
.detail, .svc, section[id] { scroll-margin-top: 110px; }

.back-btn { left: 50% !important; transform: translateX(-50%); bottom: 28px; padding: 0 28px; }


/* back button: left, vertically centered */
.back-btn { left: 24px !important; top: 50%; bottom: auto !important; transform: translateY(-50%) !important; }
@media (max-width: 720px) { .back-btn { top: auto; bottom: 16px !important; left: 16px !important; transform: none !important; } }

/* ===== v24 ===== */
.about-title { font-size: clamp(40px, 5.5vw, 76px) !important; }

/* stats: "Kurzfristig" on top, two below */
.stats { grid-template-columns: 1fr 1fr; }
.stat.stat-wide { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.stat + .stat { border-left: 0; padding-left: 0; }
.stat.stat-wide + .stat { padding-right: 32px; }
.stat.stat-wide + .stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .stat.stat-wide + .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}
.lead-strong { margin-top: 22px; font-weight: 600; font-size: 18px; color: var(--ink); }
.stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 32px; }
@media (max-width: 720px) { .stats .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* v27 back button only from start page */
.back-btn[hidden] { display: none !important; }

/* v28 service subpages */
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s ease, gap .2s ease; }
.more-link:hover { border-color: var(--ink); gap: 12px; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.svc-figure { margin: 0 0 56px; overflow: hidden; border-radius: 4px; }
.svc-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.page-service .svc-body h3 { margin: 0; }

/* v29 hyphenation for long German words */
.svc-body { min-width: 0; }
h1, h2, h3, .svc-body h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* v30 Leistungen dropdown */
.nav-drop { position: relative; display: flex; align-items: center; padding: 22px 0; margin: -22px 0; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 8px; }
.nav-drop .caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
.nav-drop:hover .caret, .nav-drop:focus-within .caret { transform: translateY(1px) rotate(225deg); }
.nav-sub { position: absolute; top: 100%; left: -22px; min-width: 270px; background: var(--white); color: var(--ink); padding: 10px 0; box-shadow: 0 18px 40px rgba(0,0,0,.10); border-top: 2px solid var(--ink); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 60; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav .nav-sub a { display: block; padding: 11px 22px; font-size: 15px; letter-spacing: .02em; text-transform: none; color: var(--ink); transition: background .2s ease, padding-left .2s ease; }
.nav .nav-sub a::after { display: none; }
.nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: #f3efe9; padding-left: 28px; }
@media (max-width: 720px) {
  .nav-drop { flex-direction: column; align-items: stretch; width: 100%; padding: 0; margin: 0; }
  .nav-drop .caret { display: none; }
  .nav-sub { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 6px 16px; background: transparent; }
  .nav .nav-sub a { padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: transparent; padding-left: 6px; }
  .nav.open { max-height: calc(100vh - 84px); overflow-y: auto; }
}

/* v31 dropdown: glass + animation */
.nav-sub {
  left: 50%; min-width: 300px; padding: 14px 8px 10px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(23,19,15,.10); border-top: 1px solid rgba(23,19,15,.10); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14);
  transform: translate(-50%, 12px) scale(.97); transform-origin: top center;
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility .3s;
}
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { transform: translate(-50%, 0) scale(1); }
.nav-sub::before { content: ""; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; background: inherit; border-left: 1px solid rgba(23,19,15,.10); border-top: 1px solid rgba(23,19,15,.10); transform: translateX(-50%) rotate(45deg); }
.header.on-hero:not(.solid) .nav-sub { background: rgba(23,19,15,.45); border-color: rgba(255,255,255,.14); color: var(--white); }
.header.on-hero:not(.solid) .nav-sub::before { border-color: rgba(255,255,255,.14); }
.ns-head { margin: 0 14px 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.nav .nav-sub a {
  display: grid; grid-template-columns: 28px 1fr 18px; align-items: center; gap: 6px;
  padding: 11px 14px; border-radius: 6px; color: inherit; font-size: 15px; letter-spacing: .01em; text-transform: none;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s ease calc(var(--i) * 35ms), transform .35s ease calc(var(--i) * 35ms), background .2s ease, padding .2s ease;
}
.nav-drop:hover .nav-sub a, .nav-drop:focus-within .nav-sub a { opacity: 1; transform: none; }
.ns-num { font-size: 11px; letter-spacing: .08em; opacity: .5; font-variant-numeric: tabular-nums; }
.ns-arrow { opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: rgba(23,19,15,.07); padding-left: 14px; }
.header.on-hero:not(.solid) .nav .nav-sub a:hover, .header.on-hero:not(.solid) .nav .nav-sub a[aria-current="page"] { background: rgba(255,255,255,.12); }
.nav .nav-sub a:hover .ns-arrow { opacity: 1; transform: none; }
.nav .nav-sub a:hover .ns-num { opacity: .9; }
@media (max-width: 720px) {
  .nav-sub { left: auto; transform: none !important; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; padding: 0 0 6px 6px; min-width: 0; }
  .nav-sub::before, .ns-head, .ns-arrow { display: none; }
  .header.on-hero:not(.solid) .nav-sub { background: transparent; color: var(--ink); }
  .nav .nav-sub a { opacity: 1; transform: none; grid-template-columns: 28px 1fr; padding: 11px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: transparent; padding-left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-sub, .nav .nav-sub a, .ns-arrow { transition: none; }
}

/* v32 Avenir Next */
:root { --sans: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --serif: "Avenir Next", Avenir, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
body { -webkit-font-smoothing: antialiased; }

/* v33 bolder Avenir weights + white dropdown */
h1, .hero h1, .page-hero h1, .about-title { font-weight: 400 !important; }
h2, .detail h2, .section-head h2, .band h2 { font-weight: 400 !important; }
h3, .svc-body h3 { font-weight: 500 !important; }
.stat strong, .step strong, .values strong, .award strong { font-weight: 400 !important; }
.nav a, .eyebrow, .menu-toggle { font-weight: 500; }
.lead-strong { font-weight: 600; }
.nav-sub, .header.on-hero:not(.solid) .nav-sub {
  background: #ffffff; color: var(--ink);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 1px solid rgba(23,19,15,.08);
}
.nav-sub::before, .header.on-hero:not(.solid) .nav-sub::before { background: #ffffff; border-color: rgba(23,19,15,.08); }
.header.on-hero:not(.solid) .nav .nav-sub a:hover, .header.on-hero:not(.solid) .nav .nav-sub a[aria-current="page"] { background: rgba(23,19,15,.06); }
.nav .nav-sub a { font-weight: 500; }
.ns-num, .ns-head { color: var(--ink); }
@media (max-width: 720px) {
  .nav-sub, .header.on-hero:not(.solid) .nav-sub { background: transparent; border: 0; }
}

/* v34 hero title: one line for Boden- und Türendesign */
.hero h1.hero-title { max-width: none; -webkit-hyphens: manual; hyphens: manual; text-align: center; }
.hero h1.hero-title .nowrap { white-space: nowrap; }
@media (max-width: 720px) {
  .hero h1.hero-title { font-size: clamp(26px, 7.6vw, 44px); }
}

/* v35 hero buttons lower, no stats on mobile */
.hero .hero-actions { margin-top: 72px; }
@media (max-width: 720px) {
  .hero .hero-actions { margin-top: 56px; }
  .stats { display: none; }
}

/* v36 mobile hero tuning */
@media (max-width: 720px) {
  .hero .wrap { padding-bottom: 16vh; }
  .hero h1.hero-title { font-size: min(8vw, 46px); letter-spacing: -.035em; }
  .hero .hero-services { font-size: 9px; letter-spacing: .26em; margin-top: 18px; }
  .hero .hero-services::before, .hero .hero-services::after { width: 16px; }
  .hero .hero-actions { margin-top: 44px; max-width: 250px; gap: 10px; }
  .hero .hero-actions .btn { min-width: 0; padding: 12px 18px; font-size: 11.5px; letter-spacing: .12em; justify-content: center; }
}

/* v37 mobile menu: collapsible Leistungen */
.sub-toggle { display: none; }
@media (max-width: 720px) {
  .nav-drop { flex-direction: row; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav-drop > a { flex: 1; width: auto; border-bottom: 0; }
  .sub-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: inherit; cursor: pointer; }
  .sub-toggle::before { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
  .nav-drop.sub-open .sub-toggle::before { transform: translateY(2px) rotate(225deg); }
  .nav-drop .nav-sub { display: none; width: 100%; flex-basis: 100%; border-top: 1px solid var(--line); }
  .nav-drop.sub-open .nav-sub { display: block; }
  .nav-drop .nav-sub a:last-child { border-bottom: 0; }
}

/* v38 mobile hero shorter */
@media (max-width: 720px) {
  .hero { height: 78vh; height: 78svh; min-height: 520px; }
  .hero .wrap { padding-bottom: 6vh; }
}

/* v39 mobile hero content a bit lower */
@media (max-width: 720px) {
  .hero .wrap { padding-top: 9vh; padding-bottom: 0; }
}

/* v40 notch: hero behind status bar, full-screen mobile hero */
.header { padding-top: env(safe-area-inset-top); }
@media (max-width: 720px) {
  .hero { height: 100vh; height: 100svh; min-height: 560px; }
  .hero .wrap { padding-top: calc(env(safe-area-inset-top) + 16vh); padding-bottom: 0; }
  .nav { top: calc(84px + env(safe-area-inset-top)); }
}

/* v41 notch: dark page canvas on start page so Safari tints the status bar dark */
html.home { background-color: #2a2219; }
html.home body { background-color: var(--white); }
@media (max-width: 720px) {
  html.home .header.on-hero:not(.solid) { background-color: rgba(42,34,25,.01); }
}
