/* ==========================================================================
   Roman Bau GmbH – Stylesheet
   Farben und Schriften zentral als Variablen. Akzentfarbe aus dem Logo: #f07f16
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --ink: #14171b;
  --ink-2: #1d2127;
  --ink-3: #2a3038;
  --steel: #59616c;
  --steel-2: #8a929c;
  --line: #e6e7ea;
  --line-dark: rgba(255, 255, 255, .1);
  --bg: #ffffff;
  --bg-2: #f6f5f2;

  --accent: #f07f16;
  --accent-2: #ff9a3d;
  --accent-deep: #d8650a;
  --accent-text: #b45309;
  --accent-soft: rgba(240, 127, 22, .12);
  --grad: linear-gradient(135deg, #ff9a3d 0%, #f07f16 45%, #d8650a 100%);
  --grad-dark: linear-gradient(160deg, #1d2127 0%, #14171b 60%, #0e1013 100%);

  --ok: #1f7a4d;
  --error: #b42318;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 2px 6px rgba(20, 23, 27, .05), 0 8px 24px rgba(20, 23, 27, .06);
  --shadow: 0 6px 16px rgba(20, 23, 27, .06), 0 20px 48px rgba(20, 23, 27, .1);
  --shadow-lg: 0 12px 28px rgba(20, 23, 27, .1), 0 40px 80px rgba(20, 23, 27, .18);
  --shadow-accent: 0 10px 30px rgba(240, 127, 22, .35);
}

/* Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Verhindert seitliches Scrollen auf Mobilgeräten (clip statt hidden, damit position: sticky funktioniert) */
main, .site-footer { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, .h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.18rem, 1.8vw, 1.38rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section--light { background: var(--bg-2); }
.section--dark { background: var(--grad-dark); color: #fff; overflow: hidden; }
.center { text-align: center; }
.mt-l { margin-top: 40px; }
.muted { color: var(--steel); }
.lead { font-size: 1.22rem; color: var(--ink-2); }
.rounded { border-radius: var(--radius); }
.media-shadow { box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.note { margin-top: 32px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--accent-soft); border-left: 4px solid var(--accent); color: var(--ink-2); }
.note--small { font-size: .95rem; margin-top: 16px; padding: 12px 16px; }
.todo { background: #fff3cd; color: #7a5200; padding: 0 4px; border-radius: 3px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 32px; height: 32px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; border-radius: 3px; background: var(--grad); }
.eyebrow--light { color: var(--accent-2); }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 2px no-repeat;
  padding-bottom: 4px; transition: background-size .3s var(--ease), color .2s;
}
.textlink .icon { width: 18px; height: 18px; color: var(--accent); transition: transform .3s var(--ease); }
.textlink:hover { color: var(--accent-text); }
.textlink:hover .icon { transform: translateX(5px); }
.section--dark .textlink, .quality .textlink { color: #fff; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; color: inherit; font-size: inherit; }

/* Animationen ------------------------------------------------------------ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes glow { 0%, 100% { opacity: .55; transform: translate(0, 0) scale(1); } 50% { opacity: .85; transform: translate(-30px, 20px) scale(1.1); } }

.anim { animation: fadeUp .9s var(--ease) both; }
.anim--d1 { animation-delay: .1s; }
.anim--d2 { animation-delay: .2s; }
.anim--d3 { animation-delay: .32s; }
.anim--d4 { animation-delay: .44s; }
.anim--d5 { animation-delay: .6s; }

/* Scroll-Animationen nur mit JavaScript (sonst ist alles sofort sichtbar) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal--right { transform: translateX(40px); }
@media (max-width: 980px) { .js .reveal--right { transform: translateY(32px); } }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s, border-color .3s; }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s, .32s, 0s, 0s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s, .4s, 0s, 0s; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .46s, .46s, 0s, 0s; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-accent); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { box-shadow: 0 14px 38px rgba(240, 127, 22, .5); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--dark:hover { background: var(--ink-3); }
.btn--dark .icon { color: var(--accent); }
.btn--glass, .btn--outline-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover, .btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: .82rem; }
.btn--lg { min-height: 58px; padding: 14px 32px; }
.btn--block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.navbar { transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.navbar__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .4s var(--ease); }
.brand { position: relative; display: block; flex: none; }
.brand img { height: 56px; width: auto; transition: opacity .35s, height .4s var(--ease); }
.brand__dark { position: absolute; left: 0; top: 0; opacity: 0; }

.mainnav { margin-left: auto; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.mainnav__item { position: relative; }
.mainnav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: .97rem; text-decoration: none; color: #fff;
  transition: color .3s;
}
.mainnav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.mainnav__link:hover::after, .mainnav__item.is-active > .mainnav__link::after, .mainnav__link[aria-current="page"]::after { transform: scaleX(1); }
.mainnav__toggle .icon { transition: transform .3s; }
.subnav {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.subnav::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.subnav a { display: block; padding: 11px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; color: var(--ink); transition: background .2s, color .2s, padding .2s; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); padding-left: 22px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .mainnav__toggle .icon, .has-sub:hover .mainnav__toggle .icon { transform: rotate(180deg); }
.mainnav__mobile-contact { display: none; }

.navbar__actions { display: flex; align-items: center; gap: 14px; }
.navbar__phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; white-space: nowrap; color: #fff; transition: color .3s; }
.navbar__phone .icon { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--grad); color: var(--ink); box-shadow: var(--shadow-accent); }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--grad); color: var(--ink); border: 0; border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-accent); }
.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }

/* Zustand nach dem Scrollen bzw. Seiten ohne dunklen Kopfbereich */
.is-scrolled .navbar, .header-solid .navbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 rgba(20, 23, 27, .06), 0 10px 30px rgba(20, 23, 27, .08); }
.is-scrolled .navbar__inner { min-height: 70px; }
.is-scrolled .brand img { height: 46px; }
.is-scrolled .brand__light, .header-solid .brand__light { opacity: 0; }
.is-scrolled .brand__dark, .header-solid .brand__dark { opacity: 1; }
.is-scrolled .mainnav__link, .header-solid .mainnav__link, .is-scrolled .navbar__phone, .header-solid .navbar__phone { color: var(--ink); }

@media (max-width: 1160px) {
  .navbar__phone span { display: none; }
  .mainnav__link { padding: 10px 10px; }
  .mainnav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .brand img { height: 46px; }
  .is-scrolled .navbar__inner { min-height: 64px; }
  .is-scrolled .brand img { height: 40px; }
  .burger { display: inline-flex; }
  .navbar__cta { display: none; }
  .navbar__actions { margin-left: auto; gap: 10px; }
  .navbar__phone .icon { width: 48px; height: 48px; padding: 13px; }
  .is-scrolled .navbar, .header-solid .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .mainnav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    background: var(--grad-dark); color: #fff; padding: calc(var(--header-h) + 24px) var(--gutter) 120px;
    overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-open .mainnav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .navbar { background: transparent !important; box-shadow: none !important; }
  .nav-open .brand__light { opacity: 1 !important; }
  .nav-open .brand__dark { opacity: 0 !important; }
  .nav-open .navbar__phone { display: none; }
  .nav-open .burger__open { display: none; }
  .nav-open .burger__close { display: block; }
  .nav-open { overflow: hidden; }
  .mainnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .mainnav__item { border-bottom: 1px solid var(--line-dark); }
  .mainnav__link, .is-scrolled .mainnav__link, .header-solid .mainnav__link { width: 100%; justify-content: space-between; color: #fff; font-size: 1.35rem; padding: 18px 0; font-family: var(--font-head); }
  .mainnav__link::after { display: none; }
  .mainnav__link[aria-current="page"] { color: var(--accent); }
  .subnav { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: transparent; backdrop-filter: none; border-radius: 0; box-shadow: none; padding: 0 0 12px; min-width: 0; }
  .has-sub:hover .subnav { display: none; }
  .has-sub.is-open .subnav { display: block; }
  .subnav a { color: rgba(255, 255, 255, .85); padding: 10px 0 10px 16px; border-left: 2px solid var(--line-dark); border-radius: 0; }
  .subnav a:hover, .subnav a[aria-current="page"] { background: none; color: var(--accent); border-left-color: var(--accent); padding-left: 20px; }
  .mainnav__mobile-contact { display: grid; gap: 12px; margin-top: 32px; }
}

/* Hero (Startseite) ------------------------------------------------------ */
.hero { position: relative; min-height: max(640px, 100vh); min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero__media, .hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__poster { animation: kenburns 14s ease-out both; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(240, 127, 22, .28), transparent 60%),
    linear-gradient(90deg, rgba(12, 14, 17, .94) 0%, rgba(12, 14, 17, .75) 42%, rgba(12, 14, 17, .25) 100%),
    linear-gradient(0deg, rgba(12, 14, 17, .9) 0%, rgba(12, 14, 17, 0) 45%);
}
.hero__content { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 64px); padding-bottom: 40px; }
.hero__title { font-size: clamp(1rem, 1.4vw, 1.12rem); font-family: var(--font-body); font-weight: 600; letter-spacing: .01em; color: rgba(255, 255, 255, .82); margin-bottom: 18px; max-width: 46ch; line-height: 1.5; }
.hero__claim { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -.035em; max-width: 17ch; margin-bottom: 22px; text-wrap: balance; }
.hero__claim em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); color: #fff; margin-bottom: 12px; }
.hero__lead { max-width: 58ch; font-size: 1.08rem; color: rgba(255, 255, 255, .78); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__facts-wrap { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 56px); }
.hero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.hero__facts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); line-height: 1.35; transition: background .3s, transform .3s var(--ease); }
.hero__facts li:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }
.hero__facts small { color: rgba(255, 255, 255, .7); font-size: .85rem; }
.hero__fact-icon { flex: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--grad); color: var(--ink); box-shadow: var(--shadow-accent); }
.hero__scroll { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(36px, 5vw, 60px); width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollDot 1.8s infinite; }

