/* =========================================================
   Fahrschule Kieserling – Abschiedsseite
   Schlankes, eigenständiges Stylesheet (kein Framework)
   ========================================================= */

/* ---- Lokale Schriften (Open Sans) ---- */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'),
       url('../fonts/open-sans-v34-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'),
       url('../fonts/open-sans-v34-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-600.woff2') format('woff2'),
       url('../fonts/open-sans-v34-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'),
       url('../fonts/open-sans-v34-latin-700.woff') format('woff');
}

/* ---- Variablen ---- */
:root {
  --gelb: #f7ca18;
  --gelb-dunkel: #d5ab07;
  --text: #2b2b2b;
  --text-mute: #6b6b6b;
  --bg: #faf9f7;
  --weiss: #ffffff;
  --linie: #ecece8;
  --schatten: 0 10px 40px rgba(0, 0, 0, 0.08);
  --max: 860px;
}

/* ---- Reset / Basis ---- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gelb-dunkel); }
a:hover, a:focus { color: var(--text); }

h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0 0 0.5em; }

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

/* ---- Kopfzeile ---- */
.site-header {
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
}
.site-header .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.site-header img {
  width: 84px;
  height: 84px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  background: #1b1b1b;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.45) 45%, rgba(20,20,20,0.72) 100%),
    url('../images/slider/1.jpg');
  background-size: cover;
  background-position: center 62%;
}
.hero-inner {
  position: relative;
  padding: 96px 24px 100px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gelb);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  margin: 0 0 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hero p {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
}

/* ---- Abschnitte ---- */
section { padding: 64px 0; }

/* ---- Hinweis-Karte (die zentrale Botschaft) ---- */
.notice {
  padding-top: 56px;
  padding-bottom: 8px;
}
.notice-card {
  background: var(--weiss);
  border-radius: 14px;
  box-shadow: var(--schatten);
  border-top: 5px solid var(--gelb);
  padding: 40px 40px 44px;
  text-align: center;
}
.notice-card .badge {
  display: inline-block;
  background: var(--gelb);
  color: #1b1b1b;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.notice-card h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.notice-card .lead {
  font-size: 1.12rem;
  color: var(--text);
  margin: 0 auto;
  max-width: 640px;
}
.notice-card .stop {
  margin-top: 26px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}
.notice-card .stop span {
  box-shadow: inset 0 -0.55em 0 rgba(247, 202, 24, 0.45);
}

/* ---- Fließtext / Abschiedsworte ---- */
.prose { text-align: center; }
.prose h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 28px;
}
.prose p {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 660px;
  margin: 0 auto 20px;
}
.signature {
  margin-top: 34px;
  font-weight: 600;
  color: var(--text);
}
.signature small {
  display: block;
  font-weight: 400;
  color: var(--text-mute);
  font-size: 0.95rem;
  margin-top: 4px;
}

.divider {
  width: 56px;
  height: 4px;
  background: var(--gelb);
  border: 0;
  border-radius: 2px;
  margin: 0 auto 30px;
}

/* ---- Kontakt ---- */
.kontakt { background: var(--weiss); border-top: 1px solid var(--linie); }
.kontakt h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  text-align: center;
}
.kontakt .intro {
  text-align: center;
  color: var(--text-mute);
  max-width: 620px;
  margin: 0 auto 40px;
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--linie);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 3px;
}
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--schatten);
  line-height: 0;
}
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---- Fußzeile ---- */
.site-footer {
  background: #1b1b1b;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 0 44px;
}
.site-footer .foot-logo img {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  opacity: 0.9;
  filter: invert(1) brightness(1.6);
}
.site-footer a { color: var(--gelb); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .links { margin-bottom: 8px; }
.site-footer .copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ---- Rechtstexte (Impressum / Datenschutz) ---- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 800px; }
.legal h1 {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  margin-bottom: 8px;
}
.legal h2, .legal h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 10px;
}
.legal p { color: var(--text); margin: 0 0 16px; }
.legal a { word-break: break-word; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-mute);
}
.back-link:hover { color: var(--gelb-dunkel); }

/* ---- Responsiv ---- */
@media (max-width: 720px) {
  .hero-inner { padding: 72px 20px 76px; }
  section { padding: 48px 0; }
  .notice-card { padding: 32px 22px 34px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 28px; }
  .map iframe { height: 280px; }
}
