/* ==========================================================================
   Elektro Uhlig – Stylesheet
   Farben, Schriften und Abstände stehen oben als Variablen.
   ========================================================================== */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
/* Source Serif 4: Dateien siehe ANLEITUNG.md, Schritt 1. Bis dahin greift Georgia. */
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #1C1F22;
  --graphite: #2A2F33;
  --graphite-2: #23282C;
  --line-dark: #33383D;
  --line-dark-2: #454B51;
  --paper: #F6F5F1;
  --white: #FFFFFF;
  --stone: #E7E4DD;
  --stone-2: #CFCBC2;
  --text: #1C1F22;
  --text-2: #4A4F54;
  --text-3: #5A5F63;
  --text-light: #F2F1EC;
  --text-light-2: #D5D3CC;
  --text-light-3: #A9AEB2;
  --blue: #007298;
  --blue-dark: #005A78;
  --blue-light: #3BA9D6;
  --blue-tint: #E6F2F6;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --container: 1280px;
  --pad: 48px;
  --section: 112px;
  --header-h: 77px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--serif); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-family: var(--sans); font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: var(--section) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.section--dark { background: var(--ink); color: var(--text-light); }
.section--graphite { background: var(--graphite); color: var(--text-light); }
.section--tight-top { padding-top: 0; }

.overline { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.section--dark .overline, .section--graphite .overline, .hero .overline, .page-head .overline { color: var(--blue-light); }
.h1 { font-weight: 500; font-size: 68px; line-height: 1.05; letter-spacing: -.015em; }
.h2 { font-weight: 500; font-size: 44px; line-height: 1.12; letter-spacing: -.01em; }
.h3 { font-weight: 600; font-size: 22px; line-height: 1.25; }
.lead { font-size: 20px; line-height: 1.6; color: var(--text-2); }
.section--dark .lead, .section--graphite .lead, .hero .lead, .page-head .lead { color: var(--text-light-2); }
.muted { color: var(--text-2); }
.small { font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; font-weight: 500; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 22px; font-weight: 600; margin: 1.4em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: .6em 0 1em; }
.prose li { margin-bottom: .3em; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head__text { max-width: 680px; }
.section-head__text .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1.2; padding: 16px 28px; min-height: 52px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--stone); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite); color: var(--white); }
.btn--ghost-light { border-color: #5A6066; color: var(--text-light); font-weight: 500; background: transparent; }
.btn--ghost-light:hover { border-color: var(--text-light); color: var(--text-light); }
.btn--ghost-dark { border-color: var(--stone-2); color: var(--ink); font-weight: 500; background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { font-size: 15px; padding: 12px 22px; min-height: 46px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--graphite); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; transition: padding .2s; }
.site-header.is-scrolled .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
.site-header__logo { display: flex; flex-shrink: 0; }
.site-header__logo img { height: 44px; width: auto; transition: height .2s; }
.site-header.is-scrolled .site-header__logo img { height: 38px; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; padding: 0; display: flex; gap: 28px; align-items: center; }
.main-nav a { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--text-light); text-decoration: none; padding: 8px 0; position: relative; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue-light); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-light); border-radius: 2px; }
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.has-sub > a svg { width: 14px; height: 14px; }
.sub-nav { position: absolute; top: calc(100% + 12px); left: -20px; width: 300px; list-style: none; margin: 0; padding: 10px; background: var(--graphite); border: 1px solid var(--line-dark-2); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub-nav::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { opacity: 1; visibility: visible; transform: none; }
.sub-nav a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
.sub-nav a:hover { background: var(--graphite-2); }
.sub-nav a[aria-current="page"]::after { display: none; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; font-family: var(--sans); font-size: 15px; font-weight: 500; white-space: nowrap; }
.header-phone:hover { color: var(--blue-light); }
.header-phone svg { width: 18px; height: 18px; color: var(--blue-light); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center; background: transparent; border: 1px solid #3A4045; border-radius: var(--radius); cursor: pointer; color: var(--text-light); }
.burger svg { width: 22px; height: 22px; }
.mobile-nav { display: none; background: var(--ink); border-top: 1px solid var(--graphite); padding: 8px var(--pad) 24px; max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav a { display: block; font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--text-light); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--graphite); }
.mobile-nav .mobile-nav__sub a { font-size: 16px; color: var(--text-light-3); padding: 10px 0 10px 16px; border-bottom: 0; }
.mobile-nav .btn-row { margin-top: 20px; }
.mobile-nav .btn { flex: 1 1 140px; }

/* Feste Aktionsleiste auf dem Smartphone */
.action-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.action-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--text-light); text-decoration: none; }
.action-bar a svg { width: 22px; height: 22px; color: var(--blue-light); }
.action-bar a.action-bar__primary { background: var(--white); color: var(--ink); }
.action-bar a.action-bar__primary svg { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--text-light); }
.hero__bg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #23272A 0 2px, #1F2225 2px 14px); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #1C1F22 0%, rgba(28,31,34,.92) 45%, rgba(28,31,34,.55) 100%); }
.hero__motif { position: absolute; right: 0; top: 40px; width: 560px; height: auto; pointer-events: none; }
.hero__inner { position: relative; padding-top: 120px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 28px; }
.hero .h1 { max-width: 900px; }
.hero .lead { max-width: 640px; }
.hero .btn-row { margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; margin-top: 56px; border-top: 1px solid var(--line-dark); }
.fact { flex: 1 1 200px; padding: 24px 24px 0 0; }
.fact__value { font-size: 36px; font-weight: 500; line-height: 1.2; }
.fact__label { font-family: var(--sans); font-size: 14px; color: var(--text-light-3); margin-top: 4px; }

