/* ============================================================
   Grünglanz Service – Shared Stylesheet
   Farbschema: Grün / Blau (passend zu den Visitenkarten)
   Unterstützt Hell/Dunkel automatisch (Systemeinstellung)
   plus manuellen Umschalter (persistiert in localStorage)

   Hinweis Farb-Tokens: --green-… / --blue-… sind feste Werte (werden
   NICHT je Theme neu definiert) – für Flächen, die in hell UND
   dunkel ausreichend Kontrast zu weißem Text brauchen (Buttons,
   CTA-Band, Call-Bar). --primary/--accent/--text-* etc. WERDEN je
   Theme neu definiert (drei Stellen: @media dark, [data-theme=light],
   [data-theme=dark]) – bei Änderungen bitte alle drei synchron halten.
   ============================================================ */

:root {
  --green-800: #163f2a;
  --green-700: #1f5c3d;
  --green-600: #26714a;
  --green-500: #2f8a5a;
  --green-400: #45a873;
  --green-100: #e6f4ec;

  --blue-700: #124b63;
  --blue-600: #17607f;
  --blue-500: #1c7899;
  --blue-100: #e5f2f7;

  --gray-900: #1a221f;
  --gray-700: #3c463f;
  --gray-500: #5c665f;
  --gray-300: #d7ddd9;
  --gray-100: #f4f7f5;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(20, 40, 30, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 40, 30, 0.12);

  /* Systemschriften statt Google Fonts: kein externer Request, keine
     IP-Übertragung an Dritte, kein Datenschutz-Hinweis dafür nötig,
     schnelleres Laden. */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "URW Palladio L", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, Helvetica, Arial, sans-serif;

  /* Feste, immer ausreichend dunkle Flächenfarben für weißen Text –
     unabhängig vom Hell/Dunkel-Theme (siehe Hinweis oben). */
  --fill: var(--green-600);
  --fill-hover: var(--green-700);
  --fill-2: var(--blue-600);

  /* Light theme (default) */
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: var(--gray-100);
  --bg-card: #ffffff;
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-300);
  --input-border: #8a948d;
  --primary: var(--green-600);
  --primary-strong: var(--green-700);
  --primary-soft: var(--green-100);
  --accent: var(--blue-600);
  --accent-soft: var(--blue-100);
  --header-bg: rgba(255, 255, 255, 0.92);
  --footer-bg: var(--green-700);
  --footer-text: #eef7f1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121815;
    --bg-alt: #171f1b;
    --bg-card: #1b2420;
    --text: #eef2ef;
    --text-muted: #a9b3ad;
    --border: #2c3630;
    --input-border: #5b6760;
    --primary: var(--green-400);
    --primary-strong: #5cc48c;
    --primary-soft: #1d2c23;
    --accent: #57b6dd;
    --accent-soft: #172a32;
    --header-bg: rgba(18, 24, 21, 0.9);
    --footer-bg: #0f1613;
    --footer-text: #d8e6dd;
    color-scheme: dark;
  }
}

/* Manual override via toggle button (wins over system setting) */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: var(--gray-100);
  --bg-card: #ffffff;
  --text: var(--gray-900);
  --text-muted: var(--gray-500);
  --border: var(--gray-300);
  --input-border: #8a948d;
  --primary: var(--green-600);
  --primary-strong: var(--green-700);
  --primary-soft: var(--green-100);
  --accent: var(--blue-600);
  --accent-soft: var(--blue-100);
  --header-bg: rgba(255, 255, 255, 0.92);
  --footer-bg: var(--green-700);
  --footer-text: #eef7f1;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121815;
  --bg-alt: #171f1b;
  --bg-card: #1b2420;
  --text: #eef2ef;
  --text-muted: #a9b3ad;
  --border: #2c3630;
  --input-border: #5b6760;
  --primary: var(--green-400);
  --primary-strong: #5cc48c;
  --primary-soft: #1d2c23;
  --accent: #57b6dd;
  --accent-soft: #172a32;
  --header-bg: rgba(18, 24, 21, 0.9);
  --footer-bg: #0f1613;
  --footer-text: #d8e6dd;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 640px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* Skip link (Tastatur/Screenreader) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--fill);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.cta-band :focus-visible,
