/* Ritschny – Webauftritt (ritschny.de). Keine Fremdschriften, keine Fremdskripte. */
:root {
  --rot: #d9001b; --rot-dunkel: #b00016; --rot-hell: #fdecee;
  --grau: #b0b0b0; --grau-dunkel: #5c5f63; --text: #1f2226; --text-leise: #50555b;
  --flaeche: #f4f4f2; --linie: #e2e2de; --weiss: #fff;
  --breite: 1180px; --rund: 10px;
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--weiss); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 750; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .25em 0; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 22px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: 8px 14px; z-index: 50; }
.springen:focus { left: 8px; }

/* Kopf */
.leiste { background: #1f2226; color: #d8d8d8; font-size: .86rem; }
.leiste .huelle { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.leiste a { color: #fff; text-decoration: none; }
.leiste a:hover { text-decoration: underline; }
.leiste .ort { color: #a9adb2; margin-right: 4px; }
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linie); backdrop-filter: saturate(1.4) blur(6px); }
.kopf .huelle { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.logo { flex: 0 0 auto; display: block; }
.logo img { height: 52px; width: auto; }
.hauptnav { margin-left: auto; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hauptnav li { margin: 0; }
.hauptnav a { display: block; padding: 8px 11px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .96rem; border-radius: 6px; white-space: nowrap; }
.hauptnav a:hover { background: var(--flaeche); color: var(--text); }
.hauptnav a[aria-current="page"] { color: var(--rot); box-shadow: inset 0 -3px 0 var(--rot); border-radius: 0; }
.hauptnav .knopf { margin-left: 8px; color: #fff; }
.hauptnav .knopf:hover { color: #fff; }
.menueknopf { display: none; margin-left: auto; background: none; border: 1px solid var(--linie); border-radius: 8px; padding: 9px 13px; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.menueknopf span { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; vertical-align: middle; margin-right: 8px; }
.menueknopf span::before, .menueknopf span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.menueknopf span::before { top: -6px; } .menueknopf span::after { top: 6px; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--rot); color: #fff; text-decoration: none; font-weight: 650; padding: 12px 22px; border-radius: 8px; border: 2px solid var(--rot); line-height: 1.25; text-align: center; }
.knopf:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; }
.knopf.hell { background: transparent; color: var(--text); border-color: var(--text); }
.knopf.hell:hover { background: var(--text); color: #fff; }
.knopf.weiss { background: #fff; color: var(--rot); border-color: #fff; }
.knopf.weiss:hover { background: transparent; color: #fff; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Bühne (Startseite) */
.buehne { background: linear-gradient(180deg, var(--flaeche), #fff); padding: 54px 0 40px; }
.buehne .raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.oberzeile { color: var(--rot); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: .7em; }
.einleitung { font-size: 1.15rem; color: var(--text-leise); max-width: 40em; }
.buehnenbild { position: relative; }
.buehnenbild img { border-radius: 14px; width: 100%; aspect-ratio: 2 / 1.15; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.buehnenbild::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 3px solid var(--rot); border-radius: 14px; z-index: -1; }
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 42px; border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; }
.fakten div { padding: 16px 20px; border-left: 1px solid var(--linie); }
.fakten div:first-child { border-left: 0; }
.fakten strong { display: block; font-size: 1.25rem; color: var(--text); }
.fakten span { color: var(--text-leise); font-size: .92rem; }

/* Schnellwahl (Startseite): Container-Shop und Ankaufspreise nebeneinander */
.schnellwahl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.schnell { border-radius: var(--rund); padding: 28px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.schnell h2 { font-size: 1.6rem; margin-bottom: .4em; }
.schnell .knopf { margin-top: auto; }
.schnell.shop { background: var(--rot); color: #fff; text-decoration: none; box-shadow: 0 14px 32px rgba(217,0,27,.22); transition: transform .15s, box-shadow .15s; }
.schnell.shop:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(217,0,27,.3); color: #fff; }
.schnell.shop .oberzeile { color: #fff; opacity: .85; }
.schnell.shop p { opacity: .95; }
.schnell.shop .liste-haken { margin-bottom: 1.4em; }
.schnell.shop .liste-haken li::before { border-color: #fff; }
.schnell.shop:hover .knopf.weiss { background: #fff; color: var(--rot-dunkel); }
.schnell.preise { background: #fff; border: 2px solid var(--rot); }
#preise-kurz { width: 100%; margin-bottom: 1.2em; }
.preise-kurz { width: 100%; border-collapse: collapse; font-size: 1rem; }
.preise-kurz caption { caption-side: top; text-align: left; color: var(--text-leise); font-size: .88rem; padding-bottom: 6px; }
.preise-kurz th, .preise-kurz td { padding: 7px 0; border-top: 1px solid var(--linie); text-align: left; font-weight: 500; }
.preise-kurz td { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt.flaeche { background: var(--flaeche); }
.abschnitt-kopf { max-width: 46em; margin-bottom: 30px; }
.abschnitt-kopf p { color: var(--text-leise); font-size: 1.08rem; }
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; }
a.karte:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.1); color: var(--text); }
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte .inhalt { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.karte p { color: var(--text-leise); font-size: .97rem; }
.karte .mehr { margin-top: auto; color: var(--rot); font-weight: 650; }
.band { background: var(--rot); color: #fff; padding: 46px 0; }
.band .huelle { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.band h2 { margin-bottom: .3em; }
.band p { margin: 0; max-width: 42em; opacity: .95; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zwei.oben { align-items: start; }
.zwei img.foto, .foto { border-radius: var(--rund); width: 100%; object-fit: cover; }
.foto.hoch { aspect-ratio: 4 / 3; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Seitenkopf (Unterseiten) */
.seitenkopf { background: var(--flaeche); border-bottom: 1px solid var(--linie); padding: 46px 0 38px; }
.seitenkopf h1 { margin-bottom: .35em; }
.seitenkopf .einleitung { margin: 0; }
.seitenkopf.mit-bild .huelle { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.seitenkopf.mit-bild img { border-radius: var(--rund); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Bausteine */
.kasten { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px 24px; }
.kasten.rot { background: var(--rot-hell); border-color: #f4c7cd; }
.kasten h3 { margin-bottom: .45em; }
.kasten p:last-child, .kasten ul:last-child { margin-bottom: 0; }
.liste-haken { list-style: none; padding: 0; }
.liste-haken li { padding-left: 28px; position: relative; }
.liste-haken li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 3px solid var(--rot); border-bottom: 3px solid var(--rot); transform: rotate(-45deg); }
.schritte { counter-reset: s; list-style: none; padding: 0; }
.schritte li { counter-increment: s; position: relative; padding: 2px 0 10px 46px; }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--rot); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; }
.zeiten { border-collapse: collapse; width: 100%; font-size: .97rem; }
.zeiten td { padding: 3px 0; vertical-align: top; }
.zeiten td:first-child { padding-right: 16px; color: var(--text-leise); white-space: nowrap; }
.nur-gewerbe { margin: .6em 0 0; padding: 9px 13px; background: var(--rot-hell); border-radius: 8px; color: var(--rot-dunkel); font-weight: 600; font-size: .95rem; }
.standort { display: flex; flex-direction: column; }
.standort img { aspect-ratio: 2 / 1; object-fit: cover; width: 100%; border-radius: var(--rund) var(--rund) 0 0; }
.standort .kasten { border-radius: 0 0 var(--rund) var(--rund); border-top: 0; flex: 1; }
.standort .firma { color: var(--text-leise); font-size: .93rem; margin-bottom: .6em; }
.kontaktzeilen { list-style: none; padding: 0; margin: 0 0 1em; }
.kontaktzeilen li { margin: .2em 0; }
.kontaktzeilen b { display: inline-block; min-width: 4.6em; color: var(--text-leise); font-weight: 600; }
.marke { display: inline-block; background: var(--rot-hell); color: var(--rot-dunkel); font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; margin-bottom: .6em; }

/* Container-Übersicht */
.behaelter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.behaelter .kasten img { height: 92px; width: auto; margin: 0 0 12px; }
.massliste { list-style: none; padding: 0; margin: 0; }
.massliste li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--linie); padding: 7px 0; }
.massliste li:first-child { border-top: 0; }
.massliste span { color: var(--text-leise); text-align: right; }

/* Zertifikate */
.zertifikate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.zertifikat { text-decoration: none; color: var(--text); text-align: center; }
.zertifikat img { border: 1px solid var(--linie); border-radius: 6px; margin: 0 auto 10px; width: 100%; max-width: 240px; box-shadow: 0 6px 16px rgba(0,0,0,.07); }
.zertifikat:hover img { box-shadow: 0 10px 24px rgba(0,0,0,.14); }

/* Ankaufspreise */
.preise-stand { color: var(--text-leise); margin-bottom: 1.4em; }
.preisgruppe { margin-bottom: 30px; }
.preisgruppe h2 { font-size: 1.3rem; border-left: 4px solid var(--rot); padding-left: 12px; }
.preistabelle { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; font-variant-numeric: tabular-nums; }
.preistabelle th, .preistabelle td { padding: 11px 14px; text-align: right; border-top: 1px solid var(--linie); }
.preistabelle thead th { background: var(--flaeche); border-top: 0; font-size: .86rem; color: var(--text-leise); font-weight: 650; }
.preistabelle th[scope="row"], .preistabelle thead th:first-child { text-align: left; }
.preistabelle thead th:first-child { width: 36%; }
.preistabelle th[scope="row"] { font-weight: 650; }
.preistabelle th[scope="row"] small { display: block; font-weight: 400; color: var(--text-leise); font-size: .86rem; }
.preis-hinweis { font-size: .93rem; color: var(--text-leise); }
.laedt { color: var(--text-leise); padding: 30px 0; }

/* Rechtstexte */
.rechtstext { max-width: 52em; }
.rechtstext h2 { font-size: 1.2rem; margin-top: 1.8em; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p.punkt { padding-left: 1.2em; }

/* Fuß */
.fuss { background: #1f2226; color: #c9cccf; padding: 50px 0 24px; font-size: .95rem; margin-top: 0; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .spalten { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 34px; }
.fuss h2 { font-size: 1.02rem; color: #fff; margin-bottom: .7em; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss .kontaktzeilen b { color: #9da2a7; }
.fuss .unten { border-top: 1px solid #383c41; margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; color: #9da2a7; font-size: .88rem; }
.fuss .unten nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Schmal */
@media (max-width: 1080px) {
  .js .menueknopf { display: inline-block; }
  .js .hauptnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
  .js .kopf.offen .hauptnav { display: block; }
  .hauptnav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
  .no-js .hauptnav ul { flex-wrap: wrap; flex-direction: row; padding: 0; }
  .hauptnav a { padding: 12px 10px; font-size: 1.05rem; }
  .hauptnav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--rot); padding-left: 16px; }
  .hauptnav .knopf { margin: 10px 0 0; }
  .kopf .huelle { flex-wrap: wrap; }
  .karten { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .buehne { padding-top: 34px; }
  .buehne .raster, .zwei, .seitenkopf.mit-bild .huelle, .schnellwahl { grid-template-columns: 1fr; gap: 28px; }
  .schnellwahl { margin-top: 34px; gap: 18px; }
  .schnell { padding: 22px 20px; }
  .buehnenbild::before { display: none; }
  .fakten { grid-template-columns: 1fr 1fr; }
  .fakten div:nth-child(3) { border-left: 0; }
  .fakten div:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .drei, .behaelter, .fuss .spalten { grid-template-columns: 1fr; }
  .zertifikate { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .abschnitt { padding: 46px 0; }
  .leiste .huelle { justify-content: flex-start; }
  .leiste .mail { display: none; }
  .zwei .bild-zuerst { order: -1; }
}
@media (max-width: 560px) {
  .karten { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  .kopf .huelle { min-height: 64px; }
  .knoepfe .knopf { flex: 1 1 100%; }
  /* Preistabelle als Karten */
  .preistabelle, .preistabelle tbody, .preistabelle tr, .preistabelle th, .preistabelle td { display: block; }
  .preistabelle { border: 0; background: none; }
  .preistabelle thead { display: none; }
  .preistabelle tr { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); margin-bottom: 12px; padding: 4px 0 8px; }
  .preistabelle th[scope="row"] { border-top: 0; padding-bottom: 6px; }
  .preistabelle td { display: flex; justify-content: space-between; border-top: 0; padding: 3px 14px; }
  .preistabelle td::before { content: attr(data-stufe); color: var(--text-leise); }
}
@media print {
  .leiste, .kopf, .fuss, .band, .knoepfe { display: none !important; }
  body { font-size: 12pt; }
  .seitenkopf { background: none; padding: 0 0 10px; }
}
.massliste.gestapelt li { display: block; }
.massliste.gestapelt span { display: block; text-align: left; font-size: .93rem; }
.rechtstext h2.teil { font-size: 1.45rem; margin-top: 2.4em; padding-top: 1em; border-top: 3px solid var(--rot); }