/* Seitenkopf der Unterseiten */
.page-head { position: relative; overflow: hidden; background: var(--ink); color: var(--text-light); }
.page-head .hero__motif { top: -40px; width: 460px; opacity: .8; }
.page-head__inner { position: relative; padding-top: 88px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.page-head .h1 { font-size: 56px; max-width: 820px; }
.page-head .lead { max-width: 680px; }
.breadcrumb { font-family: var(--sans); font-size: 14px; color: var(--text-light-3); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5A6066; }
.breadcrumb a { color: var(--text-light-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-light); }

/* ---------- Karten und Raster ---------- */
.grid { display: flex; flex-wrap: wrap; gap: 20px; }
.grid > * { flex: 1 1 300px; }
.grid--2 > * { flex-basis: 420px; }
.grid--4 > * { flex-basis: 240px; }
.card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--text); text-decoration: none; position: relative; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.card:hover { transform: translateY(-3px); border-color: var(--blue); color: var(--text); box-shadow: 0 10px 30px rgba(28,31,34,.06); }
.card__icon { width: 32px; height: 32px; color: var(--blue); }
.card p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.card__meta { margin-top: auto; font-family: var(--sans); font-size: 13px; color: var(--text-3); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card__meta svg { width: 18px; height: 18px; color: var(--blue); transition: transform .2s; }
a.card:hover .card__meta svg { transform: translateX(3px); }
.card--dark { background: var(--ink); color: var(--text-light); border-color: var(--ink); }
.card--dark p { color: var(--text-light-2); }

.icon-box { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius); background: var(--blue-tint); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.icon-box svg { width: 22px; height: 22px; }
.feature { display: flex; gap: 18px; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.feature-list { display: flex; flex-direction: column; gap: 24px; }

.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--top { align-items: flex-start; }

/* Bild-Platzhalter: bis echte Fotos da sind */
.ph { position: relative; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #EFEDE7 0 2px, #F6F5F1 2px 14px); border: 1px dashed var(--stone-2); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; min-height: 320px; overflow: hidden; }
.ph span { font-family: var(--sans); font-size: 14px; color: var(--text-3); max-width: 260px; }
.ph--dark { background: repeating-linear-gradient(135deg, #2A2F33 0 2px, #24282B 2px 14px); border-color: #4A5056; }
.ph--dark span { color: var(--text-light-3); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph--tall { min-height: 480px; }

/* Leitungs-Motiv / Ablauf */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--blue-light), rgba(59,169,214,.15)); }
.steps__list { position: relative; display: flex; flex-wrap: wrap; gap: 32px; list-style: none; padding: 0; }
.step { flex: 1 1 220px; }
.step__num { width: 46px; height: 46px; border-radius: 999px; background: var(--ink); border: 2px solid var(--blue-light); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 600; color: var(--blue-light); }
.step:last-child .step__num { background: var(--blue-light); color: var(--ink); }
.step h3 { margin: 24px 0 8px; font-size: 22px; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.55; color: #C4C2BB; }
.section:not(.section--dark) .step__num { background: var(--paper); }
.section--white .step__num { background: var(--white); }
.section:not(.section--dark) .step:last-child .step__num { background: var(--blue-light); }
.section:not(.section--dark) .step p { color: var(--text-2); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; font-family: var(--sans); font-size: 14px; }
.chips li { border: 1px solid var(--line-dark-2); border-radius: 999px; padding: 8px 14px; }
.chips--light li { border-color: var(--stone-2); background: var(--white); }

/* Häkchen-Liste */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 999px; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007298' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.check-list--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 32px; }

/* Referenz-Karten */
.ref-card { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: var(--text); cursor: pointer; transition: transform .2s, border-color .2s; }
.ref-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.ref-card .ph { border-radius: 0; border: 0; min-height: 260px; align-items: flex-end; justify-content: flex-start; }
.ref-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ref-card__tag { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--blue); }
.ref-card h3 { font-size: 22px; font-weight: 600; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter button { font-family: var(--sans); font-size: 15px; font-weight: 500; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--stone-2); background: var(--white); color: var(--ink); cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ref-card[hidden] { display: none; }
dialog.ref-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 16px; background: var(--white); color: var(--text); }
dialog.ref-dialog::backdrop { background: rgba(28,31,34,.7); }
.ref-dialog__inner { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.ref-dialog__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.ref-dialog__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ref-dialog__gallery .ph { min-height: 200px; }

/* Kundenstimmen */
.quote { margin: 0; }
.quote__stars { color: var(--blue); font-family: var(--sans); letter-spacing: 2px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.55; font-style: italic; }
.quote figcaption { font-family: var(--sans); font-size: 14px; color: var(--text-3); }

/* Aufklapper (Stellen, FAQ) */
.accordion { display: flex; flex-direction: column; gap: 16px; }
.acc { border: 1px solid var(--stone); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.acc summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 28px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .acc__title { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.acc summary .acc__title strong { font-size: 21px; font-weight: 600; line-height: 1.3; }
.acc summary .acc__title span { font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.acc__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--stone-2); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.acc__icon svg { width: 18px; height: 18px; }
.acc[open] .acc__icon { transform: rotate(180deg); }
.acc__body { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 24px; }
.acc__cols { display: flex; flex-wrap: wrap; gap: 28px; }
.acc__cols > div { flex: 1 1 240px; }
.acc__cols h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.acc__cols ul { padding-left: 18px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.acc__cols li { margin-bottom: 6px; }
.section--graphite .acc, .section--dark .acc { background: var(--graphite-2); border-color: var(--line-dark-2); }
.section--graphite .acc summary .acc__title span, .section--dark .acc summary .acc__title span { color: var(--text-light-3); }
.section--graphite .acc__icon, .section--dark .acc__icon { border-color: #5A6066; }
.section--graphite .acc__cols h4, .section--dark .acc__cols h4 { color: var(--blue-light); }
.section--graphite .acc__cols ul, .section--dark .acc__cols ul { color: var(--text-light-2); }
.faq .acc summary { padding: 20px 24px; }
.faq .acc summary strong { font-size: 19px; }
.faq .acc__body { padding: 0 24px 24px; font-size: 17px; color: var(--text-2); }
.faq .acc__body p + p { margin-top: .8em; }

/* ---------- Formulare ---------- */
.form-card { background: var(--white); border: 1px solid var(--stone); border-radius: 16px; padding: 40px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.form__row > * { flex: 1 1 220px; }
.field { display: flex; flex-direction: column; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--text-3); }
.input { font: 400 16px var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--stone-2); border-radius: 10px; padding: 14px 16px; min-height: 50px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,114,152,.18); }
textarea.input { resize: vertical; line-height: 1.5; min-height: 140px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1F22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input-file { font-family: var(--sans); font-size: 14px; color: var(--text-2); border: 1px dashed var(--stone-2); border-radius: 10px; padding: 16px; background: var(--paper); width: 100%; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; font-weight: 400; font-size: 15px; }
.pill { display: flex; align-items: center; gap: 8px; border: 1px solid var(--stone-2); border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.pill:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.pill input, .consent input { accent-color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--text-2); font-weight: 400; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.alert { font-family: var(--sans); font-size: 15px; border-radius: 10px; padding: 14px 16px; }
.alert--error { background: #FBEAEA; color: #8A1C1C; border: 1px solid #F0C7C7; }
.alert[hidden] { display: none; }

.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--text); display: flex; gap: 16px; align-items: center; transition: border-color .2s; }
a.contact-item:hover { border-color: var(--blue); color: var(--text); }
.contact-item svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.contact-item__label { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--text-3); }
.contact-item__value { font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.hours { background: var(--ink); color: var(--text-light); border-radius: var(--radius); padding: 24px; font-family: var(--sans); font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.hours__label { font-size: 13px; font-weight: 600; color: var(--text-light-3); }
.hours__row { display: flex; justify-content: space-between; gap: 16px; }
.hours__addr { border-top: 1px solid var(--graphite); margin-top: 8px; padding-top: 12px; color: #C4C2BB; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: repeating-linear-gradient(135deg, #2A2F33 0 2px, #24282B 2px 14px); color: var(--text-light); display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.map__consent { max-width: 460px; display: flex; flex-direction: column; gap: 16px; align-items: center; font-family: var(--sans); font-size: 14px; color: var(--text-light-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* CTA-Band */
.cta-band { background: var(--ink); color: var(--text-light); border-radius: 16px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band .h2 { font-size: 38px; }
.cta-band p { color: var(--text-light-2); margin-top: 12px; max-width: 560px; }
.cta-band > * { position: relative; }

/* Zeitleiste (Über uns) */
.timeline { list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), rgba(0,114,152,.15)); }
.timeline li { position: relative; padding-left: 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 16px; height: 16px; border-radius: 999px; background: var(--paper); border: 2px solid var(--blue); }
.timeline li:last-child::before { background: var(--blue); }
.timeline__year { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--blue); }
.timeline h3 { font-size: 22px; font-weight: 600; margin: 4px 0 6px; }
.timeline p { color: var(--text-2); font-size: 17px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.team-card .ph { min-height: 260px; }
.team-card h3 { font-size: 20px; font-weight: 600; margin-top: 14px; }
.team-card p { font-family: var(--sans); font-size: 14px; color: var(--text-3); }

/* Hinweis-Box für Platzhalter-Texte */
.todo { background: #FFF6DB; border: 1px solid #F0DC9C; border-radius: 10px; padding: 14px 16px; font-family: var(--sans); font-size: 14px; color: #6B5300; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C4C2BB; font-family: var(--sans); font-size: 15px; }
.site-footer a { color: #C4C2BB; text-decoration: none; }
.site-footer a:hover { color: var(--text-light); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 32px; }
.site-footer__brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { height: 52px; width: auto; align-self: flex-start; }
.site-footer__brand p { line-height: 1.6; max-width: 320px; }
.site-footer__col { flex: 1 1 180px; display: flex; flex-direction: column; gap: 10px; line-height: 1.5; }
.site-footer__col h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.site-footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom { border-top: 1px solid var(--graphite); padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: 13px; color: #8E9398; }
.site-footer__bottom a { color: #8E9398; }
.site-footer__bottom ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .main-nav > ul { gap: 20px; }
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .main-nav, .site-header .btn--header { display: none; }
  .burger { display: flex; }
  .action-bar { display: flex; }
  body { padding-bottom: 76px; }
  .h1 { font-size: 52px; }
  .page-head .h1 { font-size: 44px; }
  .h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; --section: 64px; }
  body { font-size: 17px; }
  .h1, .page-head .h1 { font-size: 40px; }
  .h2 { font-size: 30px; }
  .lead { font-size: 18px; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .page-head__inner { padding-top: 48px; padding-bottom: 48px; }
  .hero__motif { display: none; }
  .fact__value { font-size: 28px; }
  .form-card { padding: 24px; }
  .cta-band { padding: 32px 24px; }
  .cta-band .h2 { font-size: 30px; }
  .acc summary { padding: 18px 20px; }
  .acc__body { padding: 0 20px 22px; }
  .ph--tall { min-height: 320px; }
  .site-header__logo img { height: 38px; }
}
@media print {
  .site-header, .action-bar, .site-footer, .hero__motif, .map { display: none !important; }
  body { background: #fff; padding: 0; }
}
