/* ========================================
   KFZ Service Christ — style.css
   Mobile-First, Vanilla CSS
   ======================================== */

/* --- Custom Properties --- */
:root {
  --color-primary: #d20a11;
  --color-primary-dark: #a80810;
  --color-primary-light: #e84347;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-dark: #031216;
  --color-dark-surface: #020e11;
  --color-focus: #4A90D9;
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Zalando Sans SemiExpanded', 'Roboto', sans-serif;
  --container-max: 1200px;
  --container-padding: clamp(1rem, 5vw, 2rem);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Remove default outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title--left {
  text-align: left;
}

.section-title--light {
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn--primary:focus-visible {
  outline-color: #fff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--full {
  width: 100%;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding-top: 0.5rem;
  transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

.header.is-scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: rgba(3, 18, 22, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: var(--space-sm);
}

.header__logo {
  display: flex;
  align-items: center;
  color: #fff;
  flex-shrink: 0;
}

.header__logo-img {
  height: 62px;
  width: auto;
}

.header__logo-img--full {
  display: none;
}

.header__logo-img--emblem {
  display: block;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-md);
}

.header__nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.header__nav-link:hover {
  color: #fff;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), background-color var(--transition);
  flex-shrink: 0;
  min-height: 44px;
}

.header__phone:hover {
  border-color: var(--color-primary);
  background: rgba(210, 10, 17, 0.1);
}

/* Burger */
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.header__burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Open */
.header__nav.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 22, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.header__nav.is-open .header__nav-list {
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav.is-open .header__nav-link {
  font-size: 1.5rem;
  color: #fff;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

@media (min-width: 768px) {
  .hero {
    height: 100vh;
    height: 100svh;
  }

  .hero__content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: var(--space-xl);
}

.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.desktop-break {
  display: none;
}

@media (min-width: 768px) {
  .desktop-break {
    display: inline;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-md);
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.hero__trust:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__trust-stars {
  display: flex;
  gap: 1px;
  color: #fbbc05;
  font-size: 0.9rem;
  line-height: 1;
}

.hero__trust-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  white-space: nowrap;
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll svg {
  display: block;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll { animation: none; }
}


/* ========== VORTEILE ========== */
.vorteile {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.vorteile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.vorteil {
  text-align: left;
  padding: var(--space-md) 0;
}

.vorteil__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-xs);
}

.vorteil__icon img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.vorteil__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0;
}

.vorteil__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  max-width: 380px;
  margin: var(--space-sm) 0 0;
  line-height: 1.6;
}

/* ========== LEISTUNGEN ========== */
.leistungen {
  padding: var(--space-xl) 0;
  background: var(--color-surface);
}

.leistungen__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.leistung {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.leistung:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.leistung__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.leistung__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leistung:hover .leistung__img-wrap img {
  transform: scale(1.05);
}

.leistung__body {
  padding: 1.5rem;
}

.leistung__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.leistung__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ========== STÖRER / CTA ========== */
.stoerer {
  position: relative;
  padding: var(--space-xl) 0;
  text-align: center;
  overflow: hidden;
}

.stoerer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.stoerer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 22, 0.6);
  z-index: 1;
}

.stoerer__inner {
  position: relative;
  z-index: 2;
}

.stoerer__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.stoerer__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto var(--space-xs);
}

.stoerer__hours {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: var(--space-md);
}

.stoerer__btn {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  letter-spacing: 0.05em;
}

/* ========== UEBER UNS ========== */
.ueber-uns {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
}

.ueber-uns__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.ueber-uns__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 500px;
}

.ueber-uns__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ueber-uns__content {
  max-width: 560px;
}

.ueber-uns__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.ueber-uns__signature {
  margin-top: var(--space-md);
  max-width: 180px;
  height: auto;
}

.ueber-uns__name {
  margin-top: var(--space-xs);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ========== SEO TEXT ========== */
.seo-text {
  padding: var(--space-xl) 0;
  background: var(--color-surface);
}

.seo-text__title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-lg);
  text-align: center;
  line-height: 1.25;
}

