/* ==========================================================================
   Caretaker FM — Exakte Nachbildung des HomeMaster-Designsystems
   - Satoshi / Plus Jakarta Sans (Display) + Inter (Body)
   - Container 1224px · Section padding 109px · Hero padding 150px top
   - Primary #113D3C · Accent #F3752B · BG #F2F2F2
   - Button radius 12px · Card radius 16px · Icon-Box 8px
   - Signature-Card-Shadow: 0 28px 44px rgba(0,0,0,0.05)
   ========================================================================== */

/* ==================== SELF-HOSTED FONTS ==================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  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;
}

/* Google Fonts – Inter (Body-Font wie HomeMaster) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==================== CSS VARIABLES – EXAKTE HOMEMASTER-WERTE ==================== */
:root {
  /* Brand colors */
  --primary:        #113D3C;
  --primary-dark:   #0A2B2A;
  --primary-900:    #061818;
  --primary-light:  #1B5554;
  --accent:         #F3752B;
  --accent-hover:   #DD6019;
  --accent-dark:    #B54E14;

  /* Text & neutrals */
  --dark:           #0D0D0D;
  --gray:           #525254;
  --gray-muted:     #7A7A7C;
  --border:         #E4E4E4;
  --border-soft:    #EEEEEE;
  --white:          #FFFFFF;
  --bg-muted:       #F7F7F7;
  --bg-section:     rgba(242, 242, 242, 0.7);
  --on-dark-card:   rgba(52, 78, 65, 0.2);

  /* Layout */
  --container-max: 1224px;
  --section-pad:   109px;
  --hero-pad-top:  150px;
  --side-pad:      30px;

  /* Radii */
  --r-button:  12px;
  --r-button-sm: 10px;
  --r-card:    16px;
  --r-icon:    8px;
  --r-pill:    999px;

  /* Shadows */
  --shadow-card:   0 28px 44px 0 rgba(0, 0, 0, 0.05);
  --shadow-nav:    0 2px 6px rgba(13, 13, 13, 0.06), 0 10px 26px rgba(13, 13, 13, 0.02);
  --shadow-elev:   0 10px 26px rgba(13, 13, 13, 0.1);
  --shadow-orange: 0 8px 22px rgba(243, 117, 43, 0.22);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 27.2px;          /* = 1.7 – exakt HomeMaster */
  font-weight: 400;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01';
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: var(--transition); }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ==================== LAYOUT ==================== */
.container {
  max-width: calc(var(--container-max) + var(--side-pad) * 2);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.container-wide {
  width: 100%;
  padding: 0 var(--side-pad);
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-light { background: var(--bg-section); }
.section-dark  { background: var(--primary); color: var(--white); }

.section-dark-header,
.services-dark-header {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-dark-header h2,
.services-dark-header h2,
.section-dark h2 { color: var(--white); }

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* ==================== TYPOGRAPHY – EXAKTE HOMEMASTER-SKALA ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Satoshi', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

h1 {
  font-size: 60px;
  line-height: 75px;
  letter-spacing: -2.5px;
}

h2 {
  font-size: 48px;
  line-height: 62.4px;
  letter-spacing: -1.5px;
}

h3 {
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: -0.5px;
  font-weight: 700;
}

h4 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.3px;
  font-weight: 700;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--white); }

p {
  font-size: 16px;
  line-height: 27.2px;
  color: var(--gray);
}

.lead {
  font-size: 18px;
  line-height: 30.6px;
  color: var(--gray);
}

.section-dark p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.subtitle {
  font-size: 16px;
  line-height: 27.2px;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .subtitle,
.services-dark-header .subtitle { color: rgba(255, 255, 255, 0.78); }

/* Eyebrow label – Badge-Stil wie Framer-Template */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: 0.1px;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 14px 6px 12px;
  background: rgba(243, 117, 43, 0.12);
  border-radius: var(--r-pill);
  text-transform: none;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.section-dark .eyebrow,
.hero .eyebrow,
.cta-banner .eyebrow {
  background: rgba(243, 117, 43, 0.18);
}

/* ==================== BUTTONS – EXAKTE HOMEMASTER-SPECS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  min-height: 54px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: normal;
  border-radius: var(--r-button);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 16px;
  min-height: 40px;
  font-size: 14px;
  border-radius: var(--r-button-sm);
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

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

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

.btn-dark:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elev);
}

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: transparent;
  padding: 14px 6px;
}

.btn-ghost:hover { color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

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

.section-dark .btn-ghost,
.hero .btn-ghost,
.cta-banner .btn-ghost { color: var(--white); }

.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.cta-banner .btn-ghost:hover { color: var(--accent); }

.section-dark .btn-outline,
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.section-dark .btn-outline:hover,
.hero .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

/* "Link with arrow" Style – Framer-typisch */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition-fast);
}