.call-bar :focus-visible,
footer.site-footer :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
h3 { font-size: 1.25rem; margin: 0 0 8px; font-weight: 700; }
p { color: var(--text-muted); }

.icon[aria-hidden="true"], .eyebrow-icon { display: inline-block; }

.eyebrow {
  display: inline-block;
  color: var(--primary-strong);
  background: var(--primary-soft);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
}
.btn-primary { background: var(--fill); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--fill-hover); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-strong); }
.btn-light { background: #fff; color: var(--green-700); }
.btn-light:hover { background: #fff; color: var(--green-800); box-shadow: var(--shadow-md); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  display: block;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.footer-brand .brand-logo { height: 34px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary-strong); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.theme-toggle:hover { border-color: var(--primary); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
}
.hamburger svg { display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding-block: 10px 16px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 8px;
}
.mobile-menu a:hover { background: var(--bg-alt); }
.mobile-menu a[aria-current="page"] { color: var(--primary-strong); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-phone span.phone-text { display: none; }
  .mobile-menu.open { display: flex; }
}

/* Ohne JavaScript bleibt die Desktop-Navigation sichtbar, damit auf
   dem Handy immer eine Navigation erreichbar ist. */
html:not(.js) .nav-links { display: flex !important; }
html:not(.js) .hamburger { display: none !important; }
@media (max-width: 860px) {
  html:not(.js) .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding-bottom: 10px;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--primary-soft), var(--bg) 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-grid > * { min-width: 0; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-visual .service-block + .service-block { margin-top: 18px; }
.hero-visual--photo {
  padding: 0;
  overflow: hidden;
}
.hero-visual--photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.hero-visual--photo .hero-visual-caption {
  margin: 0;
  padding: 16px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.hero--photo {
  position: relative;
  padding: 88px 0 72px;
  background-color: #101a14;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero--photo .hero-grid { grid-template-columns: 1fr; }
.hero--photo .hero-copy { max-width: 640px; }
.hero--photo .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hero--photo h1 { color: #fff; }
.hero--photo p { color: rgba(255, 255, 255, 0.92); }
.hero--photo .badge { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); color: #fff; box-shadow: none; }
.hero--photo .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero--photo .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* ---------- Foto-Hero (Unterseiten mit Stimmungsbild) ---------- */
.page-hero {
  padding: 44px 0 12px;
  background: var(--bg-alt);
}
.page-hero--photo {
  position: relative;
  padding: 76px 0 58px;
  background-color: #101a14;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero--photo .eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.page-hero--photo h1 { color: #fff; }
.page-hero--photo p { color: rgba(255, 255, 255, 0.92); }
.page-hero--photo .badge { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.32); color: #fff; box-shadow: none; }

/* ---------- Cards / Grids ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }

.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card .icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--primary-strong); }
.icon-svg {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
}
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-muted); }
.card ul li { margin-bottom: 4px; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card--photo .card-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.card--photo .card-body { padding: 20px 26px 26px; }
.grid--teaser .card--photo .card-photo { aspect-ratio: 16 / 7; }
.card--photo:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---------- Zitat / persönliche Aussage ---------- */
.pull-quote {
  border-left: 4px solid var(--primary);
  margin: 26px 0 0;
  padding: 4px 0 4px 22px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text);
}
.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ---------- Profil-Platzhalter (Porträtfoto folgt) ---------- */
.profile-card {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
}
.profile-card .profile-avatar {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.profile-card .profile-avatar .icon-svg { width: 32px; height: 32px; font-size: 32px; }
.profile-card .profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 2px;
}
.profile-card .profile-role { color: var(--primary-strong); font-weight: 600; font-size: 0.92rem; margin: 0 0 14px; }
.profile-card .profile-caption { color: var(--text-muted); font-size: 0.86rem; margin: 0; }

.placeholder-card {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
}
.placeholder-card .icon { font-size: 2rem; margin-bottom: 10px; opacity: 0.7; color: var(--text-muted); }

.category-banner {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
  margin: 22px 0 32px;
}
@media (max-width: 640px) {
  .category-banner { height: 160px; margin: 18px 0 26px; }
}

.photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-card figcaption {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}
.photo-card figcaption span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ---------- Vorher/Nachher comparison ---------- */
.compare-pair {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  margin-bottom: 28px;
}
.compare-pair:last-child { margin-bottom: 0; }
.compare-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.compare-images figure { position: relative; margin: 0; overflow: hidden; }
.compare-images img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.compare-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.compare-tag--before { background: #92400e; }
.compare-tag--after { background: #166534; }
.compare-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.compare-caption { padding: 20px 22px; }
.compare-caption h3 { margin: 0 0 6px; font-size: 1.15rem; }
.compare-caption p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.compare-arrow { color: var(--primary-strong); }
.compare-arrow .icon-svg { width: 20px; height: 20px; }
.compare-pair--compact .compare-images img { height: 230px; }
.compare-pair--compact .compare-tag { top: 10px; left: 10px; padding: 4px 12px; font-size: 0.72rem; }
.compare-pair--compact .compare-arrow { width: 36px; height: 36px; }
.compare-pair--compact .compare-caption { padding: 16px 18px; }
.grid > .compare-pair { margin-bottom: 0; }

/* Projekt-Steckbrief und Hinweise auf der Referenzen-Seite */
.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.project-facts li { font-size: 0.92rem; color: var(--text-muted); }
.project-facts strong { color: var(--text); font-weight: 700; }
.honest-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 26px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.honest-note p { margin: 0; }
.honest-note .icon-svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary-strong); margin-top: 2px; }
.action-shot {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.action-shot > * { min-width: 0; }
.action-shot img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
@media (max-width: 860px) {
  .action-shot { grid-template-columns: 1fr; gap: 22px; }
  .action-shot img { height: 270px; }
}

@media (max-width: 640px) {
  .compare-images { grid-template-columns: 1fr; }
  .compare-images img { height: 250px; }
  .compare-arrow { display: none; }
}

/* Bewertungs-Aufruf (Google / Instagram) */
.review-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.review-band > * { min-width: 0; }
.review-band h2 { font-size: 1.45rem; margin: 0 0 6px; }
.review-band p { margin: 0; }
.review-stars { display: flex; gap: 3px; color: #e0a526; }
.review-stars svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .review-band { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
}

.cta-band {
  background: linear-gradient(120deg, var(--fill-hover), var(--fill-2));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 42px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid > div { min-width: 0; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
}
.form-note a { color: var(--primary-strong); font-weight: 600; }
.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.9rem;
  display: none;
}
.form-feedback.visible { display: block; }

.service-select {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px 6px;
  margin: 0;
}
.service-select legend { font-weight: 600; font-size: 0.9rem; padding: 0 4px; }
.service-select-group { margin-bottom: 14px; }
.service-select-heading {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-strong);
  margin: 0 0 8px;
}
.service-checkboxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
.service-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text);
  padding: 3px 0;
  cursor: pointer;
  margin-bottom: 0;
}
.service-checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: none;
  padding: 0;
  border: 1px solid var(--input-border);
  background: var(--bg);
  border-radius: 4px;
  accent-color: var(--primary-strong);
  cursor: pointer;
}
@media (max-width: 480px) {
  .service-checkboxes { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 30px;
  margin-bottom: 28px;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-heading { margin: 0 0 12px; font-size: 1rem; font-weight: 700; color: inherit; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: var(--footer-text); opacity: 0.85; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--fill-hover);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.2);
}
.call-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .call-bar { display: flex; }
}

/* ---------- Legal pages ---------- */
.legal h2 { margin-top: 34px; }
.legal p, .legal li { color: var(--text); }
.legal .placeholder {
  background: var(--accent-soft);
  border: 1px dashed var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.text-placeholder {
  display: block;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 14px 0;
}
.text-placeholder + .text-placeholder { margin-top: -4px; }

/* Visually-hidden helper (für Screenreader-only Text, falls benötigt) */
.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;
}
