/* Prorenta Basis-Theme – eigenständig, ohne externe Ressourcen.
   Maße und Farben sind an den bisherigen Websites (Theme "winner") gemessen. */

:root {
  --accent: #993333;
  --text: #404040;
  --u: min(1px, calc(100vw / 1240));              /* Skalierung des 1240-px-Rasters (Slider/Kopfbilder) */
  --gl: max(0px, calc((100vw - 1240px) / 2));      /* linker Rand des Rasters bei breiten Fenstern */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #1b1b1b; }
body { margin: 0; font: var(--fw, 400) var(--fs, 13px)/var(--lh, 1.4) var(--ff, "Open Sans", Arial, sans-serif); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1000px, calc(100% - 40px)); margin-inline: auto; }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.topbar { background: #fefefe; color: #5a5a5a; font-size: 11.7px; height: 33px; line-height: 33px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 33px; }
.topbar a { color: #5a5a5a; }
.tb-left { display: flex; align-items: center; }
.tb-links { display: flex; align-items: center; } .tb-links a + a { margin-left: 13px; padding-left: 13px; border-left: 1px solid #d5d5d5; line-height: 14px; } .tb-links a:hover { color: var(--accent); }
.nav-extra { display: none; }
.tb-left a + a { margin-left: 13px; padding-left: 13px; border-left: 1px solid #d5d5d5; line-height: 14px; }
.topbar i { color: #7a7a7a; margin-right: 3px; }

/* ── Header / Navigation ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; height: var(--hdr, 90px); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.site-header { transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(255, 255, 255, var(--hdra, .92)); -webkit-backdrop-filter: blur(var(--hdrb, 6px)); backdrop-filter: blur(var(--hdrb, 6px)); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: flex-start; height: var(--hdr, 90px); position: relative; }
.logo img { display: block; height: 89px; width: auto; }
.site-prorenta { --hdr: 136px; }
.site-prorenta .logo img { height: 100px; margin: 18px 0; }
.hd-right { display: flex; flex-direction: column; align-items: flex-end; height: 100%; padding-top: 35px; box-sizing: border-box; }
.hd-right .topbar.tb-in { background: none; width: auto; } .topbar .tb-wrap { display: flex; align-items: center; height: 33px; gap: 24px; }
.site-prorenta .main-nav a { line-height: 45px; padding-bottom: calc(var(--hdr) - 113px); }
@media (max-width: 1000px) { .hd-right { display: contents; } }
@media (max-width: 767px) { .site-prorenta { --hdr: 90px; } .site-prorenta .logo img { height: 70px; margin: 10px 0; } }
.main-nav { margin-right: -10px; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 0 10px; line-height: var(--hdr, 90px); font: var(--mw, 400) 14px/var(--hdr, 90px) "Roboto Condensed", "Roboto", "Arial Narrow", sans-serif;
  text-transform: uppercase; color: var(--text); white-space: nowrap; }
.main-nav a:hover, .main-nav li.current > a, .main-nav li:hover > a, .main-nav li:focus-within > a { color: var(--accent); text-decoration: none; }
.main-nav .sub-menu a { color: #808080; }
.main-nav .sub-menu li.current > a, .main-nav .sub-menu li:hover > a { color: var(--text); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 170px; flex-direction: column; background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08); padding: 0; z-index: 5; }
.main-nav .sub-menu::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 1; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu li { position: static; }
.main-nav .sub-menu a { padding: 9px 30px 9px 12px; font: var(--mw, 400) 12px/16.8px "Roboto Condensed", "Roboto", "Arial Narrow", sans-serif; text-transform: none; color: #808080;
  border-bottom: 1px solid #e6e6e6; background: #fff; white-space: nowrap; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a:focus-visible { background: #f7f7f7; color: var(--text); text-decoration: none; }
.nav-toggle { display: none; }
/* Dreieck bei Menüpunkten mit Aufklappmenü */
.main-nav li.has-children > a::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; position: relative; top: -1px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform .15s ease; }
.main-nav li.has-children:hover > a::after, .main-nav li.has-children:focus-within > a::after { transform: rotate(180deg); }

/* ── Hero: Slider (Startseite) und Kopfbild (Unterseiten) ───────────────── */
.hero { position: relative; overflow: hidden; background: #e4e4e4; height: calc(var(--hh, 700) * var(--u)); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); max-width: none; transform-origin: 50% 50%; animation: hero-in 1s ease both; }
.hero-page.kb .hero-img { animation: hero-in 1s ease both, kenburns 10s linear .3s both; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
.slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.slide.active, .slide.leaving { visibility: visible; }
.slide.active .slide-bgwrap { z-index: 2; }
.slide.leaving .slide-bgwrap { z-index: 1; }
.slide-shp, .slide-ov { z-index: 4; }
.slide-bgwrap { position: absolute; inset: 0; transform: translateY(-100%); opacity: 0; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none; transform-origin: 50% 50%; }
.slide.active .slide-bgwrap { transform: none; opacity: 1; transition: transform 1s cubic-bezier(.645, .045, .355, 1), opacity 1s ease; }
.slide.leaving .slide-bgwrap { transform: translateY(100%); opacity: 0; transition: transform 1s cubic-bezier(.645, .045, .355, 1), opacity 1s ease; }
.slide.active .slide-bg { animation: kenburns 10s linear .3s both; }
.slide-shp, .slide-ov { position: absolute; max-width: none; opacity: 0; }
.slide-shp { left: calc(var(--gl) + var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); }
.slide-ov { height: auto; left: calc(var(--gl) + var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); }
.slide.active .slide-shp { animation: shp-in 1s cubic-bezier(.645, .045, .355, 1) both; }
.slide.active .slide-ov.anim-fly { animation: ov-fly 1s cubic-bezier(.215, .61, .355, 1) both; }
.slide.active .slide-ov.anim-spin { animation: ov-spin 1s cubic-bezier(.215, .61, .355, 1) .15s both; }
.slide.active .slide-ov.anim-zoom { animation: ov-zoom 1s cubic-bezier(.215, .61, .355, 1) .15s both; }
.slide.leaving .slide-shp, .slide.leaving .slide-ov { opacity: 0; transition: opacity .3s ease; }
/* feines Punktmuster über allen Kopfbildern und Slidern (wie bisher) */
.dots, .hero-page::after { position: absolute; inset: 0; background: url(../img/dots.png) repeat; pointer-events: none; z-index: 3; }
.hero-page::after { content: ""; }
@keyframes kenburns { from { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes shp-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ov-fly { from { opacity: 1; transform: perspective(600px) translateY(200%) scale(2) rotateX(-20deg) rotateY(-20deg); } to { opacity: 1; transform: none; } }
@keyframes ov-spin { from { opacity: 0; transform: rotate(30deg) scale(1.43); } to { opacity: 1; transform: none; } }
@keyframes ov-zoom { from { opacity: 0; transform: scale(1.15) translateY(30px); } to { opacity: 1; transform: none; } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 100px; height: 100px; border: 0; padding: 0;
  background: rgba(0, 0, 0, .25); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.hero-arrow:hover { background: rgba(0, 0, 0, .45); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 5px; }
.hero-dots button { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero-dots button.active { background: #fff; }

/* ── Inhalt ─────────────────────────────────────────────────────────────── */
.page-body { padding: 45px 0; background: var(--pbg, #f2f2f2); }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { flex: 0 0 100%; max-width: 100%; padding: 0 15px; min-width: 0; }
.spacer { display: block; }
.blk { margin: 0 0 45px; }
.blk-text > :last-child { margin-bottom: 0; }
.blk p { margin: 0 0 15px; }
h1, h2, h3, h4 { font-family: var(--fh, "Roboto", Arial, sans-serif); font-weight: 700; color: var(--text); margin: 0 0 15px; }
h2 { font-weight: var(--h2w, 700); font-size: var(--h2s, 20.8px); line-height: calc(var(--h2s, 20.8px) * 1.2); color: var(--h2c, var(--text)); text-transform: uppercase; margin: 0; }
h3 { font-weight: var(--h3w, 700); font-size: var(--h3s, 16px); line-height: calc(var(--h3s, 16px) * 1.25); color: var(--h3c, var(--text)); }
h4 { font-size: 14px; line-height: 18px; }
strong, b { font-weight: var(--sw, 600); }
h1 strong, h2 strong, h3 strong, h4 strong, h1 b, h2 b, h3 b, h4 b { font-weight: inherit; }
ul, ol { margin: 0 0 15px; padding-left: 20px; }
table { border-collapse: collapse; margin: 0 0 15px; }
td, th { padding: 2px 14px 2px 0; text-align: left; vertical-align: top; }
blockquote { margin: 0 0 15px; padding: 6px 0 6px 20px; border-left: 4px solid #eee; font: italic 700 17px/22px Georgia, "Times New Roman", serif; color: #777; }
blockquote p { margin: 0; }
.blk-card .card-body p, .blk-card .card-body li { font-size: var(--cs, 13px); }

.blk-img { margin: 0 0 45px; }
.blk-img img { display: block; width: 100%; height: auto; }
.blk-img figcaption, .blk-imgrow figcaption { margin-top: 8px; font: 600 12px/18.2px "Open Sans", Arial, sans-serif; }
.blk-imgrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; margin-bottom: 45px; }
.blk-imgrow.per-1 { grid-template-columns: 1fr; }
.blk-imgrow.per-2 { grid-template-columns: repeat(2, 1fr); }
.blk-imgrow.per-4 { grid-template-columns: repeat(4, 1fr); }
.blk-imgrow .blk-img { margin: 0; }
a[data-lightbox] { cursor: zoom-in; display: block; }

.blk-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.blk-gallery img { display: block; width: 100%; height: auto; }
.blk-gallery { row-gap: 16px; } .blk-gallery figure.gi { margin: 0; } .blk-gallery figcaption { margin-top: 7px; font: 600 12px/1.4 var(--ff, "Open Sans", Arial, sans-serif); color: var(--text); }
.lb .lb-cap { position: absolute; left: 0; right: 0; bottom: 38px; text-align: center; color: #fff; font: 600 14px/1.4 "Open Sans", Arial, sans-serif; padding: 0 70px; text-shadow: 0 1px 3px rgba(0,0,0,.7); pointer-events: none; }

.blk-card { position: relative; background: var(--cbg, #fff); border: var(--cbw, 1px) solid var(--cbc, #e6e6e6); border-radius: var(--cbr, 5px); padding: var(--cpad, 13px) var(--cpad, 13px) var(--cpad, 13px) calc(39px + var(--cpad, 13px)); margin-bottom: 25px; color: var(--text); box-shadow: var(--csh, none); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.blk-card::before, .blk-card::after { content: ""; position: absolute; background: var(--cac, #993333); pointer-events: none; }
.blk-card::before { left: 0; top: 0; bottom: 0; width: var(--cal, 0px); }
.blk-card::after { left: 0; right: 0; top: 0; height: var(--cat, 0px); }
@media (hover: hover) { .blk-card:hover { transform: translateY(var(--chv, 0px)); box-shadow: var(--cshh, var(--csh, none)); } }
.blk-card .card-icon { position: absolute; left: 0; top: 0; bottom: 0; width: 52px; display: flex; align-items: center; justify-content: center; font-size: var(--cis, 20px); color: var(--cic, #b3b3b3); }
.blk-card .card-body > :last-child { margin-bottom: 0; }
.blk-card .card-body h2, .blk-card .card-body h3, .blk-card .card-body h4 { font-weight: var(--chw, 700); font-size: var(--chs, 16px); line-height: 1.25; color: var(--chc, var(--text)); margin: 0 0 8px; }
.blk-card ul { padding-left: 16px; }
/* Infokarte Variante 2 „ohne Symbol“ (eigene Einstellungen unter Design-Vorgaben) */
.blk-card.plain { background: var(--c2bg, #fff); border: var(--c2bw, 1px) solid var(--c2bc, #e6e6e6); border-radius: var(--c2br, 5px); padding: var(--c2pad, 13px); box-shadow: var(--c2sh, none); }
.blk-card.plain::before { width: var(--c2al, 0px); background: var(--c2ac, #993333); } .blk-card.plain::after { height: var(--c2at, 0px); background: var(--c2ac, #993333); }
@media (hover: hover) { .blk-card.plain:hover { transform: translateY(var(--c2hv, 0px)); box-shadow: var(--c2shh, var(--c2sh, none)); } }
.blk-card.plain .card-body p, .blk-card.plain .card-body li { font-size: var(--c2s, 13px); }
.blk-card.bare { background: none; border: 0; border-radius: 0; box-shadow: none; padding: var(--c3pad, 0); overflow: visible; transition: none; }
.blk-card.bare::before, .blk-card.bare::after { display: none; }
.blk-card.bare .card-body p, .blk-card.bare .card-body li { font-size: var(--c3s, 13px); }
.blk-card.bare .card-body h2, .blk-card.bare .card-body h3, .blk-card.bare .card-body h4 { font-size: var(--c3hs, 16px); color: var(--c3hc, var(--text)); }
.page-body img { border: var(--ibw, 3px) solid var(--ibc, #fff); border-radius: var(--ibr, 3px); box-sizing: border-box; }
.page-body .blk-card img, .page-body .rv-stars img { border: 0; border-radius: 0; }   /* Bilder in Infokarten: ohne Rahmen */
.blk-card .card-body figure { margin: 12px 0; } .blk-card .card-body img { display: block; width: 100%; height: auto; }
.blk-card.plain .card-body h2, .blk-card.plain .card-body h3, .blk-card.plain .card-body h4 { font-size: var(--c2hs, 16px); color: var(--c2hc, var(--text)); }

.blk.blk-download { margin-bottom: 10px; }
.blk-download a.dl { display: flex; align-items: center; gap: 14px; padding: 10px 14px; min-height: 56px; background: var(--c2bg, #fff); border: 1px solid var(--c2bc, #e6e6e6); border-radius: var(--c2br, 5px); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.blk-download a.dl:hover, .blk-download a.dl:focus-visible { border-color: var(--accent); box-shadow: 0 3px 10px rgba(0, 0, 0, .09); transform: translateY(-1px); text-decoration: none; outline: none; color: var(--text); }
.blk-download .dl-ic { flex: none; width: 40px; height: 40px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: #f1f1f1; color: #808080; }
.blk-download .dl-pdf .dl-ic { background: #fbe9e7; color: #c0392b; } .blk-download .dl-doc .dl-ic { background: #e6eef9; color: #2b5797; } .blk-download .dl-xls .dl-ic { background: #e5f3ea; color: #1e7145; } .blk-download .dl-ppt .dl-ic { background: #fdeee3; color: #c8501c; } .blk-download .dl-zip .dl-ic { background: #f3ecd9; color: #8a6d1d; }
.blk-download .dl-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.blk-download .dl-tx strong { font-weight: var(--sw, 600); color: var(--text); overflow-wrap: anywhere; }
.blk-download .dl-tx small { font-size: 12px; color: #808080; margin-top: 2px; }
.blk-download .dl-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #a0a0a0; background: transparent; transition: background .15s, color .15s; }
.blk-download a.dl:hover .dl-go, .blk-download a.dl:focus-visible .dl-go { background: var(--accent); color: #fff; }
.blk-video { max-width: 560px; }
.blk-card .blk-video { max-width: none; } .blk-card .card-body .video-note { font-size: 10px; line-height: 12.5px; margin: 6px 0 0; }
.blk-card .video-text { margin-top: 8px; } .blk-card .card-body .video-text p, .blk-card .card-body .video-text li { margin: 0 0 4px; line-height: 1.1; } .blk-card .video-text span { line-height: 1.1; }
.blk-galwrap .gal-title { margin: 0 0 10px; } .blk-galwrap .blk-gallery { margin: 0; }
.video-link { position: relative; display: block; background: #222; aspect-ratio: 16 / 9; overflow: hidden; }
.video-link img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 14px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.video-play i { font-size: 56px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blk-video.yt-embed { max-width: none; container-type: inline-size; } .yt-ph { position: relative; display: flex; min-height: 56.25cqw; background: #222; color: #fff; clip-path: inset(0); }
.yt-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: blur(3px); transform: scale(1.04); }
.yt-box { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; text-align: center; }
.yt-title { margin: 0; font-weight: 600; font-size: 15px; } .yt-title i { color: #ff3b30; margin-right: 4px; }
.yt-note { margin: 0; max-width: 520px; font-size: 11.5px; line-height: 1.45; color: #e6e6e6; }
.yt-load { background: #fff; color: #222; border: 0; border-radius: 4px; padding: 9px 16px; font: 600 13px "Open Sans", Arial, sans-serif; cursor: pointer; min-height: var(--mtap, 0px); } .yt-load:hover, .yt-load:focus-visible { background: var(--accent); color: #fff; }
.yt-links { margin: 0; font-size: 11.5px; } .page-body .yt-links a { color: #fff; text-decoration: underline; } .yt-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 767px) { .yt-note { font-size: 12px; } }
.video-note { font-size: 11px; line-height: 15px; color: #8a8a8a; margin: 8px 0 0; }
.blk-objekte { padding: 24px; background: #f6f6f6; border: 1px solid #e6e6e6; border-radius: 5px; }
.blk-objekte p { margin: 0; }

.blk-tabs .tab-list { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid #dcdcdc; margin-bottom: 20px; }
.blk-tabs .tab-btn { font: 600 12px/16px "Open Sans", Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--text); background: #f1f1f1;
  border: 1px solid #dcdcdc; border-bottom: 0; border-radius: 4px 4px 0 0; padding: 11px 16px; cursor: pointer; }
.blk-tabs .tab-btn.active { background: #fff; color: var(--accent); position: relative; top: 1px; }
.blk-tabs .tab-panel { display: none; }
.blk-tabs .tab-panel.active { display: block; }
.blk-tabs .tab-panel.active:has(> .blk-card .yt-embed) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; align-items: start; }   /* Videokarten in Reitern: 2 pro Zeile */
@media (max-width: 767px) { .blk-tabs .tab-panel.active:has(> .blk-card .yt-embed) { grid-template-columns: 1fr; } }
.blk-tabs .tab-panel > .blk:last-child { margin-bottom: 0; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer .widgets { background: #2a2a2a; padding: 40px 0 49px; color: #c3c3c3; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -20px; }
.foot-col { padding: 0 20px; min-width: 0; }
.foot-col h3 { font: var(--fhw, 400) 14.3px/17.16px "Roboto", Arial, sans-serif; letter-spacing: .4px; text-transform: uppercase; color: #f2f2f2; margin: 0 0 15px; }
.foot-col hr { border: 0; border-top: 1px solid #808080; margin: 0 0 25px; height: 0; }
.foot-col hr.spaced { margin: 25px 0; }
.foot-logo { display: block; width: 220px; height: auto; margin: -12px 0 37px; }
.foot-text, .foot-list { line-height: 18.2px; }
.foot-owner { display: flex; gap: 14px; align-items: stretch; } .foot-owner > div { align-self: center; } .foot-sq { width: 55px; height: 55px; flex: none; filter: grayscale(1) brightness(1.15); opacity: .85; }
.foot-list .gap { height: 18px; }
.foot-col b { color: #f2f2f2; }
.foot-col i { font-size: 12px; margin-right: 2px; }
.socket { background: #1b1b1b; padding: 8px 0; font-size: 11.05px; line-height: 15.47px; color: #a9a9a9; }
.socket .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── Bewertungen (Referenzen): kompakte Infokarten mit 5 Sternen ── */
.rv-stars { display: inline-flex; gap: 2px; font-size: 15px; line-height: 1; } .rv-stars .on { color: #f5b301; } .rv-stars .off { color: #d9d9d9; }
.rv-avg { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .rv-avg span:last-child { color: #808080; }
.rv-grid { column-count: 3; column-gap: 15px; } .rv-grid.cols-1 { column-count: 1; } .rv-grid.cols-2 { column-count: 2; }   /* Mauerwerk-Anordnung: jede Karte nur so hoch wie ihr Inhalt */
.blk-card.rv { margin: 0 0 15px; display: flex; flex-direction: column; gap: 0; break-inside: avoid; } .blk-card.rv .rv-stars { margin-bottom: 16px; } .blk-card.rv .rv-text { margin: 0; font-size: var(--c2s, 13px); } .blk-card.rv .rv-meta { margin: 0; font-size: 11px; color: #808080; } .blk-card.rv .rv-row { margin: 0; font-size: var(--c2s, 13px); } .blk-card.rv strong { font-weight: 800; } .blk-card.rv .rv-quote { font-style: italic; }
@media (max-width: 900px) { .rv-grid.cols-3 { column-count: 2; } } @media (max-width: 600px) { .rv-grid, .rv-grid.cols-2, .rv-grid.cols-3 { column-count: 1; } .blk-card.rv .rv-text { font-size: var(--mcs, 15px); } }

/* ── Links: Inhalt und Fußbereich getrennt einstellbar (Backend → Design-Vorgaben) ── */
.page-body a { color: var(--lkc, var(--accent)); font-weight: var(--lkw, inherit); text-decoration: var(--lku, none); text-underline-offset: 2px; }
.page-body a:hover, .page-body a:focus-visible { color: var(--lkh, var(--lkc, var(--accent))); text-decoration: var(--lkuh, underline); }
.site-footer a { color: var(--flc, #c3c3c3); font-weight: var(--flw, inherit); text-decoration: var(--flu, none); text-underline-offset: 2px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--flh, #fff); text-decoration: var(--fluh, none); }

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; touch-action: none; user-select: none; -webkit-user-select: none; cursor: zoom-in; }
.lb .lb-zoom { position: absolute; bottom: 10px; right: 12px; display: flex; gap: 6px; } .lb .lb-zoom button { position: static; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 26px; padding: 0; }
.lb button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 34px; line-height: 1; padding: 14px; opacity: .85; }
.lb button:hover { opacity: 1; }
.lb .lb-close { top: 6px; right: 10px; }
.lb .lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 12px; }

/* ── Responsive (Spalten wie bisher: ab 768 px nebeneinander) ────────────── */
@media (min-width: 768px) {
  .col-1 { flex-basis: 8.3333%; max-width: 8.3333%; }   .col-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
  .col-3 { flex-basis: 25%; max-width: 25%; }           .col-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
  .col-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .col-6 { flex-basis: 50%; max-width: 50%; }
  .col-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .col-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
  .col-9 { flex-basis: 75%; max-width: 75%; }           .col-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
  .col-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .col-12 { flex-basis: 100%; max-width: 100%; }
}
@media (min-width: 1200px) { .hide-lg { display: none !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .hide-md { display: none !important; } }
@media (min-width: 768px) and (max-width: 991px) { .hide-sm { display: none !important; } }
@media (max-width: 767px) {
  .hide-xs { display: none !important; }
  .slide-ov { left: calc(var(--mx) * var(--u)); top: calc(var(--my) * var(--u)); width: calc(var(--mw) * var(--u)); }
  .slide-shp { left: calc(var(--mx) * var(--u)); top: calc(var(--my) * var(--u)); width: calc(var(--mw) * var(--u)); height: calc(var(--mh) * var(--u)); }
  .hero-arrow { display: none; }
  .blk-gallery { grid-template-columns: repeat(2, 1fr); }
  .blk-imgrow { grid-template-columns: 1fr 1fr; }
  .blk-imgrow .blk-img { margin-bottom: 20px; }
  .tb-right, .tb-left a:nth-child(2) { display: none; }
  .tb-left a + a { margin-left: 0; padding-left: 0; border: 0; }
}
/* ── Mobilgeräte: zentral einstellbar (Backend → Design-Vorgaben) ─────────────── */
.fz { font-size: var(--fz); }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 15px; } .tbl-scroll table { margin: 0; }
@media (max-width: 767px) {
  body { font-size: var(--mfs, 16px); line-height: var(--mlh, 1.6); }
  h2 { font-size: var(--mh2s, 24px); line-height: calc(var(--mh2s, 24px) * 1.2); }
  h3 { font-size: var(--mh3s, 19px); line-height: calc(var(--mh3s, 19px) * 1.25); }
  .blk { margin-bottom: var(--mgap, 30px); }
  .blk-card .card-body p, .blk-card .card-body li { font-size: var(--mcs, 15px); }
  .blk-card .card-body h2, .blk-card .card-body h3, .blk-card .card-body h4 { font-size: var(--mchs, 18px); }
  .fz { font-size: calc(var(--fz) * var(--mscale, 1)); }
  .main-nav a { font-size: var(--mmenu, 16px); min-height: var(--mtap, 0px); display: flex; align-items: center; }
  .main-nav .sub-menu a { font-size: calc(var(--mmenu, 16px) - 1px); }
  .site-footer .widgets { font-size: var(--mfoot, 15px); }
  .foot-list > div, .foot-list a { line-height: 1.5; }
  .foot-list a, .socket a { display: inline-flex; align-items: center; min-height: var(--mtap, 0px); }
  /* „Ein Projekt der …“: Logo und drei Textzeilen bilden eine Höhe */
  .foot-owner { align-items: center; gap: 12px; } .foot-owner .foot-sq { width: 54px; height: 54px; }
  .foot-owner > div { font-size: 12px; } .foot-owner > div > div { line-height: 18px; } .foot-owner a { display: inline; min-height: 0; line-height: 18px; }
  .topbar { display: none; }   /* Handy: schmale Kopfzeile über Logo und Menü ausblenden */
  .nav-toggle { min-height: var(--mtap, 34px); }
  .socket { font-size: calc(var(--mfoot, 15px) - 3px); }
}
@media (max-width: 1000px) {
  .nav-toggle { display: block; margin-top: calc((var(--hdr, 90px) - 34px) / 2); padding: 0 14px; height: 34px; background: #fff; border: 1px solid #cfcfcf; border-radius: 3px; font: 400 13px "Roboto Condensed", "Roboto", Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
  .main-nav { display: none; position: absolute; left: -20px; right: -20px; top: var(--hdr, 90px); margin: 0; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .18); max-height: calc(100vh - 130px); overflow: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { line-height: 20px; padding: 13px 20px; border-top: 1px solid #eee; }
  .main-nav .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .main-nav .sub-menu::before { display: none; }
  .main-nav .sub-menu a { padding: 11px 20px; }
  .main-nav li.has-children > a::after { display: none; }   /* im Handy-Menü sind die Untermenüs bereits aufgeklappt */
  .main-nav .nav-extra { display: block; } .main-nav .nav-extra a { color: #808080; font-size: .9em; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hero-img, .slide *, .slide-bgwrap { animation: none !important; transition: none !important; } .slide.active .slide-ov, .slide.active .slide-shp { opacity: 1; } }

.fm-bar { display: block; position: relative; z-index: 2000; background: var(--accent, #993333); color: #fff; text-align: center; font-weight: 700; font-family: "Open Sans", Arial, sans-serif; text-decoration: none; line-height: 1.3; } .fm-bar:hover { color: #fff; text-decoration: underline; }