.link-arrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.3s ease;
}

.link-arrow:hover { color: var(--accent); }
.link-arrow:hover::after { transform: translateX(4px); }

.section-dark .link-arrow,
.hero .link-arrow { color: var(--white); }
.section-dark .link-arrow::after,
.hero .link-arrow::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-fast);
}

.link-inline::after {
  content: '→';
  color: var(--accent);
  transition: transform 0.3s ease;
  font-size: 1.05em;
}

.link-inline:hover { color: var(--accent); }
.link-inline:hover::after { transform: translateX(4px); }

/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 0;
  font-size: 13px;
  line-height: 18px;
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.top-bar-contact {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.top-bar-contact a,
.top-bar-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.top-bar-contact a:hover { color: var(--accent); }
.top-bar-contact svg { width: 14px; height: 14px; color: var(--accent); }

/* ==================== HEADER / NAVIGATION ==================== */
.header {
  background: var(--primary);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav {
  display: inline-flex;
  gap: 0;
  flex-shrink: 0;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav a:hover,
.nav a.active,
.nav a[aria-current="page"] { color: var(--white); }

.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-badge-wrap { position: relative; }

.nav-badge {
  position: absolute;
  top: -4px;
  right: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.phone-link:hover { color: var(--accent); }
.phone-link svg { color: var(--accent); width: 18px; height: 18px; }

/* Header-Hauptbutton = orange pill */
.header .btn,
.header .btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  padding: 12px 22px;
  min-height: 46px;
  font-size: 15px;
  border-radius: var(--r-button);
}

.header .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  background: var(--primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 24px;
}

.mobile-nav.active { display: block; }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

.mobile-nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--accent); }

/* ==================== HERO – EXAKTES HOMEMASTER-LAYOUT ==================== */
.hero {
  background: var(--primary);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

/* Subtiles Dot-Pattern, wie in HomeMaster-Hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

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

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content .eyebrow { margin-bottom: 18px; }

.hero-text h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: 60px;
  line-height: 70px;
  letter-spacing: -2.2px;
}

.hero-text h1 .text-accent { color: var(--accent); }

.hero-text p,
.hero-text .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 28.9px;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero-Visual – Illustration rechts mit Foto + floating Badges */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(243, 117, 43, 0.25), rgba(17, 61, 60, 0.6));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
  margin-left: auto;
}

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

/* Sparkle-Sterne decorative */
.hero-sparkle {
  position: absolute;
  color: var(--accent);
  z-index: 2;
  pointer-events: none;
}
.hero-sparkle svg { display: block; }

.hero-sparkle--tl { top: 8%; left: 6%; width: 52px; height: 52px; }
.hero-sparkle--br { bottom: 14%; right: -12px; width: 36px; height: 36px; opacity: 0.9; }
.hero-sparkle--sm { top: 20%; right: -8%; width: 28px; height: 28px; opacity: 0.7; }

/* Floating Badges auf Hero-Photo */
.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--dark);
  z-index: 3;
  letter-spacing: -0.1px;
}

.hero-badge svg { color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }

.hero-badge strong {
  font-weight: 700;
  color: var(--dark);
}

.hero-badge--stars { top: 32px; left: -16px; }
.hero-badge--check { bottom: 44px; right: 16px; }

.hero-badge-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--accent);
}

/* Stats in Hero-Footer */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-family: 'Plus Jakarta Sans', 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -1.1px;
  color: var(--white);
  margin-bottom: 4px;
}

.hero .stat-number,
.section-dark .stat-number { color: var(--white); }

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}

.trust-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--dark);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==================== GRIDS ==================== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ==================== FEATURE CARD – wie HomeMaster's 3-Card-Row ==================== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -80px;        /* „Float“ über darunter liegender Sektion */
  position: relative;
  z-index: 2;
}

.feature-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 56px rgba(0, 0, 0, 0.08);
}

.feature-icon,
.icon-box {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--r-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
}

.feature-icon svg,
.icon-box svg { width: 20px; height: 20px; }

.feature-card h3 {
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

/* ==================== CARD (generisch, für Compat) ==================== */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 56px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--r-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
}
.card-icon svg { width: 20px; height: 20px; color: var(--white); }

.card h3 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--dark);
}

.card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
  flex: 1;
}

.card .link-inline { margin-top: 18px; }

