/*
 * V-Mods Grabinger — Design-System
 * Konsolidiert aus dem statischen Prototyp (vmods-website-prototyp/).
 * Struktur:
 *   1. Fonts (DM Sans lokal, DSGVO)
 *   2. Basis / Variablen / Reset
 *   3. Header & Navigation
 *   4. Buttons
 *   5. Hero (Startseite)
 *   6. Trust-Bar
 *   7. Sections (Label/Titel/Sub)
 *   8. Split-Section (Werkstatt) + Stats
 *   9. Services-Grid (Karten)
 *  10. Reviews
 *  11. CTA-Section
 *  12. Page-Hero (Unterseiten)
 *  13. Leistungen (Gruppen + Items, Marken-Bar)
 *  14. Projekte (Liste, Badges, Tags)
 *  15. Shop (Karten + Teile-Grid)
 *  16. Kontakt (Grid, Hinweis-Box, Formular-Styling für Plugins)
 *  17. Detailseiten-Prosa (.prose) + Info-Box + Preis
 *  18. Über uns (Zert-Grid)
 *  19. Rechtsseiten (.legal)
 *  20. Footer
 *  21. WordPress-Spezifisches (Blöcke, a11y, Alignments)
 *  22. Responsive
 */

/* ── 1. Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2-variations');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── 2. Basis ─────────────────────────────────────────────── */
:root {
  --red: #a5222a;
  --red-dark: #471719;
  --red-hover: #c02830;
  --bg-dark: #0d0d0d;
  --bg-surface: #151515;
  --bg-card: #1c1c1c;
  --text-primary: #ffffff;
  --text-secondary: #c8c8c8;
  --text-muted: #a0a0a0;
  --border: #2a2a2a;
  --border-light: #3a3a3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

/* ── 3. Header & Navigation ───────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e0e0e0;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img,
.custom-logo-link img { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: contents; list-style: none; }
.nav li { display: contents; }

.nav a {
  color: #555555;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav a:hover,
.nav li.current-menu-item > a,
.nav li.current-page-ancestor > a { color: #111111; }

.nav li:last-child > a,
.nav a.nav-cta {
  background: var(--red);
  color: #ffffff !important;
  padding: 9px 22px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav li:last-child > a:hover,
.nav a.nav-cta:hover { background: var(--red-hover); }

.mobile-toggle { display: none; background: none; border: none; color: #111; font-size: 24px; cursor: pointer; }

.nav.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  padding: 20px 40px;
  gap: 16px;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}
.nav.open ul { display: flex; flex-direction: column; gap: 16px; }
.nav.open li { display: block; }

/* ── 4. Buttons (Theme-Links + Gutenberg-Buttons) ─────────── */
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  border-radius: 0;
}

.btn-primary,
.wp-block-button.btn-primary .wp-block-button__link {
  background: var(--red);
  color: #ffffff;
}
.btn-primary:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover { background: var(--red-hover); color: #fff; }

.btn-outline,
.wp-block-button.btn-outline .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-outline:hover,
.wp-block-button.btn-outline .wp-block-button__link:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.wp-block-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }

/* ── 5. Hero (Startseite) ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Overlay als Pseudo-Element, damit der Hero aus Bild + Content-Block besteht */
.hero-overlay,
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.2) 35%, rgba(13,13,13,0.6) 75%, rgba(13,13,13,0.94) 100%),
    linear-gradient(90deg, rgba(13,13,13,0.78) 0%, rgba(13,13,13,0.35) 45%, rgba(13,13,13,0.1) 75%, rgba(13,13,13,0.02) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 28px;
  position: relative;
  padding-left: 48px;
}

.hero-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 740px;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--red);
  font-weight: 300;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-buttons,
.hero-buttons.wp-block-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── 6. Trust-Bar ─────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item { display: flex; align-items: flex-start; gap: 18px; }

.trust-item::before {
  content: '';
  min-width: 4px;
  width: 4px;
  height: 32px;
  background: var(--red);
  margin-top: 3px;
}