@media (max-width: 860px) {
  .hero__facts { grid-template-columns: 1fr; max-width: 420px; gap: 10px; }
  .hero__facts li { padding: 12px 14px; }
  .hero__scroll { display: none; }
}
@media (max-width: 767px) {
  .hero__content { padding-top: calc(var(--header-h) + 40px); }
  .hero__media::after { background: radial-gradient(ellipse 80% 50% at 90% 10%, rgba(240, 127, 22, .25), transparent 60%), linear-gradient(0deg, rgba(12, 14, 17, .96) 20%, rgba(12, 14, 17, .6) 100%); }
  .hero__actions .btn { width: 100%; }
}

/* Laufband ---------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--grad); color: var(--ink); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1rem, 1.8vw, 1.3rem); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }

/* Abschnittsköpfe -------------------------------------------------------- */
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split h2 { margin-bottom: 0; }
.section-head__lead { font-size: 1.12rem; color: var(--steel); }
.section--dark .section-head__lead { color: rgba(255, 255, 255, .72); }

.intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro .prose { margin-bottom: 24px; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 0; }
.prose a:not(.textlink):not(.btn) { color: var(--accent-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose--light { color: rgba(255, 255, 255, .82); }
.prose--light h2 { color: #fff; }
.prose--light a:not(.btn) { color: var(--accent-2); }

/* Bild-Collage */
.collage { position: relative; padding: 0 0 60px 60px; }
.collage__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.collage__sub { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.collage::before { content: ""; position: absolute; right: -18px; top: -18px; width: 45%; height: 55%; border-radius: var(--radius); background: var(--grad); opacity: .9; z-index: -1; }
.collage__badge { position: absolute; right: -10px; bottom: 24px; display: flex; align-items: center; gap: 14px; max-width: 280px; padding: 16px 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .92rem; line-height: 1.35; }
.collage__badge .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--grad); color: var(--ink); }
.collage__badge strong { display: block; font-family: var(--font-head); }

/* Schlüsselfertig – Bauablauf ------------------------------------------- */
.turnkey__glow { position: absolute; right: -10%; top: -20%; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(240, 127, 22, .25), transparent); filter: blur(20px); pointer-events: none; animation: glow 12s ease-in-out infinite; }
.turnkey .container { position: relative; }
.buildline { position: relative; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); margin: 8px 0 28px; }
.buildline::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .14); }
.buildline::after { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.buildline.is-visible::after, html:not(.js) .buildline::after { transform: scaleX(1); }
.buildline li { position: relative; padding: 38px 8px 0 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.buildline li::after { content: ""; position: absolute; z-index: 1; top: 3px; left: 0; width: 16px; height: 16px; background: var(--ink); border: 2px solid var(--accent); border-radius: 4px; transform: rotate(45deg); }
.buildline li.is-key { color: var(--accent-2); }
.buildline li.is-key::after { background: var(--accent); box-shadow: 0 0 0 6px rgba(240, 127, 22, .25), 0 0 24px rgba(240, 127, 22, .8); }
.turnkey__note { max-width: 72ch; color: rgba(255, 255, 255, .72); }
.turnkey__more { margin: 44px 0 0; }

@media (max-width: 860px) {
  .buildline { grid-template-columns: 1fr; gap: 0; }
  .buildline::before, .buildline::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .buildline::after { transform: scaleY(0); }
  .buildline.is-visible::after { transform: scaleY(1); }
  .buildline li { padding: 9px 0 9px 40px; }
  .buildline li::after { top: 14px; left: 2px; }
}

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.feature { position: relative; padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1); transition: transform .4s var(--ease), border-color .4s, background .4s !important; }
.feature:hover { transform: translateY(-6px) !important; border-color: rgba(240, 127, 22, .55); background: linear-gradient(180deg, rgba(240, 127, 22, .12), rgba(255, 255, 255, .02)); }
.feature h3 { color: #fff; }
.feature p { color: rgba(255, 255, 255, .7); margin: 0; font-size: .97rem; }
.feature__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad); color: var(--ink); margin-bottom: 22px; box-shadow: var(--shadow-accent); }
.feature__icon .icon { width: 26px; height: 26px; }