/* Bento-Variant – erste Karte breit + Highlight */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento .card:first-child {
  grid-column: span 2;
  background: var(--primary);
}
.bento .card:first-child h3,
.bento .card:first-child p { color: var(--white); }
.bento .card:first-child p { color: rgba(255, 255, 255, 0.82); }
.bento .card:first-child .link-inline { color: var(--white); }
.bento .card:first-child .link-inline::after { color: var(--accent); }

.bento .card:last-child {
  grid-column: span 2;
  background: var(--accent);
}
.bento .card:last-child h3,
.bento .card:last-child p { color: var(--white); }
.bento .card:last-child p { color: rgba(255, 255, 255, 0.95); }
.bento .card:last-child .card-icon { background: rgba(255, 255, 255, 0.25); }
.bento .card:last-child .link-inline { color: var(--white); }
.bento .card:last-child .link-inline::after { color: var(--white); }

/* ==================== ABOUT / TEXT-IMAGE SPLIT ==================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-images {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 20px;
  align-items: start;
}

.split-images img {
  border-radius: var(--r-card);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split-images .img-tall {
  aspect-ratio: 4 / 4.6;
  grid-row: span 2;
}

.split-images .img-square {
  aspect-ratio: 1;
}

.split-content .eyebrow { margin-bottom: 16px; }
.split-content h2 { margin-bottom: 20px; }
.split-content > p {
  margin-bottom: 24px;
  max-width: 520px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 24px 0 32px;
}

.check-list li,
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  line-height: 22px;
}

.section-dark .check-list li,
.section-dark .check-item { color: var(--white); }

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.check-icon svg { width: 12px; height: 12px; }

/* ==================== LOGO BAR ==================== */
.logo-bar {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.logo-bar-text {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
}

.logo-bar-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.logo-bar-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #8A8A8A;
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s, transform 0.3s;
}

.logo-bar-item:hover { color: var(--primary); transform: translateY(-1px); }

.logo-bar-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* ==================== COMMITMENT / DARK-SPLIT ==================== */
.section-dark .split-content > p { color: rgba(255, 255, 255, 0.82); }

/* ==================== SERVICES BENTO WITH IMAGES ==================== */
.service-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 1 / 1;
  isolation: isolate;
  transition: var(--transition);
  background: var(--primary);
}

.service-tile:hover { transform: translateY(-4px); }

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-tile:hover img { transform: scale(1.06); }

.service-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(7, 20, 20, 0.96) 0%,
    rgba(10, 25, 25, 0.78) 28%,
    rgba(13, 13, 13, 0.35) 55%,
    rgba(13, 13, 13, 0.1) 75%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.service-tile-body {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  color: var(--white);
}

.service-tile-body h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.service-tile-body p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 22px;
  max-width: 320px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230D0D0D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.service-tile:hover::before { opacity: 1; }

/* ==================== STATS / TRACK RECORD ==================== */
.stats-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

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

.stats-split-grid .stat {
  display: flex;
  flex-direction: column;
}

.stats-split-grid .stat-number {
  color: var(--dark);
  font-size: 48px;
  line-height: 62.4px;
  letter-spacing: -1.5px;
}

.stats-split-grid .stat-label {
  color: var(--gray);
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: normal;
  text-transform: none;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: var(--primary);
  color: var(--white);
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.testimonials-section h2 { color: var(--white); }

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

/* HomeMaster-Spec: 392×332, weiß, 16px radius, padding 32px 24px, KEIN Shadow */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: none;
}

.testimonial-quote-mark {
  color: var(--accent);
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.testimonial-text {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--dark);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.3px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 20px;
}

.testimonial-role,
.testimonial-date {
  font-size: 14px;
  line-height: 22.4px;
  color: var(--gray);
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

/* Carousel-Dots unter Testimonials */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* Auto-scroll Track-Variante (für bestehende HTML-Klassen) */
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll 40s linear infinite;
  margin-top: 48px;
}

.testimonials-track:hover { animation-play-state: paused; }

.testimonials-track .testimonial-card {
  min-width: 392px;
  max-width: 392px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== BLOG CARDS ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 56px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-muted);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--dark);
  flex: 1;
}

.blog-card-body p {
  font-size: 14px;
  line-height: 22.4px;
  color: var(--gray);
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--gray);
}

.blog-meta .link-inline { font-size: 14px; }

/* ==================== CTA BANNER – ORANGE ==================== */
.cta-banner {
  background: var(--accent);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.7;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -50%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1.5px;
  max-width: 620px;
  text-wrap: balance;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 30.6px;
  max-width: 560px;
}

/* Dark CTA auf Orange-BG (wie HomeMaster's "Let's Dive In") */
.cta-banner .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.cta-banner .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-elev);
}

