/* sanaro — nach Markenhandbuch 10/2026: Schwarz trägt, Mint setzt den Akzent */
:root {
  --schwarz: #0e0f0f;
  --graphit: #1c1f1f;
  --mint: #3ee6c1;
  --mint-tief: #0b7a63;
  --stein: #9aa3a0;
  --kalk: #f2f4f3;
  --weiss: #ffffff;
  --line: rgba(255, 255, 255, .09);
  --radius: 18px;
  --head: "Outfit", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(1rem, 4vw, 3.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--schwarz);
  color: var(--weiss);
  font: 400 16px/1.7 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
.mint { color: var(--mint); }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section--tight { padding-top: 0; }
.section--graphit { background: var(--graphit); }
.section--kalk { background: var(--kalk); color: var(--schwarz); }

/* Labels: immer Großbuchstaben, weite Laufweite */
.label, .kicker {
  font: 600 .72rem/1.4 var(--text);
  letter-spacing: .26em;
  text-transform: uppercase;
}
.label { color: var(--stein); }
.kicker { color: var(--mint); margin-bottom: 1.4rem; }
.kicker--deep { color: var(--mint-tief); }

.h2 {
  font: 600 clamp(2.2rem, 4.6vw, 3.8rem)/1.05 var(--head);
  letter-spacing: -.02em;
  margin-bottom: 1.6rem;
}

/* Buttons & Links */
.btn {
  display: inline-block;
  font: 600 .95rem/1 var(--text);
  padding: 1.05rem 1.7rem;
  border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--mint { background: var(--mint); color: var(--schwarz); }
.btn--mint:hover { background: #63eccd; }
.btn--dark { background: var(--schwarz); color: var(--weiss); }
.btn--dark:hover { background: var(--graphit); }
.btn--sm { padding: .75rem 1.25rem; font-size: .85rem; }
.link {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .95rem/1 var(--text);
}
.link::after { content: "→"; color: var(--mint); transition: transform .35s var(--ease); }
.link:hover::after { transform: translateX(5px); }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem max(calc((100% - 1200px) / 2), var(--gutter));
  transition: background .45s var(--ease), padding .45s var(--ease);
}
.nav.is-solid {
  background: rgba(14, 15, 15, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}
.nav__logo { width: 150px; height: auto; }
.nav__logo img { height: auto; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; font-size: .9rem; font-weight: 500; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .78); transition: color .3s; }
.nav__links a:not(.btn):hover { color: var(--mint); }
.nav__toggle { display: none; background: none; border: 0; width: 2.6rem; height: 2.6rem; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; border-radius: 2px; background: var(--weiss); margin: 7px 6px; transition: transform .3s; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { filter: saturate(.95); transform: scale(1.08); animation: settle 2.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 15, .88) 0%, rgba(14, 15, 15, .45) 45%, rgba(14, 15, 15, .05) 80%),
    linear-gradient(0deg, rgba(14, 15, 15, .9) 0%, transparent 40%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 5rem; }
.hero__inner .label { color: var(--mint); margin-bottom: 1.6rem; }
.hero__title {
  font: 600 clamp(3.4rem, 9.5vw, 8.4rem)/.95 var(--head);
  letter-spacing: -.035em;
  margin-bottom: 1.8rem;
}
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 32rem; color: rgba(255, 255, 255, .82); margin-bottom: 2.5rem; }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__inner > * { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; }
.hero__inner > :nth-child(2) { animation-delay: .12s; }
.hero__inner > :nth-child(3) { animation-delay: .26s; }
.hero__inner > :nth-child(4) { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__foot {
  position: relative; z-index: 2;
  display: flex; gap: 2.5rem;
  padding: 1.5rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font: 600 .7rem/1 var(--text); letter-spacing: .24em; text-transform: uppercase;
  color: var(--stein);
}
.hero__foot > span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); margin-right: .8rem; vertical-align: middle; }

