/* Erstklassige Seiten – Stylesheet */

@font-face { font-family: "Gloock"; src: url("../fonts/Gloock-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0F0F0F;
  --surface: #171716;
  --surface-2: #1F1F1D;
  --ink: #F5F3EE;
  --ink-2: #C9C5BC;
  --muted: #8E8A82;
  --gold: #C8A46B;
  --gold-hover: #D8B984;
  --on-gold: #0F0F0F;
  --line: rgba(245, 243, 238, 0.12);
  --line-strong: rgba(245, 243, 238, 0.28);
  --ivory: #F5F3EE;
  --ivory-ink: #141413;
  --ivory-ink-2: #4A4740;
  --ivory-line: rgba(20, 20, 19, 0.14);
  --gold-dark: #7D5F2E;

  --f-display: "Gloock", Georgia, "Times New Roman", serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #0F0F0F; --ink: #F5F3EE; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg: #0F0F0F; --ink: #F5F3EE; }

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (pointer: fine) {
  body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='30' viewBox='0 0 26 36'%3E%3Cpath d='M2 2 V29 L9 22.5 L14 33.5 L19 31.5 L14 20.5 H23.5 Z' fill='%23C8A46B' stroke='%230F0F0F' stroke-width='1.6' stroke-linejoin='miter'/%3E%3C/svg%3E") 2 2, auto; }
  a, button, summary, label, select, [role="button"] { cursor: pointer; }
  input, textarea { cursor: text; }
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(15, 15, 15, 0.86); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* Typography */
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; letter-spacing: -0.012em; }
.t-hero { font-size: clamp(3rem, 5.5vw, 5.75rem); line-height: 1.0; letter-spacing: -0.02em; }
.t-page { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.t-h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; }
.t-h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; }
.small { font-size: .9rem; color: var(--muted); }
p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 38rem; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .9rem 1.6rem; border-radius: 999px;
  font: 600 1rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; background: none; color: inherit;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ivory-ink); color: var(--ivory); }
.btn--dark:hover { background: #2A2926; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.text-link { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(15, 15, 15, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: inline-flex; align-items: flex-end; gap: 3px; text-decoration: none; color: var(--ink); flex: none; }
.logo__word { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.logo__cursor { width: 11px; height: 15px; margin-bottom: -7px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; font-size: .95rem; color: var(--ink-2); text-decoration: none; padding: .4rem 0; transition: color .3s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.nav .btn { min-height: 44px; padding: .7rem 1.2rem; font-size: .92rem; }
.menu-toggle { display: none; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .2rem; background: none; border: 0; color: var(--ink); font: 600 .95rem/1 var(--f-body); }
.menu-toggle__lines { position: relative; width: 22px; height: 10px; }
.menu-toggle__lines::before, .menu-toggle__lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle__lines::before { top: 0; }
.menu-toggle__lines::after { top: 8.5px; }
.menu-open .menu-toggle__lines::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem) var(--pad) calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu__link { display: block; font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.15; color: var(--ink); text-decoration: none; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s; }
.mobile-menu__link[aria-current="page"] { color: var(--gold); }
.menu-open .mobile-menu__link { transform: none; opacity: 1; }
.menu-open .mobile-menu__list li:nth-child(2) .mobile-menu__link { transition-delay: .04s; }
.menu-open .mobile-menu__list li:nth-child(3) .mobile-menu__link { transition-delay: .08s; }
.menu-open .mobile-menu__list li:nth-child(4) .mobile-menu__link { transition-delay: .12s; }
.menu-open .mobile-menu__list li:nth-child(5) .mobile-menu__link { transition-delay: .16s; }
.menu-open .mobile-menu__list li:nth-child(6) .mobile-menu__link { transition-delay: .2s; }
.menu-open .mobile-menu__list li:nth-child(7) .mobile-menu__link { transition-delay: .24s; }
.menu-open { overflow: hidden; }

@media (max-width: 1020px) {
  .nav__list, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1021px) { .mobile-menu { display: none; } }

/* Sections */
.section { padding-block: clamp(5rem, 11vw, 9rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--ivory { background: var(--ivory); color: var(--ivory-ink); }
.section--ivory .lead, .section--ivory .prose { color: var(--ivory-ink-2); }
.section--ivory .small { color: var(--ivory-ink-2); }
.section--ivory ::selection { background: var(--ivory-ink); color: var(--ivory); }
.section--ivory :focus-visible { outline-color: var(--ivory-ink); }
.section--ivory .text-link { color: var(--ivory-ink); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); align-items: end; }
.section-head > :first-child { grid-column: 1 / span 7; }
.section-head > :last-child:not(:first-child) { grid-column: 8 / span 5; }
@media (max-width: 860px) { .section-head > :first-child, .section-head > :last-child:not(:first-child) { grid-column: 1 / -1; } }

/* Hero */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 9vw, 7rem); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 1.75rem; }
.hero__intro { color: var(--muted); font-size: 1rem; }
.hero__visual { grid-column: 7 / span 6; }
@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero__text, .hero__visual { grid-column: 1 / -1; }
}

