/* www.bueroware-vending.de – Facelift 2026: Petrol wie bisher, Kopfbilder je Seite, Systemschrift, responsiv */
:root {
  --petrol: #008a88; --petrol-dunkel: #006b69; --text: #464e54; --grau: #8d9da9; --linie: #dfe6e9;
  --hell: #f3f6f7; --breite: 1100px; --rund: 10px; --rund-klein: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--hell); }
a { color: var(--petrol-dunkel); }
a:hover { color: var(--petrol); }
img { max-width: 100%; height: auto; }
a[href^="tel:"] { white-space: nowrap; }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopf */
.kopf { background: var(--petrol); color: #fff; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .5rem 1.25rem 0; display: grid;
  grid-template-columns: auto 1fr; grid-template-areas: "meta meta" "marke menue"; align-items: end; gap: .25rem 2rem; }
.metanav { grid-area: meta; justify-self: end; font-size: .88rem; }
.metanav a { color: #fff; text-decoration: none; padding: 0 .7rem; border-left: 1px solid rgba(255,255,255,.6); }
.metanav a:first-child { border-left: 0; }
.metanav a:hover, .metanav a[aria-current] { text-decoration: underline; }
.marke { grid-area: marke; display: block; padding: .4rem 0 1rem; }
.marke img { display: block; width: 330px; }
.hauptmenue { grid-area: menue; justify-self: end; }
.hauptmenue ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; }
.hauptmenue a { display: block; padding: .6rem 1rem .7rem; color: #fff; text-decoration: none; font-weight: 600;
  border-radius: var(--rund-klein) var(--rund-klein) 0 0; }
.hauptmenue a:hover { background: rgba(255,255,255,.15); color: #fff; }
.hauptmenue a[aria-current] { background: var(--hell); color: var(--petrol-dunkel); }
.kopfbild { max-width: var(--breite); margin: 1.25rem auto 0; padding: 0 1.25rem; }
.kopfbild img { display: block; width: 100%; aspect-ratio: 940 / 340; object-fit: cover; border-radius: var(--rund); }

/* Spalten */
.spalten { max-width: var(--breite); margin: 1.5rem auto; padding: 0 1.25rem; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.spalten.mit-links { grid-template-columns: 230px minmax(0, 1fr); }
.spalten.mit-rechts { grid-template-columns: minmax(0, 1fr) 250px; }
.spalten.mit-links.mit-rechts { grid-template-columns: 230px minmax(0, 1fr) 250px; }
.inhalt { background: #fff; padding: 1.75rem 2rem 2rem; border: 1px solid var(--linie); border-radius: var(--rund); min-width: 0; }
.inhalt > :last-child { margin-bottom: 0; }
.inhalt::after { content: ""; display: block; clear: both; }
h1 { color: var(--petrol-dunkel); font-size: 1.6rem; line-height: 1.25; margin: 0 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--petrol); }
h2 { font-size: 1.2rem; line-height: 1.35; margin: 1.5rem 0 .5rem; color: var(--petrol-dunkel); }
h3 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
.inhalt li::marker { color: var(--petrol); }
.inhalt table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
.inhalt td, .inhalt th { border: 1px solid var(--linie); padding: .4rem .6rem; vertical-align: top; text-align: left; }
p.video a::before { content: "▶ "; }
a.mehr { font-weight: 600; text-decoration: none; }
a.mehr::before { content: "→ "; }

/* Startseite: zwei Teaser */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.teaser h2 { margin-top: 0; }

/* Bilder */
.bild { margin: 0 0 1rem; }
.bild img { display: block; border-radius: var(--rund-klein); }
.bild.links { float: left; max-width: 48%; margin: .3rem 1.5rem 1rem 0; clear: left; }
.bild.rechts { float: right; max-width: 48%; margin: .3rem 0 1rem 1.5rem; clear: right; }
.bild.mitte { margin: 1.25rem 0; clear: both; }
.bild.mitte img { width: 100%; }
.bild.zentriert { clear: both; margin: 1.25rem 0; }
figcaption { font-size: .9rem; font-style: italic; color: #6b767d; margin-top: .3rem; }

/* linke Spalte: Untermenü */
.untermenue { align-self: start; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: .5rem; font-size: .95rem; }
.untermenue ul { list-style: none; margin: 0; padding: 0; }
.untermenue ul ul { margin: .15rem 0 .25rem .9rem; font-size: .93em; }
.untermenue a { display: block; padding: .4rem .7rem; border-radius: var(--rund-klein); color: var(--text); text-decoration: none; }
.untermenue a:hover { background: var(--hell); color: var(--petrol-dunkel); }
.untermenue a[aria-current="true"] { color: var(--petrol-dunkel); font-weight: 600; }
.untermenue a[aria-current="page"] { background: var(--petrol); color: #fff; font-weight: 600; }

/* rechte Spalte: Bausteine */
.bausteine { align-self: start; display: grid; gap: 1.25rem; }
.baustein { background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--petrol); border-radius: var(--rund); padding: 1rem 1.1rem; font-size: .93rem; overflow: hidden; }
.baustein h2 { margin-top: 0; font-size: 1rem; }
.baustein > :last-child { margin-bottom: 0; }
.baustein .bild, .baustein .bild.links, .baustein .bild.rechts { float: none; max-width: 100%; margin: 0 0 .75rem; }
.baustein .bild img { max-width: 100%; }
.kontakt-daten { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; }
.kontakt-daten dt { font-weight: 600; }
.kontakt-daten dd { margin: 0; }
ul.sitemap ul { margin: .2rem 0 .5rem; }

/* Fuß */
.fuss { background: var(--grau); color: #fff; font-size: .9rem; margin-top: 2rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
.fuss a { color: #fff; }

@media (max-width: 1000px) {
  .spalten.mit-links.mit-rechts { grid-template-columns: 220px minmax(0, 1fr); }
  .spalten.mit-links.mit-rechts .bausteine { grid-column: 2; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .kopf-innen { grid-template-areas: "meta meta" "marke marke" "menue menue"; }
  .hauptmenue { justify-self: start; }
}
@media (max-width: 760px) {
  .spalten.mit-links, .spalten.mit-rechts, .spalten.mit-links.mit-rechts { grid-template-columns: minmax(0, 1fr); }
  .spalten.mit-links.mit-rechts .bausteine { grid-column: auto; }
  .bausteine { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .inhalt { padding: 1.25rem; }
  .teaser { grid-template-columns: 1fr; }
  .untermenue { order: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .kopf-innen { padding: .4rem 1rem 0; }
  .metanav { justify-self: start; }
  .metanav a:first-child { padding-left: 0; }
  .marke img { width: 240px; }
  .hauptmenue a { padding: .5rem .7rem; }
  .kopfbild { padding: 0; margin-top: 0; }
  .kopfbild img { border-radius: 0; }
  .bild.links, .bild.rechts { float: none; max-width: 100%; margin: 1rem 0; }
  h1 { font-size: 1.4rem; }
}
@media print {
  .hauptmenue, .metanav, .untermenue, .bausteine, .sprung, .kopfbild { display: none; }
  body { background: #fff; }
  .inhalt { border: 0; padding: 0; }
}
