/*
Theme Name: Taxi Blitz Bottrop
Theme URI: https://taxibottrop.com/
Author: Taxi Blitz Bottrop
Description: Schlankes, schnelles Custom-Theme für Taxi Blitz Bottrop (taxibottrop.com). Mobile-first, minimales JavaScript, semantisches HTML5, für lokale SEO und Conversion optimiert.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: taxi-blitz
License: proprietary
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --color-ink: #16181c;
  --color-ink-soft: #40454d;
  --color-paper: #ffffff;
  --color-paper-alt: #f6f7f9;
  --color-border: #e2e5ea;
  --color-taxi-yellow: #ffc72c;
  --color-taxi-yellow-dark: #e0a800;
  --color-call-green: #1a8f4c;
  --color-call-green-dark: #146d3a;
  --color-link: #0b4fa3;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --container-w: 1120px;

  --shadow-sm: 0 1px 2px rgba(22,24,28,0.06), 0 1px 1px rgba(22,24,28,0.04);
  --shadow-md: 0 8px 24px rgba(22,24,28,0.10);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
  font-size: 17px;
  padding-bottom: 64px; /* space for mobile sticky call bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-taxi-yellow-dark);
  outline-offset: 2px;
}
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; margin: 0 0 0.6em; color: var(--color-ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-ink); color: #fff; padding: 0.75em 1.25em; z-index: 1000; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; }

.container { max-width: var(--container-w); margin-inline: auto; padding-inline: var(--space-2); }
@media (min-width: 700px) { .container { padding-inline: var(--space-3); } }

.section { padding-block: var(--space-4); }
.section--alt { background: var(--color-paper-alt); }
.section-title { text-align: center; max-width: 720px; margin-inline: auto var(--space-3); }
.section-title p { color: var(--color-ink-soft); }

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-block: 0.75rem; }
.site-logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.25rem; color: var(--color-ink); text-decoration: none; }
.site-logo__mark { background: var(--color-taxi-yellow); color: var(--color-ink); border-radius: var(--radius-sm); padding: 0.15em 0.45em; }
.primary-nav { display: none; }
@media (min-width: 980px) {
  .primary-nav { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; align-items: center; }
  .primary-nav a { color: var(--color-ink); text-decoration: none; font-weight: 600; }
  .primary-nav a:hover { color: var(--color-link); }
}
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: 0.85em 1.4em; border: 2px solid transparent; cursor: pointer;
  font-size: 1rem; line-height: 1; min-height: 48px; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--color-call-green); color: #fff; }
.btn--call:hover { background: var(--color-call-green-dark); color: #fff; }
.btn--secondary { background: var(--color-taxi-yellow); color: var(--color-ink); }
.btn--secondary:hover { background: var(--color-taxi-yellow-dark); }
.btn--outline { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 0.6em 1em; min-height: 40px; font-size: 0.9rem; }

.mobile-nav-toggle { display: inline-flex; background: none; border: 2px solid var(--color-border); border-radius: var(--radius-sm); padding: 0.5em 0.7em; }
@media (min-width: 980px) { .mobile-nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--color-border); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--space-2); display: grid; gap: 0.75rem; }
.mobile-nav a { display: block; padding: 0.6em 0; color: var(--color-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--color-border); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* Sticky mobile call bar */
.sticky-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; gap: 0.5rem; padding: 0.6rem;
  background: var(--color-paper); border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
@media (min-width: 900px) { .sticky-call-bar { display: none; } }
.sticky-call-bar .btn { flex: 1; }

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero { padding-block: var(--space-4) var(--space-4); background: linear-gradient(180deg, #fff8e6 0%, #ffffff 65%); border-bottom: 1px solid var(--color-border); }
.hero__grid { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4); } }
.hero__eyebrow { display: inline-block; background: var(--color-taxi-yellow); color: var(--color-ink); font-weight: 700; font-size: 0.85rem; padding: 0.3em 0.8em; border-radius: 999px; margin-bottom: 0.9em; }
.hero__lead { font-size: 1.15rem; color: var(--color-ink-soft); max-width: 55ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--color-ink-soft); font-size: 0.95rem; }
.hero__phone { font-weight: 800; font-size: 1.15rem; }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-paper-alt); border: 1px solid var(--color-border); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-ink-soft); font-weight: 600; padding: var(--space-2); }

