/* ============================================================
   Deines Haustechnik GmbH — Design-System
   Handwerk · bodenständig · vertrauenswürdig · schwarz/gelb
   Schriften (Inter, Atkinson Hyperlegible) werden selbst gehostet
   ausgeliefert — kein externer Schriftarten-Dienst.
   ============================================================ */

/* ---------- Selbst gehostete Schriften ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Atkinson Hyperlegible';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #F5F2EA;
  --paper-2:    #FBFAF5;
  --card:       #FFFFFF;
  --ink:        #1A1813;
  --ink-soft:   #454036;
  --muted:      #6E685B;
  --line:       #E4DECF;
  --line-strong:#CFC8B5;
  --yellow:     #FFCE00;
  --yellow-deep:#EAB800;
  --black:      #16140E;
  --black-2:    #211E16;

  --maxw: 1560px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(20,18,13,.05), 0 8px 28px -16px rgba(20,18,13,.22);
  --shadow-lg: 0 2px 4px rgba(20,18,13,.06), 0 26px 56px -28px rgba(20,18,13,.35);

  --ff-head: 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --t-fast: .16s ease;
  --t: .28s cubic-bezier(.4,.0,.15,1);

  --header-h: 76px;
}

/* ---------- Accessibility: high contrast ---------- */
:root[data-contrast="high"] {
  --paper:      #FFFFFF;
  --paper-2:    #FFFFFF;
  --card:       #FFFFFF;
  --ink:        #000000;
  --ink-soft:   #000000;
  --muted:      #1c1c1c;
  --line:       #000000;
  --line-strong:#000000;
  --yellow:     #FFD400;
  --yellow-deep:#C99700;
  --black:      #000000;
  --black-2:    #000000;
  --shadow: 0 0 0 2px #000;
  --shadow-lg: 0 0 0 3px #000;
}
:root[data-contrast="high"] a { text-decoration: underline; }
:root[data-contrast="high"] .card,
:root[data-contrast="high"] .panel { border: 2px solid #000 !important; }

/* ---------- Readable font (a11y) ---------- */
:root[data-readable="on"] {
  --ff-head: 'Atkinson Hyperlegible', 'Verdana', system-ui, sans-serif;
  --ff-body: 'Atkinson Hyperlegible', 'Verdana', system-ui, sans-serif;
  letter-spacing: .01em;
  word-spacing: .06em;
}
:root[data-readable="on"] body { line-height: 1.85; }

/* ---------- Underline all links (a11y) ---------- */
:root[data-ul="on"] a:not(.btn):not(.brand) { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reduce motion (a11y toggle + OS pref) ---------- */
:root[data-motion="off"] * {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.05; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid #1f6feb; outline-offset: 2px; border-radius: 2px; }
:root[data-contrast="high"] :focus-visible { outline: 4px solid #000; outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--dark { background: var(--black); color: #F3EFE3; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--paper2 { background: var(--paper-2); }
.lead { font-size: clamp(1.15rem, 2.3vw, 1.4rem); color: var(--ink-soft); line-height: 1.55; max-width: 46ch; }

/* kicker */
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .8rem; color: var(--ink-soft); margin: 0 0 1rem;
}
.kicker::before { content:""; width: 22px; height: 4px; background: var(--yellow); border-radius: 2px; }
.section--dark .kicker { color: var(--yellow); }
.section--dark .kicker::before { background: var(--yellow); }

.h-xxl { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 900; letter-spacing: -.03em; }
.h-xl  { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.022em; }
.h-lg  { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.015em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.02rem;
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: .95rem 1.5rem; min-height: 52px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bd); border-radius: var(--radius);
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn-call { --bg: var(--yellow); --fg: #1A1813; --bd: var(--yellow); box-shadow: var(--shadow); }
.btn-call:hover { --bg: var(--yellow-deep); --bd: var(--yellow-deep); box-shadow: var(--shadow-lg); }
.btn-dark { --bg: var(--black); --fg: #fff; --bd: var(--black); }
.btn-dark:hover { --bg: var(--black-2); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn-ghost:hover { --bd: var(--ink); --bg: rgba(0,0,0,.03); }
.section--dark .btn-ghost { --fg: #fff; --bd: rgba(255,255,255,.4); }
.section--dark .btn-ghost:hover { --bd: #fff; --bg: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.12rem; padding: 1.1rem 1.8rem; min-height: 60px; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header ---------- */
.skip {
  position: fixed; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 4px;
  font-family: var(--ff-head); font-weight: 700; text-decoration: none;
  transition: top var(--t-fast);
}
.skip:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,245,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
:root[data-contrast="high"] .site-header { background: #fff; border-bottom: 2px solid #000; }
.header-inner { display: flex; align-items: center; gap: 1.2rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--ff-head); }
.brand-text strong { font-weight: 900; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-text span { font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; }
.brand-text small { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.main-nav ul { display: flex; gap: .3rem; list-style: none; }
.main-nav a {
  display: block; padding: .6rem .95rem; border-radius: 4px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; color: var(--ink-soft); transition: color var(--t-fast), background var(--t-fast);
}
.main-nav a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after {
  content:""; display:block; height: 3px; background: var(--yellow);
  border-radius: 2px; margin-top: .25rem;
}

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn-call { min-height: 46px; padding: .65rem 1.1rem; font-size: .98rem; }
.header-phone-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.header-phone-label small { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: var(--card); border: 2px solid var(--line-strong); border-radius: 4px;
  cursor: pointer; color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.nav-toggle { display: none; }

/* ---------- Mobile nav panel ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 150; visibility: hidden;
}
.mobile-nav[data-open="true"] { visibility: visible; }
.mobile-nav__scrim {
  position: absolute; inset: 0; background: rgba(20,18,13,.5); opacity: 0;
  transition: opacity var(--t);
}
.mobile-nav[data-open="true"] .mobile-nav__scrim { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; right: -100%; height: 100%; width: min(86vw, 360px);
  background: var(--paper-2); box-shadow: var(--shadow-lg);
  transition: right var(--t);
  display: flex; flex-direction: column; padding: 1.2rem;
  overflow-y: auto;
}
.mobile-nav[data-open="true"] .mobile-nav__panel { right: 0; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.mobile-nav__head span { font-family: var(--ff-head); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--muted); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem .4rem; font-family: var(--ff-head); font-weight: 700; font-size: 1.35rem;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--yellow-deep); }
.mobile-nav a.m-link span { color: var(--yellow); }
.mobile-nav__cta { margin-top: auto; padding-top: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center;
  padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.hero__slogan {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-weight: 800; font-style: italic;
  color: var(--ink); font-size: 1.1rem; margin-bottom: 1.1rem;
}
.hero__slogan::before { content:""; width: 30px; height: 30px; background:
  url("logo.png") center/contain no-repeat; }
.hero h1 { margin-bottom: 1rem; }
.hero .accent { color: var(--ink); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__meta .stat { display: flex; flex-direction: column; }
.hero__meta .stat b { font-family: var(--ff-head); font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--ink); }
.hero__meta .stat span { font-size: .9rem; color: var(--muted); margin-top: .25rem; }

.hero-page { background: var(--black); color: #F3EFE3; }
.hero-page__inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.2rem; }
.hero-page h1 { color: #fff; }
.hero-page .lead { color: #D9D3C4; }
.hero-page .crumb { font-size: .85rem; color: #BDB7A8; font-family: var(--ff-head); font-weight: 600; letter-spacing: .04em; }
.hero-page .crumb a { color: var(--yellow); text-decoration: none; }
.hero-page .crumb a:hover { text-decoration: underline; }

/* ---------- Image placeholder ---------- */
.imgph {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #ECE7D8 0 14px, #E4DECF 14px 28px);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; min-height: 240px; color: var(--muted);
  aspect-ratio: 4 / 3;
}
.imgph::after {
  content: attr(data-label);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: .8rem; letter-spacing: .04em; color: #8a8472;
  background: rgba(251,250,245,.85); padding: .45rem .75rem; border-radius: 4px;
  border: 1px solid var(--line-strong); max-width: 80%; text-align: center;
}
.imgph--tall { aspect-ratio: 3 / 4; }
.imgph--wide { aspect-ratio: 16 / 9; }
.imgph--hero { aspect-ratio: 5 / 4; min-height: 320px; box-shadow: var(--shadow-lg); }

/* When a real photo is present, fill the frame and drop the placeholder chrome */
.imgph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.imgph:has(img) { background: none; }
.imgph:has(img)::after { content: none; }

/* ---------- Service / feature cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.card__num { font-family: var(--ff-head); font-weight: 900; font-size: 1rem; color: var(--yellow-deep); letter-spacing: .1em; }
.card__ico {
  width: 56px; height: 56px; border-radius: 8px; background: var(--yellow);
  display: grid; place-items: center; margin-bottom: 1.1rem; color: #1A1813;
}
.card__ico svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card__more { margin-top: auto; font-family: var(--ff-head); font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.card--link:hover .card__more { color: var(--yellow-deep); }
.card--link:hover .card__more svg { transform: translateX(4px); }
.card__more svg { width: 1.05em; height: 1.05em; transition: transform var(--t-fast); }

/* split content row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__body h2 { margin-bottom: .8rem; }

/* benefit / check list */
.checklist { list-style: none; display: grid; gap: .7rem; margin: 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.checklist li::before {
  content: ""; flex: 0 0 auto; width: 24px; height: 24px; margin-top: .1rem;
  background: var(--yellow); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1813' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}
.checklist.compact li { line-height: 1.35; }

/* feature strip (values) */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem;
  padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: var(--card);
}
.section--dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }

/* steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; }
.step__n { counter-increment: step; font-family: var(--ff-head); font-weight: 900; font-size: 1.3rem;
  width: 48px; height: 48px; border-radius: 8px; background: var(--ink); color: var(--yellow);
  display: grid; place-items: center; }
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

/* partners */
.partners { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.partner {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  padding: .7rem 1.3rem; border: 1.5px solid var(--line-strong); border-radius: 6px;
  background: var(--card); color: var(--ink-soft);
}

/* info / contact cards */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 1.2rem; }
.info {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
}
.section--dark .info { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.info h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin-bottom: .8rem; }
.info .big-phone { font-family: var(--ff-head); font-weight: 900; font-size: clamp(1.6rem,3vw,2.1rem); color: inherit; text-decoration: none; display: inline-block; letter-spacing: -.02em; }
.section--dark .info .big-phone { color: var(--yellow); }
.info .rows { display: grid; gap: .45rem; }
.info .rows div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .45rem; }
.section--dark .info .rows div { border-color: rgba(255,255,255,.15); }
.info a { color: inherit; }

/* CTA band */
.cta-band { background: var(--yellow); color: #1A1813; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr auto; gap: 1.8rem; align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 900; margin: 0; }
.cta-band p { margin: .5rem 0 0; font-size: 1.1rem; max-width: 50ch; }
.cta-band .btn-dark { box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }

/* note / callout */
.note { border-left: 5px solid var(--yellow); background: var(--card); padding: 1.2rem 1.4rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow); }
.note strong { font-family: var(--ff-head); }

/* prose */
.prose p { max-width: 64ch; color: var(--ink-soft); }
.prose .lead { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #CFC9BA; padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.site-footer a { color: #CFC9BA; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand b { font-family: var(--ff-head); font-weight: 900; color: #fff; font-size: 1.2rem; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.footer-list { list-style: none; display: grid; gap: .55rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--yellow); }
.footer-phone { font-family: var(--ff-head); font-weight: 900; font-size: 1.5rem; color: var(--yellow); text-decoration: none; display: block; margin-bottom: .3rem; }
.footer-notdienst { font-size: .92rem; color: #A6A091; margin-top: .6rem; }
.footer-notdienst a { color: #E6E0D1; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #8B8576; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--yellow); }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-prose { max-width: 82ch; }
.legal-prose h2 { margin-top: 2.4rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; }
.legal-prose h3 { margin-top: 1.5rem; font-size: 1.15rem; font-weight: 700; }
.legal-prose p, .legal-prose li { color: var(--ink-soft); }
.legal-prose address { font-style: normal; line-height: 1.7; }
.legal-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: .35rem; margin: 0 0 1rem; }
.legal-prose ul li { padding-left: .2rem; }
.fillme { background: var(--yellow); color: #1A1813; padding: 0 .3em; border-radius: 3px; font-weight: 600; white-space: nowrap; }
.legal-note { background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 1rem 1.2rem; margin: 0 0 2rem; font-size: .92rem; color: var(--muted); }
.legal-note strong { color: var(--ink); }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(251,250,245,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; min-height: 54px; }
.callbar .btn-ghost { flex: 0 0 auto; width: 54px; padding: 0; }

/* ---------- A11y panel ---------- */
.a11y-panel {
  position: fixed; top: 0; right: -400px; height: 100%; width: min(92vw, 380px); z-index: 210;
  background: var(--paper-2); box-shadow: var(--shadow-lg);
  transition: right var(--t); display: flex; flex-direction: column; overflow-y: auto;
  border-left: 1px solid var(--line);
}
.a11y-panel[data-open="true"] { right: 0; }
.a11y-scrim { position: fixed; inset: 0; z-index: 205; background: rgba(20,18,13,.45);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); }
.a11y-scrim[data-open="true"] { opacity: 1; visibility: visible; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper-2); }
.a11y-head h2 { font-size: 1.2rem; margin: 0; display: flex; align-items: center; gap: .5rem; }
.a11y-body { padding: 1.3rem; display: grid; gap: 1.5rem; }
.a11y-group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .7rem; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.a11y-row span { font-weight: 600; line-height: 1.25; }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper button { width: 40px; height: 40px; border: 2px solid var(--line-strong); background: var(--card);
  border-radius: 6px; font-size: 1.3rem; font-family: var(--ff-head); font-weight: 800; cursor: pointer; color: var(--ink); }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 3.5ch; text-align: center; font-weight: 700; font-family: var(--ff-head); }
.switch { position: relative; width: 56px; height: 32px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background var(--t-fast); }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; background: #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform var(--t-fast); }
.switch input:checked + .track { background: var(--yellow-deep); }
.switch input:checked + .track + .thumb { transform: translateX(24px); }
.switch input:focus-visible + .track { outline: 3px solid #1f6feb; outline-offset: 2px; }
.a11y-reset { margin-top: .5rem; }

/* magnifier (Lupe) */
.magnifier {
  position: fixed; top: 0; left: 0; width: 240px; height: 240px; border-radius: 50%;
  border: 4px solid var(--ink);
  box-shadow: 0 12px 36px rgba(20,18,13,.42), inset 0 0 0 5px rgba(255,255,255,.6);
  overflow: hidden; pointer-events: none; z-index: 130; display: none;
  background: var(--paper); will-change: left, top;
}
.magnifier__content { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
.magnifier::after { content:""; position:absolute; inset:0; border-radius:50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); pointer-events:none; }

/* ---------- Datenschutz-Hinweis (informativer Banner, kein Consent/Cookie) ---------- */
.cookie-notice {
  position: fixed; z-index: 120; left: 1.25rem; bottom: 1.25rem;
  width: min(420px, calc(100vw - 2.5rem));
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(160%); opacity: 0;
  transition: transform var(--t), opacity var(--t);
}
.cookie-notice[data-open="true"] { transform: translateY(0); opacity: 1; }
.cookie-notice[hidden] { display: none; }
.cookie-notice__inner { padding: 1.15rem 1.25rem; display: grid; gap: .9rem; }
.cookie-notice__title { font-family: var(--ff-head); font-size: 1.1rem; font-weight: 800; margin: 0; }
.cookie-notice__text p { margin: .35rem 0 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-notice__text a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.cookie-notice__actions { display: flex; justify-content: flex-end; }
.cookie-notice__actions .btn { min-height: 46px; }
:root[data-contrast="high"] .cookie-notice { border: 2px solid #000; }
@media (max-width: 960px) {
  .cookie-notice { left: .6rem; right: .6rem; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .header-actions .header-phone-label { display: none; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text small { display: none; }
  .header-actions .btn-call .num { display: none; }
  .header-actions .btn-call { min-height: 46px; width: 46px; padding: 0; }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band .wrap { grid-template-columns: 1fr; }
  body { padding-bottom: 70px; }
  .callbar { display: flex; }
}
@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 1rem 1.4rem; }
}

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
:root[data-motion="off"] [data-reveal] { opacity: 1 !important; transform: none !important; }

/* print */
@media print {
  .site-header, .callbar, .a11y-panel, .a11y-scrim, .mobile-nav, .magnifier, .cta-band, .skip, .cookie-notice { display: none !important; }
  body { background: #fff; }
}

/* ---------- Hinweis-Banner (vom Control Panel gesteuert) ---------- */
.dh-notice {
  position: relative; z-index: 95;
  padding: .75rem clamp(1.1rem, 4vw, 2.5rem);
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  text-align: center; color: var(--ink); background: var(--yellow);
  border-bottom: 1px solid var(--line-strong);
}
.dh-notice--warning { background: #FFE08A; }
.dh-notice--closure { background: var(--ink); color: #fff; }
.dh-notice strong { font-weight: 800; }
@media print { .dh-notice { display: none !important; } }
