/* Fliesendoc24 – Designsystem v2
   Ruhig und hochwertig: große Fotografie, viel Weißraum, klare Typografie.
   Farben ausschließlich aus dem Logo; Orange nur für die wichtigste Handlung. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url(../fonts/hanken-grotesk-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --blue: #064e7a;
  --blue-deep: #06324d;
  --orange: #fa9614;
  --orange-hover: #ffab3d;
  --ink: #14212b;
  --muted: #5b6a76;
  --stone: #f4f2ef;
  --line: #e3e1dd;
  --white: #fff;
  --r: 2px;
  --wrap: 1320px;
  --gut: clamp(20px, 4.5vw, 56px);
  --sec: clamp(80px, 11vw, 160px);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.2rem + 5vw, 5.6rem); letter-spacing: -0.045em; line-height: .98; }
h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.i { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec--stone { background: var(--stone); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec__head .lead { justify-self: end; }
.kicker { display: block; margin-bottom: 20px; font-size: .95rem; font-weight: 500; color: var(--blue); }

/* Buttons & Links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn--accent { background: var(--orange); color: var(--ink); }
.btn--accent:hover { background: var(--orange-hover); }
.btn--light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 1.05rem; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); padding-bottom: 4px; border-bottom: 1.5px solid var(--orange); }
.link .i { width: 18px; height: 18px; transition: transform .2s; }
.link:hover .i { transform: translateX(4px); }

/* Header */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 40px; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { height: 46px; width: auto; }
.brand__word { height: 18px; width: auto; }
.nav { display: flex; gap: 36px; margin-left: auto; }
.nav a { position: relative; padding: 6px 0; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hd__act { display: flex; align-items: center; gap: 24px; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hd__tel .i { width: 18px; height: 18px; color: var(--blue); }
.hd__cta { min-height: 46px; padding: 0 20px; }
.hd__burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; }

/* Hero: ein großes Foto über die volle Breite */
.hero { position: relative; min-height: max(560px, calc(100svh - 84px)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 31, .78) 0%, rgba(10, 22, 31, .45) 42%, rgba(10, 22, 31, 0) 72%), linear-gradient(0deg, rgba(10, 22, 31, .55) 0%, rgba(10, 22, 31, 0) 45%); }
.hero__in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__place { margin-bottom: 24px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hero h1 { max-width: 14ch; }
.hero__sub { margin-top: 28px; max-width: 46ch; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__foot { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hero__foot strong { color: #fff; font-weight: 600; }
.stars { display: inline-flex; gap: 1px; color: var(--orange); vertical-align: -2px; }
.stars .i { width: 15px; height: 15px; }


/* Leistungen als große Fotokarten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; display: block; text-decoration: none; color: var(--ink); }
.card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__img img { transform: scale(1.04); }
.card h3 { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card h3 .i { color: var(--orange); transition: transform .2s; }
.card:hover h3 .i { transform: translateX(4px); }
.card p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.more a { display: grid; gap: 6px; padding: 28px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.more strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.more span { color: var(--muted); font-size: .97rem; }
.more a:hover strong { color: var(--blue); }

/* Bild-Text-Band über die volle Breite */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blue-deep); color: #fff; }
.band__img { min-height: 640px; position: relative; }
.band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__text { padding: clamp(56px, 8vw, 128px) clamp(24px, 7vw, 120px); align-self: center; max-width: 720px; }
.band__text .kicker { color: var(--orange); }
.band__text .lead { color: rgba(255, 255, 255, .78); margin-top: 24px; }
.band .checks { color: #fff; }
.band .checks .i { color: var(--orange); }
.band .link { color: #fff; margin-top: 40px; }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checks .i { color: var(--blue); margin-top: 3px; }

/* Echte Projekte */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.6vw, 20px); }
.strip figure { margin: 0; position: relative; overflow: hidden; }
.strip figure:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.strip figure:first-child img { aspect-ratio: auto; }
.strip figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 18px 16px; color: #fff; font-size: .92rem; font-weight: 500; background: linear-gradient(transparent, rgba(10, 22, 31, .7)); }

/* Stimmen */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--ink); }
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.55; letter-spacing: -0.005em; }
.quote figcaption { margin-top: auto; color: var(--muted); font-size: .95rem; }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin: clamp(64px, 8vw, 112px) 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); list-style: none; }
.brands img { width: 112px; height: 34px; object-fit: contain; filter: grayscale(1); opacity: .55; }

