/* ============================================
   VARIABLES & RESETS
   ============================================ */
:root {
  --accent: #b31f2b;
  --dark: #0e1a22;
  --navy: #162129;
  --light: #f4f6f7;
  --white: #fff;
  --gray: #65717a;
  --border: #e1e6e9;
  --bg-light: #f8ecee;
  --success: #4caf73;
}

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

html {
  scroll-behavior: smooth;
  /* Verhindert einen hellen Streifen beim iOS-Overscroll (Rubber-Band-Effekt)
     oberhalb des fixen, dunklen Headers – die Fläche hinter dem Dokument
     zeigt so dieselbe dunkle Farbe wie Header/Hero statt des hellen body-Hintergrunds. */
  background-color: var(--dark);
  /* Unterdrückt den nativen Overscroll-„Glow"/Bounce-Effekt (v. a. Android Chrome),
     der unabhängig von jeder Hintergrundfarbe als heller Schimmer am oberen
     Bildschirmrand gerendert werden kann. */
  overscroll-behavior-y: none;
}

/* Scrollbar dezent halten, ohne die Scroll-Funktion einzuschränken (Firefox) */
html {
  scrollbar-width: thin;
}

body {
  font-family: 'Barlow', Arial, sans-serif;
  background: var(--light);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
  font-weight: 700;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-description {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.65;
  margin: 0;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.section-header {
  margin-bottom: 40px;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-inner > span {
  opacity: 0.75;
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-link {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: opacity 0.2s;
}

.topbar-link:hover {
  opacity: 0.8;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.cta-btn {
  margin-left: 8px;
  background: var(--accent);
  color: var(--white);
  border-radius: 9px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.04em;
  transition: filter 0.2s;
  white-space: nowrap;
}

.cta-btn:hover {
  filter: brightness(0.85);
}

/* ============================================
   MOBILE MENU (HIDDEN BY DEFAULT)
   ============================================ */
.mobile-menu {
  background: #111e27;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px 20px;
  display: none;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav-btn:hover {
  color: var(--white);
}

.mobile-menu .mobile-cta {
  margin: 16px 0 0;
  justify-content: center;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  border: none;
  border-radius: 11px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.2s, background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

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

.btn-primary:hover {
  filter: brightness(0.88);
}

.btn-primary:disabled {
  background: #c5777e;
  cursor: default;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
}

/* ============================================
   STARS (RATING)
   ============================================ */
.stars {
  display: flex;
  gap: 2px;
}

.stars::after {
  content: '★ ★ ★ ★ ★';
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(118deg, var(--dark) 0%, #2a1418 55%, #5c1018 100%);
  color: var(--white);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 75% 30%, rgba(179, 31, 43, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  font-weight: 800;
}

.accent-italic {
  color: #f4a0a7;
  font-style: italic;
}

.hero-description {
  font-size: 19px;
  color: #cad6dc;
  max-width: 580px;
  margin: 0 0 30px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #98b0bc;
  font-size: 13px;
  font-weight: 600;
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkmark {
  color: var(--success);
  font-weight: 900;
}

.hero-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  color: #65717a;
  margin-bottom: 16px;
}

.card-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.card-item {
  padding: 14px 0;
  border-bottom: 1px solid #e8ecef;
}

.card-item:last-child {
  border-bottom: none;
}

.card-item-q {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
}

.card-item-a {
  font-size: 13px;
  color: #65717a;
  line-height: 1.5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 80px 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 4px 14px rgba(14, 26, 34, 0.04);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(14, 26, 34, 0.1);
  transform: translateY(-3px);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.service-num {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}

.service-norm {
  font-size: 10px;
  font-weight: 800;
  color: #65717a;
  background: var(--light);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.service-desc {
  color: #65717a;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.65;
  flex-grow: 1;
}

.service-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #4a5c65;
  font-weight: 600;
}

.bullet-mark {
  color: var(--accent);
  font-weight: 900;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--dark);
  padding: 80px 0;
  color: var(--white);
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-value {
  font-weight: 800;
  font-size: 16px;
}

.rating-source {
  color: #98b0bc;
  font-size: 14px;
}

.testimonials-controls {
  display: flex;
  gap: 8px;
}

.scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.testimonials-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  background: #162a35;
  border: 1px solid #29424f;
  border-radius: 18px;
  padding: 26px;
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.testimonial-info > div:first-child {
  font-weight: 800;
  font-size: 15px;
}

.testimonial-info > div:last-child {
  font-size: 12px;
  color: #98b0bc;
  margin-top: 2px;
}

.rating-badge {
  background: #f59e0b;
  color: var(--white);
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 900;
  font-size: 13px;
}

.testimonial-text {
  color: #c0cdd3;
  font-size: 14px;
  line-height: 1.65;
  margin: 12px 0 0;
}

.testimonial-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #29424f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e87b34;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.verified-text {
  font-size: 12px;
  color: #98b0bc;
  font-weight: 700;
}

.testimonials-footer {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  padding: 80px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.process-num {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 16px;
}

.process-title {
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.05em;
}

.process-desc {
  font-size: 14px;
  color: #65717a;
  line-height: 1.55;
}

.process-arrow {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: #cbd4d9;
  font-size: 20px;
  font-weight: 900;
}

.process-card:last-child .process-arrow {
  display: none;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
  background: var(--white);
  padding: 80px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.split-image {
  border-radius: 22px;
  overflow: hidden;
  min-height: 460px;
  position: relative;
  box-shadow: 0 20px 50px rgba(14, 26, 34, 0.18);
}

.image-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  min-height: 460px;
}

.image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(14, 26, 34, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-score {
  background: var(--accent);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--white);
  font-weight: 900;
  font-size: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  flex-shrink: 0;
}

.badge-text {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.features-list {
  display: grid;
  gap: 18px;
}

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

.feature-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e7f0eb;
  color: #286447;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  margin-top: 2px;
}

.feature-title {
  font-weight: 800;
  margin-bottom: 3px;
}

.feature-desc {
  font-size: 14px;
  color: #65717a;
  line-height: 1.5;
}

/* ============================================
   LOCATION SECTION
   ============================================ */
.location {
  padding: 80px 0;
  background: var(--white);
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: stretch;
}

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

.contact-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--light);
  border-radius: 14px;
  padding: 18px 20px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  color: #65717a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-value {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  white-space: pre-line;
}

.contact-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

.service-area-box {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 18px 20px;
  border: 1px solid #e5c3c8;
}

.service-area-title {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.service-area-text {
  font-size: 14px;
  color: #65717a;
  line-height: 1.6;
}

.map-iframe {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(14, 26, 34, 0.12);
  min-height: 380px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 80px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 13px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(14, 26, 34, 0.06);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.quick-contact-link:hover {
  border-color: var(--accent);
}

.quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

.quick-label {
  font-size: 12px;
  color: #65717a;
  font-weight: 600;
}

.quick-value {
  font-weight: 800;
  font-size: 14px;
}

.form-wrapper {
  background: var(--white);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(14, 26, 34, 0.08);
  border: 1px solid var(--border);
}

.form-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
}

.form-group {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
}

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

.file-input-label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed #cbd4d9;
  border-radius: 11px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #65717a;
  transition: border-color 0.2s;
}

.file-input-label:hover {
  border-color: var(--accent);
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 16px;
}

.privacy-label input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.privacy-label span {
  font-size: 13px;
  color: #4a5c65;
  line-height: 1.55;
}

.privacy-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
}

.form-hint {
  font-size: 12px;
  color: #98a8b0;
  margin: 0;
  text-align: center;
}

/* Honeypot: für Menschen unsichtbar, aber im DOM vorhanden (Spam-Schutz) */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  background: #fdecec;
  border: 1px solid #f3b8b8;
  color: #9c2b2b;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e7f0eb;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #286447;
}

.success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  text-align: center;
}

.success-text {
  color: #65717a;
  font-size: 15px;
  text-align: center;
  padding: 40px 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #09131a;
  color: #c7d0d5;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: #98b0bc;
}

.footer-address {
  font-size: 13px;
  color: #98b0bc;
  line-height: 1.8;
}

.footer-title {
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #98b0bc;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-contact a {
  font-size: 14px;
  color: #98b0bc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-legal {
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid #1e2f38;
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 13px;
  color: #5a6e78;
}

/* ============================================
   FLOATING ACTION BUTTON
   ============================================ */
.fab-wrapper {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 60;
}

.fab-wrapper.mobile-visible {
  display: block;
}

.fab-menu {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.fab-menu::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
}

.fab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  padding: 11px 20px 11px 16px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.2s;
}

.fab-call {
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--navy);
}

.fab-call:hover {
  transform: translateX(-2px);
}

.fab-contact {
  background: var(--accent);
  color: var(--white);
}

.fab-contact:hover {
  filter: brightness(0.9);
}

.fab-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(179, 31, 43, 0.45);
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.fab-toggle.active {
  background: #333;
  transform: rotate(45deg);
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-main {
  background: var(--light);
}

.legal-hero {
  background: var(--dark);
  color: var(--white);
  padding: 48px 0 40px;
}

.legal-hero .section-title {
  color: var(--white);
  margin: 0;
}

.legal-content-section {
  padding: 48px 0 72px;
}

.legal-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  max-width: 860px;
}

.legal-container h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin: 36px 0 14px;
}

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

.legal-container h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}

.legal-container p {
  font-size: 15px;
  color: #4a5c65;
  line-height: 1.7;
  margin: 0 0 14px;
}

.legal-container ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #4a5c65;
  font-size: 15px;
  line-height: 1.8;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 13px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: #4a5c65;
  vertical-align: top;
}

