/*
Theme Name: Car Selection Site
Description: Schlankes, kostenloses WordPress-Theme für Car Selection ohne Page-Builder-Abhängigkeit.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: carselection-site
*/

:root { --cs-ink: #18222e; --cs-muted: #56616d; --cs-accent: #b7132c; --cs-line: #dce2e7; --cs-surface: #f3f5f7; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--cs-ink); font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--cs-accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #2c6cb0; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.cs-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cs-header { border-bottom: 1px solid var(--cs-line); background: #fff; }
.cs-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; }
.cs-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--cs-ink); }
.cs-brand strong { font-size: 27px; letter-spacing: -.04em; line-height: 1.1; }
.cs-brand span { font-size: 12px; color: var(--cs-muted); letter-spacing: .09em; text-transform: uppercase; }
.cs-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.cs-menu a { color: var(--cs-ink); text-decoration: none; font-weight: 650; font-size: 15px; }
.cs-menu .current-menu-item a { color: var(--cs-accent); }
.cs-content { min-height: 55vh; padding: 52px 0 72px; }
.cs-content h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 24px; }
.cs-content h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.025em; margin: 36px 0 18px; }
.cs-content h3 { font-size: 22px; line-height: 1.3; }
.cs-content p { margin: 0 0 20px; }
.cs-content article > .entry-content { overflow-wrap: anywhere; }
.cs-kicker { color: var(--cs-accent); font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.cs-lead { font-size: clamp(19px, 2.2vw, 24px); color: var(--cs-muted); max-width: 820px; }
.cs-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 44px; margin: 10px 0 52px; }
.cs-hero img { width: 100%; min-height: 280px; object-fit: cover; border-radius: 20px; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.cs-button, .wpcf7-submit { display: inline-block; border: 1px solid var(--cs-accent); border-radius: 8px; background: var(--cs-accent); color: white; font-weight: 700; padding: 13px 23px; text-decoration: none; cursor: pointer; }
.cs-button--secondary { background: white; color: var(--cs-ink); border-color: var(--cs-line); }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0 44px; }
.cs-card { padding: 28px; border: 1px solid var(--cs-line); border-radius: 16px; background: var(--cs-surface); }
.cs-card h2, .cs-card h3 { margin-top: 0; }
.cs-card p:last-child { margin-bottom: 0; }
.cs-note { padding: 20px 24px; border-left: 4px solid var(--cs-accent); background: var(--cs-surface); margin: 24px 0; }
.cs-stock { margin: 30px 0; padding: 26px; background: var(--cs-surface); border: 1px solid var(--cs-line); border-radius: 16px; }
.cs-stock iframe { display: block; width: 100%; height: 1100px; border: 0; margin-top: 18px; background: white; }
.cs-stock__privacy { font-size: 15px; color: var(--cs-muted); max-width: 850px; }
.cs-stock__status { font-size: 15px; }
.cs-footer { padding: 38px 0; background: var(--cs-ink); color: #fff; }
.cs-footer__inner { display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.cs-footer a { color: white; }
.cs-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cs-footer p { margin: 0; font-size: 14px; color: #c6cdd4; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; top: 10px; left: 10px; z-index: 100; padding: 10px; background: white; color: black; }
.wpcf7 { max-width: 760px; }
.wpcf7 label { display: block; font-weight: 650; }
.wpcf7 input:not([type=submit]):not([type=checkbox]), .wpcf7 textarea { display: block; width: 100%; padding: 12px; border: 1px solid #aab4bf; border-radius: 6px; background: #fff; margin-top: 6px; }
.wpcf7 textarea { min-height: 170px; }
.wpcf7-acceptance label { font-size: 15px; font-weight: 400; }
.wpcf7-list-item { margin-left: 0; }
.wpcf7-not-valid-tip { font-size: 14px; }
.cs-content table { border-collapse: collapse; max-width: 100%; }
.cs-content td, .cs-content th { padding: 10px; border: 1px solid var(--cs-line); }
@media (max-width: 760px) {
  .cs-header__inner { align-items: flex-start; flex-direction: column; gap: 16px; }
  .cs-menu { gap: 10px 20px; }
  .cs-hero, .cs-grid { grid-template-columns: 1fr; gap: 22px; }
  .cs-content { padding-top: 32px; }
  .cs-card, .cs-stock { padding: 20px; }
  .cs-stock iframe { height: 1250px; }
  .cs-actions .cs-button { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