/* 01 Idee */
.idea { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.idea__text p { font-size: 1.15rem; color: rgba(255, 255, 255, .78); margin-bottom: 1.2rem; max-width: 34rem; }
.idea__text p strong { color: var(--weiss); }
.idea__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.idea__stats div { background: var(--graphit); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.idea__stats strong { display: block; font: 600 2.8rem/1 var(--head); color: var(--mint); margin-bottom: .8rem; }
.idea__stats span { font-size: .88rem; color: var(--stein); line-height: 1.5; display: block; }

/* 02 Leistungen */
.head { max-width: 46rem; margin-bottom: 3.5rem; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.head__aside { max-width: 22rem; color: var(--stein); margin-bottom: 2rem; }
.svc { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; }
.card {
  background: var(--graphit);
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2.4rem;
  display: flex; flex-direction: column;
  border: 1px solid transparent;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card:hover { border-color: rgba(62, 230, 193, .45); transform: translateY(-4px); }
.card h3 { font: 600 1.55rem/1.15 var(--head); margin: 1.2rem 0 .9rem; letter-spacing: -.01em; }
.card p { color: var(--stein); font-size: .95rem; }
.card__no { font: 600 .8rem/1 var(--text); letter-spacing: .2em; color: var(--mint); }
.card--feature { padding: 0; overflow: hidden; }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { filter: saturate(.8); transition: transform 1.2s var(--ease); }
.card--feature:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 2rem 2rem 2.4rem; }
.card__tag {
  display: inline-block; background: var(--mint); color: var(--schwarz);
  font: 700 .66rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase;
  padding: .45rem .7rem; border-radius: 6px;
}
.card--feature h3 { font-size: 2rem; }
.ticks { list-style: none; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.ticks li { font-size: .92rem; color: rgba(255, 255, 255, .85); display: flex; gap: .7rem; }
.ticks li::before { content: "✓"; color: var(--mint); font-weight: 700; }
.card:not(.card--feature) .ticks { margin-top: auto; }
.card:not(.card--feature) p { margin-bottom: 1.6rem; }

/* Statement-Band */
.band { position: relative; height: min(80vh, 720px); overflow: hidden; }
.band__media { position: absolute; inset: -12% 0; }
.band__media img { filter: saturate(.6); will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 15, 15, .88), rgba(14, 15, 15, .45)); }
.band__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.band__text { font: 600 clamp(2.2rem, 5.4vw, 4.6rem)/1.04 var(--head); letter-spacing: -.03em; }

/* 03 Projekte */
.proj { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.proj__card--wide { grid-column: 1 / -1; }
.proj__card { background: var(--graphit); border-radius: var(--radius); overflow: hidden; }
.proj__img { overflow: hidden; aspect-ratio: 4 / 3; }
.proj__card--wide .proj__img { aspect-ratio: 21 / 9; }
.proj__img img { filter: saturate(.8); transition: transform 1.3s var(--ease); }
.proj__card:hover .proj__img img { transform: scale(1.04); }
.proj__meta { padding: 1.5rem 1.8rem 1.8rem; display: grid; grid-template-columns: 1fr auto; column-gap: 2rem; align-items: baseline; }
.proj__meta .label { grid-column: 1 / -1; color: var(--mint); margin-bottom: .5rem; }
.proj__meta h3 { font: 600 1.45rem/1.2 var(--head); }
.proj__meta p { color: var(--stein); font-size: .9rem; }

/* 04 Ablauf */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { background: var(--schwarz); border-radius: var(--radius); padding: 2rem 1.8rem 2.2rem; }
.steps span {
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 2px solid var(--mint); color: var(--mint);
  font: 600 .9rem/1 var(--head);
}
.steps h3 { font: 600 1.3rem/1.2 var(--head); margin: 1.6rem 0 .6rem; }
.steps p { color: var(--stein); font-size: .93rem; }

/* 05 Meister */
.master { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.master__img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.master__img img { filter: saturate(.85); }
.master p:not(.kicker) { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 32rem; }
.sign { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.sign img { width: 48px; height: 48px; flex: none; }
.sign strong { display: block; font: 600 1.15rem/1.3 var(--head); }
.sign .label { color: var(--mint); }

/* Kontakt (hell: Kalk, Mint tief für Text) */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
.contact > div > p:not(.kicker) { color: #4a5250; max-width: 28rem; font-size: 1.05rem; }
.contact__info { margin-top: 2.6rem; display: grid; gap: 1.1rem; }
.contact__info div { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; }
.contact__info dt { font: 600 .7rem/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--mint-tief); }
.contact__info dd { font: 600 1.2rem/1.4 var(--head); }
.contact__info a:hover { color: var(--mint-tief); }
.form { background: var(--weiss); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1.4rem; align-self: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form label span { display: block; font: 600 .68rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: #5d6563; margin-bottom: .6rem; }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1rem/1.5 var(--text); color: var(--schwarz);
  background: var(--kalk); border: 1px solid transparent; border-radius: 10px;
  padding: .8rem .95rem; outline: none;
  transition: border-color .3s, background .3s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--mint-tief); background: var(--weiss); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; margin-top: .4rem; }
.form__note { font-size: .82rem; color: #5d6563; }
.form__note.is-ok { color: var(--mint-tief); font-weight: 600; }

/* Footer */
.footer { padding: 4.5rem 0 2rem; color: var(--stein); font-size: .9rem; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; flex-wrap: wrap; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__logo { width: 240px; height: auto; }
.footer nav { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer nav a:hover { color: var(--mint); }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .8rem; }

/* Reveal — nur aktiv, wenn JS läuft */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__inner > * { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsiv */
@media (max-width: 1020px) {
  .svc { grid-template-columns: 1fr 1fr; }
  .card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .card--feature .card__img { aspect-ratio: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .idea, .master, .contact { grid-template-columns: 1fr; }
  .head--row { flex-direction: column; align-items: start; gap: 0; }
}
@media (max-width: 1080px) {
  .nav__toggle { display: block; position: relative; z-index: 2; }
  .nav__links {
    position: absolute; top: 0; left: 0; right: 0; height: 100svh;
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--schwarz);
    font: 600 1.9rem/1 var(--head);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  }
  .nav__links a:not(.btn) { color: var(--weiss); }
  .nav__links .btn { font-size: 1rem; margin-top: 1rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__logo { position: relative; z-index: 2; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .nav__logo { width: 124px; }
  .hero__inner { justify-content: flex-end; padding-bottom: 2.5rem; }
  .hero__shade { background: linear-gradient(0deg, rgba(14, 15, 15, .96) 0%, rgba(14, 15, 15, .55) 55%, rgba(14, 15, 15, .35) 100%); }
  .hero__foot { flex-direction: column; gap: .7rem; font-size: .62rem; }
  .idea__stats, .svc, .steps, .proj, .form__row { grid-template-columns: 1fr; }
  .card--feature { display: flex; }
  .card--feature .card__img { aspect-ratio: 16 / 10; }
  .proj__card--wide .proj__img { aspect-ratio: 4 / 3; }
  .proj__meta { grid-template-columns: 1fr; }
  .contact__info div { grid-template-columns: 1fr; gap: .3rem; }
  .footer__base { flex-direction: column; }
}

/* 04 Vorher/Nachher-Regler */
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; user-select: none; }
.ba__img { position: absolute; inset: 0; }
.ba__img--after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: 1.2rem; z-index: 2;
  font: 700 .66rem/1 var(--text); letter-spacing: .22em; text-transform: uppercase;
  padding: .55rem .8rem; border-radius: 6px;
}
.ba__tag--l { left: 1.2rem; background: rgba(14, 15, 15, .75); color: var(--weiss); }
.ba__tag--r { right: 1.2rem; background: var(--mint); color: var(--schwarz); }
.ba__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--mint); transform: translateX(-1px); pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint); color: var(--schwarz); font: 700 1.1rem/1 var(--text);
}
.ba__range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

@media (max-width: 640px) {
  .ba { aspect-ratio: 4 / 3; }
}

/* 04 Räume — Bento-Raster */
.rooms { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 340px 340px; gap: 1.2rem; }
.room { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; }
.room img { position: absolute; inset: 0; transition: transform 1.3s var(--ease); }
.room:hover img { transform: scale(1.04); }
.room--kueche { grid-column: 1 / 3; }
.room--treppe { grid-column: 3; grid-row: 1 / 3; }
.room--schlaf { grid-column: 1; grid-row: 2; }
.room figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 3rem 1.5rem 1.4rem;
  background: linear-gradient(0deg, rgba(14, 15, 15, .85), transparent);
  font: 600 1.2rem/1.25 var(--head);
}
.room figcaption .label { display: block; color: var(--mint); margin-bottom: .35rem; }
.room--cta { background: var(--graphit); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 2rem; }
.room__big { font: 600 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--head); letter-spacing: -.02em; }

/* Vorher/Nachher-Umschalter */
.ba__tabs { display: inline-flex; gap: .3rem; margin-top: 1rem; padding: .3rem; background: var(--schwarz); border-radius: 999px; }
.ba__tabs button {
  font: 600 .85rem/1 var(--text); color: var(--stein);
  background: none; border: 0; border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer;
  transition: background .3s, color .3s;
}
.ba__tabs button:hover { color: var(--weiss); }
.ba__tabs button.is-active { background: var(--mint); color: var(--schwarz); }
.ba__img { transition: opacity .35s; }
.ba.is-swapping .ba__img { opacity: 0; }

@media (max-width: 1020px) {
  .rooms { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 300px 220px; }
  .room--kueche { grid-column: 1 / 3; grid-row: 1; }
  .room--treppe { grid-column: 2; grid-row: 2; }
  .room--schlaf { grid-column: 1; grid-row: 2; }
  .room--cta { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 640px) {
  .rooms { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; }
  .room--kueche, .room--treppe, .room--schlaf, .room--cta { grid-column: 1; grid-row: auto; }
  .room--treppe { grid-row: span 2; }
  .room--cta { height: auto; }
}

/* 03 Bad & Boden */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: 1.2rem; }
.feature__text h3 { font: 600 clamp(2rem, 3.2vw, 2.7rem)/1.05 var(--head); letter-spacing: -.02em; margin: 1.2rem 0 1rem; }
.feature__text p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.floors { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.2rem; margin-top: 4rem; }
.floors .card__img { aspect-ratio: auto; height: 300px; }
.floors .label { color: var(--mint); }
.floors h3 { margin-top: .5rem; }

/* 04 Kreativtechnik-Auswahl */
.tech { display: grid; grid-template-columns: 300px 1fr; gap: 1.2rem; }
.tech__list { display: flex; flex-direction: column; gap: .5rem; }
.tech__list button {
  display: flex; align-items: center; gap: 1rem; text-align: left;
  font: 600 1.35rem/1.2 var(--head); color: var(--stein);
  background: var(--schwarz); border: 1px solid transparent; border-radius: 14px;
  padding: 1.3rem 1.4rem; cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}
.tech__list button span { font: 600 .75rem/1 var(--text); letter-spacing: .2em; color: var(--stein); }
.tech__list button:hover { color: var(--weiss); }
.tech__list button.is-active { color: var(--weiss); border-color: var(--mint); }
.tech__list button.is-active span { color: var(--mint); }
.tech__stage { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 560px; }
.tech__stage img { position: absolute; inset: 0; transition: opacity .35s, transform 1.2s var(--ease); }
.tech__stage.is-swapping img, .tech__stage.is-swapping .tech__info { opacity: 0; }
.tech__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 5rem 2rem 2rem;
  background: linear-gradient(0deg, rgba(14, 15, 15, .92) 0%, rgba(14, 15, 15, .6) 55%, transparent);
  transition: opacity .35s;
}
.tech__info h3 { font: 600 2.2rem/1.05 var(--head); letter-spacing: -.02em; margin-bottom: .7rem; }
.tech__info p { color: rgba(255, 255, 255, .82); max-width: 34rem; margin-bottom: 1.1rem; }
.tech__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tech__tags span { font: 600 .68rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; padding: .5rem .75rem; border: 1px solid rgba(62, 230, 193, .5); color: var(--mint); border-radius: 999px; }

/* Vorher/Nachher im Hochformat (Bad) */
.ba.is-portrait { aspect-ratio: 4 / 5; max-width: 620px; margin-inline: auto; }

@media (max-width: 1020px) {
  .feature { grid-template-columns: 1fr; }
  .floors { grid-template-columns: 1fr 1fr; }
  .tech { grid-template-columns: 1fr; }
  .tech__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .tech__list button { flex: none; font-size: 1.05rem; padding: .9rem 1.1rem; }
  .tech__stage { min-height: 480px; }
}
@media (max-width: 640px) {
  .floors { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .floors .card__img { height: 240px; }
  .tech__stage { min-height: 520px; }
  .tech__info { padding: 4rem 1.3rem 1.4rem; }
  .tech__info h3 { font-size: 1.8rem; }
}

/* Hero-Video: Verwandlung vorher → nachher */
.hero__still, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s; filter: saturate(.95); }
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__still { opacity: 0; }
.morph { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.morph[hidden] { display: none; }
.morph__label { color: var(--stein); transition: color .4s; }
.morph__label--after.is-on { color: var(--mint); }
.morph__bar { position: relative; width: 140px; height: 2px; background: rgba(255, 255, 255, .2); border-radius: 2px; overflow: hidden; }
.morph__bar i { position: absolute; inset: 0; background: var(--mint); transform-origin: left; transform: scaleX(0); }
.morph__replay {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: none; color: var(--weiss); font-size: 1rem; cursor: pointer; transition: border-color .3s, color .3s;
}
.morph__replay:hover { border-color: var(--mint); color: var(--mint); }

/* Bad-Konfigurator */
.config { background: var(--graphit); border-radius: var(--radius); overflow: hidden; display: grid; }
.config__stage { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.config__stage img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.config__stage img.is-on { opacity: 1; }
.config__badge {
  position: absolute; left: 1rem; top: 1rem; z-index: 1;
  background: rgba(14, 15, 15, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: .6rem 1rem; font-size: .82rem; color: var(--stein);
}
.config__badge b { color: var(--weiss); font-weight: 600; }
.config__panel { padding: 1.4rem 1.5rem 1.6rem; display: grid; gap: 1.1rem; }
.config__swatches { display: flex; gap: .7rem; flex-wrap: wrap; }
.config__swatches button {
  display: grid; justify-items: center; gap: .45rem; background: none; border: 0; cursor: pointer;
  font: 500 .74rem/1 var(--text); color: var(--stein);
}
.config__swatches button::before {
  content: ""; width: 3rem; height: 3rem; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .35), transparent 55%), var(--sw);
  box-shadow: 0 0 0 2px var(--graphit), 0 0 0 3px rgba(255, 255, 255, .15);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.config__swatches button:hover::before { transform: scale(1.08); }
.config__swatches button.is-active { color: var(--weiss); }
.config__swatches button.is-active::before { box-shadow: 0 0 0 2px var(--graphit), 0 0 0 4px var(--mint); }
.config .btn { justify-self: start; }
.feature { align-items: start; }
.feature__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 2rem; }
.feature__thumbs figure { margin: 0; }
.feature__thumbs img { aspect-ratio: 1; height: auto; border-radius: 12px; }
.feature__thumbs figcaption { font-size: .8rem; color: var(--stein); margin-top: .5rem; }

/* Kreativtechnik: Licht folgt der Maus */
.tech__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14, 15, 15, .32); pointer-events: none; transition: opacity .5s; }
.tech__light {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle 280px at var(--lx, 70%) var(--ly, 35%), rgba(255, 244, 220, .95), rgba(255, 244, 220, .25) 45%, transparent 70%);
  animation: drift 9s ease-in-out infinite alternate;
}
.tech__stage.is-lit .tech__light { animation: none; }
@keyframes drift { 0% { --lx: 25%; --ly: 30%; } 100% { --lx: 75%; --ly: 45%; } }
@property --lx { syntax: "<percentage>"; inherits: true; initial-value: 70%; }
@property --ly { syntax: "<percentage>"; inherits: true; initial-value: 35%; }
.tech__info { z-index: 2; }
.tech__hint {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  font: 600 .66rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase;
  color: var(--weiss); background: rgba(14, 15, 15, .6); padding: .55rem .8rem; border-radius: 999px;
  transition: opacity .5s;
}
.tech__stage.is-lit .tech__hint { opacity: 0; }
@media (hover: none) { .tech__hint { display: none; } }

