/* ============================================
   MI UMZÜGE – korrigierte & optimierte Version
   kompatibel für Desktop & Mobile
   ============================================ */

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

:root {
  --navy: #163b70;
  --navy-dk: #0f1a2e;
  --orange: #f26a21;
  --orange2: #ff7c38;
  --gold: #f5a623;
  --cream: #f7f2ec;
  --white: #ffffff;
  --gray: #f4f6f9;
  --text: #0f1a2e;
  --muted: #5a6478;
  --border: rgba(15, 26, 46, 0.10);

  --ff-head: 'Montserrat', sans-serif;
  --ff-body: 'DM Sans', sans-serif;

  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 28px;

  --sh-sm: 0 8px 22px rgba(15,26,46,0.06);
  --sh-md: 0 12px 40px rgba(15,26,46,0.11);
  --sh-lg: 0 24px 60px rgba(15,26,46,0.14);

  --dur: 0.28s;
  --container: 1120px;
}

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

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; }
em { font-style: normal; color: var(--orange); }

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

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(247,242,236,0.94);
  backdrop-filter: blur(18px);
  transition: var(--dur);
}

.nav.scrolled { box-shadow: 0 2px 24px rgba(15,26,46,0.08); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: var(--dur);
}

.nav-links a:hover { color: var(--orange); }

/* FIX #7: .nav-cta:first-of-type war unzuverlässig.
   Explizite Klassen .nav-call-btn und .wa-btn statt Positions-Selektor */
.nav-cta {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--dur);
  border: 1px solid transparent;
}

.nav-call-btn {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(22,59,112,0.12);
}

.nav-cta:hover { transform: translateY(-2px); }

/* FIX #8: wa-btn vereinheitlicht – kein !important mehr nötig */
.wa-btn {
  background: #25D366;
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(37,211,102,0.18);
}
.wa-btn:hover {
  background: #1db954;
  color: white;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--dur);
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mob-menu {
  display: none;
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  background: rgba(247,242,236,0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  padding: 20px 24px;
  z-index: 299;
  flex-direction: column;
}

.mob-menu.open { display: flex; }
.mob-menu ul { list-style: none; }
.mob-menu a {
  display: block;
  padding: 16px 0;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

/* ── Hero ── */
/* FIX #5 & #6: Hero läuft jetzt vollbreit ohne Bild-Spalte.
   Neue Modifier-Klassen .hero-fullwidth und .hero-content-centered */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  /* Standard: zweispaltig mit Bild */
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: 56px;
  padding: 130px 24px 90px;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}

/* Vollbreite Hero ohne Bild-Spalte */
.hero.hero-fullwidth {
  grid-template-columns: 1fr;
  max-width: 860px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.13;
  animation: orb-float 32s infinite linear;
}
.o1 { width: 520px; height: 520px; top: -120px; left: -80px; background: radial-gradient(circle, var(--gold), transparent); }
.o2 { width: 380px; height: 380px; bottom: -100px; right: -40px; background: radial-gradient(circle, var(--orange), transparent); animation-delay: -14s; }
.o3 { width: 260px; height: 260px; top: 35%; left: 55%; background: var(--navy); opacity: 0.08; animation-delay: -22s; }

@keyframes orb-float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(60px, 40px); }
  100% { transform: translate(0, 0); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,26,46,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,26,46,0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.35;
}

.hero-content { min-width: 0; }

/* Zentrierter Inhalt für vollbreiten Hero */
.hero-content.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  box-shadow: var(--sh-md);
  padding: 9px 20px 9px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

.pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-content h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-wrap: balance;
}

/* max-width nur im zweispaltigen Layout sinnvoll */
.hero:not(.hero-fullwidth) .hero-content h1 {
  max-width: 9ch;
}

.hero-sub {
  font-size: 1.16rem;
  line-height: 1.65;
  max-width: 620px;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-content-centered .hero-contact-line {
  justify-content: center;
}

.hero-contact-line a {
  font-weight: 800;
  text-decoration: none;
  color: var(--navy);
  font-size: 1.1rem;
}

.hero-contact-line span { color: var(--muted); font-weight: 500; }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  justify-content: center;
}

.btn-primary,
.btn-ghost {
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--dur);
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 16px 30px rgba(242,106,33,0.24);
}
.btn-primary:hover { background: var(--orange2); transform: translateY(-3px); }

.btn-ghost {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover { background: var(--navy); color: white; }

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

.t-item { display: flex; flex-direction: column; font-size: 0.95rem; }
.t-item strong { font-size: 1.1rem; line-height: 1.2; color: var(--navy); }
.t-item span { color: var(--muted); }
.t-sep { width: 1px; height: 42px; background: var(--border); }

/* .hero-photo Klasse bleibt für eventuelle Wiederverwendung erhalten */
.hero-photo {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--sh-sm);
}

/* ── Trust Strip ── */
.trust-strip { padding: 0 0 28px; }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--sh-sm);
  font-weight: 700;
  color: var(--navy);
}