/* Split text reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .wi { display: inline-block; transform: translateY(108%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms)); }
.split.is-in .wi { transform: none; }
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.is-in .fade-in, .fade-in.is-in { opacity: 1; transform: none; }

/* Browser build (hero visual) */
.bw { position: relative; aspect-ratio: 5 / 4; border-radius: 18px; border: 1px solid var(--line-strong); background: #141413; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); overflow: hidden; opacity: 0; transform: translateY(18px) scale(.985); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.bw.is-play { opacity: 1; transform: none; }
.bw__bar { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); position: relative; }
.bw__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); opacity: .9; }
.bw__url { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(52%, 260px); height: 26px; border-radius: 13px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--ink-2); letter-spacing: .01em; white-space: nowrap; }
.bw__caret { display: inline-block; width: 1px; height: 13px; background: var(--ink-2); margin-left: 2px; animation: caret 1s steps(1) infinite; }
.bw__live { position: absolute; right: 14px; top: 50%; transform: translateY(-50%) scale(.9); display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--gold); opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bw__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(200, 164, 107, .18); }
.bw.is-live .bw__live { opacity: 1; transform: translateY(-50%); }
@keyframes caret { 50% { opacity: 0; } }

.bw__site { position: absolute; inset: 46px 0 0 0; background: var(--ivory); padding: 5% 6%; display: grid; grid-template-rows: auto 1fr auto; gap: 6%; color: var(--ivory-ink); }
.m-nav { display: flex; align-items: center; justify-content: space-between; }
.m-logo { width: 22%; height: 10px; background: var(--ivory-ink); border-radius: 2px; }
.m-links { display: flex; gap: 8px; width: 40%; justify-content: flex-end; }
.m-links span { height: 6px; flex: 1; background: #BDB8AD; border-radius: 3px; }
.m-hero { position: relative; background: #1C1C1A; border-radius: 10px; padding: 7% 8%; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; transform-origin: top; }
.m-line { height: clamp(9px, 1.6vw, 14px); background: var(--ivory); border-radius: 3px; transform-origin: left; }
.m-line--1 { width: 72%; }
.m-line--2 { width: 54%; }
.m-text { height: 6px; width: 44%; background: #6E6A62; border-radius: 3px; transform-origin: left; margin-top: 4px; }
.m-btn { position: relative; margin-top: 10px; align-self: flex-start; width: 92px; height: 26px; border-radius: 13px; border: 1px solid var(--ivory); overflow: hidden; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.m-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; background: rgba(200, 164, 107, .45); transform: scale(0); opacity: 0; }
.bw.is-clicked .m-btn { background: var(--gold); border-color: var(--gold); }
.bw.is-clicked .m-btn::after { animation: ripple .8s var(--ease) forwards; }
@keyframes ripple { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.m-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.m-card { background: #E6E2D9; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.m-card span { height: 5px; background: #A9A398; border-radius: 3px; }
.m-card span:first-child { width: 34%; height: 18px; background: var(--gold-dark); opacity: .55; border-radius: 4px; margin-bottom: 4px; }
.m-card span:nth-child(3) { width: 70%; }

.bw .b { opacity: 0; }
.bw.is-play .b { animation: var(--anim, rise) .8s var(--ease) both; animation-delay: var(--t, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }

.bw__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 30px; z-index: 3; opacity: 0; transform: translate(calc(var(--sx, 400px)), calc(var(--sy, 400px))); transition: transform 1.25s var(--ease-in-out), opacity .4s var(--ease); pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.bw.is-cursor .bw__cursor { opacity: 1; transform: translate(var(--cx, 200px), var(--cy, 200px)); }
.bw.is-press .bw__cursor { transform: translate(var(--cx, 200px), var(--cy, 200px)) scale(.86); transition-duration: .15s; }

/* Statement (scroll highlight) */
.statement { font-family: var(--f-display); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.14; letter-spacing: -0.012em; max-width: 21ch; }
.statement .sw { color: rgba(245, 243, 238, .16); transition: color .5s var(--ease); }
.statement .sw.lit { color: var(--ink); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.pillar { display: flex; flex-direction: column; gap: .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line-strong); }
.pillar p { color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Steps (horizontal, home) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); padding-top: 3.25rem; }
.steps__track { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ivory-line); }
.steps__fill { position: absolute; inset: 0; background: var(--gold-dark); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-in-out); }
.steps.is-in .steps__fill { transform: none; }
.step { position: relative; display: flex; flex-direction: column; gap: .7rem; }
.step::before { content: ""; position: absolute; top: calc(-3.25rem - 5px); left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--ivory-ink); transition: background-color .4s var(--ease), border-color .4s var(--ease); transition-delay: calc(var(--i, 0) * 420ms + 300ms); }
.steps.is-in .step::before { background: var(--gold-dark); border-color: var(--gold-dark); }
.step__num { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--gold-dark); }
.step p { color: var(--ivory-ink-2); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.25rem; gap: 2.25rem; }
  .steps__track { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps__fill { transform: scaleY(0); transform-origin: top; }
  .step::before { top: .9rem; left: calc(-2.25rem); }
}

/* Coming soon / projects */
.soon { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.soon__text { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 1.5rem; }
.soon__frames { grid-column: 7 / span 6; position: relative; aspect-ratio: 16 / 11; }
@media (max-width: 860px) { .soon__text, .soon__frames { grid-column: 1 / -1; } }
.frame { position: absolute; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; }
.frame__bar { height: 30px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.frame__body { position: absolute; inset: 30px 0 0; background: linear-gradient(100deg, transparent 30%, rgba(245, 243, 238, .05) 50%, transparent 70%) 0 0 / 250% 100% no-repeat; animation: shimmer 3.2s linear infinite; }
.frame:nth-child(1) { left: 0; top: 0; width: 72%; height: 78%; }
.frame:nth-child(2) { right: 0; bottom: 0; width: 56%; height: 62%; background: var(--surface-2); }
.frame:nth-child(2) .frame__body { animation-delay: 1.1s; }
.frame__label { position: absolute; left: 18px; bottom: 16px; font-size: .85rem; color: var(--muted); }
@keyframes shimmer { 0% { background-position: 150% 0; } 100% { background-position: -100% 0; } }

.soon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.soon-card { position: relative; aspect-ratio: 4 / 3.2; }
.soon-card .frame { inset: 0; width: auto; height: auto; }
@media (max-width: 860px) { .soon-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta { text-align: left; }
.cta__title { font-family: var(--f-display); font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: 2.25rem; }

/* Page hero */
.page-hero { padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 1.75rem; }
.page-hero .lead { max-width: 40rem; }

/* Services list */
.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.service__head { grid-column: 1 / span 5; }
.service__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 1.5rem; }
.service__body > p { color: var(--ink-2); font-size: 1.12rem; }
@media (max-width: 860px) { .service__head, .service__body { grid-column: 1 / -1; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .78em; width: .8rem; height: 1px; background: var(--gold); }
.section--ivory .checks li { color: var(--ivory-ink-2); }
.section--ivory .checks li::before { background: var(--gold-dark); }

.price-note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; align-items: end; }
.price-note > :first-child { grid-column: 1 / span 6; }
.price-note > :last-child { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (max-width: 860px) { .price-note > :first-child, .price-note > :last-child { grid-column: 1 / -1; } }

/* Timeline (Ablauf page) */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); padding-left: clamp(4rem, 9vw, 7rem); }
.timeline__track { position: absolute; left: clamp(1.2rem, 3vw, 2rem); top: .6rem; bottom: .6rem; width: 1px; background: var(--line); }
.timeline__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-step { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem 2rem; }
.tl-step::before { content: ""; position: absolute; left: calc(-1 * clamp(4rem, 9vw, 7rem) + clamp(1.2rem, 3vw, 2rem) - 6px); top: .55rem; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.tl-step.is-reached::before { background: var(--gold); border-color: var(--gold); }
.tl-step__num { grid-column: 1 / span 2; font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); }
.tl-step__body { grid-column: 3 / span 8; display: flex; flex-direction: column; gap: .9rem; }
.tl-step__body p { color: var(--ink-2); font-size: 1.12rem; max-width: 36rem; }
@media (max-width: 700px) { .tl-step__num, .tl-step__body { grid-column: 1 / -1; } }

/* About */
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); position: relative; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 1.75rem; }
@media (max-width: 860px) { .about__photo, .about__text { grid-column: 1 / -1; } .about__photo { max-width: 420px; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); }
.value { display: flex; flex-direction: column; gap: .7rem; padding-top: 1.4rem; border-top: 1px solid var(--ivory-line); }
.value p { color: var(--ivory-ink-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 56rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.6rem 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .45s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { border-color: var(--gold); background: var(--gold); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--on-gold); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); }
.faq summary:hover .faq__icon { border-color: var(--ink); }
.faq__answer { overflow: hidden; }
.faq__answer p { color: var(--ink-2); padding-bottom: 1.8rem; max-width: 42rem; font-size: 1.08rem; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact__info { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 2rem; }
.contact__form { grid-column: 7 / span 6; }
@media (max-width: 960px) { .contact__info, .contact__form { grid-column: 1 / -1; } }
.channels { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.channel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 44px; }
.channel__label { color: var(--muted); font-size: .95rem; }
.channel__value { font-size: 1.05rem; text-align: right; }
a.channel:hover .channel__value { color: var(--gold); }
.channel[aria-disabled="true"] .channel__value { color: var(--muted); }

.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .92rem; color: var(--ink-2); }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: .85rem 1rem; min-height: 50px; transition: border-color .3s var(--ease); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 107, .2); }
.field [aria-invalid="true"] { border-color: #E08A7A; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--gold); flex: none; }
.consent a { color: var(--ink); }
.form__status { font-size: .95rem; color: var(--ink-2); min-height: 1.5em; }
.form__status.is-error { color: #F0A193; }
.form__status.is-success { color: var(--gold); }
.form .btn { justify-self: start; }

/* Legal */
.legal { max-width: 46rem; display: flex; flex-direction: column; gap: 2.25rem; }
.legal h2 { font-size: 1.6rem; margin-bottom: .6rem; }
.legal p, .legal address { color: var(--ink-2); font-style: normal; }
.placeholder { color: var(--gold); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(4rem, 8vw, 6rem) calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.footer__brand { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 1.2rem; }
.footer__brand p { color: var(--muted); max-width: 22rem; }
.footer__col { grid-column: span 2; display: flex; flex-direction: column; gap: .9rem; }
.footer__col:last-child { grid-column: span 3; }
.footer__title { font-size: .9rem; color: var(--muted); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer__col a { color: var(--ink-2); text-decoration: none; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-size: .9rem; }
.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: span 6; }
}

/* WhatsApp button */
.wa { position: fixed; right: calc(1.25rem + env(safe-area-inset-right, 0px)); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid rgba(200, 164, 107, .55); color: var(--gold); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.wa:hover { background: var(--gold); color: var(--on-gold); transform: translateY(-2px); }
.wa svg { width: 26px; height: 26px; }
.menu-open .wa { opacity: 0; pointer-events: none; }

/* Page transition */
.pt { position: fixed; inset: 0; z-index: 90; background: var(--bg); pointer-events: none; opacity: 1; transition: opacity .55s var(--ease); }
.pt::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-in-out); }
.is-ready .pt { opacity: 0; }
.is-leaving .pt { opacity: 1; transition-duration: .35s; }
.is-leaving .pt::after { transform: scaleX(1); }
.no-js .pt { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .split .wi, .fade-in { transform: none; opacity: 1; }
  .bw, .bw .b { opacity: 1; transform: none; }
  .bw__cursor { display: none; }
  .statement .sw { color: var(--ink); }
  .frame__body { animation: none; }
}

/* Utilities */
.mt { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.section--line { border-top: 1px solid var(--line); }
.split-2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.split-2 > :first-child { grid-column: 1 / span 5; }
.split-2 > :last-child { grid-column: 7 / span 6; }
@media (max-width: 860px) { .split-2 > :first-child, .split-2 > :last-child { grid-column: 1 / -1; } }

.footer__contacts a { display: flex; flex-direction: column; gap: .1rem; }
.fc-label { font-size: .8rem; color: var(--muted); }

/* Mobile grid collapse (prevents 12-column gaps from overflowing narrow screens) */
@media (max-width: 960px) {
  .hero .wrap, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero__text, .hero__visual, .contact__info, .contact__form { grid-column: auto; }
}
@media (max-width: 860px) {
  .section-head, .soon, .service, .price-note, .about, .split-2, .tl-step { grid-template-columns: minmax(0, 1fr); }
  .section-head > *, .soon > *, .service > *, .price-note > *, .about > *, .split-2 > *, .tl-step > * { grid-column: auto !important; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:last-child { grid-column: auto; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Packages & pricing */
.packages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.6rem 1.75rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.pkg--featured { border-color: rgba(200, 164, 107, .7); background: linear-gradient(var(--surface-2), var(--surface)); }
.pkg__badge { position: absolute; top: -13px; left: 1.6rem; background: var(--gold); color: var(--on-gold); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px; }
.pkg__price { font-family: var(--f-display); font-size: clamp(2rem, 2.6vw, 2.5rem); line-height: 1; color: var(--gold); }
.pkg__desc { color: var(--ink-2); }
.pkg .checks { flex: 1; align-content: start; gap: .6rem; font-size: .98rem; }
.pkg .btn { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 1100px) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; } }
@media (max-width: 640px) { .packages { grid-template-columns: minmax(0, 1fr); } }

.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.care { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 1.75rem; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--ivory-line); }
.care__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.care__price { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--gold-dark); }
.care__price span { font-family: var(--f-body); font-size: 1rem; color: var(--ivory-ink-2); }
.care__desc { color: var(--ivory-ink-2); }
@media (max-width: 760px) { .care-grid { grid-template-columns: minmax(0, 1fr); } }
.extras { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.extras > h3 { grid-column: 1 / span 4; }
.extras__list { grid-column: 6 / span 7; border-top: 1px solid var(--ivory-line); }
.extra { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--ivory-line); color: var(--ivory-ink); }
.extra__price { font-family: var(--f-display); font-size: 1.35rem; color: var(--gold-dark); white-space: nowrap; }
@media (max-width: 860px) { .extras { grid-template-columns: minmax(0, 1fr); } .extras > h3, .extras__list { grid-column: auto; } }

/* ---------- Gestapelte Karten ---------- */
.stack-card { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); transform-origin: 50% 0; }
.stack-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: calc(var(--cover, 0) * .5); pointer-events: none; }
.section.stack-card { border-radius: 32px 32px 0 0; border-top: 1px solid var(--line); box-shadow: 0 -50px 90px -40px rgba(0, 0, 0, .9); }
.section--ivory.stack-card { border-top-color: transparent; }
.stack-dark { background: #131312; }
.stack-end { position: relative; z-index: 1; background: var(--bg); }
.services--stack { border-top: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.services--stack .service { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 4vw, 3.25rem); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .8); }

