/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --primary:      #0B1D3A;
  --primary-mid:  #0F2B5B;
  --blue:         #1557DB;
  --blue-hover:   #1048B8;
  --blue-light:   #E8F0FE;
  --white:        #FFFFFF;
  --off-white:    #F5F8FE;
  --bg-light:     #EEF3FB;
  --black:        #000000;
  --text-dark:    #0B1423;
  --text-medium:  #3A4A6B;
  --text-light:   #6B7FA3;
  --border:       #D0DBEE;
  --success:      #1A9E5A;
  --shadow:       0 4px 24px rgba(11, 29, 58, 0.10);
  --shadow-hover: 0 12px 40px rgba(11, 29, 58, 0.18);
  --radius:       10px;
  --transition:   all 0.3s ease;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; }
p  { color: var(--text-medium); line-height: 1.78; }

.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(21,87,219,0.15);
}

.section-title { color: var(--primary); margin-bottom: 16px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-medium); max-width: 580px; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,87,219,0.35);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,87,219,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.navbar {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(11,29,58,0.12); }

.navbar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* ─── Navbar Logo (echtes Bild) ─────────────────────────────────────────────── */
.logo-img-wrap {
  background: transparent;
  border-radius: 9px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.navbar-logo:hover .logo-img-wrap { transform: scale(1.04); }

.logo-img {
  height: 150px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Footer Logo (auf dunklem Hintergrund → weißer Hintergrund) */
.footer .logo-img-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 4px 8px;
}

/* Fallback: altes Text-Badge (falls kein Logo geladen) */
.logo-badge {
  background: var(--blue);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.logo-text { color: var(--primary); line-height: 1.25; }
.logo-text strong { display: block; font-size: 1rem; font-weight: 800; }
.logo-text span   { display: block; font-size: 0.75rem; opacity: 0.55; font-weight: 400; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 8px;
}

.navbar-links a {
  color: var(--text-medium);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.navbar-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.navbar-phone {
  color: var(--text-medium);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  font-weight: 600;
}
.navbar-phone:hover { color: var(--primary); }
.navbar-phone i { color: var(--blue); }

.btn-nav {
  background: var(--blue);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
  border: none;
}
.btn-nav:hover { background: var(--blue-hover); transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  background: var(--white);
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(11,29,58,0.1);
}
.mobile-menu.open { display: block; animation: slideDown 0.25s ease; }
.mobile-menu a {
  display: block;
  color: var(--text-medium);
  font-size: 1rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--primary); padding-left: 4px; }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu-phone {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 14px 0 0;
  display: flex; align-items: center; gap: 8px;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-body { padding-top: 100px; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: var(--white);
  padding: 120px 24px 100px;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Hintergrundbild */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.03);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* Mehrschichtiger Overlay für Lesbarkeit */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(11, 29, 58, 0.88) 0%,
      rgba(11, 29, 58, 0.72) 45%,
      rgba(11, 29, 58, 0.25) 75%,
      rgba(11, 29, 58, 0.05) 100%
    );
  z-index: 1;
}

/* Untere Abdunklungslinie */
.hero-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), transparent);
  z-index: 2;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21,87,219,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: normal;
  color: #60A5FA;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 38px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
}
.hero-trust-item i { color: #60A5FA; font-size: 0.9rem; }

/* ─── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--off-white); }

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; }

/* ─── Sections ──────────────────────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-light { background: var(--bg-light); }
.section-dark  { background: var(--primary); color: var(--white); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ─── Service Cards ─────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(21,87,219,0.25);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 54px; height: 54px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }

.service-card h3 { margin-bottom: 10px; color: var(--primary); }
.service-card p  { font-size: 0.9rem; flex: 1; }

.service-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 7px 13px;
  border-radius: 6px;
  margin-top: 20px;
  align-self: flex-start;
  border: 1px solid var(--border);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 14px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ─── Why Us ────────────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 18px;
  background: var(--white);
  padding: 26px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.why-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.why-content h3 { color: var(--primary); margin-bottom: 6px; font-size: 1rem; }
.why-content p  { font-size: 0.88rem; }

/* ─── Steps ─────────────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 17%; right: 17%;
  height: 2px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  transition: background 0.3s, transform 0.3s;
}
.step-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }

.step-number {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 1;
}
.step-card h3 { color: var(--white); margin-bottom: 10px; }
.step-card p  { color: rgba(255,255,255,0.72); font-size: 0.9rem; }

/* ─── CTA Banner ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 70px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-banner p  { color: rgba(255,255,255,0.8); max-width: 460px; margin: 0 auto 32px; position: relative; }
.cta-banner-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ─── Page Hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  color: var(--white);
  padding: 60px 24px 48px;
  border-bottom: 3px solid var(--black);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.6rem; }

/* ─── Leistungen Page ───────────────────────────────────────────────────────── */
.leistung-detail {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.leistung-detail:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.leistung-icon-col {
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
}

.leistung-body { padding: 28px 32px; }
.leistung-body h3 { color: var(--primary); margin-bottom: 8px; }
.leistung-body .desc   { font-size: 0.95rem; margin-bottom: 10px; }
.leistung-body .detail { font-size: 0.875rem; color: var(--text-light); }

.leistung-price-col {
  padding: 28px 28px;
  text-align: right;
  min-width: 150px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.price-tag  { font-size: 1.4rem; font-weight: 900; color: var(--primary); display: block; margin-bottom: 4px; letter-spacing: -0.5px; }
.price-note { font-size: 0.76rem; color: var(--text-light); }

.leistung-cta {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  border: 2px dashed var(--border);
}
.leistung-cta h3 { color: var(--primary); margin-bottom: 10px; }
.leistung-cta p  { max-width: 500px; margin: 0 auto 24px; }

/* ─── Kontakt Page ──────────────────────────────────────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h2 { color: var(--primary); margin-bottom: 8px; }
.contact-form > p { font-size: 0.875rem; margin-bottom: 28px; }

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

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.required::after { content: ' *'; color: #E53E3E; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.925rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,87,219,0.1);
}
textarea { resize: vertical; min-height: 120px; }

.form-success {
  background: #E6FFF3;
  border: 1px solid #68D391;
  color: #276749;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-success.hidden { display: none; }

.form-error {
  background: #FFF5F5;
  border: 1px solid #FC8181;
  color: #C53030;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  display: none;
}

.contact-info-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: sticky;
  top: 92px;
  border: 2px solid rgba(255,255,255,0.06);
}
.contact-info-box h3 { color: var(--white); margin-bottom: 24px; }

.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 40px; height: 40px; min-width: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.contact-info-item:hover .contact-info-icon { background: rgba(255,255,255,0.18); }

.contact-info-text strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.55; margin-bottom: 4px; }
.contact-info-text span,
.contact-info-text a { font-size: 0.92rem; color: var(--white); font-weight: 500; }

.divider { height: 1px; background: rgba(255,255,255,0.12); margin: 22px 0; }

/* ─── Über Uns ──────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.about-image-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--radius);
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 5rem;
  opacity: 0.9;
  border: 3px solid var(--black);
}

.about-content p { margin-bottom: 16px; }

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

.value-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card i { font-size: 1.9rem; color: var(--blue); margin-bottom: 14px; }
.value-card h4 { color: var(--primary); margin-bottom: 8px; }
.value-card p  { font-size: 0.86rem; }

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--off-white); }
.faq-question i { transition: transform 0.3s, color 0.2s; color: var(--blue); flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 22px 20px; color: var(--text-medium); line-height: 1.78; font-size: 0.925rem; }

/* ─── Cities ────────────────────────────────────────────────────────────────── */
.cities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }

.city-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s;
  box-shadow: var(--shadow);
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--blue); }
.city-card i { font-size: 1.3rem; color: var(--blue); margin-bottom: 8px; }
.city-card strong { display: block; color: var(--primary); font-size: 0.9rem; margin-bottom: 3px; }
.city-card span { font-size: 0.76rem; color: var(--text-light); }