.trust-text strong,
.trust-text .trust-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.trust-text span,
.trust-text p {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── 7. Sections ──────────────────────────────────────────── */
.section { padding: 100px 0; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-inner--narrow { max-width: 860px; }

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 48px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 56px;
}

.section-center { text-align: center; margin-top: 40px; }
.services-cta { margin-top: 40px; justify-content: center; }

/* ── 8. Split-Section (Werkstatt) ─────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-image { position: relative; overflow: hidden; min-height: 400px; }

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: brightness(0.7) saturate(0.6) contrast(1.1);
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0) 60%, rgba(13,13,13,0.3) 100%),
              linear-gradient(0deg, rgba(13,13,13,0.1) 0%, rgba(13,13,13,0) 30%);
  z-index: 1;
}

.split-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content .section-label { margin-bottom: 20px; }

.split-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}

.split-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.split-stats > div p { margin-bottom: 0; }

.stat-value {
  font-size: 28px;
  font-weight: 300;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ── 9. Services-Grid ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--bg-card);
  padding: 48px 40px;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 0.3s;
}

.service-card:hover { background: #222; }
.service-card:hover::before { height: 100%; }

.service-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.service-card .link,
.service-card p.link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.service-card .link:hover,
.service-card p.link a:hover { color: #ffffff; }
.service-card .link::after,
.service-card p.link a::after { content: ' →'; transition: margin 0.2s; }
.service-card .link:hover::after,
.service-card p.link a:hover::after { margin-left: 4px; }
.service-card p.link { margin-bottom: 0; }

/* ── 10. Reviews ──────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 28px;
  font-size: 72px;
  font-weight: 300;
  color: rgba(165, 34, 42, 0.15);
  line-height: 1;
  font-family: serif;
}

.review-stars {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.review-author {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0;
}

.review-detail {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 0;
}

/* ── 11. CTA-Section ──────────────────────────────────────── */
.cta-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section .section-title { max-width: 700px; margin: 0 auto 16px; }
.cta-section .section-sub { margin: 0 auto 40px; }

.cta-buttons,
.cta-buttons.wp-block-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── 12. Page-Hero (Unterseiten) ──────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 16px;
}

.page-hero .sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .section-label { padding-left: 0; }
.page-hero .section-label::before { display: none; }

/* Linksbündige Variante (Detailseiten) */
.page-hero--left { text-align: left; padding: 140px 0 48px; }
.page-hero--left .page-hero-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; }
.page-hero--left h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  max-width: none;
}
.page-hero--left .sub { margin: 0; max-width: none; line-height: 1.6; }
.page-hero--left img { margin-top: 28px; display: block; max-width: 800px; width: 100%; }

