/* =====================================================================
   Energiehaus Dör — Shared Stylesheet
   Marke: Energie. Zukunft. Zuhause.
   Farbwelt lt. Markenhandbuch: Dunkelblau #0D2B4D · Verlauf #0066A6→#21B8C3
   · Akzentgrün #5DBB3A · Anthrazit #1F2933 · Hellgrau #F3F4F6
   Typografie: Montserrat (Headlines/CTA) + Source Sans 3 (Fließtext)
   Schriften lokal eingebunden (DSGVO-konform, kein Google-Fonts-CDN).
   Läuft auf normalem Apache2 (kein Build, keine Abhängigkeiten)
   ===================================================================== */

/* ===== Lokale Schriften (kein externes CDN) ===== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  /* Markenfarben */
  --primary: #0D2B4D;            /* Primärfarbe Dunkelblau */
  --primary-dark: #081D36;
  --primary-soft: #E8F0F7;
  --primary-foreground: #F7FAFC;
  --blue: #0066A6;               /* Verlauf Start */
  --tuerkis: #21B8C3;            /* Verlauf Ende */
  --grad: linear-gradient(115deg, var(--blue) 0%, var(--tuerkis) 55%, #43B24B 120%);
  --grad-full: linear-gradient(90deg, var(--blue) 0%, var(--tuerkis) 50%, var(--leaf) 100%);
  --grad-deep: linear-gradient(135deg, #0D2B4D 0%, #0E4552 55%, #14532D 130%);
  --solar: #21B8C3;              /* Sekundär-Akzent (Türkis) */
  --solar-dark: #0066A6;
  --solar-light: #E3F5F7;
  --leaf: #5DBB3A;               /* Akzentgrün */
  --leaf-dark: #3E8E2B;
  --leaf-light: #EAF6E2;
  --bg: #FBFCFD;
  --bg-alt: #F3F4F6;             /* Hellgrau */
  --foreground: #1F2933;         /* Anthrazit */
  --card: #ffffff;
  --muted: #EEF1F4;
  --muted-fg: #55616D;
  --border: #E2E7EC;
  --accent: #E3F5F7;
  --accent-fg: #075E6B;
  --destructive: #c0392b;
  --footer-bg: #0D2B4D;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 0.75rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(13,43,77,.06);
  --shadow: 0 6px 20px rgba(13,43,77,.08);
  --shadow-lg: 0 18px 50px rgba(13,43,77,.14);
  --maxw: 1200px;
  --header-h: 4.5rem;
}
@media (min-width:1024px){ :root { --header-h: 5.25rem; } }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--foreground); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--foreground); }
.text-balance { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width:1024px){ .container { padding: 0 2rem; } }
.lead { font-size: 1.15rem; color: var(--muted-fg); line-height: 1.7; }

