/* ============================================================
   Hagelschaden Hannover – Styles
   ============================================================ */

:root {
  --navy: #1e3a5f;
  --navy-dark: #16324f;
  --navy-soft: #e9eef5;
  --green: #1f9d55;      /* nur für das WhatsApp-Icon */
  --green-dark: #178a41; /* Erfolgsmeldung Formular */
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 2px 10px rgba(15, 23, 42, 0.05);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ---------- Skip-Link (A11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }

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

.btn-whatsapp {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-whatsapp svg { color: var(--green); }
.btn-whatsapp:hover { border-color: var(--navy); background: var(--bg); }

.btn-lg { padding: 0.95rem 1.8rem; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; }

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
  color: var(--ink);
}
.brand-icon { width: 40px; height: 40px; }
.brand-text { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.brand-text strong { color: var(--navy); font-weight: 800; }

.main-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none !important;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: right 0.2s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.btn-header { font-size: 0.95rem; padding: 0.6rem 1.15rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--navy-soft);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(9, 19, 32, 0.93) 0%, rgba(13, 26, 43, 0.78) 52%, rgba(13, 26, 43, 0.42) 100%),
    url('hero.webp') center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.4rem;
}
.hero-eyebrow svg { width: 1.15em; height: 1.15em; }

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 1.2rem;
  color: #fff;
}
.hero h1 .accent { color: #9fc0e8; }

.hero-sub {
  font-size: 1.13rem;
  color: #c3cedd;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero-sub strong { color: #fff; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-note {
  font-size: 0.92rem;
  color: #9fb0c5;
}

/* Buttons auf dem dunklen Hero-Foto */
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #e2e8f0; }
.hero .btn-whatsapp {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero .btn-whatsapp:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

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

/* Hero-Info-Karte */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 420px;
  margin-left: auto;
}
.hero-card-title {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 1.3rem;
}
.hero-card ol {
  list-style: none;
  display: grid;
  gap: 1.05rem;
}
.hero-card li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.hero-card .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 0.1rem;
}
.hero-card li strong { display: block; font-size: 0.98rem; }
.hero-card li span { color: var(--muted); font-size: 0.9rem; }
.hero-card hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.4rem 0;
}
.hero-card-phone {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
}
.hero-card-phone svg { width: 1.4rem; height: 1.4rem; color: var(--navy); flex: none; }
.hero-card-phone strong { font-size: 1.3rem; color: var(--navy); letter-spacing: -0.01em; }
.hero-card-phone small { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 500; }

/* ---------- Trust-Leiste ---------- */
.trustbar {
  background: var(--surface);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
}
.trust-item svg { width: 30px; height: 30px; flex: none; color: var(--navy); }
.trust-item strong { font-weight: 800; }

/* ---------- Sektionen ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.kicker {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.9rem; }
.section-sub { color: var(--muted); font-size: 1.06rem; }

/* ---------- Leistungen ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: #cbd5e1; }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--navy-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.99rem; }

/* ---------- Ablauf ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem 1.8rem;
}
.step-num {
  position: absolute;
  top: -22px;
  left: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.8rem; }
.step-links a { font-weight: 700; font-size: 0.95rem; }

.steps-cta { text-align: center; margin-top: 3rem; }

/* ---------- Warum wir ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.why-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 1rem; }
.why-copy > p { color: var(--muted); margin-bottom: 1.4rem; }
.why-copy strong { color: var(--ink); }

.check-list { list-style: none; display: grid; gap: 0.75rem; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--navy-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 12.5l3.2 3.2L17 9" stroke="%231e3a5f" stroke-width="2.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/70% no-repeat;
}

.region-note {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.region-note strong { color: var(--ink); }

.phone-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.phone-panel-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.85rem;
  color: #9db2c9;
  margin-bottom: 0.5rem;
}
.phone-panel-number {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  margin-bottom: 0.6rem;
}
.phone-panel-number:hover { color: #ffd9b8; }
.phone-panel-sub { color: #c2cfdd; font-size: 0.96rem; margin-bottom: 1.4rem; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; }
.faq-list { display: grid; gap: 0.9rem; }
.faq-list details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  transition: box-shadow 0.2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-soft); background: var(--surface); }
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin-top: 0.7rem; color: var(--muted); font-size: 0.98rem; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info { display: grid; gap: 1.5rem; }
.contact-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}
.contact-block h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  padding: 0.45rem 0;
  color: var(--navy);
}
.contact-line svg { width: 1.25em; height: 1.25em; flex: none; }
.contact-address { color: var(--muted); margin-bottom: 0.6rem; }

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}
.hours div:last-child { border-bottom: none; }
.hours dt { color: var(--muted); font-weight: 500; }
.hours dd { font-weight: 700; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.25rem; margin-bottom: 1.4rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.93rem;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: #d92d20; }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots ein normales Eingabefeld */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-hint {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.form-hint.success { color: var(--green-dark); font-weight: 600; }
.form-hint.error { color: #d92d20; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1c2e;
  color: #c4d2ec;
  padding: 3.2rem 0 0;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
}
.footer-brand { font-size: 1.2rem; color: #fff; margin-bottom: 0.7rem; }
.footer-brand strong { color: #8fb0d4; }
.footer-title { font-weight: 800; color: #fff; margin-bottom: 0.7rem; }
.footer-text { font-size: 0.96rem; line-height: 1.8; }
.footer-text a { color: #c4d2ec; }
.footer-text a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  font-size: 0.88rem;
  color: #8fa3c8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}
.footer-credit { font-size: 0.8rem; }
.footer-credit a { color: #8fa3c8; }
.footer-credit a:hover { color: #fff; }

/* ---------- Mobile Call-Bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  gap: 0.7rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-callbar .btn { flex: 1; justify-content: center; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
/* Ohne JS bleibt alles sichtbar */
.no-observer .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 1.25rem 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .btn-header span { display: none; }
  .btn-header { padding: 0.65rem; border-radius: 50%; }
  .btn-header svg { width: 1.35em; height: 1.35em; }
}

@media (max-width: 700px) {
  .section { padding: 3.5rem 0; }
  .hero {
    padding: 3rem 0 3rem;
    background-image:
      linear-gradient(160deg, rgba(9, 19, 32, 0.93) 0%, rgba(13, 26, 43, 0.82) 60%, rgba(13, 26, 43, 0.6) 100%),
      url('hero-mobile.webp');
  }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 76px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 1.6rem; }
}