/* ==========================================================================
   5. CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: var(--space-2); }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2,1fr); } .grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3,1fr); } .grid--4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--color-paper); border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-2); height: 100%;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card--icon .icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: #fff3cd; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75em; font-size: 1.4rem; }

.service-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.service-links a { display: block; padding: 0.6em 0; border-bottom: 1px solid var(--color-border); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   6. CTA BAND
   ========================================================================== */
.cta-band { background: var(--color-ink); color: #fff; border-radius: var(--radius-lg); padding: var(--space-3); text-align: center; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn--call { background: var(--color-taxi-yellow); color: var(--color-ink); }
.cta-band .btn--call:hover { background: var(--color-taxi-yellow-dark); }
.cta-inline { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1rem; }

/* ==========================================================================
   7. FAQ
   ========================================================================== */
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 0.75rem; overflow: hidden; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1em 1.2em; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4em; color: var(--color-taxi-yellow-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item__answer { padding: 0 1.2em 1.1em; color: var(--color-ink-soft); }
.faq-item__answer p:first-child { font-weight: 600; color: var(--color-ink); }

/* ==========================================================================
   8. BREADCRUMBS / STEPS
   ========================================================================== */
.breadcrumbs { font-size: 0.9rem; color: var(--color-ink-soft); margin-bottom: var(--space-2); }
.breadcrumbs a { color: var(--color-ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35em; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 0.35em; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--space-2); }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3,1fr); } }
.steps li { position: relative; padding-top: 2.6rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 2.1rem; height: 2.1rem;
  background: var(--color-taxi-yellow); color: var(--color-ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer { background: var(--color-paper-alt); border-top: 1px solid var(--color-border); padding-block: var(--space-4) var(--space-3); margin-top: var(--space-5); }
.footer-grid { display: grid; gap: var(--space-3); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-grid h2, .footer-grid h3 { font-size: 1.05rem; }
.footer-nap p { margin: 0.2em 0; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-list a { color: var(--color-ink-soft); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.9rem; color: var(--color-ink-soft); }

/* ==========================================================================
   10. FORMS
   ========================================================================== */
.form-field { margin-bottom: var(--space-2); }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.35em; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75em 0.9em; border: 2px solid var(--color-border); border-radius: var(--radius-sm);
  font: inherit; background: #fff;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-taxi-yellow-dark); }
.form-hint { font-size: 0.85rem; color: var(--color-ink-soft); }
.form-honeypot { position: absolute; left: -9999px; }
.form-success { background: #e6f6ec; border: 1px solid var(--color-call-green); color: var(--color-call-green-dark); padding: var(--space-2); border-radius: var(--radius-md); }
.form-error { background: #fdecea; border: 1px solid #c62828; color: #8e1f1a; padding: var(--space-2); border-radius: var(--radius-md); }

/* ==========================================================================
   11. MISC PAGE ELEMENTS
   ========================================================================== */
.notice-box { background: #fff8e6; border: 1px solid var(--color-taxi-yellow-dark); border-radius: var(--radius-md); padding: var(--space-2); }
.two-col { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
table.compare-table { width: 100%; border-collapse: collapse; }
table.compare-table th, table.compare-table td { text-align: left; padding: 0.7em 0.9em; border-bottom: 1px solid var(--color-border); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.entity-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.entity-list li { background: var(--color-paper-alt); border: 1px solid var(--color-border); border-radius: 999px; padding: 0.4em 1em; font-size: 0.9rem; }
.review-badge { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; }