/* Anfrage */
.req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--stone); }
.req__img { position: relative; min-height: 560px; }
.req__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.req__body { padding: clamp(56px, 7vw, 112px) clamp(24px, 6vw, 96px); max-width: 760px; }
.req__body .lead { margin-top: 20px; }
.req__ways { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 28px 0 36px; list-style: none; padding: 0; }
.req__ways a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.req__ways .i { color: var(--blue); }
.req__ways a:hover { color: var(--blue); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fld { display: grid; gap: 8px; font-weight: 500; font-size: .92rem; }
.fld input, .fld textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); padding: 14px 16px; border: 1px solid #cfccc6; border-radius: var(--r); background: #fff; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6, 78, 122, .14); }
.form__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-weight: 500; font-size: .92rem; margin-bottom: 10px; padding: 0; }
.form__chips label { cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; }
.form__chips span { display: inline-block; padding: 10px 16px; border: 1px solid #cfccc6; border-radius: var(--r); font-size: .94rem; background: #fff; }
.form__chips input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.form__chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.form .btn { justify-self: start; }
.form__msg { padding: 14px 16px; border-radius: var(--r); font-weight: 500; }
.form__msg--ok { background: #e5f4ea; color: #145c2c; }
.form__msg--err { background: #fdecea; color: #8a1c12; }
.hp { position: absolute; left: -9999px; }

/* Unterseiten: Kopf mit großem Foto */
.ph { position: relative; color: #fff; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
.ph__img { position: absolute; inset: 0; }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 31, .75), rgba(10, 22, 31, .15) 75%); }
.ph__in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.ph .lead { color: rgba(255, 255, 255, .86); justify-self: end; }
.ph--plain { color: var(--ink); min-height: 0; border-bottom: 1px solid var(--line); }
.ph--plain::after { display: none; }
.ph--plain .ph__in { padding-top: clamp(56px, 8vw, 112px); }
.crumb { font-size: .92rem; margin-bottom: 18px; opacity: .85; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* Leistungen im Detail */
.jump { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-top: 36px; padding-bottom: 8px; }
.jump a { font-weight: 500; text-decoration: none; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.jump a:hover { border-color: var(--orange); }
.svc-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 7vw, 104px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail:nth-child(even) .svc-detail__img { order: 2; }
.svc-detail__img { aspect-ratio: 5 / 4; overflow: hidden; }
.svc-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); margin-bottom: 20px; }

/* Referenzen */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.proj { margin: 0; }
.proj__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; }
.proj figcaption { padding-top: 22px; }
.proj__meta { font-size: .92rem; color: var(--blue); font-weight: 500; margin-bottom: 8px; }
.proj h3 { margin-bottom: 10px; }
.proj p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 18vw, 280px); gap: clamp(8px, 1vw, 14px); }
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .w2 { grid-column: span 2; } .gallery .h2 { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(transparent, rgba(10, 22, 31, .75)); }

/* Über uns */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split__img { aspect-ratio: 4 / 5; overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split .lead { margin-top: 20px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px); }
.values div { padding-top: 28px; border-top: 1px solid var(--ink); }
.values h3 { margin-bottom: 12px; }
.values p { color: var(--muted); }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.numbers dt { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.numbers dd { margin: 12px 0 0; color: var(--muted); }

/* Rechtstexte */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p { color: var(--muted); margin: 0 0 12px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--muted); }

