/* www.geldbach.com – Facelift 2026: Schwarz, Geldbach-Rot und Gelb wie bisher, Systemschrift, responsiv */
:root {
  --rot: #d70021; --rot-dunkel: #a8001a; --gelb: #fbba08; --schwarz: #000; --text: #333; --grau: #6b6b6b;
  --linie: #e2e2e2; --hell: #f3f3f3; --breite: 1080px; --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(--rot); }
a:hover { color: var(--rot-dunkel); }
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; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopf */
.kopf { background: #fff; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .6rem 1.25rem .5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.marke img { display: block; width: 230px; }
.kopf-rechts { display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; flex-wrap: wrap; justify-content: flex-end; }
.metanav a { color: var(--grau); text-decoration: none; }
.metanav a + a::before { content: "|"; color: #ccc; margin: 0 .5rem; }
.metanav a:hover { color: var(--rot); }
.sprache { font-weight: 600; text-decoration: none; color: var(--text); border: 1px solid var(--linie); border-radius: 999px; padding: .2rem .8rem; }
.sprache::before { content: "▸ "; color: var(--rot); }
.sprache:hover { border-color: var(--rot); }
.hauptmenue { background: var(--schwarz); }
.hauptmenue ul { max-width: var(--breite); margin: 0 auto; padding: 0 .75rem; list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.hauptmenue a { display: block; padding: .7rem 1.1rem; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.hauptmenue a::before { content: "⌄ "; color: var(--rot); font-weight: 700; }
.hauptmenue a:hover { color: var(--gelb); }
.hauptmenue a[aria-current] { border-bottom-color: var(--rot); }

/* Startseite */
.start { max-width: var(--breite); margin: 1.5rem auto; padding: 0 1.25rem; }
.kacheln { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.kacheln a { display: block; height: 100%; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; text-decoration: none; color: var(--text); }
.kacheln a:hover { border-color: var(--gelb); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.kacheln img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kachel-titel { display: block; padding: .8rem 1.1rem 0; font-weight: 700; font-size: 1.15rem; color: var(--schwarz); border-top: 4px solid var(--gelb); }
.kachel-text { display: block; padding: .2rem 1.1rem 1rem; font-size: .95rem; }
.start-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.5rem; }
.mehr::after { content: " »"; }

/* Inhalt */
.spalten { max-width: var(--breite); margin: 1.5rem auto; padding: 0 1.25rem; display: grid; gap: 1.5rem; }
.spalten.mit-rechts { grid-template-columns: minmax(0, 1fr) 300px; }
.inhalt { background: #fff; padding: 1.75rem 2rem 2rem; border: 1px solid var(--linie); border-radius: var(--rund); }
.inhalt > :last-child { margin-bottom: 0; }
.inhalt::after { content: ""; display: block; clear: both; }
h1 { color: var(--schwarz); font-size: 1.7rem; line-height: 1.25; margin: 0 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--rot); }
h2 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; color: var(--schwarz); }
.inhalt > h2:first-child { margin-top: 0; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 .4rem; }
.inhalt li::marker { color: var(--rot); }
.bild { margin: 0 0 1rem; }
.bild.mitte { margin: 1.25rem 0; }
.bild.mitte img { width: 100%; border-radius: var(--rund-klein); border: 1px solid #eee; }
ul.links { list-style: none; padding: 0; }
ul.links li { margin: .35rem 0; }
ul.links a::before, a.pdf::before { content: "▸ "; }
a.pdf::after { content: " (PDF)"; color: var(--grau); font-size: .85em; }

/* Produkte: Zeichnung links, Normen rechts */
ul.produkte { list-style: none; margin: 0; padding: 0; }
ul.produkte li { display: grid; grid-template-columns: 200px 1fr; gap: 1.25rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid #eee; }
ul.produkte li:last-child { border-bottom: 0; }
ul.produkte .zeichnung { display: flex; align-items: center; justify-content: center; min-height: 100px; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-klein); padding: .5rem; }
ul.produkte h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
ul.produkte p { margin: 0; }

/* Bildergalerie Produktion */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.galerie a { display: block; }
.galerie img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund-klein); }
.galerie a:hover img { opacity: .85; }

/* rechte Spalte */
.infospalte { display: grid; gap: 1.25rem; align-self: start; }
.kasten { background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--rot); border-radius: var(--rund); padding: 1.1rem 1.25rem; font-size: .95rem; }
.kasten h2 { margin-top: 0; font-size: 1.05rem; }
.kasten.anfrage { border-top-color: var(--gelb); }
.kasten p { margin: .5rem 0; }
.untermenue h2 a { color: var(--schwarz); text-decoration: none; }
.untermenue ul { list-style: none; margin: 0; padding: 0; }
.untermenue li a { display: block; padding: .35rem 0; border-bottom: 1px solid #eee; text-decoration: none; }
.untermenue li:last-child a { border-bottom: 0; }
.untermenue a[aria-current] { font-weight: 700; color: var(--schwarz); }

/* Fuß */
.fuss { background: var(--schwarz); color: #ddd; font-size: .9rem; margin-top: 2rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 1.75rem 1.25rem 1rem; display: grid; grid-template-columns: 250px 1fr 1fr; gap: 1.5rem 2.5rem; }
.fuss h2 { color: #fff; font-size: 1rem; margin: 0 0 .6rem; padding-bottom: .35rem; border-bottom: 1px solid #555; }
.fuss p { margin: 0 0 .75rem; }
.fuss a { color: #fff; }
.fuss a.gross { font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.fuss-marke img { display: block; width: 229px; }
.fuss .tuev { display: block; width: 126px; border-radius: var(--rund-klein); }
.fuss-unten { max-width: var(--breite); margin: 0 auto; padding: .75rem 1.25rem 1.25rem; border-top: 1px solid #2a2a2a; font-size: .85rem; }
.fuss-unten a { color: #bbb; margin-right: 1.25rem; }

@media (max-width: 860px) {
  .spalten.mit-rechts, .start-spalten { grid-template-columns: 1fr; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .inhalt { padding: 1.25rem; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  .hauptmenue ul { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .marke img { width: 170px; }
  .metanav { display: none; }
  .hauptmenue a { padding: .55rem .6rem; }
  .hauptmenue a::before { content: ""; }
  .kacheln { grid-template-columns: 1fr; gap: .9rem; }
  .kacheln img { aspect-ratio: 21 / 9; }
  ul.produkte li { grid-template-columns: 120px 1fr; gap: .9rem; }
  .fuss-innen { grid-template-columns: 1fr; }
  h1 { font-size: 1.4rem; }
}
@media print {
  .hauptmenue, .infospalte, .sprung, .metanav, .sprache, .fuss-marke { display: none; }
  body { background: #fff; }
  .inhalt { border: 0; padding: 0; }
}