/* Zitat Meister */
.quote { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--head); letter-spacing: -.01em; color: var(--weiss); border-left: 3px solid var(--mint); padding-left: 1.3rem; margin: .4rem 0 1.6rem; }

/* Projekt-Check */
.check { border: 0; padding: 0; margin: 0; }
.check legend { display: flex; align-items: center; gap: .7rem; font: 600 1.05rem/1.3 var(--head); color: var(--schwarz); margin-bottom: .8rem; }
.check legend span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--schwarz); color: var(--mint); font: 600 .8rem/1 var(--head); }
.check legend em { font: 500 .78rem/1 var(--text); font-style: normal; color: #7a8380; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button {
  font: 500 .9rem/1 var(--text); color: var(--schwarz);
  background: var(--kalk); border: 1px solid transparent; border-radius: 999px;
  padding: .7rem 1rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.chips button:hover { border-color: var(--mint-tief); }
.chips button.is-on { background: var(--schwarz); color: var(--weiss); }
.chips button.is-on::before { content: "✓ "; color: var(--mint); }

/* Mobile Aktionsleiste */
.dock { display: none; }
@media (max-width: 820px) {
  .dock {
    position: fixed; z-index: 40; left: .75rem; right: .75rem; bottom: .75rem;
    display: grid; grid-template-columns: 1fr 1.6fr; gap: .5rem;
    padding: .5rem; border-radius: 999px;
    background: rgba(28, 31, 31, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock a { text-align: center; padding: .9rem; border-radius: 999px; font: 600 .92rem/1 var(--text); }
  .dock__call { color: var(--weiss); border: 1px solid rgba(255, 255, 255, .2); }
  .dock__cta { background: var(--mint); color: var(--schwarz); }
  .footer { padding-bottom: 6rem; }
}

@media (max-width: 1020px) {
  .config { max-width: 640px; }
}
@media (max-width: 640px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .morph { margin-left: 0; margin-top: .6rem; }
  .config__swatches button::before { width: 2.6rem; height: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Kreativtechnik: zehn Techniken mit Materialangabe */
.tech { grid-template-columns: 320px 1fr; }
.tech__list { gap: .4rem; }
.tech__list button { display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; align-items: baseline; padding: .8rem 1.1rem; font-size: 1.12rem; }
.tech__list button span { grid-row: 1 / 3; }
.tech__list button b { font-weight: 600; }
.tech__list button small { grid-column: 2; font: 500 .72rem/1.3 var(--text); color: var(--stein); margin-top: .2rem; }
.tech__list button.is-active small { color: rgba(255, 255, 255, .7); }
.tech__stage { min-height: 640px; }
.tech__mat { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; font-size: .9rem; margin: -.3rem 0 1.1rem; }
.tech__mat span { font: 600 .66rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--mint); }
.tech__mat b { font-weight: 600; color: var(--weiss); }
@media (max-width: 1020px) {
  .tech { grid-template-columns: 1fr; }
  .tech__list button { display: flex; padding: .8rem 1rem; font-size: 1rem; }
  .tech__list button small { display: none; }
  .tech__stage { min-height: 520px; }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-main { max-width: 820px; margin: 0 auto; padding: clamp(7rem, 14vw, 10rem) var(--gutter) 5rem; }
.legal-main h1 { font-family: var(--head); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2.5rem; }
.legal-main h2 { font-family: var(--head); font-size: 1.15rem; margin: 2.2rem 0 0.7rem; color: var(--mint); }
.legal-main p, .legal-main address, .legal-main li { color: var(--stein); line-height: 1.7; font-style: normal; }
.legal-main strong { color: var(--weiss); }
.legal-main a { color: var(--mint); text-decoration: none; }
.legal-main a:hover { text-decoration: underline; }
.legal-main ul { padding-left: 1.2rem; margin: 0.6rem 0; }
.legal-main .zurueck { display: inline-block; margin-top: 3rem; color: var(--weiss); border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1.4rem; }
.legal-main .zurueck:hover { border-color: var(--mint); text-decoration: none; }