.seo-text__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.seo-text__block h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.seo-text__block p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.seo-text__block p strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ========== KONTAKT ========== */
.kontakt {
  position: relative;
  padding: var(--space-xl) 0 0;
  overflow: hidden;
}

.kontakt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--color-dark));
  z-index: 1;
  pointer-events: none;
}

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

.kontakt__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 22, 0.92);
}

.kontakt__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: calc(var(--space-xl) + 60px);
}

.kontakt__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
}

.kontakt__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.kontakt__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.kontakt__detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.kontakt__detail a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.kontakt__detail a:hover {
  color: var(--color-primary-light);
}

.kontakt__detail small {
  color: rgba(255, 255, 255, 0.5);
}

/* Kontaktformular */
.kontakt__form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #fff;
  transition: border-color var(--transition), background-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(210, 10, 17, 0.2);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group--checkbox {
  margin-top: var(--space-xs);
}

.form-group .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

/* Visually hidden native input — label click handles toggle */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Custom checkbox box */
.checkbox-label__box {
  display: block;
  flex-shrink: 0;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

/* Checked state */
.checkbox-label input[type="checkbox"]:checked + .checkbox-label__box {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Checkmark */
.checkbox-label input[type="checkbox"]:checked + .checkbox-label__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Keyboard focus ring on box */
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-label__box {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.checkbox-label__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.checkbox-label__text a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.checkbox-label__text a:hover {
  color: #fff;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo-img {
  height: auto;
  width: 180px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: var(--space-xs);
}

.footer__logo-text {
  font-size: 1.125rem;
  color: #fff;
}

.footer__tagline {
  margin-top: var(--space-xs);
  font-size: 0.875rem;
}

.footer h3 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.footer address {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer address a {
  transition: color var(--transition);
}

.footer address a:hover {
  color: var(--color-primary-light);
}

.footer__hours p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer__hours small {
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__legal a {
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-primary-light);
}

.footer__bottom {
  padding: var(--space-sm) 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.footer__credit {
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.footer__credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__credit a:hover {
  color: var(--color-primary);
}

/* ========== MODAL ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: var(--space-sm);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
}

.modal__box {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  max-width: min(720px, 95vw);
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--color-surface);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  color: var(--color-text-muted);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), color var(--transition);
  z-index: 1;
}

.modal__close:hover {
  background: var(--color-primary);
  color: #fff;
}

.modal__body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-right: 3.5rem;
}

.modal__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.modal__body p {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.modal__body ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: var(--space-sm);
}

.modal__body li {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.modal__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.modal__body a:hover {
  color: var(--color-primary-dark);
}

.modal__body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-sm);
  font-size: 0.875rem;
}

.modal__body th,
.modal__body td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-surface);
}

.modal__body th {
  font-weight: 600;
  color: var(--color-text);
}

.modal__body td {
  color: var(--color-text-muted);
}

.modal__body em {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.modal__body code {
  background: var(--color-surface);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
}


/* ========== SMALL MOBILE (< 380px) ========== */
@media (max-width: 379px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .kontakt__form-wrap {
    padding: var(--space-sm);
  }
}

/* ========== TABLET (768px+) ========== */
@media (min-width: 768px) {
  .header__logo-img--full {
    display: block;
    height: 56px;
  }

  .header__logo-img--emblem {
    display: none;
  }

  .header__nav {
    display: block;
  }

  .header__phone {
    display: flex;
  }

  .header__burger {
    display: none;
  }

  .vorteile__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .leistungen__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ueber-uns__inner {
    grid-template-columns: 1fr 1fr;
  }

  .seo-text__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ueber-uns__img-wrap {
    max-height: none;
  }

  .kontakt__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* ========== DESKTOP (1280px+) ========== */
@media (min-width: 1280px) {
  .leistungen__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__title {
    font-size: 3.5rem;
  }

  .kontakt__form-wrap {
    padding: var(--space-lg);
  }
}