/* ── Sections ── */
.sec { padding: 110px 0; }
.sec-head { text-align: center; margin-bottom: 58px; }
.sec-tag {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.sec-head h2 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
}
.sec-copy {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: var(--dur);
  box-shadow: var(--sh-sm);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 25px 55px rgba(15,26,46,0.15); }
.card-ico { font-size: 2.8rem; margin-bottom: 20px; display: block; }
.card h3 { margin-bottom: 10px; font-family: var(--ff-head); font-size: 1.35rem; }
.card p { color: var(--muted); }
.card-featured {
  background: var(--navy);
  color: white;
  position: relative;
  box-shadow: 0 25px 55px rgba(22,59,112,0.20);
}
.card-featured p { color: rgba(255,255,255,0.88); }
.card-ribbon {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--orange);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232,80,10,0.3);
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-sm);
}
.step-no {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 10px; font-family: var(--ff-head); font-size: 1.2rem; }
.step-card p { color: var(--muted); }

/* ── Galerie ── */
.galerie-sec { background: var(--cream); }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 26px;
}
.gal-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: var(--dur);
}
.gal-card:hover { transform: translateY(-6px); }
.gal-img { position: relative; height: 320px; }
.gal-img img { width: 100%; height: 100%; object-fit: cover; }
.gal-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--sh-sm);
}
.gal-cap { padding: 26px; }
.gal-cap h3 { margin-bottom: 8px; font-family: var(--ff-head); font-size: 1.28rem; }
.gal-cap p { color: var(--muted); }

/* ── FAQ ── */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 20px;
  box-shadow: var(--sh-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-right: 30px; /* Platz für das +/– Zeichen */
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--orange);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 22px; }

/* ── Kontakt ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.contact-card,
.contact-form {
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
}
.contact-card { padding: 34px 28px; }
.contact-card h3 { font-family: var(--ff-head); font-size: 1.5rem; margin-bottom: 10px; }
.contact-card p { color: var(--muted); margin-bottom: 20px; }
.contact-links { display: grid; gap: 12px; margin-bottom: 18px; }
.contact-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  transition: var(--dur);
}
.contact-links a:hover { transform: translateY(-2px); border-color: rgba(22,59,112,0.20); }
.mini-note { color: var(--muted); font-size: 0.98rem; }
.contact-form { padding: 38px 34px; }

.form-input {
  width: 100%;
  padding: 17px 20px;
  border: 2px solid rgba(15,26,46,0.08);
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--dur);
  background: #fff;
  color: var(--text);
}
.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242,106,33,0.12);
}
textarea.form-input { resize: vertical; min-height: 140px; }
.form-btn { width: 100%; border: none; cursor: pointer; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dk);
  color: white;
  padding: 90px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.f-brand p {
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
  max-width: 320px;
}
.f-logo {
  height: 74px;
  width: auto;
  display: block;
}
.f-col h4 { color: var(--gold); margin-bottom: 16px; font-size: 1.05rem; }
.f-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 0;
  transition: var(--dur);
}
.f-col a:hover { color: white; padding-left: 4px; }
.f-bottom {
  text-align: center;
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

/* ── Mobile CTA Bar ── */
.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 350;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mobile-cta a {
  text-decoration: none;
  text-align: center;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: var(--sh-md);
}
.mobile-call { background: var(--navy); color: white; }
.mobile-wa { background: #25D366; color: white; }

/* ── Responsive Breakpoints ── */
@media (max-width: 1080px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-call-btn { display: none; }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 118px;
    gap: 34px;
  }

  /* Vollbreiter Hero zentriert auch auf Mobile */
  .hero.hero-fullwidth {
    max-width: 100%;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 8.5vw, 4rem);
    line-height: 1.1;
  }

  .hero-sub,
  .sec-copy { max-width: 100%; }

  .hero-contact-line,
  .hero-btns,
  .hero-trust { justify-content: center; }

  .hero-photo {
    justify-self: center;
    max-width: 100%;
  }

  .t-sep { display: none; }

  .cards-grid,
  .gallery-strip,
  .steps-grid,
  .trust-strip-inner,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .sec { padding: 82px 0; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 84px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }

  .nav-inner {
    height: 84px;
    padding: 0 18px;
  }

  .mob-menu {
    top: 84px;
    padding: 16px 18px;
  }

  .logo-img { height: 64px; }
  .f-logo { height: 64px; }

  .hero {
    padding: 102px 18px 58px;
    gap: 28px;
  }

  .hero-pill {
    font-size: 0.88rem;
    line-height: 1.45;
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(2.15rem, 9vw, 3.2rem);
    line-height: 1.12;
  }

  .hero-sub { font-size: 1.02rem; }

  .btn-primary,
  .btn-ghost { width: 100%; }

  .hero-contact-line {
    flex-direction: column;
    gap: 8px;
  }

  .contact-form,
  .contact-card,
  .card,
  .step-card,
  .gal-cap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gal-img { height: 250px; }
}