/* Leistungen ------------------------------------------------------------ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  padding: 38px 32px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s !important;
}
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 100% 0%, rgba(240, 127, 22, .14), transparent 55%); opacity: 0; transition: opacity .45s; }
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { transform: translateY(-8px) !important; box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { opacity: 1; }
.service:hover::after { transform: scaleX(1); }
.service__icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 26px; transition: background .4s, color .4s, transform .4s var(--ease); }
.service__icon .icon { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--grad); color: var(--ink); transform: rotate(-6deg) scale(1.05); }
.service p { color: var(--steel); flex: 1; }
.service__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
.service__link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.service:hover .service__link .icon { transform: translateX(5px); }

/* Fotostrecke ----------------------------------------------------------- */
.story__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: story; }
.story__item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.story__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__item:hover .story__img { transform: scale(1.08); }
.story__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 14, 17, .9) 0%, rgba(12, 14, 17, .1) 55%, transparent 100%); pointer-events: none; }
.story__caption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.story__no { display: block; margin-bottom: 6px; font-size: .85rem; letter-spacing: .14em; color: var(--accent-2); }
.story__item:not(:last-child) .story__caption::after { content: ""; position: absolute; right: -6px; bottom: 6px; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
@media (max-width: 1024px) { .story__grid { grid-template-columns: repeat(2, 1fr); } .story__item { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .story__grid { grid-template-columns: 1fr; } }

/* Projekte -------------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { position: relative; display: block; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease) !important; }
.project-card:hover { transform: translateY(-8px) !important; box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.project-card__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.project-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(240, 127, 22, .35), transparent 60%); opacity: 0; transition: opacity .45s; }
.project-card:hover .project-card__media::after { opacity: 1; }
.project-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-card__img { transform: scale(1.07); }
.project-card__count { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 23, 27, .7); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; font-weight: 600; }
.project-card__count .icon { width: 15px; height: 15px; }
.project-card__body { display: block; padding: 20px 24px 24px; }
.project-card__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; line-height: 1.25; margin: 4px 0 0; }
.project-card__region { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--steel); font-weight: 600; }
.project-card__region .icon { width: 15px; height: 15px; color: var(--accent); }
.project-card__cats { display: block; margin-top: 8px; font-size: .85rem; color: var(--steel); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }

/* Platzhalter für Fotos, die nachgereicht werden */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  background-color: #dfe1e4;
  background-image:
    linear-gradient(rgba(20, 23, 27, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 27, .06) 1px, transparent 1px),
    linear-gradient(135deg, #eceef0 0%, #cfd3d8 100%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  color: var(--steel);
}
.ph__label { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .85); padding: 6px 12px; border-radius: 999px; }
.ph__label .icon { width: 18px; height: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { min-height: 42px; padding: 8px 18px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-2px); }
.filter.is-active { background: var(--grad); border-color: transparent; color: var(--ink); box-shadow: var(--shadow-accent); }
.filters__empty { padding: 32px; text-align: center; color: var(--steel); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Lightbox / Projektdetails */
.lightbox { width: min(1140px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: auto; }
.lightbox[open] { animation: fadeUp .45s var(--ease); }
.lightbox::backdrop { background: rgba(12, 14, 17, .82); backdrop-filter: blur(6px); }
.lightbox__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--grad); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-accent); transition: transform .3s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
.pd { display: grid; grid-template-columns: 1.5fr 1fr; }
.pd__media { background: var(--bg-2); }
.pd__images { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pd__images > :first-child { grid-column: 1 / -1; }
.pd__images img, .pd__images .ph { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pd__info { padding: 44px 34px; }
.pd__title { font-size: 1.7rem; padding-right: 40px; }
.pd__facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-top: 22px; }
.pd__facts dd { margin: 4px 0 0; }
.pd__info .btn { margin-top: 30px; }
@media (max-width: 820px) { .pd { grid-template-columns: 1fr; } .pd__info { padding: 28px 20px; } }

/* Vorher-/Nachher-Vergleich */
.ba { position: relative; overflow: hidden; margin-bottom: 4px; }
.ba__img, .ba .ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1px; background: var(--accent); pointer-events: none; box-shadow: 0 0 12px rgba(240, 127, 22, .8); }
.ba__label { position: absolute; top: 12px; z-index: 1; background: rgba(20, 23, 27, .8); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ba__label--l { left: 12px; }
.ba__label--r { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* Bewertungen ----------------------------------------------------------- */
.reviews { overflow: hidden; }
.reviews::before { content: "\201C"; position: absolute; right: 4%; top: 40px; font-family: Georgia, serif; font-size: 22rem; line-height: 1; color: var(--accent); opacity: .08; pointer-events: none; }
.reviews__google { display: inline-flex; align-items: center; gap: 14px; padding: 14px 22px; background: #fff; border-radius: 999px; text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.reviews__google:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.reviews__google > span { display: flex; flex-direction: column; line-height: 1.3; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.review { position: relative; margin: 0; padding: 36px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s !important; }
.review:hover { transform: translateY(-4px) !important; box-shadow: var(--shadow-lg); }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars .icon { width: 18px; height: 18px; }
.review__text { margin: 18px 0 0; font-size: 1.04rem; color: var(--ink-2); }
.review__text.is-clamped p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { margin-top: 8px; font-weight: 600; color: var(--accent-text); }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__author strong { display: block; }
.review__author small { color: var(--steel); }
.review__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }

/* Region & Qualität ----------------------------------------------------- */
.region__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .94rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.tags li:hover { transform: translateY(-2px); border-color: var(--accent); }
.tags li .icon { width: 15px; height: 15px; color: var(--accent); }
.tags--links li { padding: 0; }
.tags--links a { display: block; padding: 9px 16px; text-decoration: none; }
.quality { position: relative; overflow: hidden; padding: 44px; background: var(--grad-dark); color: rgba(255, 255, 255, .78); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.quality::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 127, 22, .45), transparent); }
.quality > * { position: relative; }
.quality h2 { color: #fff; }
.quality__icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 18px; background: var(--grad); color: var(--ink); margin-bottom: 22px; box-shadow: var(--shadow-accent); }
.quality__icon .icon { width: 28px; height: 28px; }

/* CTA-Band -------------------------------------------------------------- */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(64px, 8vw, 104px) 0; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 14, 17, .96) 0%, rgba(12, 14, 17, .86) 50%, rgba(216, 101, 10, .75) 100%); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; max-width: 24ch; }
.cta__text { margin: 0; color: rgba(255, 255, 255, .78); max-width: 60ch; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 600px) { .cta__actions, .cta__actions .btn { width: 100%; } }