.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
}
.back-link:hover { color: #fff; }

/* ── 13. Leistungen ───────────────────────────────────────── */
.marken-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.marken-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.marke,
.marken-bar-inner p {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin: 0;
}

.service-group { margin-bottom: 64px; }
.service-group:last-child { margin-bottom: 0; }

.service-group-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.service-group-head h2 { font-size: 24px; font-weight: 400; letter-spacing: -0.01em; color: #fff; }
.service-group-head p { font-size: 14px; color: var(--text-muted); margin-top: 4px; margin-bottom: 0; }

.service-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.service-item {
  background: var(--bg-card);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.service-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; color: #fff; }

.service-item p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-item p:first-of-type { flex: 1; }

.service-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.service-meta strong,
.service-meta span { color: var(--red); font-weight: 500; }

.service-item .link,
.service-item p.link a {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-top: auto;
}
.service-item .link:hover,
.service-item p.link a:hover { color: #fff; }
.service-item .link::after,
.service-item p.link a::after { content: ' →'; }
.service-item p.link { margin-top: auto; margin-bottom: 0; }

/* ── 14. Projekte ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-bar .wp-block-button__link,
.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 18px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.filter-bar .wp-block-button__link:hover,
.filter-bar .wp-block-button.active .wp-block-button__link,
.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  border-color: var(--red);
  background: rgba(165,34,42,0.1);
}

.project-list { display: flex; flex-direction: column; gap: 64px; max-width: 1100px; margin: 0 auto; }

.project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.project:last-child { border-bottom: none; padding-bottom: 0; }

.project-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 4/3;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-badge,
p.project-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 16px;
  width: fit-content;
}

.badge-nachruestung { background: rgba(165,34,42,0.15); color: var(--red); }
.badge-reparatur { background: rgba(200,200,200,0.1); color: var(--text-secondary); }
.badge-codierung { background: rgba(165,34,42,0.08); color: #c96; }

.project h2 { font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.2; color: #fff; }

.project .fahrzeug,
.project p.fahrzeug { font-size: 14px; font-weight: 500; color: var(--red); margin-bottom: 16px; letter-spacing: 0.03em; }

.project p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--text-secondary); margin-bottom: 20px; }

.project-tags { display: flex; gap: 10px; flex-wrap: wrap; }

.project-tags p,
.project-tags span,
.project-tags code {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 4px 10px;
  border: 1px solid var(--border);
  font-family: inherit;
}

/* ── 15. Shop ─────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px;
}

.shop-card-icon,
p.shop-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(165,34,42,0.1);
  border: 1px solid rgba(165,34,42,0.3);
  margin-bottom: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  color: var(--red);
}

.shop-card h2 { font-size: 24px; font-weight: 400; margin-bottom: 12px; letter-spacing: -0.01em; color: #fff; }
.shop-card p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--text-secondary); margin-bottom: 28px; }

.shop-card .rating,
.shop-card p.rating {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  background: rgba(165,34,42,0.1);
  padding: 4px 12px;
  margin-bottom: 16px;
  width: fit-content;
}

.teile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.teile-card { background: var(--bg-card); border: 1px solid var(--border); padding: 32px; }
.teile-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; color: #fff; }
.teile-card p { font-size: 14px; font-weight: 300; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0; }

/* ── 16. Kontakt ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
}

.hinweis-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 36px;
}

.hinweis-box h3 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 16px; }
.hinweis-box p { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--text-secondary); margin-bottom: 10px; }
.hinweis-box p:last-child { margin-bottom: 0; }

.hinweis-wichtig,
.hinweis-box p.hinweis-wichtig {
  color: #fff;
  font-size: 15px;
  background: rgba(165,34,42,0.12);
  padding: 12px 16px;
  border-left: 3px solid var(--red);
}

/*
 * Formular-Container: Diese Styles greifen auch für Plugin-Formulare
 * (Contact Form 7, WPForms …), sobald sie innerhalb von .contact-form stehen.
 */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
}

.contact-form h2 { font-size: 20px; font-weight: 400; margin-bottom: 24px; color: #fff; }

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
  margin-top: 16px;
}

.contact-form input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #111;
  border: 1px solid var(--border);
  color: #fff;
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--red); }

.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form button,
.contact-form input[type='submit'] {
  margin-top: 20px;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover,
.contact-form input[type='submit']:hover { background: var(--red-hover); }

/* Download-Bereich (Reparaturformular) auf der Kontaktseite */
.reparatur-download { margin-top: 48px; text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.reparatur-download h2 { font-size: 22px; font-weight: 400; margin-bottom: 8px; color: #fff; }
.reparatur-download p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; }
.reparatur-download .wp-block-buttons { justify-content: center; }

/* Contact Form 7 Feinschliff */
.contact-form .wpcf7-form p { margin-bottom: 0; }
.contact-form .wpcf7-not-valid-tip { color: var(--red-hover); font-size: 13px; margin-top: 4px; }
.contact-form .wpcf7-response-output { border: 1px solid var(--border); padding: 12px 16px; margin: 20px 0 0; font-size: 14px; color: var(--text-secondary); }

/* ── 17. Detailseiten-Prosa ───────────────────────────────── */
.prose { max-width: 860px; margin: 0 auto; }

.prose h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: #fff;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 { font-size: 17px; font-weight: 500; margin: 28px 0 10px; color: #fff; }

.prose p,
.prose li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.prose ul, .prose ol { margin: 0 0 24px 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #fff; font-weight: 500; }

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 36px;
  margin: 32px 0;
}

.info-box h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}

.info-box p, .info-box li { margin-bottom: 6px; }
.info-box ul { margin-bottom: 0; }

.price,
.prose .price {
  display: inline-block;
  background: rgba(165,34,42,0.12);
  color: var(--red);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 16px;
  margin: 4px 0;
}

/* ── 18. Über uns ─────────────────────────────────────────── */
.zert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.zert-card { background: var(--bg-card); border: 1px solid var(--border); padding: 32px; }
.zert-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; color: #fff; }
.zert-card p { font-size: 14px; font-weight: 300; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0; }

/* ── 19. Rechtsseiten ─────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 20px; font-weight: 500; margin: 36px 0 12px; color: #fff; }
.legal h3 { font-size: 16px; font-weight: 500; margin: 24px 0 8px; color: #fff; }
.legal p, .legal li { font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--text-secondary); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 20px 20px; }
.legal a { color: var(--red); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ── 20. Footer ───────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); padding: 80px 0 40px; }

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4,
.footer-brand h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #ffffff; }

.footer-col ul { list-style: none; }
.footer-col li { margin: 0; }

.footer-bottom {
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 32px 40px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom span { font-size: 13px; color: var(--text-muted); }

.footer-bottom a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #ffffff; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; }

/* ── 21. WordPress-Spezifisches ───────────────────────────── */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip-path: none;
  background: var(--red);
  color: #fff;
  display: block;
  height: auto;
  left: 8px;
  top: 8px;
  padding: 12px 20px;
  width: auto;
  z-index: 200;
  text-decoration: none;
}

/*
 * Klassische Themes (ohne theme.json) bekommen von WordPress in jedem
 * Group-Block einen zusätzlichen Inner-Container. display:contents macht ihn
 * layout-transparent, damit die Grid-/Flex-Strukturen des Designs
 * (services-grid, reviews-grid, split-stats, trust-bar …) direkt auf die
 * eigentlichen Kinder wirken — wie im Prototyp.
 */
.wp-block-group__inner-container { display: contents; }

/* Bild-Blöcke im Content */
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; }

/* Admin-Bar-Korrektur für fixed Header */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ── 22. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-image { min-height: 300px; }
  .split-content { padding: 56px 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: repeat(2, 1fr); }
  .teile-grid { grid-template-columns: repeat(2, 1fr); }
  .zert-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 24px; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .section { padding: 64px 0; }
  .section-inner { padding: 0 24px; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-content h1 { font-size: 36px; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 20px; }
  .split-content { padding: 48px 24px; }
  .split-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-value { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }
  .service-detail { grid-template-columns: 1fr; }
  .marken-bar-inner { gap: 20px; }
  .marke, .marken-bar-inner p { font-size: 15px; }
  .project { grid-template-columns: 1fr; gap: 28px; }
  .shop-grid { grid-template-columns: 1fr; }
  .teile-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero--left .page-hero-inner { padding: 0 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