/* ---------- Preis-Karten: Lichtschein & Signature-Rahmen ---------- */
.pkg { transition: transform .55s var(--ease), border-color .4s var(--ease); }
.pkg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 164, 107, .17), transparent 60%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.pkg > * { position: relative; z-index: 1; }
.pkg > .pkg__badge { position: absolute; z-index: 2; }
@media (hover: hover) {
  .pkg:hover { transform: translateY(-6px); border-color: rgba(200, 164, 107, .45); }
  .pkg:hover::before { opacity: 1; }
}
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pkg--featured { border-color: rgba(200, 164, 107, .3); }
.pkg--featured::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0deg 230deg, rgba(200, 164, 107, .2) 270deg, #EDD3A2 330deg, transparent 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ang 5s linear infinite; pointer-events: none; }
@keyframes ang { to { --ang: 360deg; } }

/* ---------- Riesiger Schriftzug im Footer ---------- */
.footer__mark { display: flex; align-items: flex-end; margin-top: clamp(3.5rem, 7vw, 5.5rem); font-family: var(--f-display); line-height: .92; letter-spacing: -0.025em; white-space: nowrap; color: var(--ink); overflow: hidden; padding-bottom: .1em; font-size: 8vw; }
.footer__mark-text { display: inline-block; }
.footer__mark .l { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.footer__mark.is-in .l { transform: none; }
.footer__mark-cursor { width: .16em; height: .22em; margin: 0 0 -.02em .05em; flex: none; opacity: 0; transform: translate(.3em, .3em); transition: opacity .6s var(--ease) .9s, transform .9s var(--ease) .9s; }
.footer__mark.is-in .footer__mark-cursor { opacity: 1; transform: none; }

/* ---------- Magnetische Buttons ---------- */
.btn.is-magnetic { transition: transform .25s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .stack-card { position: relative; top: auto !important; transform: none !important; }
  .stack-card::after { display: none; }
  .footer__mark .l, .footer__mark-cursor { transform: none; opacity: 1; }
  .pkg--featured::after { animation: none; }
}

/* Projekte (Designkonzepte) */
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 960px) { .proj-grid { grid-template-columns: minmax(0, 1fr); } }
.proj { display: flex; flex-direction: column; gap: 1.4rem; }
.proj__media { position: relative; padding: 0 8% 9% 0; }
.proj__pc { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.proj__pc img, .proj__phone img { display: block; width: 100%; height: auto; }
.proj__phone { position: absolute; right: 0; bottom: 0; width: 24%; border-radius: 16px; overflow: hidden; border: 3px solid #2a2a2c; box-shadow: 0 20px 40px -16px rgba(0,0,0,.95); background: #000; }
.proj__label { font-size: .85rem; color: var(--gold); letter-spacing: .02em; }
.proj__body { display: flex; flex-direction: column; gap: .55rem; }
.proj__body p { color: var(--ink-2); }
.proj { transition: transform .55s var(--ease); }
@media (hover: hover) { .proj:hover { transform: translateY(-4px); } }
.proj-list { display: flex; flex-direction: column; gap: clamp(3.5rem, 7vw, 6rem); }
.proj--big { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: center; }
.proj--big .proj__media { grid-column: 1 / span 7; }
.proj--big .proj__body { grid-column: 9 / span 4; }
.proj-list .proj--big:nth-child(even) .proj__media { grid-column: 6 / span 7; order: 2; }
.proj-list .proj--big:nth-child(even) .proj__body { grid-column: 1 / span 4; order: 1; }
@media (max-width: 860px) { .proj--big { grid-template-columns: minmax(0, 1fr); } .proj--big .proj__media, .proj--big .proj__body, .proj-list .proj--big:nth-child(even) .proj__media, .proj-list .proj--big:nth-child(even) .proj__body { grid-column: auto; order: 0; } }

/* Lange Rechtstexte (Datenschutzerklärung) */
.legal--long { display: block; max-width: 46rem; color: var(--ink-2); }
.legal--long h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--ink); margin: 3rem 0 1rem; }
.legal--long h2:first-child { margin-top: 0; }
.legal--long h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); margin: 2rem 0 .6rem; }
.legal--long h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 1.4rem 0 .4rem; }
.legal--long p { margin: 0 0 1rem; }
.legal--long ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal--long li { margin-bottom: .4rem; }
.legal--long a { color: var(--ink); overflow-wrap: anywhere; }
.wrap.legal { max-width: var(--wrap); }
.wrap.legal > * { max-width: 46rem; }