/* Unterseiten-Kopf ------------------------------------------------------ */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-dark); color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out both; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(240, 127, 22, .3), transparent 60%), linear-gradient(90deg, rgba(12, 14, 17, .95) 0%, rgba(12, 14, 17, .8) 50%, rgba(12, 14, 17, .45) 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: linear-gradient(to top left, var(--bg) 50%, transparent 50.5%); pointer-events: none; }
.page-hero h1 { max-width: 20ch; text-wrap: balance; }
.page-hero__lead { max-width: 64ch; font-size: 1.15rem; color: rgba(255, 255, 255, .8); }
.page-hero__lead p:last-child { margin-bottom: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--accent); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.subnav-page { position: sticky; top: 70px; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-page .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav-page a { position: relative; flex: none; padding: 16px 14px; font-weight: 600; text-decoration: none; }
.subnav-page a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav-page a:hover::after { transform: scaleX(1); }
@media (max-width: 980px) { .subnav-page { top: 64px; } }

/* Layout-Bausteine ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split--center { align-items: center; }
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.panel, .detail, .trade {
  position: relative; overflow: hidden; padding: 38px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s !important;
}
.panel::after, .detail::after, .trade::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.panel:hover, .detail:hover, .trade:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); border-color: transparent; }
.panel:hover::after, .detail:hover::after, .trade:hover::after { transform: scaleY(1); }
.section--light .panel { border-color: transparent; }
.panel p, .detail p { color: var(--steel); }
.panel p:last-child, .detail p:last-child { margin-bottom: 0; }
.panel__icon, .detail__icon, .trade__icon, .keybox__icon {
  width: 60px; height: 60px; padding: 15px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 22px;
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.panel:hover .panel__icon, .detail:hover .detail__icon, .trade:hover .trade__icon { background: var(--grad); color: var(--ink); transform: rotate(-6deg); }
.panel__claim { font-family: var(--font-head); font-weight: 700; color: var(--ink) !important; }

.keybox { position: relative; overflow: hidden; padding: 44px; border-radius: var(--radius); background: var(--grad-dark); color: rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg); }
.keybox::before { content: ""; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 127, 22, .45), transparent); }
.keybox > * { position: relative; }
.keybox__icon { background: var(--grad); color: var(--ink); }
.keybox__claim { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.2; color: #fff; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-weight: 600; transition: transform .35s var(--ease), box-shadow .35s !important; }
.steps__item:hover { transform: translateX(6px) !important; box-shadow: var(--shadow); }
.steps__item.is-last { background: var(--grad); color: var(--ink); box-shadow: var(--shadow-accent); }
.steps__no { flex: none; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-soft); font-family: var(--font-head); font-size: .82rem; font-weight: 800; color: var(--accent-text); }
.steps__item.is-last .steps__no { background: rgba(20, 23, 27, .15); color: var(--ink); }

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.details--4 { grid-template-columns: repeat(2, 1fr); }
.detail__head { display: flex; justify-content: space-between; align-items: flex-start; }
.detail__no { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; background: linear-gradient(180deg, #e7e8eb, #f6f6f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail:hover .detail__no { background-image: var(--grad); }

.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; padding: 3px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); }
.checklist--2 { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 8px; }

.trades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trade__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.trade__head h2 { margin: 0; }
.trade__icon { margin-bottom: 0; }
.trade .textlink { margin-top: 22px; }
.trade--accent { background: var(--grad-dark); color: rgba(255, 255, 255, .8); border-color: transparent; }
.trade--accent h2 { color: #fff; }
.trade--accent .trade__icon { background: var(--grad); color: var(--ink); }
.trade__claim { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; }

/* Formulare ------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form--card { position: relative; padding: clamp(26px, 4vw, 44px); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form--card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: var(--radius) var(--radius) 0 0; background: var(--grad); }
.form__title { font-size: 1.6rem; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: .92rem; padding: 0; }
.field legend { margin-bottom: 10px; }
.field legend small { font-weight: 400; color: var(--steel); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid #d6d9dd; border-radius: var(--radius-sm); background: #fbfbfc; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: #b9bec5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(240, 127, 22, .18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1.5px solid #d6d9dd; border-radius: 999px; font-size: .92rem; font-weight: 500; background: #fff; transition: all .25s var(--ease); }
.chip:hover span { border-color: var(--accent); }
.chip input:checked + span { background: var(--grad); border-color: transparent; color: var(--ink); font-weight: 600; box-shadow: 0 6px 16px rgba(240, 127, 22, .3); }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload { position: relative; display: block; cursor: pointer; }
.upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__ui { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed #d0d4d9; border-radius: var(--radius); background: var(--bg-2); text-align: center; font-weight: 600; transition: border-color .25s, background .25s; }
.upload__ui small { font-weight: 400; color: var(--steel); }
.upload__ui .icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); transition: transform .3s var(--ease), background .3s; }
.upload:hover .upload__ui, .upload.is-drag .upload__ui { border-color: var(--accent); background: #fff; }
.upload:hover .upload__ui .icon, .upload.is-drag .upload__ui .icon { transform: translateY(-4px); background: var(--grad); color: var(--ink); }
.upload input:focus-visible + .upload__ui { outline: 3px solid var(--accent); outline-offset: 2px; }
.upload--single .upload__ui { flex-direction: row; justify-content: center; padding: 16px; }
.upload--single .upload__ui .icon { width: 38px; height: 38px; padding: 9px; }
.upload__list { list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.upload__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--bg-2); border-radius: var(--radius-sm); }
.upload__list li.is-error { background: #fdecea; color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--steel); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.check a { color: var(--ink); }
.form__hint { margin: 0; font-size: .85rem; color: var(--steel); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.alert--ok { background: #e7f5ee; color: var(--ok); border-left: 4px solid var(--ok); }
.alert--error { background: #fdecea; color: var(--error); border-left: 4px solid var(--error); }
.form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* Kontakt --------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--header-h) + 24px); }
.contact__info > p { color: var(--steel); }
.contact__list { list-style: none; display: grid; gap: 14px; margin: 30px 0; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.contact__list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact__list .icon { width: 48px; height: 48px; padding: 13px; background: var(--grad); color: var(--ink); border-radius: 14px; box-shadow: var(--shadow-accent); }
.contact__list small { display: block; color: var(--steel); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.contact__list a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.contact__list a:hover { color: var(--accent-text); }

.map { background: var(--bg-2); }
.map__consent { position: relative; height: 460px; }
.map__consent iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.map__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: radial-gradient(circle at 50% 40%, rgba(240, 127, 22, .12), transparent 50%), linear-gradient(rgba(20, 23, 27, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 23, 27, .05) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; }
.map__placeholder .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--grad); color: var(--ink); margin-bottom: 14px; box-shadow: var(--shadow-accent); }
.map__text { font-size: .9rem; color: var(--steel); max-width: 52ch; }
.map__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Rechtliches ----------------------------------------------------------- */
.legal { max-width: 880px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--accent-text); }
.notfound { min-height: 60vh; padding-top: calc(var(--header-h) + 80px); }