/* ===== Layout helpers ===== */
.section { padding: 4.5rem 0; }
@media (min-width:1024px){ .section { padding: 6rem 0; } }
.section-sm { padding: 3rem 0; }
@media (min-width:1024px){ .section-sm { padding: 4rem 0; } }
.section-muted { background: var(--bg-alt); }
.section-dark { background: var(--footer-bg); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-primary { background: var(--grad-deep); color: #fff; }
.section-primary h1, .section-primary h2, .section-primary h3 { color: #fff; }
.section-primary p { color: rgba(255,255,255,.85); }
.grid { display: grid; gap: 1.5rem; }
@media (min-width:640px){ .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }
@media (min-width:1024px){ .grid-2 { gap: 2rem; } .grid-3 { gap: 2rem; } .grid-4 { gap: 1.5rem; } }

/* ===== Brand / Logo ===== */
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; flex-shrink: 0; }
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.015em; }
.brand-name span { color: var(--primary); }
.brand-sub { font-family: var(--font-head); white-space: nowrap; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-fg); margin-top: .22rem; }
.on-dark .brand-name { color: #fff; }
.on-dark .brand-name span { color: var(--leaf); }
.on-dark .brand-sub { color: rgba(255,255,255,.55); }

/* Slogan badge */
.slogan { display: inline; font-weight: 700; letter-spacing: -.01em; }
.slogan .dot { margin: 0 .12em; }
.slogan .dot { color: var(--solar); }

/* ===== Buttons ===== */
.btn { font-family: var(--font-head); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem; transition: all .2s; cursor: pointer; white-space: nowrap; border: 1px solid transparent; }
.btn svg { width: 1.05rem; height: 1.05rem; }
.btn-primary { background: var(--grad); background-size: 130% 130%; color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-position: 90% 50%; filter: brightness(1.06); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-solar { background: var(--leaf); color: #0B2B10; }
.btn-solar:hover { background: #6cc74a; transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,.7); border-color: var(--border); color: var(--foreground); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.15); }

/* ===== Header / Nav ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(251,252,253,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: background .3s, box-shadow .3s, border-color .3s; }
.site-header.scrolled { background: rgba(251,252,253,.95); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.main-nav { display: none; align-items: center; gap: .15rem; }
@media (min-width:1100px){ .main-nav { display: flex; } }
.main-nav a { font-family: var(--font-head); white-space: nowrap; padding: .55rem .7rem; font-size: .92rem; font-weight: 550; color: var(--muted-fg); border-radius: .5rem; transition: color .2s, background .2s; position: relative; }
.main-nav a:hover { color: var(--foreground); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 2px; background: var(--primary); border-radius: 2px; }
.header-cta { display: none; align-items: center; gap: .85rem; }
@media (min-width:1100px){ .header-cta { display: flex; } .header-cta .header-phone { display: none; } }
/* Telefonnummer im Desktop-Header entfernt: 8 Nav-Punkte + Nummer passen nicht in den 1200px-Container. Nummer bleibt in Footer, CTAs, Mobilmenü & Kontakt. */
.header-cta .header-phone { display: none !important; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.header-phone:hover { color: var(--primary); }
.header-phone svg { width: 1rem; height: 1rem; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .6rem; color: var(--foreground); }
.menu-toggle:hover { background: var(--muted); }
@media (min-width:1100px){ .menu-toggle { display: none; } }
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--card); z-index: 110; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; display: flex; flex-direction: column; box-shadow: -12px 0 50px rgba(0,0,0,.18); }
.mobile-menu.open { visibility: visible; transition: transform .3s ease;  transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 1.25rem; border-bottom: 1px solid var(--border); }
.mobile-menu nav { display: flex; flex-direction: column; padding: .75rem; gap: .1rem; overflow-y: auto; }
.mobile-menu nav a { padding: .85rem 1rem; border-radius: .55rem; font-size: .98rem; font-weight: 550; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { background: var(--primary-soft); color: var(--primary); }
.mobile-menu nav a .chev { color: var(--muted-fg); }
.mobile-menu .mm-footer { margin-top: auto; padding: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .75rem; }
.backdrop { position: fixed; inset: 0; background: rgba(8,29,54,.45); z-index: 105; opacity: 0; pointer-events: none; transition: opacity .3s; }
.backdrop.open { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* ===== Hero (landing) ===== */
.hero { position: relative; overflow: hidden; padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(251,252,253,.78) 0%, rgba(251,252,253,.5) 45%, rgba(251,252,253,1) 100%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(251,252,253,.88) 0%, rgba(251,252,253,.32) 62%, transparent 100%); z-index: 1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; }
.hero-glow.solar { top: -7rem; right: -3rem; width: 34rem; height: 34rem; background: rgba(33,184,195,.22); }
.hero-glow.leaf { top: 11rem; left: -7rem; width: 28rem; height: 28rem; background: rgba(93,187,58,.2); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 2.5rem; align-items: center; min-height: 84vh; padding: 3rem 0; }
@media (min-width:1024px){ .hero-grid { grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 2.5rem; padding: 4rem 0; } }
.hero-badge { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: 9999px; border: 1px solid rgba(13,43,77,.3); background: rgba(13,43,77,.05); color: var(--primary); font-size: .76rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-badge svg { width: .9rem; height: .9rem; }
.hero h1 { margin: 0; }
.hero .accent-grad { background: var(--grad-full); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .underline-svg { position: relative; display: inline-block; }
.hero .underline-svg svg { position: absolute; bottom: -.4rem; left: 0; width: 100%; height: .55rem; color: var(--solar); }
.hero p.lead { margin-top: 1.75rem; max-width: 38rem; }
.hero p.lead strong { color: var(--foreground); font-weight: 600; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width:640px){ .hero-actions { flex-direction: row; flex-wrap: wrap; } }
.hero-actions .btn { max-width: 100%; white-space: normal; text-align: center; }
.hero-chips { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 9999px; border: 1px solid var(--border); background: rgba(255,255,255,.75); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 550; box-shadow: var(--shadow-sm); }
.hero-chip svg { width: .9rem; height: .9rem; color: var(--primary); }

.hero-card-wrap { max-width: 30rem; margin: 0 auto; width: 100%; }
.hero-card { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); padding: 1.6rem; box-shadow: var(--shadow-lg); }
@media (min-width:1024px){ .hero-card { padding: 1.85rem; } }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; }
.hero-card-top .label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; }
.hero-card-top .label svg { width: 1.05rem; height: 1.05rem; color: var(--primary); }
.badge-live { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 9999px; background: var(--leaf-light); color: var(--leaf); font-size: .72rem; font-weight: 700; }
.badge-live::before { content: ''; width: .42rem; height: .42rem; border-radius: 50%; background: var(--leaf); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-card-metrics { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.hero-card-metric { border-radius: 1rem; background: var(--muted); padding: 1rem 1.1rem; }
.hero-card-metric .v { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.hero-card-metric .k { font-size: .76rem; color: var(--muted-fg); margin-top: .1rem; }
.hero-card-tip { margin-top: 1.1rem; display: flex; gap: .75rem; border-radius: 1rem; border: 1px solid rgba(13,43,77,.15); background: rgba(13,43,77,.05); padding: 1rem; }
.hero-card-tip svg { width: 1.25rem; height: 1.25rem; color: var(--leaf); flex-shrink: 0; margin-top: .1rem; }
.hero-card-tip p { font-size: .86rem; color: var(--muted-fg); }
.wave { display: block; width: 100%; height: 56px; margin-bottom: -1px; }

/* ===== Subpage banner ===== */
.page-banner { position: relative; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem; overflow: hidden; }
@media (min-width:1024px){ .page-banner { padding-top: calc(var(--header-h) + 4.5rem); padding-bottom: 4rem; } }
.page-banner-bg { position: absolute; inset: 0; z-index: -2; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(13,43,77,.92) 0%, rgba(13,43,77,.72) 55%, rgba(13,43,77,.5) 100%); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner .eyebrow { border-color: rgba(93,187,58,.4); background: rgba(93,187,58,.14); color: var(--leaf); }
.page-banner .eyebrow::before { background: var(--solar); }
.page-banner h1 { color: #fff; max-width: 22ch; }
.page-banner p { color: rgba(255,255,255,.85); margin-top: 1rem; max-width: 46rem; font-size: 1.1rem; }
.breadcrumbs { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255,255,255,.7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs svg { width: .85rem; height: .85rem; opacity: .6; }

/* ===== Section heading ===== */
section { scroll-margin-top: var(--header-h); }
.eyebrow { font-family: var(--font-head); display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .9rem; border-radius: 9999px; border: 1px solid rgba(13,43,77,.2); background: rgba(13,43,77,.05); color: var(--primary); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.eyebrow::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--solar); }
.section-head { max-width: 50rem; margin: 0 auto; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { margin-top: 1.1rem; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; color: var(--muted-fg); }
.section-head .eyebrow + h2 { margin-top: 1.1rem; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--border); }
@media (min-width:1024px){ .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--card); padding: 1.6rem 1.4rem; transition: background .2s; position: relative; }
@media (min-width:1024px){ .stat { padding: 2rem; } }
.stat:hover { background: var(--accent); }
.stat svg { width: 1.6rem; height: 1.6rem; color: var(--primary); margin-bottom: 1rem; }
.stat .v { font-size: 1.8rem; font-weight: 700; letter-spacing: -.02em; }
@media (min-width:1024px){ .stat .v { font-size: 2.3rem; } }
.stat .l { font-size: .92rem; font-weight: 600; margin-top: .25rem; }
.stat .s { font-size: .78rem; color: var(--muted-fg); }

/* ===== Cards ===== */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; transition: all .3s; }
@media (min-width:1024px){ .card { padding: 1.85rem; } }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(13,43,77,.3); }
.card-icon { display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--primary-soft); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(13,43,77,.15); transition: all .3s; }
.card-icon svg { width: 1.55rem; height: 1.55rem; }
.card-hover:hover .card-icon { background: var(--primary); color: #fff; }
.card h3 { margin-top: 1.25rem; }
.card .teaser { margin-top: .5rem; color: var(--muted-fg); font-size: .95rem; }
.card ul.bullets { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card ul.bullets li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.check-dot { flex-shrink: 0; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--leaf-light); color: var(--leaf); display: flex; align-items: center; justify-content: center; margin-top: .12rem; }
.check-dot svg { width: .65rem; height: .65rem; }
.card-more { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--primary); }
.card-more:hover { gap: .65rem; }

/* Service grid */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width:640px){ .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .services-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }
.service-card { display: flex; flex-direction: column; }
.service-badge { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; padding: .25rem .6rem; border-radius: 9999px; background: var(--muted); color: var(--muted-fg); font-weight: 700; }

/* ===== Feature split (image + text) ===== */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width:1024px){ .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split.reverse .split-img { order: 2; }
@media (min-width:1024px){ .split.reverse .split-img { order: 1; } }
.split-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-img .float-badge { position: absolute; bottom: -1rem; right: -.5rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1rem 1.1rem; box-shadow: var(--shadow-lg); max-width: 230px; }
@media (min-width:1024px){ .split-img .float-badge { right: 1.5rem; } }
.split-img .float-badge .v { font-size: 1.7rem; font-weight: 700; color: var(--primary); }
.split-img .float-badge .k { font-size: .8rem; color: var(--muted-fg); }
.split-content .eyebrow { margin-bottom: 1.1rem; }
.split-content .check-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.split-content .check-list li { display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.split-content .check-list .check-dot { width: 1.4rem; height: 1.4rem; }
.split-content .check-list .check-dot svg { width: .8rem; height: .8rem; }

/* ===== Process / Steps ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.25rem; position: relative; }
@media (min-width:768px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .steps { grid-template-columns: repeat(4,1fr); gap: 1.5rem; } }
.step-card { position: relative; height: 100%; }
.step-card .step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.step-icon svg { width: 1.5rem; height: 1.5rem; }
.step-num { font-size: 2.4rem; font-weight: 800; color: rgba(13,43,77,.14); user-select: none; letter-spacing: -.04em; }
.step-card h3 { margin-top: 1.3rem; }
.step-card p { margin-top: .5rem; color: var(--muted-fg); font-size: .92rem; }
.step-meta { margin-top: 1rem; font-size: .78rem; color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.step-meta svg { width: .9rem; height: .9rem; }

/* Detailed timeline (Ablauf) */
.timeline { position: relative; display: flex; flex-direction: column; gap: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 1.75rem; top: 1rem; bottom: 1rem; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--leaf), transparent); }
.timeline-item { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; position: relative; }
@media (min-width:768px){ .timeline-item { grid-template-columns: 4rem 1fr; gap: 2rem; } }
.timeline-marker { display: flex; align-items: flex-start; justify-content: center; padding-top: .25rem; }
.timeline-dot { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--card); border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; color: var(--primary); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
@media (min-width:768px){ .timeline-dot { width: 4rem; height: 4rem; } }
.timeline-dot svg { width: 1.5rem; height: 1.5rem; }
.timeline-content .step-num-small { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.timeline-content h3 { margin-top: .3rem; }
.timeline-content p { margin-top: .6rem; color: var(--muted-fg); }
.timeline-content .meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.timeline-content .meta span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 9999px; background: var(--primary-soft); color: var(--primary); font-size: .78rem; font-weight: 600; }
.timeline-content .meta span svg { width: .85rem; height: .85rem; }

/* ===== Concept / pillars ===== */
.pillars { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width:640px){ .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .pillars { grid-template-columns: repeat(4,1fr); gap: 1.5rem; } }
.pillar { position: relative; padding: 1.6rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c, var(--primary)); }
.pillar .num { font-size: .72rem; font-weight: 700; color: var(--c, var(--primary)); letter-spacing: .1em; }
.pillar .pi { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .85rem; background: color-mix(in srgb, var(--c, var(--primary)) 12%, white); color: var(--c, var(--primary)); margin-top: .75rem; }
.pillar .pi svg { width: 1.5rem; height: 1.5rem; }
.pillar h3 { margin-top: 1rem; }
.pillar p { margin-top: .4rem; font-size: .9rem; color: var(--muted-fg); }