/* Compat – cta-phone (Legacy) */
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--primary);
  padding: 16px 28px;
  border-radius: var(--r-button);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
  letter-spacing: -0.02em;
}

.cta-phone:hover { background: var(--primary-dark); transform: translateY(-2px); }
.cta-phone svg { color: var(--accent); }

/* ==================== PROCESS (legacy) ==================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-card);
  padding: 32px;
  transition: var(--transition);
}

.process-step-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.process-step-card h3 {
  color: var(--white);
  font-size: 24px;
  line-height: 31.2px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(243, 117, 43, 0.14);
  border-radius: var(--r-pill);
}

.step-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.step-checklist,
.process-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.step-checklist li,
.process-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.process-checklist li { color: var(--gray); }

.process-step-card .step-checklist svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==================== FAQ ==================== */
.faq-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.faq-heading h2 { margin-bottom: 16px; }
.faq-heading p { color: var(--gray); }

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover { border-color: var(--border); }

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.3px;
  text-align: left;
  color: var(--dark);
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--bg-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 24px;
  color: var(--gray);
}

.faq-item.active .faq-answer { max-height: 400px; }

.faq-split-heading { position: sticky; top: 120px; }
.faq-split-heading h2 { margin-bottom: 16px; }
.faq-split-heading p { color: var(--gray); font-size: 16px; line-height: 27.2px; }
.faq-split-items .faq-item { background: var(--white); }

/* ==================== EINZUGSGEBIET SPLIT ==================== */
.einzugsgebiet-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.einzugsgebiet-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.einzugsgebiet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.einzugsgebiet-tags .btn {
  padding: 8px 14px;
  min-height: 0;
  font-size: 14px;
  border-radius: var(--r-button-sm);
}

.team-photo-card {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.team-photo-grid { display: grid; grid-template-columns: 1fr 1fr; }
.team-photo-grid img { width: 100%; height: 300px; object-fit: cover; object-position: top; }

.team-photo-caption {
  padding: 18px 20px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.team-photo-caption strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.team-photo-caption span { font-size: 14px; color: var(--gray); }

/* ==================== PAGE HERO (Subpages) ==================== */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 56px;
  line-height: 68px;
  letter-spacing: -2px;
  max-width: 900px;
}

.page-hero p,
.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 30.6px;
  max-width: 740px;
}

.page-hero .hero-buttons { margin-top: 32px; }

.breadcrumbs {
  font-size: 14px;
  line-height: 22.4px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; }

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.breadcrumbs a:hover { color: var(--accent); }

/* ==================== FORMS ==================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

input, textarea, select {
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 22px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-button-sm);
  transition: var(--transition-fast);
  width: 100%;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(243, 117, 43, 0.12);
}

/* ==================== BEFORE/AFTER ==================== */
.before-after-section { background: var(--bg-section); }

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-elev);
  max-width: 1040px;
  margin: 24px auto 0;
  --pos: 50%;
  width: 100%;
}

.before-after .after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.before-after > img { display: block; width: 100%; height: auto; }
.before-after .after img { width: 100%; height: 100%; object-fit: cover; }

.before-after input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.before-after .handle {
  position: absolute;
  top: 0;
  left: var(--pos);
  height: 100%;
  width: 3px;
  background: var(--white);
}

.before-after .handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.before-after .handle::after {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.before-after-labels {
  display: flex;
  justify-content: space-between;
  max-width: 1040px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--white);
  color: var(--gray);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand { max-width: 340px; }
.footer-brand p {
  color: var(--gray);
  margin: 20px 0;
  font-size: 15px;
  line-height: 24px;
}

.footer .logo img { filter: none; height: 40px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  text-transform: none;
}

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

.footer-links a {
  color: var(--gray);
  font-size: 15px;
  line-height: 22px;
  transition: var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray);
  font-size: 15px;
  line-height: 22px;
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.footer-contact-item a { color: var(--dark); font-weight: 500; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: var(--gray);
}

.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--gray); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ==================== CONSENT BANNER ==================== */
#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 18px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.consent-content {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.consent-text { flex: 1; min-width: 280px; }
.consent-text strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.consent-text p { font-size: 14px; margin: 0; color: rgba(255, 255, 255, 0.82); line-height: 20px; }
.consent-text a { color: var(--accent); text-decoration: underline; }

.consent-buttons { display: flex; gap: 12px; flex-shrink: 0; }

