/* Auto Nagler Webseite – Gestaltung nach der Imagepraesentation V13.
   Abschnittsvarianten = Musterfolien: weiss (AN_Inhalt), neutral (AN_Neutral),
   gelb (AN_Gelb/AN_Titel), blau (AN_Blau/AN_Schluss).
   Regeln der Praesentation: Ueberschrift blau + gelber Akzentbalken; auf Gelb
   Schrift immer blau; auf Blau Schrift weiss, Akzente gelb.
   Keine externen Schriften/CDNs – alles liegt auf dem eigenen Server. */

@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap;
  src: url("../fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap;
  src: url("../fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 700; font-display: swap;
  src: url("../fonts/notosans-700.woff2") format("woff2"); }

:root {
  --gelb: #fecb01;
  --blau: #0861ac;
  --blau-dunkel: #064a85;
  --neutral: #f2f5f8;
  --tinte: #1d2733;
  --leise: #5d6b7a;
  --linie: #dbe2ea;
  --breite: 1120px;
  --radius: 12px;
  --schrift: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --titelschrift: "Noto Sans", "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.62;
       color: var(--tinte); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.rahmen.schmal { max-width: 820px; }
.mitte { text-align: center; }
.leise { color: var(--leise); font-size: 14.5px; }

.sprunglink { position: absolute; left: -9999px; top: 0; background: var(--blau); color: #fff; padding: 10px 14px; z-index: 100; }
.sprunglink:focus { left: 8px; top: 8px; }

.testband { background: #fff4d6; color: #6b4e00; border-bottom: 1px solid #f0dca0;
            text-align: center; font-size: 14px; padding: 6px 12px; }
.platzhalter { background: #fff2a8; color: #6b4e00; border: 1px dashed #c9a400; border-radius: 6px;
               padding: 1px 8px; font-size: 13.5px; font-family: var(--schrift); font-weight: 400; }

/* ------------------------------------------------------------ Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
        backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { height: 44px; width: auto; }
.marke-text { font-family: var(--titelschrift); font-weight: 700; font-size: 19px; color: var(--blau);
              text-transform: uppercase; letter-spacing: .02em; border-left: 2px solid var(--gelb); padding-left: 12px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--tinte); font-weight: 500; font-size: 15.5px;
         padding: 8px 11px; border-radius: 8px; }
.nav a:hover, .nav a:focus-visible { background: var(--neutral); color: var(--blau); }
.nav a.aktiv { color: var(--blau); box-shadow: inset 0 -3px 0 var(--gelb); border-radius: 0; }
.nav a.nav-telefon { background: var(--blau); color: #fff; margin-left: 8px; }
.nav a.nav-telefon:hover { background: var(--blau-dunkel); color: #fff; }
.menue-schalter, .menue-knopf { display: none; }

/* ------------------------------------------------------------ Abschnitte */
.abschnitt { padding: 76px 0; }
.abschnitt.weiss { background: #fff; }
.abschnitt.neutral { background: var(--neutral); }
.abschnitt.gelb { background: var(--gelb); color: var(--blau); }
.abschnitt.blau { background: var(--blau); color: #fff; }

.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500;
          color: var(--blau); margin: 0 0 6px; }
.blau .kicker { color: #bcd9f3; }
.titel { font-family: var(--titelschrift); font-weight: 700; color: var(--blau);
         font-size: clamp(27px, 3.4vw, 38px); line-height: 1.16; margin: 0; }
.blau .titel, .blau h3 { color: #fff; }
h1.titel { font-size: clamp(32px, 4.6vw, 50px); }
.akzent { display: block; width: 72px; height: 5px; border-radius: 3px; background: var(--gelb); margin: 16px 0 24px; }
.gelb .akzent, .akzent.blau { background: var(--blau); }
.klein-titel { font-family: var(--titelschrift); font-weight: 700; color: var(--blau); font-size: 21px;
               line-height: 1.25; margin: 0; }
.klein-titel + .akzent { width: 48px; height: 4px; margin: 10px 0 16px; }
.neutral .klein-titel { margin-bottom: 10px; }
.einleitung { font-size: 20px; max-width: 40em; margin: 0; }
.seitenkopf { padding: 64px 0 56px; }
.seitenkopf .akzent { margin-bottom: 18px; }

.textlink { color: var(--blau); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gelb);
            text-decoration-thickness: 2px; text-underline-offset: 3px; }
.textlink:hover { text-decoration-color: var(--blau); }
.blau .textlink { color: #fff; }
.gelb .textlink { text-decoration-color: var(--blau); }

.punkte { list-style: none; padding: 0; margin: 0 0 1.2em; }
.punkte li { position: relative; padding: 5px 0 5px 22px; }
.punkte li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px;
                     border-radius: 50%; background: var(--gelb); }
.gelb .punkte li::before { background: var(--blau); }

/* ------------------------------------------------------------ Knoepfe */
.knopf { display: inline-block; font-family: var(--schrift); font-weight: 500; font-size: 16px; text-decoration: none;
         padding: 12px 22px; border-radius: 9px; border: 2px solid transparent; cursor: pointer;
         transition: background .15s, color .15s, transform .15s; }
.knopf:hover { transform: translateY(-1px); }
.knopf.blau { background: var(--blau); color: #fff; }
.knopf.blau:hover { background: var(--blau-dunkel); }
.knopf.gelb { background: var(--gelb); color: var(--blau); }
.knopf.gelb:hover { background: #ffd83a; }
.knopf.umriss { border-color: var(--blau); color: var(--blau); background: transparent; }
.knopf.umriss:hover { background: var(--blau); color: #fff; }
.knopf.umriss-hell { border-color: #fff; color: #fff; }
.knopf.umriss-hell:hover { background: #fff; color: var(--blau); }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.knopfzeile.mittig { justify-content: center; }

/* ------------------------------------------------------------ Buehne (Titelfolie) */
.buehne { padding: 56px 0 64px; color: var(--blau); background: var(--gelb); }
.buehne-innen { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.buehne-logo { height: 64px; width: auto; margin-bottom: 34px; }
.buehne-vor { font-size: clamp(20px, 2.4vw, 27px); margin: 0 0 2px; }
.buehne h1 { font-family: var(--titelschrift); font-weight: 700; font-size: clamp(46px, 7.4vw, 88px);
             line-height: 1.02; margin: 0 0 12px; letter-spacing: -.01em; }
.buehne-nach { font-weight: 500; font-size: 18px; margin: 0 0 26px; }
.buehne-bild img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
                   box-shadow: 0 18px 40px rgba(6, 50, 95, .22); }

.band { padding: 20px 0; }
.band.blau { background: var(--blau); color: #fff; }
.band-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band p { margin: 0; font-size: 17.5px; }

/* ------------------------------------------------------------ Raster */
.zweispaltig { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.zweispaltig.oben { align-items: start; }
.zweispaltig.umgekehrt > :first-child { order: 2; }
.zweispaltig.portrait { grid-template-columns: .62fr 1.38fr; align-items: start; }
.zweispaltig.portrait.umgekehrt { grid-template-columns: 1.38fr .62fr; }
.zweispaltig.einspaltig { grid-template-columns: 1fr; max-width: 820px; }
.spalten-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.spalten-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.rund { border-radius: var(--radius); width: 100%; object-fit: cover; }
.rund.klein { max-width: 300px; margin: 0 auto; }
.leistung-seite { display: grid; gap: 18px; }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 8px 0 34px; }
.karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; background: #fff; }
.karte h3 { font-family: var(--titelschrift); color: var(--blau); margin: 0 0 8px; font-size: 20px; }
.karte p { margin: 0; color: #3a4654; }
.haken { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
         background: var(--gelb); color: var(--blau); font-weight: 700; margin-bottom: 12px; }

.bildkacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin: 0 0 34px; }
.bildkachel { margin: 0; text-decoration: none; color: var(--blau); display: block; }
.bildkachel img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
                  transition: transform .25s; }
a.bildkachel:hover img { transform: scale(1.03); }
.bildkachel-titel { display: block; font-weight: 500; margin-top: 10px; padding-top: 8px; position: relative; }
.bildkachel-titel::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 4px;
                            border-radius: 2px; background: var(--gelb); }

.infobox { background: var(--gelb); color: var(--blau); border-radius: var(--radius); padding: 22px 24px; }
.gelb .infobox, .infobox.hell { background: #fff; border: 1px solid var(--linie); }
.blau .infobox { background: #fff; }
.infobox h3 { font-family: var(--titelschrift); margin: 0 0 6px; font-size: 19px; color: var(--blau); }
.infobox p { margin: 0; }
.preisbox { background: var(--blau); color: #fff; border-radius: var(--radius); padding: 16px 22px;
            display: flex; align-items: center; gap: 16px; }
.preisbox strong { font-family: var(--titelschrift); font-size: 26px; white-space: nowrap; }
.preisbox span { font-size: 13.5px; line-height: 1.4; }

.sprungmarken { background: #fff; border-bottom: 1px solid var(--linie); padding: 14px 0; }
.sprungmarken .rahmen { display: flex; flex-wrap: wrap; gap: 8px; }
.sprungmarken a { font-size: 14px; text-decoration: none; color: var(--blau); background: var(--neutral);
                  padding: 5px 12px; border-radius: 999px; }
.sprungmarken a:hover { background: var(--gelb); }

/* ------------------------------------------------------------ Mietfahrzeuge / Team */
.fahrzeuge { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; margin-bottom: 36px; }
.fahrzeug img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 16px; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.mitglied img, .bild-fehlt { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.bild-fehlt { background: var(--neutral); border: 2px dashed var(--linie); display: grid; place-items: center;
              padding: 12px; text-align: center; }
.gesucht-feld { background: var(--gelb); border: none; color: var(--blau); font-family: var(--titelschrift);
                font-weight: 700; font-size: 44px; }
.mitglied h3 { font-family: var(--titelschrift); color: var(--blau); font-size: 19px; margin: 14px 0 2px; }
.mitglied .rolle { font-weight: 500; margin: 0; }
.mitglied .zusatz { color: var(--leise); font-size: 15px; margin: 2px 0 0; }

/* ------------------------------------------------------------ Historie: Zeitleiste */
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px;
                      margin-left: -2px; background: var(--gelb); border-radius: 2px; }
.station { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; margin-bottom: 44px; }
.station-marke { grid-column: 2; grid-row: 1; justify-self: center; width: 22px; height: 22px; border-radius: 50%;
                 background: #fff; border: 5px solid var(--blau); z-index: 1; }
.station-karte { grid-column: 1; grid-row: 1; background: #fff; border: 1px solid var(--linie);
                 border-radius: var(--radius); padding: 22px 24px; }
.station-bild { grid-column: 3; grid-row: 1; }
.station:nth-child(even) .station-karte { grid-column: 3; }
.station:nth-child(even) .station-bild { grid-column: 1; }
.station-jahr { font-family: var(--titelschrift); font-weight: 700; color: var(--blau); font-size: 30px;
                line-height: 1; margin: 0 0 8px; min-height: 30px; }
.station-karte p:last-child { margin-bottom: 0; }
/* Historie-Fotos werden NIE beschnitten (alte Bilder sind oft Hochformat) */
.station-bild img { border-radius: var(--radius); width: auto; max-width: 100%; max-height: 440px; margin: 0 auto; }
.station-bild .bild-fehlt { aspect-ratio: 4 / 3; border-radius: var(--radius); width: 100%; }
.sw { filter: grayscale(1) contrast(1.05); }

/* ------------------------------------------------------------ Kontakt / Formular */
.zeiten { border-collapse: collapse; }
.zeiten th { text-align: left; font-weight: 500; padding: 2px 14px 2px 0; vertical-align: top; white-space: nowrap; }
.zeiten td { padding: 2px 0; }
.kontaktkarte { background: var(--neutral); border-radius: var(--radius); padding: 28px; }
.hinweis { background: #fff8dc; border-left: 5px solid var(--gelb); border-radius: 0 8px 8px 0; padding: 12px 16px; }
.formular fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.formular fieldset:disabled { opacity: .55; }
.formular label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid var(--linie); border-radius: 8px; width: 100%; }
.formular input:focus, .formular textarea:focus { outline: 3px solid rgba(254,203,1,.6); border-color: var(--blau); }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feldreihe.drei { grid-template-columns: 1.2fr 1fr 1fr; }
.feldgruppe-titel { font-family: var(--titelschrift); color: var(--blau); font-weight: 700; margin: 6px 0 -4px; }
.haken-feld { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; }
.haken-feld input { margin-top: 5px; width: 18px; height: 18px; }

.rechnung { width: 100%; border-collapse: collapse; margin: 14px 0 22px; }
.rechnung td { padding: 8px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.rechnung td:first-child { white-space: nowrap; text-align: right; font-weight: 500; width: 120px; }
.rechnung .summe td { background: var(--neutral); font-weight: 500; border-bottom: 2px solid var(--blau); }
.rechtstext h2 { font-family: var(--titelschrift); color: var(--blau); font-size: 23px; margin: 34px 0 10px; }
.rechtstext h3 { font-size: 16.5px; margin: 18px 0 2px; }

/* ------------------------------------------------------------ Fuss (Schlussfolie) */
.fuss { background: var(--blau); color: #fff; }
.fuss-oben { text-align: center; padding-top: 56px; padding-bottom: 38px; }
.fuss-oben img { height: 52px; width: auto; margin: 0 auto 18px; }
.fuss-spruch { font-family: var(--titelschrift); font-weight: 700; font-size: clamp(24px, 3vw, 32px); margin: 0; }
.fuss-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
              border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; padding-bottom: 22px; font-size: 14.5px; }
.fuss-unten nav { display: flex; flex-wrap: wrap; gap: 18px; }
.fuss-unten a { color: #fff; text-decoration: none; }
.fuss-unten a:hover { color: var(--gelb); }
.fuss .leise { color: #bcd9f3; }

/* ------------------------------------------------------------ Schmale Bildschirme */
@media (max-width: 940px) {
  .menue-knopf { display: grid; gap: 5px; padding: 10px; cursor: pointer; }
  .menue-knopf span { display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--blau); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
         align-items: stretch; padding: 10px 18px 18px; border-bottom: 1px solid var(--linie); gap: 2px; }
  .menue-schalter:checked ~ .nav { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav a.nav-telefon { margin: 8px 0 0; text-align: center; }
  .buehne-innen, .zweispaltig, .zweispaltig.portrait, .zweispaltig.portrait.umgekehrt, .spalten-2, .spalten-3 {
    grid-template-columns: 1fr; gap: 30px; }
  .zweispaltig.umgekehrt > :first-child { order: 0; }
  .zweispaltig.portrait img { max-width: 340px; }
  .abschnitt { padding: 54px 0; }
  .buehne-logo { margin-bottom: 22px; }
  .zeitleiste::before { left: 11px; }
  .station, .station:nth-child(even) { grid-template-columns: 40px 1fr; row-gap: 14px; }
  .station-marke { grid-column: 1; justify-self: start; }
  .station-karte, .station:nth-child(even) .station-karte { grid-column: 2; }
  .station-bild, .station:nth-child(even) .station-bild { grid-column: 2; grid-row: 2; }
  .feldreihe, .feldreihe.drei { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .marke-text { display: none; }
  .band-innen { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .knopf, .bildkachel img { transition: none; } }

/* ------------------------------------------------------------ Formular-Meldungen */
.meldung { border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 20px; border-left: 5px solid; }
.meldung ul { margin: 6px 0 0; padding-left: 20px; }
.meldung.fehler { background: #fdf0f1; border-color: #cd4050; }
.meldung.erfolg { background: #eef8f2; border-color: #2f9e63; }
/* Honeypot: fuer Menschen unsichtbar, Spam-Programme fuellen es aus */
.nicht-ausfuellen { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
