/* Fahrschule Poppei – Minimalseite. Gestaltung nach Layoutentwurf v2 (ChatGPT-Überarbeitung). */

@font-face {
  font-family: "Anton";
  src: url("fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "NEC";
  src: url("fonts/nec-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --black: #0b0b0b;
  --line: #2a2a2a;
  --orange: #f26a1b;
  --orange-hover: #ff7d2e;
  --white: #f5f5f2;
  --muted: #b4b4ae;
  --cream: #f3efe8;
  --cream-line: #ddd6cb;
  --ink: #1b1b1b;
  --condensed: "Anton", "Impact", "Arial Narrow", sans-serif;
  --logo: "NEC", "Montserrat", sans-serif; /* Logo-Schrift NEC von Julio Garay (Freeware) */
  --text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1080px;
  /* geschwungener Pinselstrich unter Überschriften */
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 13C50 3 120 1 198 4c-60 2-120 5-170 11z' fill='%23f26a1b'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(60% 40% at 100% 85%, rgba(242,106,27,.16), transparent 70%),
    var(--black);
}

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-hover); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
address { font-style: normal; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: var(--black); padding: 8px 14px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* ---------- Kopf / Logo ---------- */
.site-header { position: relative; z-index: 2; padding: 24px 0 0; }
.header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.logo {
  display: inline-grid; grid-template-columns: auto auto; align-items: end; column-gap: 14px;
  text-decoration: none; color: var(--white);
}
.logo:hover { color: var(--white); }
.logo-name {
  font-family: var(--logo); font-weight: 400; font-size: clamp(2.4rem, 7vw, 3.3rem); line-height: .9;
  letter-spacing: -.01em; color: var(--orange);
}
.logo-since {
  position: relative; font-style: italic; font-weight: 600; font-size: 1.05rem;
  transform: rotate(-8deg) translateY(-.8em); white-space: nowrap; padding-bottom: 6px;
}
.logo-since::after {
  content: ""; position: absolute; left: -6px; right: -10px; bottom: 0; height: 6px;
  background: var(--swoosh) center / 100% 100% no-repeat;
}
.logo-sub { grid-column: 1 / -1; font-weight: 600; font-size: clamp(.95rem, 2.4vw, 1.15rem); letter-spacing: .4em; margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 10px 26px;
  font-family: var(--condensed); text-transform: uppercase; font-size: 1.35rem; letter-spacing: .03em; line-height: 1;
  text-decoration: none; border-radius: 12px; border: 2px solid var(--orange);
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn-primary { background: var(--orange); color: var(--black); box-shadow: 0 6px 20px rgba(242,106,27,.3); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--black); }
.btn-ghost { color: var(--white); border-color: var(--white); background: rgba(0,0,0,.35); }
.btn-ghost:hover { color: var(--black); background: var(--white); }
.btn-whatsapp svg { color: #25d366; }
.btn-small { min-height: 46px; padding: 8px 20px; font-size: 1.3rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -116px; padding: 150px 0 70px; min-height: 600px; border-bottom: 1px solid var(--line); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,11,.96) 0%, rgba(11,11,11,.85) 28%, rgba(11,11,11,.35) 50%, rgba(11,11,11,0) 66%),
    linear-gradient(0deg, rgba(11,11,11,.7) 0%, rgba(11,11,11,0) 25%);
}
.hero-content { position: relative; z-index: 1; }

.brush {
  display: inline-block; margin: 0 0 20px;
  font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 3vw, 1.45rem);
  color: var(--black); background: var(--orange); padding: 6px 22px 7px 16px;
  clip-path: polygon(2% 10%, 100% 0, 98% 88%, 0 100%);
}

.hero h1 {
  font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 8.4vw, 5.6rem); line-height: .98; letter-spacing: -.02em;
  margin: 0 0 22px;
}
.hero h1 .accent { display: inline-block; color: var(--orange); position: relative; padding-bottom: 14px; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 20%; right: -2%; bottom: 0; height: 12px;
  background: var(--swoosh) center / 100% 100% no-repeat;
}
.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.35; max-width: 22em; margin: 0 0 30px; text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Abschnitte ---------- */
.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section h2 {
  font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.01em; margin: 0 0 28px;
}
.section h2 .accent { color: var(--orange); position: relative; display: inline-block; padding-bottom: 8px; }
.section h2 .accent::after {
  content: ""; position: absolute; left: 15%; right: -6%; bottom: -2px; height: 8px;
  background: var(--swoosh) center / 100% 100% no-repeat;
}

