/* ==========================================================================
   Hausverwaltung Kasel – Stylesheet
   ========================================================================== */

:root {
  /* Blautöne abgeleitet vom Kasel-Logo (#33508f / #3d5ca3) */
  --navy-950: #111d38;
  --navy-900: #1a2b55;
  --navy-800: #24397a;
  --navy-700: #33508f;
  --navy-600: #3d5ca3;
  --navy-100: #e7ecf8;
  /* Akzentfarbe: Kupfer/Terrakotta (Variablennamen historisch "gold") */
  --gold-500: #c2703d;
  --gold-400: #d68a58;
  --gold-600: #a55a2c;
  --ink: #1c2634;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --paper-soft: #f5f7fc;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 31, 54, 0.08);
  --shadow-md: 0 8px 30px rgba(16, 31, 54, 0.10);
  --shadow-lg: 0 20px 50px rgba(16, 31, 54, 0.18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-700); }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

.site-footer .footer-brand > h3 {
  color: #fff;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  border-radius: 11px;
  color: var(--gold-500);
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover { background: var(--paper-soft); color: var(--navy-800); }

.main-nav a[aria-current="page"],
.main-nav li.active > a {
  color: var(--navy-800);
  background: var(--navy-100);
}

.main-nav .nav-cta a {
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
}
.main-nav .nav-cta a:hover { background: var(--navy-700); }

/* Dropdown */
.has-sub { position: relative; }

.has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  opacity: 0.55;
}

.main-nav ul.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 8px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  /* Verzögerung beim Schließen, damit das Menü nicht sofort verschwindet */
  transition: opacity 0.18s ease 0.28s, transform 0.18s ease 0.28s, visibility 0s linear 0.5s;
}

/* Unsichtbare Brücke zwischen Menüpunkt und Dropdown, damit der Hover nicht abreißt */
.main-nav .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.main-nav .has-sub:hover ul.sub-menu,
.main-nav .has-sub:focus-within ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.sub-menu a { padding: 10px 14px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201, 164, 92, 0.16), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 65%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 96px 0 104px;
  max-width: 780px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 22px;
}

.hero .eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.hero p.lead {
  margin: 0 0 34px;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
}

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

/* Page hero (subpages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(201, 164, 92, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
}

.page-hero-inner { padding: 64px 0 68px; max-width: 780px; }

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.page-hero p { margin: 0; color: rgba(255,255,255,0.82); font-size: 1.08rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold-500);
  color: #fff;
  box-shadow: 0 6px 20px rgba(194, 112, 61, 0.35);
}
.btn-gold:hover { background: var(--gold-400); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); }

.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-outline:hover { background: var(--navy-100); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 88px 0; }
.section-alt { background: var(--paper-soft); }
.section-navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; }

.section-head { max-width: 640px; margin-bottom: 48px; }

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.section-head .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.section-navy .section-head h2 { color: #fff; }

.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.section-navy .section-head p { color: rgba(255,255,255,0.78); }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

a.card { text-decoration: none; color: inherit; display: block; }

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #d5ddea; }

.card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--navy-100);
  color: var(--navy-800);
  margin-bottom: 20px;
}

.card h3 { margin: 0 0 10px; font-size: 1.18rem; color: var(--navy-900); }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-600);
}

/* Check lists */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--navy-100);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2.5px solid var(--navy-800);
  border-bottom: 2.5px solid var(--navy-800);
  transform: rotate(-45deg);
}

/* Feature strip (USP row) */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.usp {
  text-align: left;
}

.usp .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(214, 138, 88, 0.16);
  color: var(--gold-400);
  margin-bottom: 16px;
}

.usp h3 { margin: 0 0 8px; font-size: 1.05rem; color: #fff; }
.usp p { margin: 0; font-size: 0.94rem; color: rgba(255,255,255,0.72); }

/* Steps (Verwalterübergabe) */
.steps { counter-reset: step; display: grid; gap: 22px; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  counter-increment: step;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 1.25rem;
}

.step-num::before { content: counter(step); }

.step h3 { margin: 2px 0 8px; font-size: 1.15rem; color: var(--navy-900); }
.step p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq-list { display: grid; gap: 14px; max-width: 820px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
  font-size: 1.05rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-item .faq-body p { margin: 0; }

/* Contact info blocks */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }

.info-list li { display: flex; gap: 16px; align-items: flex-start; }

.info-list .icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--navy-100);
  color: var(--navy-800);
}