/* Footer mit Branchen-Spalte */
.footer__brand { grid-column: 1 / span 4; }
.footer__col, .footer__col:last-child { grid-column: span 2; }
@media (max-width: 860px) { .footer__brand { grid-column: 1 / -1; } .footer__col, .footer__col:last-child { grid-column: auto; } }

/* Website-Check */
.check-sec { border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: 24px; border: 1px solid rgba(200, 164, 107, .45); background: radial-gradient(120% 140% at 100% 0%, rgba(200, 164, 107, .12), transparent 55%), var(--surface); }
.check__text { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 1.5rem; }
.check__list { grid-column: 8 / span 5; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.check__list li { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.check__list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.check__list strong { font-weight: 600; color: var(--ink); }
.check__list span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .check { grid-template-columns: minmax(0, 1fr); } .check__text, .check__list { grid-column: auto; } }

/* Vergleich */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 20px; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { text-align: left; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 18%; }
.cmp td { color: var(--ink-2); }
.cmp .cmp__me { background: rgba(200, 164, 107, .08); color: var(--ink); }
.cmp thead .cmp__me { color: var(--gold); }
.cmp td.cmp__me::before { content: ""; display: inline-block; width: 12px; height: 7px; margin-right: .55rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-3px) rotate(-45deg); }