/* ─── Legal ─────────────────────────────────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { color: var(--primary); margin: 36px 0 14px; font-size: 1.25rem; border-bottom: 2px solid var(--black); padding-bottom: 8px; }
.legal-content h3 { color: var(--primary-mid); margin: 22px 0 10px; font-size: 1rem; }
.legal-content p  { margin-bottom: 14px; }
.legal-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.legal-content ul li { color: var(--text-medium); margin-bottom: 6px; font-size: 0.925rem; }
.legal-content a { color: var(--blue); text-decoration: underline; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 56px 24px 0;
  border-top: 3px solid var(--black);
}

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

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin: 16px 0 24px;
  line-height: 1.72;
}

.footer-phone { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.1rem; }
.footer-phone i { color: #60A5FA; }

.footer-section h4 {
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
  opacity: 0.85;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color 0.2s, padding-left 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-item i { color: #60A5FA; margin-top: 2px; font-size: 0.85rem; }
.footer-contact-item span { color: rgba(255,255,255,0.65); font-size: 0.875rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.42); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.85); }

/* ─── Scroll-to-top ─────────────────────────────────────────────────────────── */
#scrollTop {
  display: none !important;   /* deaktiviert – WhatsApp-Button nutzt die Ecke unten rechts */
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scrollTop.visible { opacity: 1; }
#scrollTop:hover { background: var(--blue); transform: translateY(-3px); }