/* ===== Value / why cards ===== */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width:640px){ .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .values-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }

/* ===== Quote / statement band ===== */
.statement { position: relative; overflow: hidden; }
.statement .quote-mark { position: absolute; top: 1rem; left: 1.5rem; font-size: 8rem; line-height: 1; color: rgba(93,187,58,.18); font-family: Georgia, serif; }
.statement .container { position: relative; z-index: 1; }
.statement blockquote { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.35; max-width: 60rem; letter-spacing: -.015em; }

/* ===== Testimonial / reference cards ===== */
.ref-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width:768px){ .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .ref-grid { grid-template-columns: repeat(3,1fr); } }
.ref-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); transition: all .3s; }
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ref-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ref-card:hover .ref-img img { transform: scale(1.05); }
.ref-img .tag { position: absolute; top: .75rem; left: .75rem; padding: .3rem .7rem; border-radius: 9999px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 700; color: var(--primary); }
.ref-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ref-body h3 { font-size: 1.1rem; }
.ref-body .loc { font-size: .8rem; color: var(--muted-fg); margin-top: .2rem; }
.ref-body .desc { margin-top: .8rem; font-size: .9rem; color: var(--muted-fg); flex: 1; }
.ref-body .specs { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .4rem; }
.ref-body .specs span { font-size: .72rem; padding: .22rem .55rem; border-radius: .4rem; background: var(--primary-soft); color: var(--primary); font-weight: 600; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width:768px){ .gallery { grid-template-columns: repeat(3,1fr); gap: 1rem; } }
.gallery .g-item { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); }
.gallery .g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery .g-item:hover img { transform: scale(1.06); }
.gallery .g-item .cap { position: absolute; inset: auto 0 0 0; padding: .75rem; background: linear-gradient(to top, rgba(13,43,77,.85), transparent); color: #fff; font-size: .78rem; font-weight: 600; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (min-width:768px){ .team-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }
@media (min-width:1024px){ .team-grid { grid-template-columns: repeat(4,1fr); } }
.team-card { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); transition: all .3s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-photo { aspect-ratio: 1; overflow: hidden; background: var(--muted); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted-fg); font-size: .8rem; text-align: center; padding: 1rem; }
.team-body { padding: 1rem 1.1rem 1.2rem; }
.team-body .name { font-weight: 700; font-size: 1rem; }
.team-body .role { font-size: .82rem; color: var(--primary); margin-top: .15rem; }