/* Branchen-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.branch { display: flex; flex-direction: column; gap: .8rem; padding: 2rem 1.75rem; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.branch__text { color: var(--ink-2); flex: 1; }
.branch__more { color: var(--gold); font-weight: 600; font-size: .95rem; }
.branch:hover { border-color: rgba(200, 164, 107, .55); transform: translateY(-4px); }
@media (max-width: 860px) { .branch-grid { grid-template-columns: minmax(0, 1fr); } }
.branch .t-h3 { font-family: var(--f-display); font-weight: 400; }

/* ---------- Preis-Rechner ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: .8rem 2rem; }
.calc-sec { border-top: 1px solid var(--line); }
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.calc__steps { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 3.5rem); }
.calc__result { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1.5rem); }
.calc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__group legend { display: flex; align-items: baseline; gap: 1rem; padding: 0; margin-bottom: 1.4rem; }
.calc__num { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: var(--gold); min-width: 1.2rem; }

.opts { display: grid; gap: .85rem; }
.opts--pkg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.35rem 1.4rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .45s var(--ease); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.opt__name { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.1; }
.opt__price { color: var(--gold); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt__key { color: var(--ink); font-weight: 600; font-size: .95rem; }
.opt__text { color: var(--ink-2); font-size: .95rem; line-height: 1.5; padding-right: 1.2rem; }
.opt__cursor { position: absolute; right: 14px; bottom: 12px; width: 13px; height: 18px; opacity: 0; transform: translate(10px, 10px) scale(.6); transition: opacity .35s var(--ease), transform .55s var(--ease); }
.opt:hover { border-color: var(--line-strong); }
.opt.is-sel { border-color: var(--gold); background: linear-gradient(160deg, rgba(200, 164, 107, .11), transparent 60%), var(--surface); }
.opt.is-sel .opt__cursor { opacity: 1; transform: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.opts--care .opt { padding-block: 1.1rem 1.15rem; }
.opts--care .opt__name { font-size: 1.25rem; }

.calc__hint { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; border: 1px dashed rgba(200, 164, 107, .55); color: var(--ink-2); font-size: .95rem; }
.calc__hint button { font: inherit; color: var(--gold); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

.xtras { border-top: 1px solid var(--line); }
.xtra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 72px; padding: .8rem 0; border-bottom: 1px solid var(--line); position: relative; transition: opacity .35s var(--ease); }
.xtra input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.xtra__text { display: flex; flex-direction: column; gap: .1rem; }
.xtra__name { color: var(--ink); }
.xtra__price { color: var(--muted); font-size: .9rem; }
.xtra__box { flex: none; position: relative; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.xtra__box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px; border-right: 2px solid var(--on-gold); border-bottom: 2px solid var(--on-gold); transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.xtra input:checked ~ .xtra__box { background: var(--gold); border-color: var(--gold); }
.xtra input:checked ~ .xtra__box::after { transform: rotate(45deg) scale(1); }
.xtra input:focus-visible ~ .xtra__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.xtra:hover .xtra__box { border-color: var(--ink-2); }
.xtra.is-off { opacity: .4; }
.stepper { flex: none; display: flex; align-items: center; gap: .35rem; }
.stepper__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--ink); font: 400 1.3rem/1 var(--f-body); display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.stepper__btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.stepper__btn:disabled { opacity: .3; cursor: default; }
.stepper__val { min-width: 2ch; text-align: center; font-family: var(--f-display); font-size: 1.4rem; font-variant-numeric: tabular-nums; }

.calc__result { display: flex; flex-direction: column; gap: 1.25rem; padding: clamp(1.6rem, 3vw, 2.1rem); border-radius: 22px; background: radial-gradient(130% 90% at 100% 0%, rgba(200, 164, 107, .14), transparent 60%), var(--surface-2); border: 1px solid rgba(200, 164, 107, .45); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.calc__res-title { font-family: var(--f-body); font-weight: 600; font-size: .95rem; color: var(--muted); }
.calc__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.calc__lines li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.calc__lines li span:last-child { white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__lines li.is-new { animation: lineIn .5s var(--ease); }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.calc__total { display: flex; flex-direction: column; gap: .3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.calc__total-label { color: var(--ink-2); font-size: .95rem; }
.calc__total-val { font-family: var(--f-display); font-size: clamp(2.6rem, 4.2vw, 3.4rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__monthly { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); }
.calc__monthly span:last-child { color: var(--ink); font-weight: 600; }
.calc__monthly[hidden] { display: none; }
.calc__result .btn { width: 100%; }
.calc__note { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.calc__bar { display: none; }

@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__steps, .calc__result { grid-column: auto; }
  .calc__result { position: relative; top: auto; }
  .calc__bar { position: sticky; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.2rem; border-radius: 999px; background: rgba(31, 31, 29, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(200, 164, 107, .55); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .9); color: var(--ink-2); font-size: .95rem; transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .calc__bar strong { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--gold); font-variant-numeric: tabular-nums; }
  .calc__bar.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
@media (max-width: 560px) {
  .opts--pkg { grid-template-columns: minmax(0, 1fr); }
  .opt__name { font-size: 1.3rem; }
}
.no-js .calc { display: none; }
.calc__group legend .t-h3 { font-family: var(--f-display); }
.btn-row { align-items: center; }

/* Lange deutsche Wörter in großen Überschriften am Handy sauber trennen */
@media (max-width: 600px) {
  .t-hero, .t-page, .t-h2, .cta__title { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .split .w { max-width: 100%; }
}

/* ---------- Sofort-Check ---------- */
.check { align-items: start; }
.check__text { grid-column: 1 / span 5; }
.check__alt { color: var(--muted); max-width: 30rem; }
.quiz { grid-column: 7 / span 6; position: relative; min-height: 400px; padding: clamp(1.5rem, 3.5vw, 2.4rem); border-radius: 20px; background: rgba(15, 15, 15, .55); border: 1px solid var(--line-strong); display: flex; flex-direction: column; }
:root:not(.no-js) .check__static { display: none; }
.no-js .quiz { display: none; }
.no-js .check__static { grid-column: 7 / span 6; }
.quiz__stage { display: flex; flex-direction: column; gap: 1.4rem; flex: 1; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.quiz__step { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.quiz__back { font: 600 .92rem/1 var(--f-body); color: var(--ink-2); background: none; border: 0; padding: .7rem 0; min-height: 44px; }
.quiz__back:hover { color: var(--gold); }
.quiz__prog { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: -.6rem; }
.quiz__prog i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.quiz__q { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.2; outline: none; }
.quiz__answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: auto; }
.quiz__a { min-height: 56px; padding: .9rem 1.1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 1rem/1.2 var(--f-body); text-align: left; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.quiz__a:hover { border-color: var(--gold); }
.quiz__a.is-picked { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.quiz__a:active { transform: scale(.98); }

.quiz__result { display: flex; flex-direction: column; gap: 1.3rem; }
.quiz__head { display: flex; align-items: center; gap: 1.4rem; }
.quiz__ring { position: relative; flex: none; width: 116px; height: 116px; }
.quiz__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.quiz__ring circle { fill: none; stroke-width: 6; }
.quiz__ring .bg { stroke: var(--line); }
.quiz__ring .fg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 1.3s var(--ease); }
.quiz__score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.quiz__score b { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.quiz__score span { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.quiz__verdict { font-family: var(--f-display); font-size: clamp(1.45rem, 2.2vw, 1.8rem); line-height: 1.15; outline: none; }
.quiz__sum { color: var(--ink-2); }
.quiz__weak { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.quiz__weak li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.quiz__weak strong { font-weight: 600; color: var(--ink); }
.quiz__weak span { color: var(--ink-2); font-size: .94rem; }
.quiz__note { font-size: .85rem; color: var(--muted); }
.quiz__actions { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.quiz__again { font: 600 .95rem/1 var(--f-body); color: var(--ink-2); background: none; border: 0; padding: .8rem 0; text-decoration: underline; text-underline-offset: 4px; }
.quiz__again:hover { color: var(--gold); }
@media (max-width: 860px) {
  .check__text, .quiz, .no-js .check__static { grid-column: auto; }
  .quiz { min-height: 0; }
}
@media (max-width: 420px) {
  .quiz__head { flex-direction: column; align-items: flex-start; }
}

/* Rechner: Startzustand ohne Auswahl */
.calc__empty { color: var(--muted); font-size: .95rem; }
.calc__total-val.is-empty, .calc__bar strong.is-empty { color: var(--muted); }
.field, .field input, .field textarea { min-width: 0; }
.form { grid-template-columns: minmax(0, 1fr); }

/* ---------- Hero: drei Branchen im Browserfenster ---------- */
.bw { --s-bg: #F4F7F6; --s-logo: #1F3B3A; --s-link: #B9C9C6; --s-hero: #DCE9E6; --s-line: #1F3B3A; --s-text: #7F9592; --s-btn: #2F7D78; --s-btn-ink: #F4F7F6; --s-card: #FFFFFF; --s-card-line: #C7D5D2; --s-card-top: #2F7D78; --s-radius: 10px; --s-btn-radius: 13px; }
.bw[data-scene="schreinerei"] { --s-bg: #2A2928; --s-logo: #E9E1D4; --s-link: #5E5952; --s-hero: #4A3B2C; --s-line: #F1E9DC; --s-text: #A8957C; --s-btn: #B48E55; --s-btn-ink: #1E1C1A; --s-card: #353331; --s-card-line: #5A554E; --s-card-top: #B48E55; --s-radius: 3px; --s-btn-radius: 2px; }
.bw[data-scene="friseur"] { --s-bg: #F3ECE7; --s-logo: #161616; --s-link: #CDBFB6; --s-hero: #161616; --s-line: #F3ECE7; --s-text: #8E7F78; --s-btn: #B98378; --s-btn-ink: #161616; --s-card: #E8DDD5; --s-card-line: #C3B2A8; --s-card-top: #161616; --s-radius: 0px; --s-btn-radius: 0px; }

.bw__site { background: var(--s-bg); transition: background-color .7s var(--ease), opacity .45s var(--ease); }
.m-logo { background: var(--s-logo); transition: background-color .7s var(--ease); }
.m-links span { background: var(--s-link); }
.m-hero { background: var(--s-hero); border-radius: var(--s-radius); }
.m-line { background: var(--s-line); }
.m-text { background: var(--s-text); }
.m-btn { border-color: var(--s-line); border-radius: var(--s-btn-radius); }
.bw.is-clicked .m-btn { background: var(--s-btn); border-color: var(--s-btn); }
.m-card { background: var(--s-card); border-radius: var(--s-radius); }
.m-card span { background: var(--s-card-line); }
.m-card span:first-child { background: var(--s-card-top); opacity: .7; }

/* Schreinerei: großes Bild im Hero, Text unten */
.bw[data-scene="schreinerei"] .m-hero { justify-content: flex-end; background: linear-gradient(160deg, #5C4632, #3A2E23 70%); }
.bw[data-scene="schreinerei"] .m-line--1 { width: 64%; }
/* Friseur: Magazin-Look, Bildfläche rechts im Hero */
.bw[data-scene="friseur"] .m-hero::after { content: ""; position: absolute; right: 6%; top: 14%; bottom: 14%; width: 30%; background: linear-gradient(180deg, #B98378, #6E4A43); }
.bw[data-scene="friseur"] .m-line--1 { width: 52%; }
.bw[data-scene="friseur"] .m-line--2 { width: 40%; }
.bw[data-scene="friseur"] .m-text { width: 34%; }
.bw[data-scene="friseur"] .m-cards { grid-template-columns: 1.4fr 1fr 1fr; }

.bw.is-out .bw__site { opacity: 0; }
.bw.is-out .bw__url > span { opacity: 0; transition: opacity .3s var(--ease); }

.bw__caption { margin-top: 1rem; color: var(--muted); font-size: .9rem; min-height: 1.6em; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bw__caption.is-swap { opacity: 0; transform: translateY(4px); }
@media (prefers-reduced-motion: reduce) { .bw__caption { transition: none; } }

/* ---------- Hell/Dunkel-Umschalter ---------- */
.theme-toggle { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: border-color .3s var(--ease), color .3s var(--ease); }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { position: absolute; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.theme-toggle__moon { opacity: 0; transform: rotate(-70deg) scale(.6); }
:root[data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(70deg) scale(.6); }
:root[data-theme="light"] .theme-toggle__moon { opacity: 1; transform: none; }
@media (min-width: 1021px) { .theme-toggle { margin-left: -1rem; } }
@media (max-width: 1020px) { .theme-toggle { margin-left: auto; } }

/* Kreisförmiger Übergang beim Umschalten */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Helles Design ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #141413;
  --ink-2: #4A4740;
  --muted: #6B675F;
  --gold: #8A6A33;
  --gold-hover: #75592A;
  --gold-fill: #C8A46B;
  --on-gold: #141413;
  --line: rgba(20, 20, 19, 0.12);
  --line-strong: rgba(20, 20, 19, 0.26);
  /* Die Kontrast-Abschnitte werden im hellen Design dunkel */
  --ivory: #141413;
  --ivory-ink: #F5F3EE;
  --ivory-ink-2: #C9C5BC;
  --ivory-line: rgba(245, 243, 238, 0.14);
  --gold-dark: #C8A46B;
}
/* Gold-Flächen behalten das helle Markengold */
:root[data-theme="light"] ::selection,
:root[data-theme="light"] .skip-link,
:root[data-theme="light"] .btn--gold,
:root[data-theme="light"] .pkg__badge,
:root[data-theme="light"] .quiz__a.is-picked,
:root[data-theme="light"] .wa:hover { background: var(--gold-fill); color: var(--on-gold); }
:root[data-theme="light"] .btn--gold:hover { background: #D8B984; }
:root[data-theme="light"] .quiz__a.is-picked,
:root[data-theme="light"] .xtra input:checked ~ .xtra__box,
:root[data-theme="light"] .faq details[open] .faq__icon { border-color: var(--gold-fill); background: var(--gold-fill); }
/* Dunkle Abschnitte: helles Gold für Schrift */
:root[data-theme="light"] .section--ivory { --gold: #C8A46B; --gold-hover: #D8B984; --line: rgba(245, 243, 238, 0.12); --line-strong: rgba(245, 243, 238, 0.28); }
:root[data-theme="light"] .care { background: #1F1F1D; }
:root[data-theme="light"] .btn--dark:hover { background: #FFFFFF; }

/* Kopfzeile, Leisten und Karten */
:root[data-theme="light"] body::before,
:root[data-theme="light"] .site-header { background: rgba(245, 243, 238, 0.88); }
:root[data-theme="light"] .statement .sw { color: rgba(20, 20, 19, 0.14); }
:root[data-theme="light"] .statement .sw.lit { color: var(--ink); }
:root[data-theme="light"] .stack-dark { background: #ECE8E0; }
:root[data-theme="light"] .stack-card::after { background: #141413; opacity: calc(var(--cover, 0) * .18); }
:root[data-theme="light"] .services--stack .service { box-shadow: 0 -24px 50px -34px rgba(20, 20, 19, .35); }
:root[data-theme="light"] .proj__pc,
:root[data-theme="light"] .calc__result,
:root[data-theme="light"] .bw { box-shadow: 0 30px 60px -36px rgba(20, 20, 19, .45); }
:root[data-theme="light"] .calc__result { background: radial-gradient(130% 90% at 100% 0%, rgba(200, 164, 107, .18), transparent 60%), #FFFFFF; border-color: rgba(138, 106, 51, .45); }
:root[data-theme="light"] .opt.is-sel { background: linear-gradient(160deg, rgba(200, 164, 107, .16), transparent 60%), var(--surface); }
:root[data-theme="light"] .quiz { background: rgba(255, 255, 255, .75); }
:root[data-theme="light"] .calc__bar { background: rgba(255, 255, 255, .94); border-color: rgba(138, 106, 51, .5); box-shadow: 0 18px 40px -18px rgba(20, 20, 19, .4); }
:root[data-theme="light"] .field [aria-invalid="true"] { border-color: #B5432F; }
:root[data-theme="light"] .form__status.is-error { color: #A63A28; }
:root[data-theme="light"] .section.stack-card { box-shadow: 0 -30px 60px -40px rgba(20, 20, 19, .28); }
:root[data-theme="light"] .proj__phone { box-shadow: 0 20px 40px -20px rgba(20, 20, 19, .5); }
:root[data-theme="light"] .wa { box-shadow: 0 14px 30px -14px rgba(20, 20, 19, .4); }
@media (max-width: 1020px) {
  .site-header .wrap { gap: 1rem; }
  .nav { gap: .75rem; }
}
@media (max-width: 480px) {
  .menu-toggle__text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .menu-toggle { min-width: 44px; justify-content: center; }
}
@media (max-width: 359px) {
  .logo__word { font-size: 1.15rem; }
  .site-header .wrap { gap: .5rem; }
  .nav { gap: .4rem; }
}
.quiz, .quiz * { overflow-anchor: none; }
