/* =====================================================================
   Wasserschaden Notdienst München — Site Styles
   Aus Mockup übernommen, leicht optimiert
   ===================================================================== */

:root {
  --primary: #0a4d8c;
  --primary-dark: #073a6b;
  --primary-light: #e8f1fb;
  --accent: #dc2626;
  --accent-dark: #b81d1d;
  --text: #1f2937;
  --text-muted: #4b5563;
  --bg-alt: #f5f7fa;
  --border: #e5e7eb;
  --success: #16a34a;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--text); }
h1 { font-size: 2.6rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.6rem; }
img { max-width: 100%; height: auto; }

/* === TOP BAR === */
.top-bar {
  background: var(--accent);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.main-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a { color: var(--text); }
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav a.active { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: #fff; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff !important; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-light { background: rgba(255,255,255,0.95); color: var(--primary) !important; border: 2px solid #fff; }
.btn-light:hover { background: #fff; }

/* === HERO === */
.hero {
  position: relative;
  background-image: linear-gradient(135deg, rgba(7, 58, 107, 0.85), rgba(10, 77, 140, 0.75)), url('/assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0 80px;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-inner { max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 { color: #fff; margin-bottom: 20px; font-size: 3rem; }
.hero p.lead {
  font-size: 1.25rem;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 620px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn { box-shadow: var(--shadow-md); }

/* Hero (kleiner) für Sub-Pages */
.hero.hero-sm { padding: 56px 0 48px; min-height: 280px; }
.hero.hero-sm h1 { font-size: 2.2rem; margin-bottom: 12px; }
.hero.hero-sm p.lead { font-size: 1.05rem; margin-bottom: 0; }

/* === PROCESS STRIP === */
.process-strip {
  background: #fff;
  padding: 48px 0;
  position: relative;
  margin-top: -40px;
  z-index: 2;
}
.process-strip-inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -28px;
  width: 32px;
  height: 2px;
  background: var(--primary-light);
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* === SECTIONS === */
section { padding: 80px 0; }
section.bg-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-eyebrow {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Generischer Content (für Sub-Pages, Impressum, Datenschutz, ...) */
.content-section { padding: 64px 0; }
.content-section .container { max-width: 800px; }
.content-section h2 { margin-top: 2rem; }
.content-section h3 { margin-top: 1.5rem; }
.content-section p { margin-bottom: 1rem; color: var(--text); }
.content-section ul, .content-section ol { margin: 0 0 1rem 1.5rem; }
.content-section li { margin-bottom: 0.5rem; }

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.service-card-body { padding: 28px; }
.service-card h3 { color: var(--primary); }
.service-card p { color: var(--text-muted); margin-bottom: 18px; font-size: 15px; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}
.service-card-link::after { content: "→"; transition: transform 0.2s; }
.service-card:hover .service-card-link::after { transform: translateX(4px); }

/* === NOTDIENST BANNER === */
.notdienst-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.notdienst-banner::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.07"><circle cx="40" cy="40" r="3" fill="white"/><circle cx="120" cy="80" r="4" fill="white"/><circle cx="80" cy="150" r="3" fill="white"/><circle cx="170" cy="160" r="5" fill="white"/><circle cx="150" cy="30" r="2" fill="white"/><circle cx="30" cy="180" r="4" fill="white"/></svg>');
  background-size: 200px;
}
.notdienst-banner-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.notdienst-banner h2 { color: #fff; font-size: 2.2rem; }
.notdienst-banner p { font-size: 1.1rem; opacity: 0.95; margin-top: 12px; }
.notdienst-phone {
  background: #fff;
  color: var(--primary);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.notdienst-phone-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.notdienst-phone-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 8px 0;
  text-decoration: none !important;
}
.notdienst-phone-hours { font-size: 14px; color: var(--text-muted); }

/* === SOFORTHILFE === */
.soforthilfe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.soforthilfe-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.soforthilfe-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.soforthilfe-item h4 { font-size: 16px; margin-bottom: 4px; }
.soforthilfe-item p { font-size: 14px; color: var(--text-muted); }

/* === TRUST LIST === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.trust-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.trust-item span { font-weight: 500; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
}
.faq-item .faq-answer p { margin-bottom: 0.6rem; }

/* === BREADCRUMBS === */
.breadcrumbs {
  background: var(--bg-alt);
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--text); font-weight: 600; }

/* === FOOTER === */
.footer {
  background: #0d1421;
  color: #cbd5e1;
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer a { color: #cbd5e1; display: block; padding: 4px 0; }
.footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #1f2a44;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

/* === MOBILE === */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 56px 0 60px; min-height: 380px; }
  .hero p.lead { font-size: 1.05rem; }
  section { padding: 56px 0; }
  .main-nav { display: none; }
  .process-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 28px; }
  .process-step:not(:last-child)::after { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .notdienst-banner-inner { grid-template-columns: 1fr; }
  .soforthilfe-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
