/* Fahrschule Bytly – High-End massiv · Weiß + Gelb/Schwarz */
:root {
  --bg: #f7f7f5;
  --white: #ffffff;
  --soft: #f0f0ec;
  --black: #0a0a0a;
  --text: #111111;
  --muted: #5c5c5c;
  --yellow: #f5c400;
  --yellow-bright: #ffcc00;
  --yellow-deep: #d4a800;
  --border: #e4e4e0;
  --border-strong: #d0d0cc;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,.04), 0 8px 28px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.06), 0 16px 48px rgba(0,0,0,.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Outfit', var(--font);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
h1,h2,h3,h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.15;
}
a { color: var(--black); text-decoration: none; }
a:hover { color: var(--yellow-deep); }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.75rem; }

/* TOP – massiv gelb */
.topbar {
  background: var(--yellow-bright);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 1.25rem;
}

/* NAV – white, heavy */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--black); text-decoration: none; }
.logo small {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--black);
  background: var(--yellow-bright);
  padding: 0.15rem 0.4rem;
  width: fit-content;
  margin-top: 4px;
  border-radius: 3px;
}
.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  background: var(--soft);
  text-decoration: none;
}
.nav-cta {
  background: var(--black) !important;
  color: var(--yellow-bright) !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}
.nav-cta:hover {
  background: #222 !important;
  color: var(--yellow-bright) !important;
}
.mobile-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.2rem;
  color: var(--black);
  cursor: pointer;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-links > li:hover > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 0.92rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--black) !important;
  border-radius: 8px;
  font-weight: 600 !important;
}
.dropdown a span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.dropdown a:hover { background: var(--soft); }

/* HERO – groß, massiv */
.hero {
  padding: 5.5rem 1.75rem 4.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 1120px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow-bright);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
  max-width: 720px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--black);
  background: linear-gradient(180deg, transparent 55%, var(--yellow-bright) 55%);
  padding: 0 0.1em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-meta span {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
}

/* Page header */
.page-header {
  padding: 3.75rem 1.75rem 2.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-header .breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.page-header .breadcrumb a { color: var(--muted); }
.page-header .breadcrumb a:hover { color: var(--black); }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.65rem;
  font-weight: 800;
}
.page-header p {
  color: var(--muted);
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.65;
}

/* Buttons – massiv */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--black);
  color: var(--yellow-bright);
}
.btn-primary:hover {
  background: #222;
  color: var(--yellow-bright);
}
.btn-outline {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover {
  background: var(--black);
  color: var(--yellow-bright);
}
.btn-block { width: 100%; }

/* Sections – mehr Luft */
section { padding: 5rem 1.75rem; }
.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  margin-bottom: 0.65rem;
}
.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 0.65rem;
  font-weight: 800;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* Cards – größer, premium */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover {
  text-decoration: none;
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}
.card-link:hover h3 { color: var(--black); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--yellow-bright);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.card .chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--black);
  background: var(--yellow-bright);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  margin-top: 1rem;
  margin-right: 0.3rem;
  letter-spacing: 0.02em;
}

/* Content blocks */
.content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.content-block h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--yellow-bright);
  color: var(--black);
  font-weight: 800;
}
.content-block h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.6rem;
  font-weight: 700;
}
.content-block p, .content-block li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.content-block ul { margin: 0.6rem 0 0.9rem 1.15rem; list-style: disc; }
.content-block ul li { margin-bottom: 0.4rem; }
.content-block ol { margin: 0.6rem 0 0.9rem 1.35rem; }
.content-block ol li { margin-bottom: 0.4rem; color: var(--muted); }

.check-list { list-style: none; margin: 0.9rem 0 !important; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
  margin-left: 0 !important;
  font-size: 1rem;
}
.check-list li::before {
  content: "✓";
  color: var(--black);
  background: var(--yellow-bright);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Strip */
.strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 1.75rem;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.strip-grid .num {
  font-family: var(--display);
  font-size: 2.25rem;
  color: var(--black);
  font-weight: 800;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}
.strip-grid .num::after {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--yellow-bright);
  margin: 0.4rem auto 0.5rem;
}
.strip-grid h3 { font-size: 1.05rem; margin-bottom: 0.25rem; font-weight: 700; }
.strip-grid p { color: var(--muted); font-size: 0.88rem; }

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
th {
  background: var(--black);
  color: var(--yellow-bright);
  padding: 1rem 1.15rem;
  text-align: left;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--soft); color: var(--text); }

/* CTA band – gelb massiv */
.cta-band {
  background: var(--yellow-bright);
  color: var(--black);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow);
}
.cta-band h3 {
  color: var(--black);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
  font-weight: 800;
}
.cta-band p {
  font-size: 1rem;
  max-width: 440px;
  color: #222;
  opacity: 0.9;
}
.cta-band .btn {
  background: var(--black);
  color: var(--yellow-bright);
  padding: 1rem 1.75rem;
}
.cta-band .btn:hover {
  background: #1a1a1a;
  color: var(--yellow-bright);
}

/* Detail layout */
.layout-2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.25rem;
  align-items: start;
}
.sidebar-box {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 5.5rem;
}
.sidebar-box h3 {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--yellow-bright);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.sidebar-box .row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-box .row:last-child { border-bottom: none; }
.sidebar-box .row .l { color: var(--muted); }
.sidebar-box .row .v { font-weight: 700; text-align: right; color: var(--black); }
.sidebar-box .row .v.hi {
  color: var(--black);
  background: var(--yellow-bright);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.sidebar-box .btn { margin-top: 1.15rem; }

/* Forms */
.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.widget h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.widget label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.widget input,
.widget select,
.widget textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  margin-bottom: 0.9rem;
  outline: none;
}
.widget input:focus,
.widget select:focus,
.widget textarea:focus {
  border-color: var(--black);
  background: var(--white);
}
.widget textarea { min-height: 110px; resize: vertical; }
.widget-result {
  background: var(--soft);
  border: 2px solid var(--yellow-bright);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  display: none;
}
.widget-result.show { display: block; }
.widget-result strong {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 800;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
}
.info-item { margin-bottom: 1.35rem; }
.info-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
  font-weight: 700;
}
.info-item p, .info-item a {
  color: var(--black);
  font-size: 1.05rem;
  font-weight: 600;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 2.25rem;
  min-height: 280px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 280px;
}

/* Footer – schwarz massiv */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.8);
  padding: 4rem 1.75rem 2rem;
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer .logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.footer .logo small {
  background: var(--yellow-bright);
  color: var(--black);
}
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  max-width: 260px;
  line-height: 1.6;
}
.footer h4 {
  color: var(--yellow-bright);
  font-size: 0.72rem;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer a {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  text-decoration: none;
}
.footer a:hover { color: var(--yellow-bright); text-decoration: underline; }
.footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.4;
}

.class-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.15rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links > li:hover > .dropdown { display: none; }
  .mobile-btn { display: flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .grid-3, .strip-grid, .footer-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid, .layout-2 { grid-template-columns: 1fr; }
  .sidebar-box { position: static; }
}
@media (max-width: 560px) {
  .grid-3, .strip-grid, .footer-grid, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 3.25rem 1.25rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .page-header { padding: 2.75rem 1.25rem 2rem; }
  .hero h1 { font-size: 2.2rem; }
}
