/* ===== CSS Variables ===== */
:root {
  --primary: #0A2D42;
  --accent: #0099CC;
  --accent-hover: #0080AB;
  --accent-light: #00B4E0;
  --accent-bg: #DCF0F9;
  --accent-bg-light: #EEF7FC;
  --bg: #F6FAFC;
  --white: #FFFFFF;
  --muted: #5E7585;
  --border: #D8E8F0;
  --text: #1A2D38;
  --text-light: #4A6070;
  --emergency-bg: #B81820;
  --emergency-bg-dark: #8F1018;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  --max-width: 1200px;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--accent-hover); }

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

ul { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 153, 204, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg-light);
}

/* Outline-Button auf dunklem Hero-Hintergrund */
.hero__cta .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.hero__cta .btn--outline:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero__cta .btn--outline:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

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

.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--xl { padding: 18px 36px; font-size: 1.1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--phone { padding: 10px 20px; font-size: 0.9rem; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Höhere Spezifität (.header .logo__img = 0,2,0) schlägt WordPress-injeziiertes
   img { height: auto } (Spezifität 0,0,1) zuverlässig – auch nach Migration */
.header .logo__img {
  height: 74px;
  width: auto;
  max-width: 360px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: all 0.2s;
  text-decoration: none;
}

.nav__link:hover {
  color: var(--primary);
  background: var(--bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Phone Dropdown ===== */
.phone-dropdown {
  position: relative;
  flex-shrink: 0;
}

.phone-dropdown__chevron {
  margin-left: 2px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.phone-dropdown--open .phone-dropdown__chevron {
  transform: rotate(180deg);
}

.phone-dropdown__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 360px;
  max-width: min(420px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(10,45,66,0.16), 0 2px 8px rgba(10,45,66,0.07);
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.phone-dropdown--open .phone-dropdown__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.phone-dropdown__hint {
  padding: 10px 16px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.phone-dropdown__section-label {
  padding: 8px 16px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(94,117,133,0.7);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.phone-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.phone-dropdown__item--last {
  border-bottom: none;
}

.phone-dropdown__item:hover {
  background: var(--accent-bg-light);
}

.phone-dropdown__item--emergency {
  background: rgba(180,24,32,0.05);
  border-bottom: 1px solid rgba(180,24,32,0.12);
}

.phone-dropdown__item--emergency:hover {
  background: rgba(180,24,32,0.1);
}

.phone-dropdown__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  flex-shrink: 0;
}

.phone-dropdown__item--emergency .phone-dropdown__loc {
  font-weight: 700;
  color: var(--emergency-bg);
}

.phone-dropdown__num {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.phone-dropdown__item--emergency .phone-dropdown__num {
  color: var(--emergency-bg);
  font-size: 0.95rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0A2D42 0%, #0E3D58 100%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(0, 153, 204, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245, 192, 0, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.text-accent { color: #F5C000; }

.hero__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__visual-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  width: 100%;
  position: relative;
  backdrop-filter: blur(10px);
}

.visual-accent {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,153,204,0.4), transparent 70%);
  pointer-events: none;
}

.visual-stat { padding: 18px 0; }

.visual-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.visual-stat__label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.visual-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.hero__wave { line-height: 0; }

.hero__wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--light { background: var(--bg); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-text {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card--highlight {
  background: var(--emergency-bg);
  border-color: var(--emergency-bg);
}

.service-card--highlight h3,
.service-card--highlight p {
  color: var(--white);
}

.service-card--highlight .service-card__icon {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.service-card--highlight .service-card__text {
  color: rgba(255,255,255,0.8);
}

.service-card__link {
  display: inline-block;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  margin-top: 4px;
  text-decoration: none;
}

.service-card__link:hover {
  color: #F5C000;
  text-decoration: underline;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.feature-item__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-item__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-item__content p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== Process Steps ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__content p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

.process-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 27px;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--border);
}

/* ===== Emergency Section ===== */
.section-emergency {
  background: linear-gradient(135deg, var(--emergency-bg) 0%, var(--emergency-bg-dark) 100%);
  padding: 72px 0;
}

.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.emergency__badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.emergency__title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.emergency__text {
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.7;
}

.emergency__cta {
  text-align: center;
  flex-shrink: 0;
}

.emergency__note {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 12px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info__value {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

a.contact-info__value:hover { color: var(--accent); }

/* ===== Form ===== */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

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

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
  margin-top: 2px;
  cursor: pointer;
}

.form-group--checkbox label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
  cursor: pointer;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #15803d;
}

.form-success.visible { display: flex; }

.form-error {
  display: none;
  align-items: flex-start;
  gap: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #dc2626;
  line-height: 1.5;
}

.form-error.visible { display: flex; }

/* reCAPTCHA Badge ausblenden – Pflichttext ist im Formular sichtbar (Google-konform) */
.grecaptcha-badge { visibility: hidden !important; }

.recaptcha-notice {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 8px;
  text-align: center;
}

.recaptcha-notice a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recaptcha-notice a:hover { color: var(--accent); }

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo-wrap {
  display: inline-block;
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 0;
}

.footer__logo-img {
  height: 90px;
  width: auto;
  max-width: 340px;
  display: block;
  object-fit: contain;
}

.footer__description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

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

.footer__links a:hover { color: var(--white); }

/* Footer Emergency Band */
.footer__emergency {
  background: var(--emergency-bg);
  padding: 18px 0;
}
.footer__emergency-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.18);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.footer__emergency-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
  line-height: 1;
}
.footer__emergency-number:hover {
  color: rgba(255,255,255,0.88);
  text-decoration: underline;
}
.footer__emergency-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-left: auto;
}

/* Footer Service Locations Grid */
.footer__locations {
  padding: 32px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__locations-heading {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}
.footer__locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.footer__location-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s;
}
.footer__location-item:hover {
  background: rgba(0,153,204,0.12);
  border-color: rgba(0,153,204,0.35);
}
.footer__location-name {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer__location-item:hover .footer__location-name {
  color: rgba(255,255,255,0.6);
}
.footer__location-number {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer__location-item:hover .footer__location-number {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}

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

.footer__credit {
  padding: 10px 0;
  background: rgba(0,0,0,0.25);
}

.footer__credit p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.footer__credit-link {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.3);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__credit-link:hover {
  color: #ffffff;
  text-decoration-color: rgba(255,255,255,0.8);
}

/* ===== Handwerkskammer Trust Band ===== */
.hwk-band {
  background: #05A4E1;
  padding: 48px var(--gutter);
  display: flex;
  justify-content: center;
}

.hwk-band__img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
}

/* ===== Floating Phone Button ===== */
.fab-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--emergency-bg);
  color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(184, 24, 32, 0.45);
  z-index: 150;
  transition: all 0.2s;
}

.fab-phone:hover {
  background: var(--emergency-bg-dark);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(184, 24, 32, 0.55);
}

.fab-phone.sheet-open {
  opacity: 0;
  pointer-events: none;
}

/* ===== Phone Bottom Sheet ===== */
.phone-sheet {
  position: fixed;
  inset: 0;
  z-index: 290;
  pointer-events: none;
}

.phone-sheet.is-open {
  pointer-events: all;
}

.phone-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 66, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.phone-sheet.is-open .phone-sheet__backdrop {
  opacity: 1;
}

.phone-sheet__panel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -4px 32px rgba(10, 45, 66, 0.18);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 300;
}

.phone-sheet.is-open .phone-sheet__panel {
  transform: translateX(-50%) translateY(0);
}

.phone-sheet__handle {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  margin: 12px auto 0;
}

.phone-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.phone-sheet__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.phone-sheet__close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.15s;
  flex-shrink: 0;
}

.phone-sheet__close:hover {
  background: var(--border);
}

.phone-sheet__section-label {
  padding: 8px 20px 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(94, 117, 133, 0.7);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

.phone-sheet__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  min-height: 52px;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.phone-sheet__item--last {
  border-bottom: none;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}

.phone-sheet__item:hover,
.phone-sheet__item:active {
  background: var(--accent-bg-light);
}

.phone-sheet__item--emergency {
  background: rgba(180, 24, 32, 0.04);
  border-bottom-color: rgba(180, 24, 32, 0.1);
}

.phone-sheet__item--emergency:hover,
.phone-sheet__item--emergency:active {
  background: rgba(180, 24, 32, 0.09);
}

.phone-sheet__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
}

.phone-sheet__item--emergency .phone-sheet__loc {
  font-weight: 700;
  color: var(--emergency-bg);
}

.phone-sheet__num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.phone-sheet__item--emergency .phone-sheet__num {
  color: var(--emergency-bg);
  font-size: 1rem;
}

/* ===== Subpage Layout ===== */
.subpage-header {
  background: var(--primary);
  padding: 60px 0 40px;
}

.subpage-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.subpage-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.subpage-header .breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.subpage-header .breadcrumb a:hover {
  color: rgba(255,255,255,0.9);
}

.subpage-content {
  padding: 64px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.subpage-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--primary);
}

.subpage-content h3 {
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.subpage-content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.subpage-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.subpage-content ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.subpage-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  color: var(--primary);
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover { color: var(--accent); }

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-q__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.55;
  min-width: 26px;
  flex-shrink: 0;
  transition: opacity 0.2s;
  font-variant-numeric: tabular-nums;
}

.faq-q__text {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-q__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.25s, border-color 0.25s, color 0.25s,
              transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-question { color: var(--accent); }
.faq-item.open .faq-q__num { opacity: 1; }
.faq-item.open .faq-q__icon {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(180deg);
}

/* Smooth height animation via CSS grid trick */
.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body__inner {
  overflow: hidden;
}

.faq-body__content {
  padding: 0 calc(26px + 16px) 24px calc(26px + 16px);
}

.faq-body__content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

.faq-body__content p:last-child { margin-bottom: 0; }

.faq-body__content h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  .faq-body { transition: none; }
  .faq-q__icon { transition: background 0.2s, border-color 0.2s, color 0.2s; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__locations-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__emergency-tagline { display: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }

  /* Header: Logo auf voller Breite, Toggle darunter */
  .header .header__inner {
    flex-direction: column;
    height: auto;
    padding-top: 14px;
    padding-bottom: 10px;
    gap: 10px;
    align-items: center;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .header .logo__img {
    height: auto;
    width: 100%;
    max-width: 100%;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .header__inner .btn--phone { display: none; }

  /* Nav klappt direkt unter dem Header auf – top: 100% statt fixem Pixelwert */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .nav.open { display: flex; }
  .nav__link { padding: 12px 16px; font-size: 1rem; }

  .hero { padding-top: 48px; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
    gap: 36px;
  }

  .hero__visual { order: -1; }

  .hero__visual-card {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .visual-divider { display: none; }

  .visual-stat {
    padding: 10px 8px;
  }

  .visual-stat__number { font-size: 1.7rem; }

  .visual-stat__label { font-size: 0.78rem; }

  .hero__trust { grid-template-columns: 1fr; gap: 8px; }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; gap: 0; }

  .process-connector {
    width: 2px;
    height: 24px;
    margin-top: 0;
    margin-left: 27px;
  }

  .process-connector::after {
    right: -4px;
    top: auto;
    bottom: -6px;
    border-top: 6px solid var(--border);
    border-bottom: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0;
    gap: 18px;
  }

  .process-step__number { flex-shrink: 0; }

  .emergency__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .emergency__text { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .form-row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__col--brand { grid-column: auto; }
  .footer__locations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__emergency-inner { gap: 12px; }
  .footer__emergency-number { font-size: 1.3rem; }

  .section { padding: 60px 0; }

  .faq-q__num { display: none; }
  .faq-body__content { padding: 0 0 20px 0; }
  .faq-q__text { font-size: 0.95rem; }

  .subpage-content { padding: 40px var(--gutter) 60px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .contact-form-wrapper { padding: 24px 20px; }
  .btn--xl { padding: 16px 28px; font-size: 1rem; }
  .footer__locations-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
  .footer__location-item { padding: 8px 10px; }
  .footer__location-number { font-size: 0.8rem; }

  .hero__visual-card { padding: 14px 14px; }
  .visual-stat { padding: 8px 6px; }
  .visual-stat__number { font-size: 1.45rem; }
  .visual-stat__label { font-size: 0.72rem; }
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

.reveal--d1 { transition-delay: 70ms; }
.reveal--d2 { transition-delay: 140ms; }
.reveal--d3 { transition-delay: 210ms; }
.reveal--d4 { transition-delay: 280ms; }
.reveal--d5 { transition-delay: 350ms; }
.reveal--d6 { transition-delay: 420ms; }
.reveal--d7 { transition-delay: 490ms; }

/* Mobile: schnellere, leichtere Animationen */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(14px);
    transition: opacity 0.32s ease-out, transform 0.32s ease-out;
  }
  .reveal--d1 { transition-delay: 40ms; }
  .reveal--d2 { transition-delay: 70ms; }
  .reveal--d3 { transition-delay: 100ms; }
  .reveal--d4 { transition-delay: 100ms; }
  .reveal--d5 { transition-delay: 100ms; }
  .reveal--d6 { transition-delay: 100ms; }
  .reveal--d7 { transition-delay: 100ms; }
}

/* Enhanced header on scroll */
.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 28px rgba(10, 45, 66, 0.12);
}

/* Stat numbers use tabular figures for smooth counter animation */
.visual-stat__number {
  font-variant-numeric: tabular-nums;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
