/* ============================================
   SOS ROHRREINIGUNG HAMBURG — Styles
   Mobile-first · Emergency-feel · Performance-optimized
   ============================================ */

:root {
  /* Brand Colors */
  --sos-red: #E63946;
  --sos-red-dark: #C1121F;
  --trust-blue: #1D3557;
  --trust-blue-light: #457B9D;
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1DA851;
  --bg-light: #F1FAEE;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --border-light: #E0E0E0;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Type */
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  padding-bottom: 80px; /* Space for sticky CTA bar on mobile */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--trust-blue); text-decoration: none; }

/* ============================================
   HEADER — sticky, immer sichtbar
   ============================================ */
.top-bar {
  background: var(--sos-red);
  color: white;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

.top-bar .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--trust-blue);
  letter-spacing: -0.02em;
}

.logo .red { color: var(--sos-red); }

nav { display: none; }

@media (min-width: 768px) {
  nav { display: flex; gap: 24px; }
  nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
  }
  nav a:hover { color: var(--sos-red); }
}

.header-phone {
  background: var(--sos-red);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   HERO — der erste Eindruck
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--trust-blue) 0%, #2C4A6B 100%);
  color: white;
  padding: var(--space-lg) var(--space-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,57,70,0.2);
  border: 1px solid var(--sos-red);
  color: white;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero h2 {
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.hero h2 strong { color: #FFD166; font-weight: 700; }

/* CTA Buttons im Hero — die wichtigsten Buttons der Seite */
.hero-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto var(--space-md);
}

@media (min-width: 480px) {
  .hero-cta { grid-template-columns: 1fr 1fr; }
}

.btn-call, .btn-whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
}

.btn-call {
  background: var(--sos-red);
  color: white;
  animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(230,57,70,0.4); }
  50% { box-shadow: 0 4px 24px rgba(230,57,70,0.7); }
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
}

.btn-call:hover, .btn-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-icon { font-size: 22px; margin-bottom: 4px; }
.btn-label { font-size: 14px; font-weight: 800; letter-spacing: 0.5px; }
.btn-sub { font-size: 16px; font-weight: 700; margin-top: 2px; }

/* Trust strip unter Hero */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  opacity: 0.9;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.trust-strip span::before {
  content: '✓';
  color: #95D5B2;
  font-weight: 700;
}

/* ============================================
   SECTIONS — Container & Generisches
   ============================================ */
section {
  padding: var(--space-lg) var(--space-sm);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--trust-blue);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TRUST CARDS — Wir kommen sofort
   ============================================ */
.trust-section { background: var(--bg-light); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-card {
  background: white;
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.trust-card .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.trust-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--trust-blue);
  margin-bottom: 4px;
}

.trust-card p {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.4;
}

/* ============================================
   SERVICES — Was wir machen
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--trust-blue);
  margin-bottom: 4px;
}

.service-card .price {
  font-size: 14px;
  color: var(--sos-red);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-card .card-link {
  font-size: 13px;
  color: var(--trust-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   PROCESS — So läuft das ab
   ============================================ */
.process-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  text-align: center;
  padding: 16px;
  position: relative;
}

.process-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sos-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 12px;
}

.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--trust-blue);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ============================================
   PRICING — Transparent
   ============================================ */
.pricing-table {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.pricing-row.header {
  background: var(--trust-blue);
  color: white;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-row:last-child { border-bottom: none; }

.pricing-row .service-name { font-weight: 600; color: var(--trust-blue); }
.pricing-row.header .service-name { color: white; }
.pricing-row .price { font-weight: 700; color: var(--sos-red); text-align: right; }
.pricing-row.header .price { color: white; }

.pricing-disclaimer {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-gray);
  font-style: italic;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section { background: var(--bg-light); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-light);
}

.review-stars { color: #FFB800; font-size: 16px; margin-bottom: 8px; letter-spacing: 2px; }

.review-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 600;
}

.review-date {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 2px;
}

/* ============================================
   FAQ — wichtig für AI-SEO
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--trust-blue);
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg-light); }

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION — der finale Call to Action
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--sos-red) 0%, var(--sos-red-dark) 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: var(--space-md);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 500px;
  margin: var(--space-md) auto 0;
}

@media (min-width: 480px) {
  .cta-buttons { grid-template-columns: 1fr 1fr; }
}

.cta-section .btn-call {
  background: white;
  color: var(--sos-red);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--trust-blue);
  color: white;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  font-size: 13px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   STICKY MOBILE CTA — NIE ausblenden
   ============================================ */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-mobile-cta a {
  padding: 14px;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sticky-mobile-cta .call { background: var(--sos-red); }
.sticky-mobile-cta .whatsapp { background: var(--whatsapp-green); }

@media (min-width: 768px) {
  .sticky-mobile-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ============================================
   SERVICE AREA INFO BOX (auf Stadtteils-Seiten)
   ============================================ */
.local-info {
  background: var(--bg-light);
  border-left: 4px solid var(--sos-red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: var(--space-md) 0;
}

.local-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--trust-blue);
  margin-bottom: 8px;
}

.local-info p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 8px 16px;
  background: var(--bg-light);
  font-size: 12px;
  color: var(--text-gray);
}

.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--sos-red); }
.breadcrumb .separator { margin: 0 6px; color: var(--border-light); }

/* ============================================
   UTILITIES
   ============================================ */
.text-red { color: var(--sos-red); }
.text-blue { color: var(--trust-blue); }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.mt-md { margin-top: var(--space-md); }

/* Last updated badge */
.last-updated {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-gray);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: var(--space-sm);
}