/* Footer ---------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; background: var(--grad-dark); color: rgba(255, 255, 255, .7); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.site-footer::after { content: ""; position: absolute; left: -10%; bottom: -40%; width: 50%; height: 80%; background: radial-gradient(closest-side, rgba(240, 127, 22, .12), transparent); pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.brand--footer img { height: 64px; width: auto; }
.footer__claim { margin-top: 22px; color: #fff; font-family: var(--font-head); font-weight: 700; line-height: 1.4; }
.footer__small { font-size: .9rem; }
.footer__title { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 20px; }
.footer__links { list-style: none; display: grid; gap: 10px; }
.footer__links a, .footer__address a { text-decoration: none; transition: color .2s, padding .2s; }
.footer__links a:hover { color: #fff; padding-left: 6px; }
.footer__address a:hover { color: var(--accent-2); }
.footer__address { line-height: 1.9; }
.footer__address strong { color: #fff; }
.footer__address a { display: inline-flex; align-items: center; gap: 8px; }
.footer__address .icon { width: 16px; height: 16px; color: var(--accent); }
.footer__areas { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .88rem; }
.footer__areas span { color: #fff; font-weight: 600; }
.footer__bottom { position: relative; z-index: 1; margin-top: 24px; padding: 20px 0; background: rgba(0, 0, 0, .25); font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal a, .footer__legal .linklike { text-decoration: none; }
.footer__legal a:hover, .footer__legal .linklike:hover { color: #fff; }

/* Mobile Schnellkontakt-Leiste ----------------------------------------- */
.mobilebar { display: none; }
@media (max-width: 980px) {
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .2); padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
  }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; text-decoration: none; }
  .mobilebar__call { background: var(--ink); color: #fff; }
  .mobilebar__call .icon { color: var(--accent); }
  .mobilebar__req { background: var(--grad); color: var(--ink); }
  body { padding-bottom: 60px; }
}