/* ===== CTA band ===== */
.cta-band { border-radius: var(--radius-lg); padding: 2.5rem; background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
@media (min-width:768px){ .cta-band { padding: 3.5rem; } }
.cta-band::before { content: ''; position: absolute; top: -50%; right: -10%; width: 30rem; height: 30rem; border-radius: 50%; background: rgba(93,187,58,.18); filter: blur(40px); }
.cta-band .container-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width:1024px){ .cta-band .container-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }
.cta-band h2 { color: #fff; max-width: 28rem; }
.cta-band p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
@media (min-width:640px){ .cta-band .actions { flex-direction: row; flex-wrap: wrap; } }
.cta-band .actions .btn { max-width: 100%; }

/* ===== Contact form (mailto) ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width:1024px){ .contact-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.info-row { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); transition: all .2s; }
.info-row:hover { border-color: rgba(13,43,77,.3); background: var(--accent); }
.info-row .ci { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 2.85rem; height: 2.85rem; border-radius: .8rem; background: var(--primary-soft); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(13,43,77,.15); }
.info-row .ci svg { width: 1.3rem; height: 1.3rem; }
.info-row .cl { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); }
.info-row .cv { font-size: .92rem; font-weight: 700; }
.hours-box { border-radius: 1rem; border: 1px solid var(--border); background: var(--muted); padding: 1.25rem; }
.hours-box .hh { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 700; }
.hours-box .hh svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.hours-box ul { margin-top: .75rem; display: flex; flex-direction: column; gap: .35rem; }
.hours-box li { display: flex; justify-content: space-between; font-size: .9rem; }
.hours-box li .d { color: var(--muted-fg); }
.hours-box li .t { font-weight: 600; }

.form-card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); padding: 1.6rem; box-shadow: var(--shadow-sm); }
@media (min-width:1024px){ .form-card { padding: 2rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width:640px){ .form-row { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field label .req { color: var(--destructive); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border); border-radius: .55rem; background: var(--card); color: var(--foreground); font: inherit; font-size: .92rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,43,77,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { display: none; align-items: center; gap: .35rem; font-size: .76rem; color: var(--destructive); margin-top: .15rem; }
.field .err svg { width: .85rem; height: .85rem; flex-shrink: 0; }
.field.invalid .err { display: flex; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.check-row { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .85rem; cursor: pointer; }
.check-row input { flex-shrink: 0; width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--primary); }
.check-row span { font-size: .82rem; color: var(--muted-fg); line-height: 1.5; }
.check-row span a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: .75rem; text-align: center; font-size: .76rem; color: var(--muted-fg); }
.form-success { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius-lg); border: 1px solid rgba(93,187,58,.3); background: var(--leaf-light); padding: 2.5rem 1.5rem; min-height: 420px; }
.form-success.show { display: flex; }
.form-success .ic { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--leaf); color: #fff; box-shadow: var(--shadow); }
.form-success .ic svg { width: 2rem; height: 2rem; }
.form-success h3 { margin-top: 1.5rem; font-size: 1.5rem; }
.form-success p { margin-top: .5rem; color: var(--muted-fg); max-width: 26rem; }
.mail-hint { margin-top: 1rem; padding: .9rem 1rem; border-radius: .8rem; background: rgba(255,255,255,.6); border: 1px dashed var(--border); font-size: .82rem; color: var(--muted-fg); text-align: left; max-width: 28rem; }
.mail-hint a { color: var(--primary); text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
details.faq-item { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 0 1.4rem; transition: all .2s; }
details.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(13,43,77,.3); }
details.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem 0; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .arrow { flex-shrink: 0; width: 1.3rem; height: 1.3rem; color: var(--primary); transition: transform .2s; }
details.faq-item[open] summary .arrow { transform: rotate(180deg); }
details.faq-item .ans { padding: 0 0 1.3rem; color: var(--muted-fg); font-size: .94rem; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width:768px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .blog-grid { grid-template-columns: repeat(3,1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); transition: all .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-img { aspect-ratio: 16/9; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { display: flex; align-items: center; gap: .6rem; font-size: .76rem; color: var(--muted-fg); }
.post-body .meta .cat { padding: .22rem .6rem; border-radius: .4rem; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.post-body h3 { margin-top: .7rem; font-size: 1.15rem; }
.post-body p { margin-top: .5rem; font-size: .9rem; color: var(--muted-fg); flex: 1; }
.post-body .more { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--primary); }
.post-body .more:hover { gap: .6rem; }

/* Article layout */
.article { max-width: 48rem; margin: 0 auto; }
.article-head .meta { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--muted-fg); }
.article-head .meta .cat { padding: .25rem .65rem; border-radius: .4rem; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.article-head h1 { margin-top: 1rem; }
.article-head .lead { margin-top: 1rem; font-size: 1.2rem; color: var(--muted-fg); }
.article-cover { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.article-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.article-body { margin-top: 2.5rem; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: .8rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: .6rem; }
.article-body p { margin-bottom: 1.1rem; color: var(--foreground); font-size: 1.05rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.2rem; }
.article-body ul li, .article-body ol li { margin-bottom: .5rem; color: var(--foreground); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote { margin: 1.5rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--solar); background: var(--accent); border-radius: .5rem; font-size: 1.05rem; color: var(--accent-fg); }
.article-body .callout { margin: 1.5rem 0; padding: 1.3rem 1.5rem; border-radius: .8rem; background: var(--primary-soft); border: 1px solid rgba(13,43,77,.18); display: flex; gap: .85rem; }
.article-body .callout svg { width: 1.4rem; height: 1.4rem; color: var(--primary); flex-shrink: 0; margin-top: .15rem; }
.article-body .callout p { margin: 0; font-size: .95rem; }
.article-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }
.article-back:hover { gap: .6rem; }

/* ===== Legal page (Impressum/Datenschutz) ===== */
.legal { max-width: 50rem; margin: 0 auto; }
.legal h1 { margin-bottom: .5rem; }
.legal .updated { font-size: .85rem; color: var(--muted-fg); margin-bottom: 2rem; }
.legal h2 { margin-top: 2.5rem; margin-bottom: .8rem; font-size: 1.35rem; }
.legal h3 { margin-top: 1.8rem; margin-bottom: .6rem; font-size: 1.1rem; }
.legal p { margin-bottom: 1rem; color: var(--foreground); }
.legal ul { margin: 0 0 1.2rem 1.2rem; }
.legal ul li { list-style: disc; margin-bottom: .4rem; }
.legal .placeholder { display: inline-block; padding: .1rem .4rem; background: var(--accent); border-radius: .3rem; font-weight: 600; color: var(--accent-fg); font-size: .9em; }
.legal .info-box { margin: 1.5rem 0; padding: 1.3rem 1.5rem; border-radius: .8rem; background: var(--primary-soft); border: 1px solid rgba(13,43,77,.18); }
.legal .info-box p { margin: 0; font-size: .92rem; }

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: #fff; margin-top: auto; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(115deg, rgba(0,102,166,.25), rgba(33,184,195,.14) 55%, rgba(93,187,58,.16)); }
.footer-cta-inner { padding: 3rem 0; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
@media (min-width:1024px){ .footer-cta-inner { flex-direction: row; align-items: center; padding: 3.5rem 0; } }
.footer-cta h2 { color: #fff; max-width: 30rem; }
.footer-cta p { color: rgba(255,255,255,.78); margin-top: .5rem; }
.footer-cta-actions { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width:640px){ .footer-cta-actions { flex-direction: row; } }
.footer-cta-actions .btn-tel { display: inline-flex; white-space: nowrap; justify-content: center; align-items: center; gap: .45rem; padding: .85rem 1.35rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: .92rem; font-weight: 600; }
.footer-cta-actions .btn-tel:hover { background: rgba(255,255,255,.12); }
.footer-cta-actions .btn-tel svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.footer-main { padding: 3rem 0 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width:768px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width:1024px){ .footer-grid { grid-template-columns: 4fr 2fr 2fr 2fr; } }
.footer-brand p { margin-top: 1.25rem; font-size: .86rem; color: rgba(255,255,255,.72); max-width: 25rem; }
.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .86rem; }
.footer-contact a, .footer-contact p { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 1rem; height: 1rem; color: var(--leaf); flex-shrink: 0; }
.footer-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer-col ul { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .86rem; color: rgba(255,255,255,.72); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width:640px){ .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p, .footer-bottom a { font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

/* ===== Page wrapper (sticky footer) ===== */
.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* ===== Utility ===== */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: .5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted-fg); }
.hide-mobile { display: none; }
@media (min-width:768px){ .hide-mobile { display: block; } .hide-desktop { display: none; } }
.img-rounded { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.img-shadow { box-shadow: var(--shadow-lg); }
.badge-soft { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 9999px; background: var(--primary-soft); color: var(--primary); font-size: .76rem; font-weight: 700; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: .5rem; background: var(--muted); color: var(--muted-fg); font-size: .78rem; font-weight: 600; }
.divider { height: 1px; background: var(--border); margin: 3rem 0; border: 0; }
.note-placeholder { font-size: .82rem; color: var(--muted-fg); font-style: italic; background: var(--accent); padding: .8rem 1rem; border-radius: .6rem; border: 1px dashed var(--solar); }

/* =====================================================================
   Feinschliff: Barrierefreiheit, Fokus, Motion, kleine Details
   ===================================================================== */

/* Skip-Link (Tastatur-Navigation) */
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--primary); color: #fff; padding: .7rem 1.2rem; border-radius: .5rem; font-family: var(--font-head); font-weight: 600; transition: top .2s; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }

/* Sichtbarer Tastatur-Fokus */
:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 2px; border-radius: .25rem; }
.btn:focus-visible { outline-color: var(--primary); }

/* Grüne Marken-Unterstreichung (Akzent lt. Styleguide) */
.brand-underline { position: relative; display: inline-block; }
.brand-underline::after { content: ''; position: absolute; left: 0; bottom: -.35rem; width: 3.2rem; height: 3px; border-radius: 2px; background: var(--leaf); }

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Sehr kleine Displays */
@media (max-width: 380px) {
  .container { padding: 0 1rem; }
  .btn { padding: .75rem 1.1rem; font-size: .9rem; }
  h1 { font-size: 1.9rem; }
}

/* Druckansicht */
@media print {
  .site-header, .mobile-menu, .backdrop, .footer-cta, .skip-link { display: none !important; }
  body { background: #fff; }
}

/* Header: nichts darf umbrechen, Brand-Untertitel nur bei genug Platz */
.header-inner { flex-wrap: nowrap; min-width: 0; }
@media (min-width:1100px) and (max-width:1279px){ .header-inner .brand-sub { display: none; } .main-nav a { padding: .5rem .45rem; font-size: .85rem; } .header-cta .btn { padding: .7rem 1rem; font-size: .88rem; } }
@media (min-width:1280px) and (max-width:1459px){ .main-nav a { padding: .55rem .6rem; font-size: .9rem; } }

/* ===== Cookie-Consent-Banner (§ 25 TDDDG / Art. 6 Abs. 1 lit. a DSGVO) ===== */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 300; max-width: 34rem; margin-left: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.4rem 1.5rem; display: none; }
.cookie-banner.show { display: block; animation: cookieIn .35s ease; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie-banner h2 { font-size: 1.05rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner h2 svg { width: 1.2rem; height: 1.2rem; color: var(--tuerkis); flex-shrink: 0; }
.cookie-banner p { font-size: .9rem; color: var(--muted-fg); line-height: 1.55; }
.cookie-banner p a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.cookie-actions .btn { padding: .65rem 1.15rem; font-size: .88rem; }
.cookie-settings-link { background: none; border: none; font-size: .82rem; color: var(--muted-fg); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: .3rem 0; }
.cookie-settings-link:hover { color: var(--primary); }
@media (max-width: 480px){ .cookie-banner { left: .6rem; right: .6rem; bottom: .6rem; padding: 1.1rem 1.1rem; } .cookie-actions .btn { flex: 1 1 100%; } }

/* Stat-Werte: lange Wörter (z. B. „Ansprechpartner") sauber umbrechen */
.stat .v { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px){ .stat .v { font-size: 1.35rem; } .stat { padding: 1.2rem 1rem; } }

/* ===== Referenzen: Filter nach Leistungsbereich ===== */
.ref-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2rem; }
.ref-filter button { font-family: var(--font-head); font-size: .8rem; font-weight: 600; padding: .5rem 1rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--card); color: var(--muted-fg); cursor: pointer; transition: all .2s; }
.ref-filter button:hover { border-color: var(--tuerkis); color: var(--primary); }
.ref-filter button.active { background: var(--grad); color: #fff; border-color: transparent; }
.ref-card.hidden-by-filter { display: none; }

/* ===== Team-Struktur (Über uns) ===== */
.team-structure { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width:640px){ .team-structure { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .team-structure { grid-template-columns: repeat(3,1fr); } }
.team-role { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); padding: 1.5rem; overflow: hidden; }
.team-role::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-full); }
.team-role .role-head { display: flex; align-items: center; gap: .75rem; }
.team-role .role-icon { display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: .8rem; background: var(--primary-soft); color: var(--primary); flex-shrink: 0; }
.team-role .role-icon svg { width: 1.2rem; height: 1.2rem; }
.team-role h3 { font-size: 1.02rem; }
.team-role .role-sub { font-size: .74rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--tuerkis); }
.team-role p { margin-top: .75rem; font-size: .92rem; color: var(--muted-fg); }

