/* Dreher Transporte GmbH – Styleguide 2026-10 (Stand 06.11.2026) */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --gruen: #377254;
  --gelb: #f4ae00;
  --dunkelgruen: #1f402f;
  --weiss: #ffffff;
  --text: #505050;
  --linie: #d9d9d9;
  --hell: #f5f5f5;
  --font-head: "Plus Jakarta Sans", "Roboto", sans-serif;
  --font-body: "Roboto", sans-serif;
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-head); color: var(--gruen); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 700; font-size: clamp(32px, 5vw, 48px); }
h2 { font-weight: 400; font-size: clamp(26px, 3.6vw, 37px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0 0 1em; }

a { color: var(--gruen); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--dunkelgruen); }
a:focus-visible, .button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--dunkelgruen); outline-offset: 2px;
}

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--hell { background: var(--hell); }
.lead { font-size: 19px; max-width: 46em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--weiss); padding: 8px 12px; z-index: 10; }

/* Button: ein Typ für alle Aktionen */
.button {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.4;
  padding: 10px 30px; border-radius: 25px; border: 0;
  background: var(--gelb); color: var(--dunkelgruen); text-decoration: none;
}
.button:hover { background: var(--gruen); color: var(--weiss); }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: var(--weiss); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; flex-wrap: wrap; }
.kopf__logo img { width: 190px; }
.kopf__tel { font-family: var(--font-head); font-weight: 700; color: var(--gruen); text-decoration: none; white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a { font-weight: 300; font-size: 17px; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--gruen); }
.nav a[aria-current="page"] { color: var(--gruen); font-weight: 400; border-bottom-color: var(--gelb); }

/* Bühne */
.buehne { position: relative; background: var(--dunkelgruen); color: var(--weiss); }
.buehne__bild { position: absolute; inset: 0; background-size: cover; background-position: center; }
.buehne .wrap { position: relative; padding-top: 96px; padding-bottom: 96px; }
.buehne h1 { color: var(--weiss); max-width: 14em; }
.buehne p { font-size: 20px; max-width: 32em; }
.buehne__claim { font-family: var(--font-head); font-weight: 700; font-style: italic; margin-top: 1.2em; }

.seitenkopf { background: var(--hell); padding: 48px 0 32px; border-bottom: 1px solid var(--linie); }
.seitenkopf p { margin: 0; max-width: 46em; }

/* Raster und Karten */
.raster { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte { border: 1px solid var(--linie); border-radius: 6px; background: var(--weiss); overflow: hidden; display: flex; flex-direction: column; }
.karte__inhalt { padding: 20px 22px 24px; }
.karte h3 { margin-bottom: .4em; }
.karte p:last-child { margin-bottom: 0; }

.piktogramm { width: 56px; height: 56px; margin-bottom: 12px; }

.zwei { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 800px) { .zwei { grid-template-columns: 1fr; } }

/* Platzhalter für Fotos, bis die Bilder gesichert sind */
.foto { background: #e6e6e6; aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.foto--leer { display: flex; align-items: center; justify-content: center; text-align: center; color: #6b6b6b; font-size: 14px; padding: 12px; }

/* Fahrzeug-Daten */
.daten { width: 100%; border-collapse: collapse; font-size: 16px; margin: 4px 0 12px; }
.daten th, .daten td { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.daten th { font-weight: 400; color: var(--text); width: 42%; padding-right: 12px; }
.daten td { color: #222; }
.merkmale { margin: 0; padding-left: 1.1em; font-size: 16px; }

/* Garagenpark-Hinweis */
.hinweis { background: var(--gruen); color: var(--weiss); border-radius: 6px; padding: 36px; display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: center; }
.hinweis h2 { color: var(--weiss); margin-bottom: .3em; }
.hinweis p { margin: 0; }
.hinweis a:not(.button) { color: var(--weiss); }
@media (max-width: 700px) { .hinweis { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Chronik */
.chronik { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--gelb); }
.chronik li { position: relative; padding: 0 0 22px 28px; }
.chronik li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--weiss); border: 3px solid var(--gruen); }
.chronik__jahr { font-family: var(--font-head); font-weight: 700; color: var(--gruen); display: block; }
.chronik__titel { font-weight: 700; color: #222; }

/* Galerie */
.galerie { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.galerie figure { margin: 0; }
.galerie figcaption { font-size: 14px; padding-top: 6px; }

/* Video: nur Vorschaubild mit Link, nichts wird von YouTube geladen */
.video { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--gelb); }
.video__play::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent var(--dunkelgruen); }
.video:hover .video__play { background: var(--gruen); }
.video:hover .video__play::after { border-left-color: var(--weiss); }
.klein { font-size: 14px; }

/* Kontakt */
.kontakt { list-style: none; padding: 0; margin: 0 0 1.4em; }
.kontakt li { padding: 4px 0; }
.kontakt strong { display: inline-block; min-width: 5.5em; font-weight: 400; }

/* Rechtstexte */
.recht { max-width: 48em; }
.recht h2 { font-size: 26px; margin-top: 1.6em; }
.recht h3 { margin-top: 1.4em; }

/* Fuß */
.fuss { background: var(--gruen); color: var(--weiss); font-weight: 300; font-size: 15px; padding: 48px 0 28px; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--weiss); text-decoration-thickness: 2px; }
.fuss a:focus-visible { outline-color: var(--weiss); }
.fuss__raster { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.fuss h2 { color: var(--weiss); font-size: 18px; font-weight: 700; margin-bottom: .6em; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss__unten { border-top: 1px solid rgba(255,255,255,.35); margin-top: 32px; padding-top: 18px; font-size: 14px; }

@media (max-width: 700px) {
  .section { padding: 44px 0; }
  .kopf .wrap { padding-top: 12px; padding-bottom: 12px; }
  .kopf__logo img { width: 150px; }
  .nav { width: 100%; order: 3; }
  .nav ul { gap: 2px 18px; }
  .buehne .wrap { padding-top: 60px; padding-bottom: 60px; }
  .buehne p { font-size: 18px; }
}

/* Fuhrpark-Piktogramme (gelbe Flächen, Styleguide Abschnitt 7) */
.pikto { background: var(--hell); border-bottom: 1px solid var(--linie); height: 170px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pikto__bild { max-height: 120px; width: auto; max-width: 85%; }
.buehne__bild { opacity: .5; }
.hinweis { grid-template-columns: 220px 1fr auto; }
.hinweis__bild { width: 220px; height: 150px; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .hinweis { grid-template-columns: 1fr; } .hinweis__bild { width: 100%; height: 180px; } }
.raster--4 { grid-template-columns: repeat(4, 1fr); }
.raster--4 .pikto { height: 140px; }
@media (max-width: 1000px) { .raster--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .raster--4 { grid-template-columns: 1fr; } }
.fuhrpark__gruppe { margin-top: 0; }
.raster + .fuhrpark__gruppe { margin-top: 56px; }