/* Cookie-Hinweis -------------------------------------------------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: flex-start; pointer-events: none; }
.cookie__box { pointer-events: auto; max-width: 500px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; font-size: .9rem; animation: fadeUp .5s var(--ease); border-top: 4px solid var(--accent); }
.cookie__title { font-size: 1.12rem; margin-bottom: 8px; }
.cookie__box p { color: var(--steel); }
.cookie__box a { color: var(--ink); }
.cookie__opt { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 6px; }
.cookie__opt input { width: 18px; height: 18px; accent-color: var(--accent); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie__actions .btn { min-height: 40px; padding: 8px 16px; font-size: .78rem; box-shadow: none; }
@media (max-width: 980px) { .cookie { bottom: 76px; } }
@media (max-width: 600px) {
  .cookie { left: 8px; right: 8px; }
  .cookie__box { padding: 18px; font-size: .84rem; }
  .cookie__box p { margin-bottom: 10px; }
  .cookie__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie__actions .btn { padding: 8px 10px; letter-spacing: .03em; }
  .cookie__actions [data-cookie="all"] { grid-column: 1 / -1; order: -1; }
}

/* Responsive Raster ---------------------------------------------------- */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .services, .projects, .details, .trades { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .intro__grid, .region__grid, .split, .contact, .cols-2 { grid-template-columns: 1fr; }
  .contact__info { position: static; }
  .reviews__grid { grid-template-columns: 1fr; }
  .collage { padding: 0 0 40px 30px; margin-right: 10px; }
  .collage__badge { right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .features, .services, .projects, .details, .details--4, .trades, .steps, .cols-3, .footer__grid, .form__row, .checklist--2 { grid-template-columns: 1fr; }
  .service, .panel, .detail, .trade, .review { padding: 28px 22px; }
  .quality, .keybox { padding: 30px 24px; }
  .map__consent { height: 380px; }
  .collage__badge { position: relative; right: auto; bottom: auto; margin-top: 16px; max-width: none; }
  .collage { padding: 0 0 0 0; }
  .collage__sub { display: none; }
  .page-hero::after { height: 30px; }
}

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