.legal-table th {
  background: var(--light);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-table code {
  background: var(--bg-light);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.legal-container a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.legal-container .btn {
  text-decoration: none;
}

.legal-source-note {
  font-size: 13px !important;
  color: #98a8b0 !important;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 28px !important;
}

.legal-disclaimer-note {
  font-size: 13px !important;
  color: #98a8b0 !important;
  background: var(--light);
  border-radius: 12px;
  padding: 16px 18px !important;
  margin-top: 28px !important;
  line-height: 1.6 !important;
}

@media (max-width: 640px) {
  .legal-container {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .legal-hero {
    padding: 36px 0 28px;
  }
}

/* ============================================
   COOKIE-CONSENT-BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #c7d0d5;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-banner-accept {
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 9px;
}

@media (min-width: 641px) {
  .cookie-banner {
    left: auto;
    right: 24px;
    bottom: 24px;
    margin: 0;
  }
}

/* Solange der Cookie-Banner sichtbar ist, den mobilen FAB nach oben verschieben,
   damit sich beide Elemente nicht überlappen */
body.cookie-consent-pending .fab-toggle {
  bottom: calc(24px + 84px);
  transition: bottom 0.3s ease, background 0.2s, transform 0.2s;
}

body.cookie-consent-pending .fab-menu {
  bottom: calc(90px + 84px);
}

@media (max-width: 1000px) {
  .desktop-nav {
    display: none !important;
  }

  .burger-btn {
    display: grid;
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .split-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-arrow {
    display: none !important;
  }

  .map-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

/* ============================================
   RESPONSIVE - MOBILE (640px) + Mobile First
   ============================================ */
@media (max-width: 640px) {
  /* Gemeinsame Höhe für fixed Header & main-Abstand, damit keine Lücke entsteht */
  :root {
    --mobile-header-height: 89px; /* 88px Inhalt (.header-inner) + 1px Rahmen (border-bottom) */
  }

  /* Scrollbar rechts ausblenden — Scrollen bleibt per Touch/Tastatur voll funktionsfähig */
  html,
  body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Legacy Edge/IE */
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, neueres Edge */
    width: 0;
    height: 0;
  }

  .topbar {
    display: none;
  }

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

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    grid-template-columns: 1fr auto !important;
    min-height: 88px;
    padding: 0 14px;
  }

  .logo {
    height: 76px;
  }

  .burger-btn {
    display: grid !important;
  }

  .desktop-nav {
    display: none !important;
  }

  header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    padding-top: env(safe-area-inset-top, 0px);
  }

  main {
    /* Bewusst etwas WENIGER Abstand als die tatsächliche Header-Höhe:
       Der fixe Header (höherer z-index) überdeckt so die obersten
       ~6px des Hero-Hintergrunds. Dadurch verschwindet ein möglicher
       heller Streifen durch Rundungs-/Subpixel-Differenzen zuverlässig,
       da Header und Hero sich absichtlich leicht überlappen statt
       exakt aneinanderzustoßen. */
    padding-top: calc(var(--mobile-header-height) - 6px + env(safe-area-inset-top, 0px));
  }

  .fab-wrapper {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 12px;
  }

  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-controls {
    width: 100%;
    justify-content: flex-end;
  }

  .testimonial-card {
    min-width: 280px;
    max-width: 100%;
  }

  .split-image {
    min-height: 300px;
  }

  .image-full {
    min-height: 300px;
  }

  .contact-info {
    gap: 12px;
  }

  .contact-box {
    padding: 12px 14px;
  }

  .map-iframe {
    min-height: 320px;
  }

  .form-wrapper {
    padding: 24px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-area-box {
    display: none;
  }
}