.consent-btn {
  padding: 10px 20px;
  border-radius: var(--r-button);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.consent-btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

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

/* ==================== STICKY MOBILE CTA ==================== */
#sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 9998;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.15);
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.sticky-cta-phone { background: var(--primary); }
.sticky-cta-phone:hover { background: var(--primary-dark); }

.sticky-cta-whatsapp { background: #25D366; }
.sticky-cta-whatsapp:hover { background: #128C7E; }

/* Floating WhatsApp */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  z-index: 9997;
  transition: var(--transition);
}

#whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

#whatsapp-float svg { width: 28px; height: 28px; }

/* ==================== UTILITY ==================== */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; }

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

.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 56px 0;
  border: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  h1 { font-size: 52px; line-height: 62px; letter-spacing: -2px; }
  h2 { font-size: 40px; line-height: 52px; letter-spacing: -1.2px; }
  .feature-row { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .blog-grid, .testimonials-grid, .service-bento { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card:first-child, .bento .card:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --section-pad: 80px; --hero-pad-top: 80px; }
  .hero-split { grid-template-columns: 1fr; gap: 56px; }
  .hero-content { text-align: center; max-width: 620px; margin: 0 auto; }
  .hero-text p, .hero-text .lead { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { min-height: auto; justify-content: center; }
  .hero-photo { margin: 0 auto; max-width: 420px; }
  .hero-badge--stars { left: 0; }
  .hero-badge--check { right: 0; }
  .split-section { grid-template-columns: 1fr; gap: 48px; }
  .stats-split { grid-template-columns: 1fr; gap: 40px; }
  .einzugsgebiet-split { grid-template-columns: 1fr; gap: 40px; }
  .faq-split { grid-template-columns: 1fr; gap: 32px; }
  .faq-heading, .faq-split-heading { position: static; }
  .feature-row { margin-top: -60px; }
  .cta-content { flex-direction: column; align-items: flex-start; text-align: left; }
  .check-list { grid-template-columns: 1fr; }
  .stats-split-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .top-bar { display: none; }
  .feature-row { grid-template-columns: 1fr; margin-top: -40px; gap: 16px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; --hero-pad-top: 56px; --side-pad: 20px; }
  h1 { font-size: 36px; line-height: 44px; letter-spacing: -1.2px; }
  .hero-text h1 { font-size: 38px; line-height: 46px; letter-spacing: -1.4px; }
  h2 { font-size: 32px; line-height: 40px; letter-spacing: -1px; }
  h3 { font-size: 20px; line-height: 26px; }
  .page-hero h1 { font-size: 34px; line-height: 42px; letter-spacing: -1px; }
  .cta-text h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.8px; }
  .grid-2, .grid-3, .grid-4, .blog-grid, .testimonials-grid, .service-bento { grid-template-columns: 1fr; }
  .bento, .bento .card:first-child, .bento .card:last-child { grid-template-columns: 1fr; grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-split-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { gap: 28px; padding-top: 28px; flex-wrap: wrap; }
  .stat-number { font-size: 32px; }
  .cta-banner { padding: 64px 0; }
  .hero { padding-bottom: 72px; }
  .feature-card, .card { padding: 24px; }
  .testimonial-card { padding: 28px 22px; }
  .testimonial-text { font-size: 18px; line-height: 28px; }
  body { padding-bottom: 64px; }
  #consent-banner { bottom: 60px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; align-items: stretch; }
  .btn { width: 100%; }
  .header .btn { width: auto; }
  .hero-text h1 { font-size: 36px; line-height: 42px; letter-spacing: -1.2px; }
  .hero-badge { font-size: 13px; padding: 10px 14px; }
  .hero-badge--stars { top: 16px; left: 12px; transform: none; }
  .hero-badge--check { bottom: 16px; right: 12px; left: auto; transform: none; }
  .testimonials-track .testimonial-card { min-width: 280px; max-width: 280px; }
  /* Lange deutsche Komposita brechen sauber innerhalb von Cards (Impressum, Datenschutz, Ratgeber) */
  .card h1, .card h2, .card h3, .card h4 { overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
  .card h2 { font-size: 24px; line-height: 30px; letter-spacing: -0.5px; }
  .card h3 { font-size: 18px; line-height: 26px; }
  .card h4 { font-size: 16px; line-height: 22px; }
  .card { padding: 22px 18px; }
  .card a { overflow-wrap: anywhere; }
  .page-hero h1 { font-size: 30px; line-height: 38px; letter-spacing: -0.6px; overflow-wrap: break-word; hyphens: auto; }
}

/* ==================== SCROLL REVEAL ==================== */
@supports (animation-timeline: view()) {
  @keyframes reveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .feature-card,
  .card,
  .testimonial-card,
  .blog-card,
  .service-tile,
  .faq-item,
  .before-after {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
}

@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;
  }
}
