/* ==========================================================================
   G & D Dittmann GmbH – Relaunch
   Struktur/Nutzerführung neu, Design-DNA des Bestands beibehalten:
   Petrol-Blau, Hellblau-Akzent, Lato + Proxima Nova/Montserrat,
   weiße 8px-Boxen mit Schatten, blaues Bild-Overlay, Pill-Buttons.
   ========================================================================== */

:root {
  --primary: #1d475a;
  --primary-dark: #0f3042;
  --header-bg: #1c475b;
  --accent: #309ee3;
  --secondary: #009fe3;
  --h1: #1a3e50;
  --h2: #004762;
  --text: #666;
  --heading: #555;
  --surface: #f2f2f2;
  --surface-2: #d7dde1;
  --line: #e2e6e9;
  --footer-bg: #353535;
  --footer-abs-bg: #292929;
  --radius: 8px;
  --shadow: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.22);
  --shadow-soft: 0 8px 30px rgba(15,48,66,.12);
  --font-body: "Lato", sans-serif;
  --font-heading: "proxima-nova", "Montserrat", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 110px);
  --header-h: 84px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--footer-abs-bg); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--h2); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: #444; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--h2); margin: 0 0 .5em; }
h1 { color: var(--h1); font-size: clamp(2.3rem, 5.2vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; color: var(--h1); }
h4 { font-size: 1.05rem; color: var(--heading); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #fff; color: var(--primary); padding: 10px 15px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 900px; }
.wrap--mid { max-width: 1060px; }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--surface { background: var(--surface); }
.section--steel { background: var(--surface-2); }
.section--dark { background: rgb(29,71,90); color: rgba(255,255,255,.86); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark a:not(.btn) { color: #9fd6ff; }
.center { text-align: center; }
.h-section { max-width: 24ch; }
.center .h-section, .h-section.center { margin-left: auto; margin-right: auto; }
.intro { font-size: 1.15rem; max-width: 64ch; }
.center .intro { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 900; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow { color: #7cc6f4; }
.section--dark .eyebrow::before { background: #7cc6f4; }

/* ---------- Buttons (Pill wie Bestand) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.5em; border-radius: 99px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 900; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s;
  line-height: 1.1; text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--primary); color: #fff; }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--primary); }
.btn--sm { min-height: 40px; padding: 0 1.2em; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); transition: height .3s;
}
.site-header.is-scrolled .site-header__inner { height: 68px; }
.site-header__logo img { height: 66px; width: auto; transition: height .3s; }
.site-header.is-scrolled .site-header__logo img { height: 52px; }
.burger, .offcanvas__close {
  display: none; width: 42px; height: 42px; padding: 9px;
  border: 2px solid rgba(255,255,255,.55); border-radius: 99px; background: none; color: #fff; cursor: pointer;
}
.burger svg, .offcanvas__close svg { width: 100%; height: 100%; }

.mainnav { flex: 1; }
.mainnav > ul { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mainnav > ul > li { position: relative; display: flex; align-items: center; }
.mainnav > ul > li > a {
  position: relative; display: block; padding: 14px 12px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.mainnav > ul > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 30px; height: 3px;
  background: #309fe3; transform: translateX(-50%); opacity: 0; transition: opacity .25s;
}
.mainnav > ul > li > a:hover, .mainnav > ul > li > a.is-active { color: #fff; }
.mainnav > ul > li > a.is-active::after, .mainnav > ul > li > a:hover::after { opacity: 1; }
.sub-toggle { width: 22px; height: 22px; margin-left: -8px; padding: 3px; border: 0; background: none; color: rgba(255,255,255,.7); cursor: pointer; }
.sub-toggle svg { width: 100%; height: 100%; transition: transform .25s; }
.subnav {
  position: absolute; top: 100%; left: 50%; min-width: 330px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.subnav::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.has-sub:hover .subnav, .has-sub.is-open .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.subnav a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--text); }
.subnav a strong { display: block; color: var(--h1); font-family: var(--font-heading); font-size: .98rem; }
.subnav a span { font-size: .85rem; }
.subnav a:hover, .subnav a[aria-current] { background: var(--surface); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.site-header__phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.site-header__phone svg { width: 18px; height: 18px; }
.site-header__phone:hover { color: #fff; }

@media (max-width: 1180px) {
  .mainnav { display: none; }
  .burger { display: block; }
  .site-header__inner { justify-content: space-between; }
  .site-header__logo { margin-right: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .site-header__phone span { display: none; }
  .site-header__logo img { height: 54px; }
  .site-header__actions .btn { display: none; }
}

/* Off-Canvas */
.offcanvas { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(11,11,11,.7); opacity: 0; transition: opacity .3s; }
.offcanvas.is-open .offcanvas__backdrop { opacity: 1; }
.offcanvas__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); overflow-y: auto;
  background: var(--header-bg); color: #fff; padding: 76px 0 30px;
  transform: translateX(-100%); transition: transform .3s;
}
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__close { display: block; position: absolute; top: 16px; right: 16px; }
.offcanvas__nav { list-style: none; margin: 0; padding: 0; }
.offcanvas__nav li { border-top: 1px solid #425a65; }
.offcanvas__nav a, .oc-group > span { display: block; padding: 14px 24px; color: rgba(255,255,255,.88); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .03em; }
.oc-group > span { color: #7cc6f4; font-size: .72rem; letter-spacing: .14em; padding-bottom: 4px; }
.oc-group ul { list-style: none; margin: 0; padding: 0 0 8px; }
.oc-group ul li { border: 0; }
.oc-group ul a { padding: 9px 24px 9px 36px; text-transform: none; font-size: 1rem; letter-spacing: 0; }
.offcanvas__nav a[aria-current] { color: #fff; box-shadow: inset 4px 0 0 var(--accent); }
.offcanvas__contact { display: grid; gap: 14px; padding: 24px; border-top: 1px solid #425a65; }
.offcanvas__contact a:not(.btn) { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); }
.offcanvas__contact svg { width: 18px; height: 18px; }
body.oc-open { overflow: hidden; }

/* ---------- Hero Startseite (Bild + weiße Box wie Bestand) ---------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--primary-dark); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,48,66,.55) 0%, rgba(15,48,66,.1) 60%, rgba(15,48,66,0) 100%); }
.hero__box {
  position: relative; z-index: 2; width: min(640px, 100%);
  margin: 0 0 clamp(32px, 7vh, 80px); padding: clamp(28px, 4vw, 50px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero__box h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: .35em; }
.hero__box p { font-size: 1.08rem; }
.hero .wrap { position: relative; z-index: 2; }

/* ---------- Unterseiten-Hero (weißer Reiter überlappt Bild wie Bestand) ---------- */
.page-hero { position: relative; }
.page-hero__img { height: clamp(260px, 42vw, 560px); overflow: hidden; background: var(--primary-dark); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__tab {
  position: relative; z-index: 2; margin-top: clamp(-150px, -9vw, -70px);
  background: #fff; border-radius: 30px 30px 0 0;
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3.5vw, 48px) 0;
  max-width: 980px;
}
.page-hero__tab h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); margin: .2em 0 .4em; }
.page-hero__lead { font-size: 1.18rem; color: #555; max-width: 62ch; }
.page-hero .btn-row { margin-top: 1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: #8a959c; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #b5bec4; }
.breadcrumb a { color: #8a959c; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--h2); font-weight: 700; }

/* ---------- Lead / Antwort-Absatz (GEO: Antwort zuerst) ---------- */
.lead { padding: clamp(48px, 7vw, 90px) 0 clamp(24px, 4vw, 40px); }
.lead p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--h1); font-weight: 600; max-width: 46ch; margin: 0 auto; text-align: center; }
.lead p strong { color: var(--accent); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0 0 clamp(48px, 7vw, 90px); }
.stat { border-top: 3px solid var(--accent); padding-top: 18px; }
.stat__num { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--h2); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; margin-bottom: 10px; }
.stat__num small { font-size: .45em; font-weight: 600; margin-left: .15em; }
.stat p { font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Story-Kapitel (Bild/Text im Wechsel) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.story + .story { margin-top: clamp(56px, 8vw, 110px); }
.story--flip .story__media { order: 2; }
.story__media { position: relative; }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.story__num {
  position: absolute; top: -26px; left: -14px; z-index: 2;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(3.6rem, 7vw, 6rem); line-height: 1;
  color: #fff; text-shadow: 0 4px 20px rgba(15,48,66,.35);
}
.story--flip .story__num { left: auto; right: -14px; }
.story__text h2 { max-width: 20ch; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
  .story--flip .story__media { order: 0; }
}

/* ---------- Häkchen-/Problem-Listen ---------- */
.checklist, .painlist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 12px; }
.checklist li, .painlist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.painlist li::before {
  content: "!"; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid #9aa7ae; color: #6b7a82; font-weight: 900; font-size: 13px; line-height: 18px; text-align: center;
}
.section--dark .checklist li::before { background-color: #7cc6f4; }

/* ---------- Karten-Raster ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.box { background: #fff; border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); box-shadow: var(--shadow-soft); height: 100%; }
.box h3 { margin-bottom: .4em; }
.box p:last-child { margin-bottom: 0; }
.box--line { box-shadow: none; border: 1px solid var(--line); }
.section--dark .box { background: rgba(255,255,255,.06); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.box__icon { width: 54px; height: 54px; margin-bottom: 16px; }
.box__icon img { width: 100%; height: 100%; object-fit: contain; }
.box__kicker { font-weight: 900; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; display: block; }

/* Problem → Lösung Gegenüberstellung */
.ps { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 2.5vw, 34px); align-items: stretch; }
.ps__col { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.ps__col--problem { background: #fff; border: 1px solid var(--line); }
.ps__col--solution { background: var(--primary); color: rgba(255,255,255,.88); }
.ps__col--solution h3, .ps__col--solution strong { color: #fff; }
.ps__col--solution .checklist li::before { background-color: #7cc6f4; }
.ps__arrow { display: flex; align-items: center; color: var(--accent); }
.ps__arrow svg { width: 42px; height: 42px; }
@media (max-width: 860px) { .ps { grid-template-columns: 1fr; } .ps__arrow { justify-content: center; transform: rotate(90deg); } }

/* Auswahl-Kacheln (Reinraum / Großküche) mit Bild + weißer Box */
.choice { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 460px; color: var(--text); }
.choice > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.choice .overlay { position: absolute; inset: 0; background: rgba(0,146,255,.32); opacity: 0; transition: opacity .3s; }
.choice:hover > img { transform: scale(1.04); }
.choice:hover .overlay { opacity: 1; }
.choice__box { position: absolute; left: 18px; right: 18px; bottom: 18px; background: #fff; border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.choice__box h3 { font-size: 1.6rem; margin-bottom: .3em; }
.choice__box p { margin-bottom: .8em; font-size: .98rem; }

/* Weiterlesen-Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); color: var(--text); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,48,66,.18); color: var(--text); }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img .overlay, .img-overlay .overlay { position: absolute; inset: 0; background: rgba(0,146,255,.32); opacity: 0; transition: opacity .3s; }
.card:hover .overlay, .img-overlay:hover .overlay { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.card__body strong { font-family: var(--font-heading); font-size: 1.25rem; color: var(--h1); }
.card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: .4em; color: var(--accent); font-weight: 900; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.card__more svg { width: 1.1em; height: 1.1em; }
.more { background: var(--surface); }

/* ---------- Bildband ---------- */
.imgband { position: relative; min-height: clamp(340px, 46vw, 560px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.imgband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.imgband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,48,66,.88) 0%, rgba(15,48,66,.55) 55%, rgba(15,48,66,.2) 100%); }
.imgband .wrap { position: relative; z-index: 1; }
.imgband blockquote, .imgband h2 { margin: 0; max-width: 22ch; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.2; color: #fff; }
.imgband p { max-width: 52ch; margin-top: 1rem; color: rgba(255,255,255,.85); font-size: 1.1rem; }
@media (min-width: 900px) { .imgband--fixed > img { position: fixed; z-index: -1; } .imgband--fixed { clip-path: inset(0); } }

/* ---------- Prozess ---------- */
.process { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process li { position: relative; counter-increment: step; padding-top: 70px; }
.process li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-heading); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem;
}
.process li::after { content: ""; position: absolute; top: 26px; left: 64px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); opacity: .5; }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.12rem; }
.process p { font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } .process li::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.spec { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.spec caption { text-align: left; padding: 14px 18px; font-weight: 700; color: var(--h1); }
.spec th, .spec td { padding: 13px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.spec thead th { background: var(--primary); color: #fff; border: 0; font-weight: 700; }
.spec tbody tr:nth-child(even) { background: #f8f9fa; }
.spec th[scope=row] { color: var(--h1); font-weight: 700; }

/* ---------- Hotspot-Bild (Tooltips aus Bestand) ---------- */
.hotspots { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.hotspots > img { width: 100%; }
.tooltips {
  position: absolute; z-index: 2; width: 45px; height: 45px; padding: 0;
  border: 0; border-radius: 50px; background: var(--accent); color: #fff;
  font-family: var(--font-body); font-size: 45px; font-weight: 500; line-height: 1;
  box-shadow: 3px 4px 8px rgba(0,0,0,.24); transition: .2s; cursor: pointer;
}
.tooltips:hover, .tooltips.tooltip-active { background: #fff; color: var(--accent); transform: rotate(135deg); }
#tooltip-rr-1 { top: 24%; left: 27%; } #tooltip-rr-2 { top: 46%; left: 45%; }
#tooltip-rr-3 { bottom: 13%; right: 15%; } #tooltip-rr-4 { top: 15%; right: 42%; }
#tooltip-gk-1 { top: 60%; left: 27%; } #tooltip-gk-2 { top: 42%; left: 47%; }
#tooltip-gk-3 { bottom: 34%; right: 22%; } #tooltip-gk-4 { bottom: 32%; right: 41%; }
.tooltip-inhalt {
  display: none; position: absolute; z-index: 3; right: 3%; top: 6%; width: min(400px, 60%);
  background: #fff; border-radius: 20px; box-shadow: 0 0 50px 7px rgba(0,0,0,.45);
}
.tooltip-inhalt.tooltip-visible { display: block; animation: fadeIn .4s ease-in; }
.tooltip-inhalt img { width: 100%; border-radius: 15px 15px 0 0; aspect-ratio: 5 / 3; object-fit: cover; }
.tooltip-inhalt h3 { font-size: 1.3rem; padding: 14px 16px 4px; margin: 0; }
.tooltip-inhalt p { padding: 0 16px 16px; margin: 0; font-size: .95rem; line-height: 1.5; }
.tt-close { position: absolute; top: 4px; right: 12px; border: 0; background: none; font-size: 38px; line-height: 1.1; color: #eee; text-shadow: 0 5px 20px rgba(0,0,0,.5); cursor: pointer; }
.tt-close:hover { color: #fff; }
.hotspot-hint { font-size: .88rem; color: #8a959c; margin-top: 10px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) { .tooltips { width: 30px; height: 30px; font-size: 30px; } .tooltip-inhalt { left: 4%; right: 4%; width: auto; } }

/* ---------- Bildraster (Packery-Nachbau aus Bestand) ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 90px; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .gallery figure { grid-column: auto !important; grid-row: auto !important; } }

/* ---------- Referenzen ---------- */
.ref { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ref + .ref { margin-top: clamp(48px, 7vw, 90px); padding-top: clamp(48px, 7vw, 90px); border-top: 1px solid var(--line); }
.ref__meta { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 6px; font-size: .95rem; }
.ref__meta li strong { display: inline-block; min-width: 92px; color: var(--h1); }
.ref__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ref__imgs img { border-radius: var(--radius); aspect-ratio: 14 / 9; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .ref { grid-template-columns: 1fr; } }
.logo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-strip a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.logo-strip img { aspect-ratio: 14 / 9; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .logo-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ (Plus dreht wie Tooltip-Button des Bestands) ---------- */
.faq__list { margin-top: 1.6rem; display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 10px rgba(15,48,66,.06); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.faq__icon {
  flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 28px; line-height: 32px; text-align: center; transition: transform .25s, background .25s, color .25s;
}
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--primary); }
.faq__answer { padding: 0 24px 22px; }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }

/* ---------- CTA-Block ---------- */
.cta-block { background: var(--primary-dark); color: rgba(255,255,255,.85); padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cta-block::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(48,158,227,.12); }
.cta-block__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-block h2 { color: #fff; max-width: 22ch; }
.cta-block p { margin: 0; max-width: 56ch; }
.cta-block__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-block__inner { grid-template-columns: 1fr; } .cta-block__actions { justify-content: flex-start; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--primary); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.contact-card h2, .contact-card h3, .contact-card strong { color: #fff; }
.contact-card a { color: #fff; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: #7cc6f4; font-weight: 900; }
.contact-card dd { margin: 0; }
.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cf .full { grid-column: 1 / -1; }
.cf label { display: block; font-weight: 700; color: #333; font-size: .92rem; }
.cf input[type=text], .cf input[type=tel], .cf input[type=email], .cf select, .cf textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 1rem; color: #333;
  background: #fff; border: 1px solid #cfd6da; border-radius: 6px; transition: border .2s, box-shadow .2s;
}
.cf textarea { min-height: 150px; resize: vertical; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(48,158,227,.2); }
.cf .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .92rem; }
.cf .check input { margin-top: .35em; }
.cf .hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .cf { grid-template-columns: 1fr; } }
.form-msg { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; border-left: 4px solid; background: #fff; }
.form-msg.ok { border-color: #46b450; }
.form-msg.err { border-color: #dc3232; }
.map-note { font-size: .9rem; color: #8a959c; }

/* Rechtstexte */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal-note { background: #fff8e1; border-left: 4px solid #f0b400; padding: 1em 1.2em; color: #555; border-radius: 4px; }

/* Hinweis "Stand" (Aktualität für GEO) */
.updated { font-size: .82rem; color: #8a959c; margin-top: 2rem; }

/* ---------- Footer (Farben Bestand) ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 900; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer__brand img { width: 120px; margin-bottom: 16px; }
.site-footer__bottom { background: var(--footer-abs-bg); color: rgba(255,255,255,.5); font-size: .82rem; padding: 14px 0; }
.site-footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.site-footer__bottom strong { color: rgba(255,255,255,.6); }
.site-footer__bottom a { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid currentColor; color: #aab; background: rgba(255,255,255,.9);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s;
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- Scroll-Animationen (wie Bestand) ---------- */
[data-animate] { transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.js [data-animate]:not(.animated) { opacity: 0; }
.js [data-animate="fadeInUp"]:not(.animated) { transform: translate3d(0,50px,0); }
.js [data-animate="fadeInLeft"]:not(.animated) { transform: translate3d(-50px,0,0); }
.js [data-animate="fadeInRight"]:not(.animated) { transform: translate3d(50px,0,0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-animate] { opacity: 1 !important; transform: none !important; }
}
