/* Fahrschule Bytly – High-End · Gelb / Schwarz · keine Animationen */
:root {
  --bg: #0a0a0a;
  --bg-mid: #111111;
  --card: #161616;
  --card-hover: #1c1c1c;
  --yellow: #ffcc00;
  --yellow-dim: #e6b800;
  --yellow-soft: rgba(255, 204, 0, 0.12);
  --white: #ffffff;
  --off: #f0f0f0;
  --muted: #9a9a9a;
  --border: rgba(255, 255, 255, 0.08);
  --border-y: rgba(255, 204, 0, 0.25);
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, 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(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.25;
}
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-dim); text-decoration: underline; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

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

/* Top */
.topbar {
  background: var(--yellow);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1rem;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--white); }
.logo small {
  display: block;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #000;
  background: var(--yellow);
  padding: 0.1rem 0.35rem;
  width: fit-content;
  margin-top: 3px;
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 0.1rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links > li { position: relative; }
.nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: block;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
  background: var(--yellow-soft);
  text-decoration: none;
}
.nav-cta {
  background: var(--yellow) !important;
  color: #000 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
}
.nav-cta:hover {
  background: var(--yellow-dim) !important;
  color: #000 !important;
}
.mobile-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1.15rem;
  color: var(--yellow);
  cursor: pointer;
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--card);
  border: 1px solid var(--border-y);
  border-radius: var(--radius);
  padding: 0.4rem;
  box-shadow: var(--shadow);
  z-index: 200;
}
.nav-links > li:hover > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--white) !important;
  border-radius: 6px;
}
.dropdown a span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.dropdown a:hover { background: var(--card-hover); color: var(--yellow) !important; }

/* Hero */
.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, #0d0d0d 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 1080px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--yellow);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 680px;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-meta span {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}

/* Page header */
.page-header {
  padding: 3rem 1.5rem 2rem;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}
.page-header .breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.page-header .breadcrumb a { color: var(--muted); }
.page-header .breadcrumb a:hover { color: var(--yellow); }
.page-header h1 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); margin-bottom: 0.5rem; }
.page-header p { color: var(--muted); max-width: 560px; font-size: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: var(--yellow-dim); color: #000; }
.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 1.5px solid var(--border-y);
}
.btn-outline:hover { background: var(--yellow-soft); color: var(--yellow); }
.btn-block { width: 100%; }

/* Sections */
section { padding: 3.5rem 1.5rem; }
.section-alt {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.section-sub { color: var(--muted); max-width: 540px; margin-bottom: 2rem; font-size: 0.98rem; }
.section-head { text-align: center; margin-bottom: 2.25rem; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

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

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.9rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover {
  text-decoration: none;
  border-color: var(--border-y);
}
.card-link:hover h3 { color: var(--yellow); }
.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--yellow-soft);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.card .chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #000;
  background: var(--yellow);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  margin-top: 0.75rem;
  margin-right: 0.25rem;
}

/* Content blocks */
.content-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.content-block h2 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--yellow);
}
.content-block h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.content-block p, .content-block li { color: var(--muted); font-size: 0.95rem; }
.content-block ul { margin: 0.5rem 0 0.75rem 1.1rem; list-style: disc; }
.content-block ul li { margin-bottom: 0.35rem; }
.content-block ol { margin: 0.5rem 0 0.75rem 1.25rem; }
.content-block ol li { margin-bottom: 0.35rem; color: var(--muted); }

.check-list { list-style: none; margin: 0.75rem 0 !important; }
.check-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
  margin-left: 0 !important;
}
.check-list li::before {
  content: "✓";
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
}

/* Strip */
.strip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
}
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; text-align: center; }
.strip-grid .num {
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.strip-grid h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.strip-grid p { color: var(--muted); font-size: 0.82rem; }

/* Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 1.25rem 0;
}
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.9rem; }
th {
  background: var(--yellow);
  color: #000;
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--muted); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--card-hover); color: var(--off); }

/* CTA */
.cta-band {
  background: var(--yellow);
  color: #000;
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2rem 0;
}
.cta-band h3 { color: #000; font-size: 1.25rem; margin-bottom: 0.25rem; }
.cta-band p { opacity: 0.85; font-size: 0.95rem; max-width: 420px; color: #111; }
.cta-band .btn { background: #000; color: var(--yellow); }
.cta-band .btn:hover { background: #1a1a1a; color: var(--yellow); }

/* Layout detail */
.layout-2 {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.sidebar-box {
  background: var(--card);
  border: 1px solid var(--border-y);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 5rem;
}
.sidebar-box h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--yellow);
}
.sidebar-box .row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  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: 600; text-align: right; }
.sidebar-box .row .v.hi { color: var(--yellow); }
.sidebar-box .btn { margin-top: 1rem; }

/* Forms */
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.widget h3 { font-size: 1.1rem; margin-bottom: 0.85rem; color: var(--yellow); }
.widget label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.widget input,
.widget select,
.widget textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--white);
  margin-bottom: 0.8rem;
  outline: none;
}
.widget input:focus,
.widget select:focus,
.widget textarea:focus { border-color: var(--yellow); }
.widget textarea { min-height: 100px; resize: vertical; }
.widget-result {
  background: var(--yellow-soft);
  border: 1px solid var(--border-y);
  border-radius: 6px;
  padding: 0.9rem;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  display: none;
}
.widget-result.show { display: block; }
.widget-result strong { color: var(--yellow); font-size: 1.15rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; }
.info-item { margin-bottom: 1.1rem; }
.info-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.2rem;
}
.info-item p, .info-item a { color: var(--off); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.75rem;
  min-height: 260px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 260px; filter: grayscale(0.3) contrast(1.05); }

/* Footer */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1080px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem;
}
.footer .logo { color: var(--white); display: inline-block; margin-bottom: 0.5rem; }
.footer .logo small { background: var(--yellow); color: #000; }
.footer-brand p { font-size: 0.85rem; opacity: 0.65; max-width: 240px; }
.footer h4 {
  color: var(--yellow);
  font-size: 0.72rem;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer a { color: rgba(255,255,255,0.55); font-size: 0.88rem; text-decoration: none; }
.footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer li { margin-bottom: 0.35rem; }
.footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.45;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d0d;
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.15rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .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: 2.75rem 1.15rem; }
  .hero, .page-header { padding-left: 1.15rem; padding-right: 1.15rem; }
}