/* ===== Autarkie-Highlight (Gesamtlösung) ===== */
.autarkie-band { border-radius: var(--radius-lg); background: var(--grad-deep); color: #fff; padding: 2.5rem; position: relative; overflow: hidden; }
@media (min-width:768px){ .autarkie-band { padding: 3.25rem; display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; } }
.autarkie-band::after { content: ''; position: absolute; bottom: -40%; right: -5%; width: 26rem; height: 26rem; border-radius: 50%; background: rgba(93,187,58,.2); filter: blur(46px); }
.autarkie-band .big { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; background: linear-gradient(90deg,#7FD4DC,#8FE07A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; white-space: nowrap; }
.autarkie-band .big small { display: block; font-size: .85rem; -webkit-text-fill-color: rgba(255,255,255,.75); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: .5rem; white-space: normal; }
.autarkie-band h2 { color: #fff; position: relative; z-index: 1; }
.autarkie-band p { color: rgba(255,255,255,.85); margin-top: .75rem; position: relative; z-index: 1; }

/* ===== Langlogo im Header ===== */
.brand-logo { height: 3rem; width: auto; display: block; }
@media (min-width:1100px){ .brand-logo { height: 3.4rem; } }
.brand-logo-sm { height: 2.6rem; }
.site-header .brand, .mobile-menu .brand { padding: .25rem 0; }

/* ===== Kontaktformular: Spamschutz & Status ===== */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.captcha-field { max-width: 22rem; }
.captcha-field label { font-weight: 600; }
#captchaQuestion { color: var(--primary); font-family: var(--font-head); }
.form-error { display: none; margin-top: 1.25rem; border: 1px solid rgba(192,57,43,.35); background: rgba(192,57,43,.06); color: var(--foreground); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; }
.form-error.show { display: block; }
.form-error strong { display: block; color: var(--destructive); margin-bottom: .35rem; }
.form-error a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