/* ---------- Standorte ---------- */
.loc-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.loc {
  background: var(--cream); color: var(--ink); border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.loc-photo { position: relative; aspect-ratio: 16 / 9; background: #1d1d1d; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-photo.placeholder {
  display: grid; place-items: center; color: #6d6d68; font-size: .9rem;
  background: repeating-linear-gradient(135deg, #1b1b1b 0 14px, #202020 14px 28px);
}
.loc-badge {
  position: absolute; left: 14px; bottom: -18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: var(--white); border-radius: 999px; padding: 6px 20px 6px 14px;
  font-family: var(--condensed); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; letter-spacing: .03em; line-height: 1.2;
  margin: 0; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.loc-badge svg { width: 22px; height: 22px; }
.loc-list { list-style: none; margin: 0; padding: 30px 22px 14px; }
.loc-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start;
  padding: 9px 0; border-bottom: 1px solid var(--cream-line); font-weight: 500; line-height: 1.4;
}
.loc-list li:last-child { border-bottom: 0; }
.loc-list svg { width: 21px; height: 21px; color: var(--orange); margin-top: 1px; }
.loc-list a { color: var(--ink); text-decoration: none; }
.loc-list a:hover { color: var(--orange); text-decoration: underline; }
.loc-list a.map { font-size: .9rem; color: #8a4310; text-decoration: underline; }

.loc-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 22px 0 0; font-size: .98rem; }
.loc-note > span { display: inline-flex; align-items: center; gap: 12px; }
.loc-note svg { width: 24px; height: 24px; color: var(--white); flex: none; }
.loc-note .sep { width: 1px; height: 24px; background: var(--muted); }

.loc-photo.brand {
  display: grid; place-items: center;
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(242,106,27,.35), transparent 70%),
    linear-gradient(160deg, #1e1e1e, #0e0e0e);
}
.brand-mark { display: grid; justify-items: center; line-height: 1; transform: translateY(-8px); }
.brand-mark span { font-family: var(--logo); font-weight: 400; font-size: 2.6rem; letter-spacing: -.01em; color: var(--orange); }
.brand-mark small { font-weight: 600; font-size: .8rem; letter-spacing: .42em; color: var(--white); margin-top: 6px; padding-left: .42em; }

/* ---------- Ausbildung ---------- */
.classes { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.classes li { display: flex; align-items: center; gap: 14px; }
.classes .ring {
  width: 66px; height: 66px; flex: none; border-radius: 50%; border: 3px solid var(--orange);
  display: grid; place-items: center; color: var(--orange);
}
.classes .ring svg { width: 34px; height: 34px; }
.classes strong { display: block; font-style: italic; font-weight: 800; font-size: 1.5rem; line-height: 1.15; }
.classes small { display: block; color: var(--white); opacity: .85; font-size: .9rem; line-height: 1.4; }
.classes-note { margin: 28px 0 0; opacity: .85; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 40px 0 64px; max-width: 760px; }
.legal h1 { font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; margin: 0 0 32px; }
.legal h2 { font-weight: 800; font-size: 1.15rem; color: var(--orange); margin: 36px 0 10px; }
.legal h3 { font-size: 1rem; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { color: #e4e4df; }
.legal ul { padding-left: 1.2em; }
.back { display: inline-block; margin-top: 24px; font-weight: 700; }

/* ---------- Fuß ---------- */
.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 40px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.slogan {
  position: relative; font-family: var(--condensed); font-style: italic; text-transform: uppercase;
  font-size: 1.45rem; color: var(--white); transform: rotate(-3deg); padding-bottom: 6px;
}
.slogan span { color: var(--orange); }
.slogan::after { content: ""; position: absolute; left: 40%; right: -4%; bottom: -2px; height: 6px; background: var(--swoosh) center / 100% 100% no-repeat; }

/* Platzhalter – vor Livegang muss jede Markierung ersetzt sein */
mark.todo { background: #ffe14d; color: #000; padding: 0 4px; border-radius: 3px; font-weight: 700; box-shadow: 0 0 0 1px #c9a800; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .hero { margin-top: 0; padding: 0 0 44px; min-height: 0; }
  .hero-photo { display: block; position: relative; aspect-ratio: 16 / 10; margin-bottom: -36px; }
  .hero-photo img { object-position: 85% center; }
  .hero-photo::after { background: linear-gradient(0deg, var(--black) 0%, rgba(11,11,11,0) 45%); }
  .loc-note .sep { display: none; }
  .loc-note > span { display: block; }
  .loc-note svg { display: inline-block; vertical-align: -6px; margin-right: 8px; }
}
@media (max-width: 520px) {
  .btn { width: 100%; justify-content: center; }
  .header-row .btn-small { width: auto; padding: 8px 12px; }
  .header-row .btn-small span { display: none; }
}
