/* ===== Reifenservice Köln – Modern Design System ===== */
:root {
  --bg-dark: #0a0e12;
  --bg-card: #141b24;
  --bg-glass: rgba(20, 27, 36, 0.7);
  --accent: #ff6b35;
  --accent-hover: #ff8c5a;
  --accent-glow: rgba(255, 107, 53, 0.35);
  --text: #f0f2f5;
  --text-muted: #8b95a5;
  --border: #252d3a;
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
header.scrolled { background: rgba(10, 14, 18, 0.95); }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent) !important;
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, rgba(10, 14, 18, 0.85) 0%, rgba(10, 14, 18, 0.5) 45%, transparent 65%);
  z-index: 1;
}
/* Neon-Farbüberlagerung: leichter Orange/Cyan-Glanz */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, transparent 40%, rgba(0, 255, 255, 0.08) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}
.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  z-index: 0;
  filter: brightness(0.72) saturate(1.5) contrast(1.08);
  animation: heroBgLoop 18s ease-in-out infinite;
}
/* Endlosschleife: sanfter Zoom, Wiederholung gut erkennbar */
@keyframes heroBgLoop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  animation: fadeUp 0.7s ease-out;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeUp 0.7s ease-out 0.05s both;
}
.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.7s ease-out 0.1s both;
}
.hero h1 span {
  color: #ff7040;
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.7), 0 0 40px rgba(255, 107, 53, 0.35), 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero .hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 100%;
  margin-bottom: 1.75rem;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.7s ease-out 0.2s both;
}
.hero .slogan-hero {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero .slogan-hero .slogan-accent {
  color: #ff5500;
  -webkit-text-fill-color: #ff5500;
  text-shadow: 0 0 20px rgba(255, 85, 0, 0.9), 0 0 35px rgba(255, 100, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Termin von links, Rufnummer von rechts – mit Größen-Animation (groß → kleiner → Platz) */
.hero-btns .btn-hero-termine,
.hero-btns .btn-hero-phone {
  transform-origin: center center;
  background: var(--accent);
  border: none;
  color: #fff !important;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.hero-btns .btn-hero-termine {
  animation: heroFlyLeftAndScale 0.95s cubic-bezier(0.34, 1.2, 0.64, 1) 0.35s both;
}
.hero-btns .btn-hero-phone {
  animation: heroFlyRightAndScale 0.95s cubic-bezier(0.34, 1.2, 0.64, 1) 1.8s both;
}

.hero-btns .btn-hero-termine:hover,
.hero-btns .btn-hero-phone:hover {
  background: var(--accent-hover);
  color: #fff !important;
  box-shadow: 0 8px 28px var(--accent-glow);
}

@keyframes heroFlyLeftAndScale {
  0% {
    opacity: 0.95;
    transform: translateX(-120%) scale(2.6);
  }
  65% {
    transform: translateX(0) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroFlyRightAndScale {
  0% {
    opacity: 0.95;
    transform: translateX(120%) scale(2.6);
  }
  65% {
    transform: translateX(0) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; } }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Section ===== */
.section { padding: 5.5rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.05));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; }
.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.service-card a:hover { gap: 0.6rem; }

/* ===== Process Steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.process-step h4 { font-family: 'Outfit', sans-serif; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.testimonial-stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-muted); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong { display: block; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border); }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  user-select: none;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 1.5rem;
}
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== Saison-Tipp (Aktuell) ===== */
.saison-tip {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.saison-tip-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.saison-tip p { margin: 0; color: var(--text); font-size: 0.95rem; }
.saison-tip a { color: var(--accent); font-weight: 600; text-decoration: none; }
.saison-tip a:hover { text-decoration: underline; }

/* ===== Google Bewertungen CTA ===== */
.google-review-cta {
  text-align: center;
  margin-top: 2rem;
}
.google-review-cta p { color: var(--text-muted); margin-bottom: 1rem; }
.google-review-cta .btn { margin: 0; }

/* ===== Video-Platzhalter ===== */
.video-section { background: var(--bg-card); }
.video-wrap { max-width: 720px; margin: 0 auto; }
.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}
.video-placeholder p { font-weight: 600; color: var(--text); margin: 0; }

/* ===== Footer Schnell-Anfrage ===== */
.footer-quick-contact {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-quick-contact h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.quick-contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.quick-contact-form input,
.quick-contact-form select {
  padding: 0.6rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  min-width: 120px;
}
.quick-contact-form input:focus,
.quick-contact-form select:focus { outline: none; border-color: var(--accent); }
.quick-contact-note { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.quick-contact-note a { color: var(--accent); }

/* ===== Heute geöffnet / Geschlossen ===== */
.opening-status { font-weight: 600; min-width: 6rem; }
.opening-status.open { color: var(--success); }
.opening-status.closed { color: var(--text-muted); }

.hero-termin-hint { font-size: 0.9rem; color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.gutschein-banner { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: linear-gradient(135deg, rgba(255,107,53,0.2), transparent); border: 1px solid rgba(255,107,53,0.4); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 2rem; }
.gutschein-badge { background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 100px; }
.wartezeit-box { text-align: center; padding: 0.75rem; background: var(--bg-card); border-radius: var(--radius-sm); margin-bottom: 2rem; font-size: 0.95rem; color: var(--text-muted); }
.so-arbeiten-wir { max-width: 560px; margin: 0 auto; list-style: none; }
.so-arbeiten-wir li { padding: 0.6rem 0; padding-left: 1.75rem; position: relative; color: var(--text-muted); }
.so-arbeiten-wir li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checkliste-mitbringen { max-width: 560px; margin: 0 auto; list-style: none; }
.checkliste-mitbringen li { padding: 0.5rem 0; padding-left: 1.5rem; position: relative; color: var(--text-muted); }
.checkliste-mitbringen li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }
.partner-names { text-align: center; color: var(--text-muted); font-size: 1.1rem; }
.google-badge-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.cta-review-request { margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.cta-review-request a { color: var(--accent); }
.legal-text h2 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-text p { color: var(--text-muted); margin-bottom: 1rem; }
.form-hint { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.form-field-hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.qr-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }

/* Stadtteile-Ticker (Anfahrt): jeder Stadtteil ein Kasten, Lauftext von rechts nach links */
.stadtteile-ticker-wrap {
  margin-top: 1rem;
  padding: 0.75rem 0;
  overflow: hidden;
}
.stadtteile-ticker {
  display: flex;
  width: max-content;
  animation: stadtteile-scroll 80s linear infinite;
  gap: 0.5rem;
}
.stadtteile-ticker:hover { animation-play-state: paused; }
.stadtteile-ticker-inner {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
  padding: 0 0.25rem;
}
.stadtteile-kasten {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(255, 107, 53, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
@keyframes stadtteile-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.08); }

/* ===== Trust / Partners ===== */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  opacity: 0.85;
}
.trust-row span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section { padding: 5rem 0; text-align: center; }
.cta-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.cta-box h2 { font-family: 'Outfit', sans-serif; font-size: 1.85rem; margin-bottom: 0.75rem; }
.cta-box p { color: var(--text-muted); margin-bottom: 1.5rem; }
.cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.cta-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cta-contact a:hover { text-decoration: underline; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner .logo { font-size: 1.15rem; }
footer p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
}
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== Content blocks ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
@media (max-width: 768px) { .content-block { grid-template-columns: 1fr; } }
.content-block img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-block h2 { font-family: 'Outfit', sans-serif; margin-bottom: 1rem; font-size: 1.75rem; }
.content-block p { color: var(--text-muted); margin-bottom: 1rem; }
.content-block ul { margin: 1rem 0; padding-left: 1.5rem; color: var(--text-muted); }
.content-block li { margin-bottom: 0.5rem; }

/* ===== Form ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 1.5rem; }
.contact-form { position: relative; }

/* Kontaktformular: 2 Spalten (links Name, rechts E-Mail usw.) */
.contact-form-two-cols .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.contact-form-two-cols .form-row .form-group { margin-bottom: 0; }
@media (max-width: 600px) {
  .contact-form-two-cols .form-row { grid-template-columns: 1fr; }
  .contact-form-two-cols .form-row .form-group { margin-bottom: 1.25rem; }
  .contact-form-two-cols .form-row .form-group:last-child { margin-bottom: 0; }
}

/* ===== Map ===== */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--bg-card);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Leaflet-Karte Anfahrt: gleiche Größe wie iframe, roter Pin bleibt auf Adresse */
.map-wrap.map-wrap-anfahrt { position: relative; }
.map-wrap.map-wrap-anfahrt #anfahrt-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.anfahrt-red-pin { background: none !important; border: none !important; }
.anfahrt-red-pin svg {
  display: block;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

/* ===== WhatsApp / Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sticky-cta a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.sticky-cta a:hover { transform: scale(1.08); }
.sticky-cta .btn-phone {
  background: var(--accent);
  font-size: 1.25rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.sticky-cta .btn-location {
  background: #e8eef5 url("../img/servicegebiet-koeln.png") center / cover no-repeat;
  font-size: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.sticky-cta .btn-location .btn-location-pin {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c23a2b'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
  pointer-events: none;
}

/* ===== Animations on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Slogan ===== */
.slogan {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
}
.slogan-accent {
  background: linear-gradient(135deg, var(--accent), #ff8c5a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.slogan-hero {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease-out 0.15s both;
}
.slogan-hero .slogan-accent { font-size: 1.05em; }
.slogan-underline {
  display: inline-block;
  position: relative;
}
.slogan-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff5500, #ff8800);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255, 85, 0, 0.8);
}
.hero .slogan-underline::after {
  height: 4px;
  bottom: -5px;
  background: linear-gradient(90deg, #ff5500, #ffaa00);
  box-shadow: 0 0 22px rgba(255, 85, 0, 0.9), 0 0 40px rgba(255, 100, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ===== Topbar (Öffnungszeiten + Slogan) ===== */
.topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.topbar .slogan { font-size: 0.9rem; }
.topbar a { color: var(--accent); text-decoration: none; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 768px) { .topbar-inner { flex-direction: column; gap: 0.5rem; } }

/* ===== Skip Link ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; outline: 2px solid #fff; outline-offset: 2px; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 0.35rem; color: var(--text-muted); }
.breadcrumbs [aria-current] { color: var(--accent); font-weight: 500; }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 140;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-dark); }
.back-to-top:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) { .back-to-top { bottom: 7rem; } }

/* ===== Cookie / Datenschutz-Hinweis ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.3);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar p { font-size: 0.9rem; color: var(--text-muted); margin: 0; max-width: 600px; }
.cookie-bar .btn { flex-shrink: 0; }

/* ===== Preis-Hinweis auf Karten ===== */
.service-card .price-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 0.75rem;
}
.service-card .price-tag span { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

/* ===== Garantie-Banner ===== */
.guarantee-banner {
  text-align: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.guarantee-banner strong { color: var(--accent); }
.guarantee-banner .slogan { display: inline; font-size: 0.9rem; }

/* ===== Newsletter ===== */
.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; margin-bottom: 0.5rem; }
.newsletter-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }

/* ===== Tipp-Box ===== */
.tip-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, transparent 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.tip-box .tip-icon { font-size: 1.5rem; flex-shrink: 0; }
.tip-box h4 { font-family: 'Outfit', sans-serif; margin-bottom: 0.35rem; }
.tip-box p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ===== Process mit Verbindungslinie ===== */
.process-grid.with-connector { position: relative; }
@media (min-width: 769px) {
  .process-grid.with-connector::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
    opacity: 0.5;
    border-radius: 1px;
    pointer-events: none;
  }
}

/* ===== Focus (Accessibility) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Footer Slogan + Kontakt-Strip ===== */
.footer-slogan {
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.footer-quick-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-quick-strip a { color: var(--accent); text-decoration: none; font-weight: 500; }
.footer-social { display: flex; gap: 1rem; list-style: none; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== WhatsApp Online-Hinweis ===== */
.sticky-cta .wa-label {
  position: absolute;
  right: 100%;
  margin-right: 0.5rem;
  white-space: nowrap;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.sticky-cta .wa-wrap:hover .wa-label { opacity: 1; }
.sticky-cta .wa-wrap { position: relative; display: flex; align-items: center; }
/* WhatsApp-Button: nur das Logo, kein grüner Kreis drumherum */
.sticky-cta .wa-wrap > a {
  background: transparent !important;
  box-shadow: none !important;
}
.sticky-cta .wa-wrap > a:hover {
  background: transparent !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
}
.sticky-cta .wa-logo-icon {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}
.sticky-cta .online-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: var(--success);
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
}

/* ===== Mobile Sticky CTA Bar ===== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 130;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .sticky-cta { bottom: 4.5rem; }
  .back-to-top { bottom: 8.5rem; }
}
.mobile-cta-bar .btn { margin: 0; }

/* ===== Nav mit Slogan (Tagline) ===== */
.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-brand .logo { margin: 0; }
.nav-brand .slogan-tagline { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.03em; }

/* ===== Mobile nav ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-bg img { width: 100%; opacity: 1; }
  .nav-brand .slogan-tagline { display: none; }
}

/* ===== Responsive: Vollbild & alle Bildschirmgrößen ===== */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding-top: 4rem; min-height: 100svh; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero .hero-content p { font-size: 1rem; }
  .stats { grid-template-columns: 1fr; gap: 1rem; }
  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .service-card { padding: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-box { padding: 2rem 1rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container { max-width: 100%; padding: 0 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
  .hero .container { max-width: 1200px; }
}

/* ===== Light Theme (optional) ===== */
html.theme-light {
  --bg-dark: #e8eaed;
  --bg-card: #fff;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --text: #1a1d21;
  --text-muted: #5f6368;
  --border: #dadce0;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
html.theme-light body { background: var(--bg-dark); color: var(--text); }
html.theme-light .hero-bg::after { opacity: 0.5; }
html.theme-light .video-placeholder,
html.theme-light .quick-contact-form input,
html.theme-light .quick-contact-form select { background: #f1f3f4; color: var(--text); }

/* Theme-Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 768px) { .theme-toggle { display: none; } }