/* Footer */
.ft { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(64px, 8vw, 104px) 0 0; font-size: .96rem; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.ft__brand img { width: 128px; height: auto; margin-bottom: 24px; }
.ft__brand p { max-width: 34ch; }
.ft__h { font-size: 1rem; color: #fff; margin-bottom: 18px; letter-spacing: 0; }
.ft__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { text-decoration: none; }
.ft a:hover { color: #fff; }
.ft__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.ft__bar span:last-child { display: flex; gap: 24px; }

.mbar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__img img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { transform: scale(1.06); } }
}

/* Responsive */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .hd__tel span { display: none; }
}
@media (max-width: 960px) {
  .hd__in { height: 70px; gap: 12px; }
  .brand__mark { height: 40px; }
  .brand__word { height: 16px; }
  .hd__cta { display: none; }
  .hd__tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: var(--r); }
  .hd__act { margin-left: auto; gap: 8px; }
  .hd__burger { display: inline-flex; }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(20, 33, 43, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 18px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a[aria-current] { color: var(--blue); }
  .hero { min-height: max(560px, calc(100svh - 70px)); }
  .hero::after { background: linear-gradient(0deg, rgba(10, 22, 31, .88) 0%, rgba(10, 22, 31, .55) 55%, rgba(10, 22, 31, .2) 100%); }
  .hero__img img { object-position: 62% 50%; }
  .sec__head, .intro, .band, .req, .split, .svc-detail, .ph__in { grid-template-columns: 1fr; }
  .sec__head .lead, .ph .lead { justify-self: start; }
  .svc-detail:nth-child(even) .svc-detail__img { order: 0; }
  .cards, .projects, .quotes, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more { grid-template-columns: 1fr; }
  .band__img, .req__img { min-height: 0; aspect-ratio: 4 / 3; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: span 2; grid-row: auto; }
  .strip figure:first-child img { aspect-ratio: 16 / 10; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .split__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .cards, .projects, .quotes, .values { grid-template-columns: 1fr; }
  .card__img { aspect-ratio: 4 / 3; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__foot { gap: 8px 20px; font-size: .88rem; }
  .intro__facts { gap: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .ft__grid { grid-template-columns: 1fr; gap: 36px; }
  .ph { min-height: 340px; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .mbar .i { width: 18px; height: 18px; color: var(--blue); }
  .mbar .mbar__main { background: var(--orange); box-shadow: none; }
  .mbar .mbar__main .i { color: var(--ink); }
}

/* =====================================================================
   v3 – Motion-Layer: transparenter Header, Intro, Laufband, Stapel,
   seitliche Galerie, großer Footer, Mauszeiger
   ===================================================================== */

/* Header über dunklem Foto: transparent und weiß, beim Scrollen weiß */
.brand__words { position: relative; display: block; }
.brand__word--white { position: absolute; inset: 0; opacity: 0; }
.page-dark-top .hd { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.page-dark-top .hd:not(.is-solid) .brand__word--white { opacity: 1; }
.page-dark-top .hd:not(.is-solid) .brand__word--color { opacity: 0; }
.page-dark-top .hd:not(.is-solid) .nav a, .page-dark-top .hd:not(.is-solid) .hd__tel { color: #fff; }
.page-dark-top .hd:not(.is-solid) .hd__tel .i { color: #fff; }
.page-dark-top .hd:not(.is-solid) .hd__burger { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.hd.is-solid, .menu-open .hd { background: rgba(255, 255, 255, .96) !important; border-bottom-color: var(--line) !important; backdrop-filter: blur(14px); }
.menu-open .hd .brand__word--white { opacity: 0 !important; }
.menu-open .hd .brand__word--color { opacity: 1 !important; }
.menu-open .hd .hd__burger, .menu-open .hd .hd__tel, .menu-open .hd .hd__tel .i { color: var(--ink) !important; border-color: var(--line) !important; }
.hd { transition: transform .5s cubic-bezier(.2, .7, .2, 1), background-color .4s, border-color .4s; }
.hd.is-hidden { transform: translateY(-100%); }
.brand__word { transition: opacity .4s; }

/* Intro-Vorhang (nur erster Besuch) */
.intro-curtain { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--blue-deep); }
html:not(.has-motion) .intro-curtain { display: none; }
.intro-curtain__inner { display: grid; justify-items: center; gap: 28px; }
.intro-curtain__mark { width: 96px; height: auto; }
.intro-curtain__word { width: 220px; height: auto; }

/* Masken für Text-Animationen */
.m-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.m-word { display: inline-block; will-change: transform; }
.has-motion [data-split], .has-motion [data-reveal], .has-motion [data-img] { visibility: hidden; }

/* Hero v3 */
.hero { min-height: 100svh; }
.hero__img img { transform: scale(1.08); }
.hero h1 { font-size: clamp(3rem, 1rem + 7.4vw, 8.4rem); max-width: 11ch; letter-spacing: -0.055em; line-height: .92; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; margin-top: 40px; }
.hero__row .hero__sub, .hero__row .hero__cta { margin: 0; }
.hero__scroll { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { position: relative; width: 1px; height: 36px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes drip { to { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll i::after { animation: none; } }

/* Einleitung mit Füll-Effekt */
.intro .intro__text { max-width: 22ch; font-size: clamp(2rem, 1rem + 3.6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; }
.intro .intro__text .m-mask { overflow: visible; }
.intro__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: clamp(64px, 8vw, 120px) 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.intro__nums dt { font-size: clamp(2.6rem, 1.6rem + 3vw, 5rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.intro__nums dd { margin: 12px 0 0; color: var(--muted); }


/* Leistungen als gestapelte Karten */
.stack { padding: var(--sec) 0 clamp(40px, 6vw, 80px); background: var(--stone); }
.stack__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.stack__head h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.4rem); letter-spacing: -0.05em; line-height: .95; }
.stack__head .lead { justify-self: end; }
.stack__card { position: sticky; top: calc(100px + var(--i) * 18px); margin-bottom: 48px; }
.stack__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: min(74vh, 660px); background: var(--blue-deep); color: #fff; text-decoration: none; overflow: hidden; transform-origin: 50% 0; border-radius: 4px; }
.stack__img { position: relative; overflow: hidden; }
.stack__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.stack__inner:hover .stack__img img { transform: scale(1.04); }
.stack__body { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 64px); }
.stack__no { font-size: .95rem; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.stack__body h3 { margin-top: auto; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; }
.stack__body p { margin-top: 20px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 40ch; }
.stack__body ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.stack__body li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 100px; font-size: .88rem; }
.stack__body .link { color: #fff; margin-top: 36px; align-self: flex-start; }

/* Projekte: seitliche Galerie */
.hs { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.hs__track { display: flex; align-items: flex-start; gap: clamp(20px, 2.5vw, 40px); padding: 0 var(--gut); width: max-content; }
.hs__intro { width: min(440px, 80vw); flex: none; padding-right: 40px; align-self: center; }
.hs__intro h2 { font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.8rem); letter-spacing: -0.05em; line-height: .95; }
.hs__intro .lead { margin: 24px 0 32px; }
.hs__item { margin: 0; width: clamp(280px, 28vw, 440px); flex: none; }
.hs__item--low { margin-top: clamp(40px, 8vh, 110px); }
.hs__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.hs__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hs__item figcaption { display: grid; gap: 4px; padding-top: 18px; color: var(--muted); }
.hs__item figcaption strong { color: var(--ink); font-size: 1.15rem; font-weight: 600; }
.hs__bar { margin-top: 40px; height: 1px; background: var(--line); }
.hs__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* Band v3 */
.band__img { margin: 0; overflow: hidden; }

/* Footer v3 */
.ft { padding-top: clamp(72px, 9vw, 128px); overflow: hidden; }
.ft__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__claim { font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -0.045em; font-weight: 600; color: #fff; max-width: 14ch; }
.ft__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ft__logo { display: flex; align-items: flex-end; gap: clamp(16px, 2.5vw, 40px); padding: clamp(64px, 8vw, 120px) var(--gut) 0; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; }
.ft__logo img:first-child { width: clamp(64px, 10vw, 150px); height: auto; flex: none; }
.ft__logo img:last-child { flex: 1; width: 100%; height: auto; min-width: 0; }

/* Eigener Mauszeiger (nur feine Zeiger) */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--orange); opacity: 0; transition: width .35s cubic-bezier(.2, .7, .2, 1), height .35s cubic-bezier(.2, .7, .2, 1), margin .35s cubic-bezier(.2, .7, .2, 1), opacity .3s, background-color .3s; display: grid; place-items: center; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(250, 150, 20, .25); }
.cursor.is-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--orange); }
.cursor span { font-size: .8rem; font-weight: 600; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-big span { opacity: 1; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

/* Responsive v3 */
@media (max-width: 960px) {
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
  .intro__nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack__head { grid-template-columns: 1fr; }
  .stack__head .lead { justify-self: start; }
  .stack__card { top: calc(84px + var(--i) * 12px); }
  .stack__inner { grid-template-columns: 1fr; min-height: 0; }
  .stack__img { aspect-ratio: 4 / 3; }
  .stack__body h3 { margin-top: 16px; }
  .hs__track { flex-wrap: wrap; width: auto; }
  .hs__intro { width: 100%; padding: 0 0 8px; }
  .hs__item { width: calc(50% - 12px); }
  .hs__item--low { margin-top: 0; }
  .hs__bar { display: none; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.8rem, 12.5vw, 4.2rem); }
  .hero__cta { width: 100%; }
  .hero__foot span:nth-child(2) { display: none; }
  .hs__item { width: calc(50% - 10px); }
  .ft__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
.band__img img { top: -6% !important; height: 112% !important; }
.stack__inner { position: relative; --dim: 0; }
.stack__inner::after { content: ""; position: absolute; inset: 0; background: #06121b; opacity: var(--dim); pointer-events: none; }

/* Kein seitliches Verrutschen auf dem Handy */
html, body { overflow-x: clip; }
[data-img], .req__img, .split__img, .band__img { overflow: hidden; }

/* Runde, moderne Bedienelemente */
.btn { border-radius: 999px; }
.hd__burger, .page-dark-top .hd__tel, .hd__tel { border-radius: 999px; }
.mbar a { border-radius: 999px; }
.form__chips span { border-radius: 999px; }
.fld input, .fld textarea { border-radius: 14px; }
.form__msg { border-radius: 14px; }
.stack__inner { border-radius: 20px; }
.hs__img, .card__img, .proj__img, .svc-detail__img, .split__img, .gallery figure { border-radius: 14px; }
.cursor.is-link { border-radius: 50%; }

/* Herstellerlogos in einem ruhigen, gleichmäßigen Raster */
.brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; justify-content: stretch; }
.brands li { display: grid; place-items: center; height: 96px; padding: 0 12px; }
.brands img { width: 100%; max-width: 120px; height: 30px; object-fit: contain; }
@media (max-width: 960px) {
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .brands li { height: 72px; padding: 0 10px; border-radius: 14px; background: var(--stone); }
  .brands img { max-width: 92px; height: 24px; }
}

/* =====================================================================
   v6 – Karten-Layout: Hero, Band, Anfrage und Footer als abgerundete,
   eingerückte Flächen; heller Header; schwebende Handy-Leiste
   ===================================================================== */
:root { --inset: 12px; --r-lg: 28px; --r-md: 18px; }

/* Header: immer hell, Original-Logo */
.hd { position: sticky; background: rgba(255, 255, 255, .92); border-bottom: 0; backdrop-filter: saturate(1.6) blur(14px); }
.hd.is-solid { box-shadow: 0 1px 0 var(--line); }
.brand__word--white { display: none; }
.brand__word--color { opacity: 1 !important; }

/* Hero als große Fotokarte */
.hero { margin: 0 var(--inset); height: calc(100svh - 84px - var(--inset)); min-height: 600px; max-height: 1000px; border-radius: var(--r-lg); align-items: flex-end; }
.hero__img { border-radius: inherit; overflow: hidden; }
.hero__img img { object-position: 30% 55%; }
.hero::after { border-radius: inherit; background:
  linear-gradient(90deg, rgba(14, 20, 24, .62) 0%, rgba(14, 20, 24, .28) 45%, rgba(14, 20, 24, 0) 70%),
  linear-gradient(0deg, rgba(14, 20, 24, .7) 0%, rgba(14, 20, 24, .1) 50%, rgba(14, 20, 24, 0) 70%); }
.hero__in { padding-top: 80px; padding-bottom: clamp(32px, 4.5vw, 64px); }
.hero h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.hero__foot { border-top-color: rgba(255, 255, 255, .22); }

/* Unterseiten-Kopf: Titel hell, Foto als große Karte darunter */
.ph { display: block; min-height: 0; color: var(--ink); overflow: visible; padding: clamp(40px, 6vw, 96px) 0 0; }
.ph::after { display: none; }
.ph__in { padding: 0 var(--gut) clamp(36px, 4.5vw, 64px); }
.ph h1 { font-size: clamp(2.8rem, 1.2rem + 5.4vw, 6.8rem); letter-spacing: -0.055em; line-height: .92; }
.ph .lead { color: var(--muted); justify-self: end; }
.crumb { display: flex; gap: 10px; font-size: .92rem; color: var(--muted); opacity: 1; margin-bottom: 22px; }
.crumb a { color: var(--blue); }
.ph__img { position: relative; inset: auto; margin: 0; aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; }
.ph__img img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
.ph + .sec, .ph + .wrap, .ph + nav { margin-top: 0; }

/* Band, Anfrage, Footer als eingerückte Karten */
.band, .req, .ft { margin: 0 var(--inset); border-radius: var(--r-lg); overflow: hidden; }
.req { margin-top: var(--inset); }
.ft { margin-bottom: var(--inset); margin-top: var(--inset); }
.stack__inner { border-radius: var(--r-lg); }
.req__body .form { background: #fff; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-md); }

/* Schwebende Handy-Leiste */
@media (max-width: 640px) {
  body { padding-bottom: 96px; }
  .mbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; gap: 4px; border: 0; border-radius: 999px; background: rgba(20, 33, 43, .9); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); grid-template-columns: 1fr 1fr 1.3fr; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
  .mbar a { min-height: 48px; color: #fff; background: transparent; box-shadow: none; font-size: .92rem; gap: 7px; }
  .mbar a:active { background: rgba(255, 255, 255, .1); }
  .mbar .i { color: rgba(255, 255, 255, .85); }
  .mbar .mbar__main { background: var(--orange); color: var(--ink); }
  .mbar .mbar__main .i { color: var(--ink); }
  .menu-open .mbar { transform: translateY(140%); opacity: 0; }
}

/* Mobil: kleinere Ränder und Radien */
@media (max-width: 960px) {
  :root { --inset: 8px; --r-lg: 22px; --r-md: 16px; }
  .hd { position: sticky; }
  .hero { height: calc(100svh - 70px - var(--inset)); min-height: 560px; }
  .hero__img img { object-position: 22% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 20, 24, .82) 0%, rgba(14, 20, 24, .45) 50%, rgba(14, 20, 24, .08) 100%); }
  .ph__in { grid-template-columns: 1fr; }
  .ph .lead { justify-self: start; }
  .ph__img { aspect-ratio: 4 / 3; }
  .ph > .wrap:last-child { padding: 0 var(--inset); }
  .band__text, .req__body { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 640px) {
  .hero { min-height: 520px; }
  .hero__place { font-size: .92rem; }
}