.info-list strong { display: block; color: var(--navy-900); font-size: 0.95rem; }
.info-list span, .info-list a { color: var(--ink-soft); font-size: 0.98rem; text-decoration: none; }
.info-list a:hover { color: var(--navy-800); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label { font-weight: 600; font-size: 0.93rem; color: var(--navy-900); }
.field label .req { color: var(--gold-600); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-soft);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 58, 99, 0.12);
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy-800);
  flex: none;
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }

.alert-success {
  background: #ecf7ef;
  border: 1px solid #b7e0c2;
  color: #1d5c2f;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 26px;
  font-weight: 500;
}

.alert-error {
  background: #fdf0ef;
  border: 1px solid #f0c4c0;
  color: #8a2620;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 26px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(800px 300px at 15% 120%, rgba(201, 164, 92, 0.2), transparent 60%),
    linear-gradient(150deg, var(--navy-950), var(--navy-800));
  border-radius: 20px;
  color: #fff;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.01em; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.78); max-width: 480px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Prose (legal pages)
   -------------------------------------------------------------------------- */

.prose { max-width: 780px; }
.prose h2 { margin: 44px 0 14px; font-size: 1.4rem; color: var(--navy-900); }
.prose h3 { margin: 30px 0 10px; font-size: 1.12rem; color: var(--navy-900); }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.footer-main h3 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer-main a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.97rem; }
.footer-main a:hover { color: var(--gold-400); }

.footer-brand .brand-mark { background: rgba(255,255,255,0.08); }

.footer-brand p { font-size: 0.95rem; margin: 18px 0 0; max-width: 300px; color: rgba(255,255,255,0.65); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: none; margin-left: 22px; }
.footer-bottom a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .grid-3, .grid-4, .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 22px; }

  .main-nav a { padding: 13px 14px; font-size: 1.05rem; }

  .has-sub > a::after { display: none; }

  .main-nav ul.sub-menu {
    position: static;
    display: flex;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .main-nav .has-sub::after { display: none; }

  .main-nav .nav-cta a { margin: 12px 0 0; text-align: center; }

  .hero-inner { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .usp-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 46px; height: 46px; font-size: 1.05rem; }
  .form-card { padding: 26px 20px; }
}

/* --------------------------------------------------------------------------
   WhatsApp-Kennzeichnung
   -------------------------------------------------------------------------- */

.wa-ic {
  display: inline-flex;
  align-items: center;
  vertical-align: -3px;
  margin-right: 7px;
  color: #25d366;
}

.wa-ic svg { width: 18px; height: 18px; fill: currentColor; }

.wa-ic:hover { color: #1faa53; }

/* --------------------------------------------------------------------------
   Foto-Heros
   -------------------------------------------------------------------------- */

.hero.has-photo,
.page-hero.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero.has-photo::after,
.page-hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
    rgba(17, 29, 56, 0.94) 0%,
    rgba(26, 43, 85, 0.86) 45%,
    rgba(26, 43, 85, 0.45) 100%);
}

.hero.has-photo::before { display: none; }

.hero.has-photo .hero-inner { padding: 130px 0 138px; }

/* --------------------------------------------------------------------------
   Bild + Text nebeneinander
   -------------------------------------------------------------------------- */

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

.photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo.ratio-4x3 { aspect-ratio: 4 / 3; }
.photo.ratio-3x4 { aspect-ratio: 3 / 4; max-height: 560px; }
.photo.ratio-16x9 { aspect-ratio: 16 / 9; }

.photo.tilt { transform: rotate(-1.2deg); }
.photo.tilt img { transform: rotate(1.2deg) scale(1.05); }

.photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(17, 29, 56, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.photo-badge span { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   Zahlen-/Fakten-Leiste
   -------------------------------------------------------------------------- */

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

.stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat .num {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.stat .lbl {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Deutschlandkarte
   -------------------------------------------------------------------------- */

.map-wrap { position: relative; max-width: 420px; margin-inline: auto; }

.map-wrap svg { width: 100%; height: auto; display: block; }

.map-pin-pulse {
  transform-origin: center;
  animation: pinpulse 2.4s ease-out infinite;
}

@keyframes pinpulse {
  0%   { opacity: 0.65; r: 16; }
  70%  { opacity: 0;    r: 44; }
  100% { opacity: 0;    r: 44; }
}

/* --------------------------------------------------------------------------
   Sanftes Einblenden
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero.has-photo .hero-inner { padding: 84px 0 92px; }
  .brand-logo { height: 46px; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