/* ─── WhatsApp Floating Button ──────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waPulse 2.6s ease infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.28), 0 0 0 0 rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 16px rgba(0,0,0,0.28), 0 0 0 12px rgba(37,211,102,0); }
}
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.6rem; bottom: 20px; right: 20px; }
}

/* ─── 404 ───────────────────────────────────────────────────────────────────── */
.not-found {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-light);
}
.not-found .big-number {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

/* ─── Spinner ───────────────────────────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════
   ANIMATION SYSTEM
   ══════════════════════════════════════════════════════════════════ */

/* Page-load hero animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-label   { animation: heroFadeIn  0.6s ease 0.1s both; }
.hero h1      { animation: heroFadeUp  0.7s ease 0.2s both; }
.hero-sub     { animation: heroFadeUp  0.7s ease 0.35s both; }
.hero-actions { animation: heroFadeUp  0.7s ease 0.5s both; }
.hero-trust   { animation: heroFadeUp  0.6s ease 0.65s both; }

/* Scroll-triggered animation base states */
[data-animate] {
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-duration: 0.75s;
}

[data-animate="fadeup"]    { opacity: 0; transform: translateY(36px); }
[data-animate="fadein"]    { opacity: 0; }
[data-animate="slideLeft"] { opacity: 0; transform: translateX(-48px); }
[data-animate="slideRight"]{ opacity: 0; transform: translateX(48px); }
[data-animate="scaleIn"]   { opacity: 0; transform: scale(0.9); }
[data-animate="flipUp"]    { opacity: 0; transform: perspective(600px) rotateX(12deg) translateY(24px); }

[data-animate].anim-visible {
  opacity: 1;
  transform: none;
}

/* Delay helpers */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* Navbar underline animation */
.navbar-links a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  margin-top: 2px;
  border-radius: 2px;
}
.navbar-links a:hover::after,
.navbar-links a.active::after { transform: scaleX(1); }

/* Pulse on CTA phone */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,87,219,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(21,87,219,0); }
}
.btn-primary.pulse { animation: pulse 2.5s ease infinite; }

/* Floating badge */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.hero-label { animation: heroFadeIn 0.6s ease 0.1s both, float 4s ease 1s infinite; }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cities-grid    { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: block; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .kontakt-grid   { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .cities-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .leistung-detail { grid-template-columns: 1fr; }
  .leistung-icon-col { width: 100%; height: 60px; font-size: 1.6rem; }
  .leistung-price-col { border-left: none; border-top: 1px solid var(--border); text-align: left; }

  .hero { padding: 64px 24px 52px; }
  .section { padding: 52px 24px; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .values-grid  { grid-template-columns: 1fr; }
  .cities-grid  { grid-template-columns: 1fr 1fr; }
}
