/* ==========================================================================
   Website-Design (Bootstrap 5) - KFZ-Sachverstaendigenbuero Waimer
   Wird nach style.css geladen. Farben zentral unter :root anpassen
   (Administration > Layout & Design > Design & Farben).
   ========================================================================== */

:root {
	--site-navy: #0b5288;
	--site-navy-dark: #083d66;
	--site-blue: #00679f;
	--site-blue-tint: #e7f0f7;
	--site-red: #c62828;
	--site-gold: #c1c8ce;
	--site-ink: #1f2b35;
	--site-muted: #576870;
	--site-paper: #eef1f4;
	--site-surface: #ffffff;
	--site-line: #d9e0e6;
	--site-radius: 10px;
	--site-shadow: 0 1px 2px rgba(11, 45, 80, .06), 0 6px 20px rgba(11, 45, 80, .07);
	--site-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--bs-link-color: var(--site-blue);
	--bs-link-color-rgb: 0, 103, 159;
	--bs-link-hover-color: var(--site-navy);
	--bs-link-hover-color-rgb: 11, 82, 136;
	--cms-accent: var(--site-navy);
}

/* ---------- Grundlagen ---------- */
/* style.css setzt fuer alle h2 float/padding (Altlast) - hier zuruecksetzen */
.website_bg h2 { float: none; padding: 0; text-align: left; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	background: var(--site-paper);
	color: var(--site-ink);
	font-family: var(--site-font);
	font-size: 16px;
	line-height: 1.65;
}
.website_bg { box-shadow: none; background: var(--site-paper); min-height: 100vh; display: flex; flex-direction: column; }
.website_bg > .footer { margin-top: auto; }
a { color: var(--site-blue); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--site-navy); }
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(0, 103, 159, .45); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(0, 103, 159, .18); }

/* ---------- Kopfbereich ---------- */
.site-header { background: var(--site-surface); }
.site-topbar { border-bottom: 1px solid var(--site-line); }
.site-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; padding-top: 12px; padding-bottom: 12px; }
.site-brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--site-ink); }
.site-brand:hover, .site-brand:focus { color: var(--site-ink); }
.site-logo { width: auto; height: 96px; flex: 0 0 auto; }
/* Das Logo enthaelt den Namen bereits - Text nur fuer Screenreader */
.site-brand-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.gw-topbar-contact { display: flex; align-items: center; gap: 22px; }
.gw-topbar-hours { display: flex; flex-direction: column; text-align: right; font-size: .88rem; color: var(--site-muted); line-height: 1.45; }
.gw-topbar-hours strong { color: var(--site-ink); font-weight: 600; }
.gw-topbar-call {
	display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
	background: var(--site-navy); color: #fff; border-radius: 12px; padding: 10px 18px 10px 12px;
	box-shadow: 0 6px 18px rgba(11, 82, 136, .25); transition: background .15s, transform .15s;
}
.gw-topbar-call:hover, .gw-topbar-call:focus { background: var(--site-navy-dark); color: #fff; transform: translateY(-1px); }
.gw-topbar-call i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.gw-topbar-call span { display: flex; flex-direction: column; line-height: 1.2; }
.gw-topbar-call small { font-size: .78rem; opacity: .85; font-weight: 500; }
.gw-topbar-call strong { font-size: 1.2rem; letter-spacing: .02em; font-weight: 700; white-space: nowrap; }

.site-nav {
	position: sticky; top: 0; z-index: 1030;
	background: var(--site-navy);
	box-shadow: 0 2px 10px rgba(8, 40, 70, .2);
}
.site-nav .navbar-cms { padding: 0; }
.site-nav .menu ul.navbar-nav a,
.site-nav .navbar-nav > .nav-item > .nav-link { color: rgba(255, 255, 255, .92); font-weight: 600; font-size: .98rem; }
.site-nav .navbar-nav > .nav-item > .nav-link { padding: 1rem 1.05rem; border-bottom: 3px solid transparent; }
.site-nav .navbar-nav > .nav-item > .nav-link:hover,
.site-nav .navbar-nav > .nav-item > .nav-link:focus { color: #fff; background: rgba(255, 255, 255, .08); }
.site-nav .navbar-nav > .nav-item.active > .nav-link { color: #fff; border-bottom-color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav .menu #top_active a { background: none; }
.site-nav .cms-subtoggle { color: rgba(255, 255, 255, .85); }
.site-nav .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, .4); font-weight: 600; padding: .45rem .8rem; margin: .6rem 0; }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.site-nav .dropdown-menu {
	background: var(--site-surface); border: 1px solid var(--site-line); border-top: 3px solid var(--site-blue);
	border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(8, 40, 70, .16); padding: .4rem 0;
}
.site-nav .menu ul.dropdown-menu { background: var(--site-surface); }
.site-nav .menu ul.dropdown-menu a,
.site-nav .menu #top_active ul.dropdown-menu a { color: var(--site-ink); font-weight: 500; padding: .55rem 1.1rem; }
.site-nav .menu ul.dropdown-menu a:hover,
.site-nav .menu ul.dropdown-menu a:focus { background: var(--site-blue-tint); color: var(--site-navy); }
.site-nav .dropdown-menu .cms-subtoggle { color: var(--site-muted); }
@media (max-width: 991.98px) {
	.site-topbar .container { min-height: 80px; }
	.site-logo { height: 60px; }
	.gw-topbar-hours { display: none; }
	.site-nav .navbar-cms { justify-content: flex-end; }
	.site-nav .navbar-collapse { padding-bottom: .6rem; }
	.site-nav .navbar-nav > .nav-item > .nav-link { padding: .7rem .25rem; border-bottom: 0; }
	.site-nav .navbar-nav > .nav-item { border-top: 1px solid rgba(255, 255, 255, .12); }
	.site-nav .navbar-nav > .nav-item.active > .nav-link { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
	.site-nav .dropdown-menu { background: rgba(255, 255, 255, .06); border: 0; box-shadow: none; }
	.site-nav .menu ul.dropdown-menu { background: transparent; }
	.site-nav .menu ul.dropdown-menu a, .site-nav .menu #top_active ul.dropdown-menu a { color: rgba(255, 255, 255, .88); }
	.site-nav .menu ul.dropdown-menu a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
	.site-nav .dropdown-menu .cms-subtoggle { color: rgba(255, 255, 255, .85); }
}
@media (max-width: 575.98px) {
	.site-topbar .container { gap: 12px; }
	.site-logo { height: 50px; }
	.gw-topbar-call { padding: 8px; border-radius: 50%; }
	.gw-topbar-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.gw-topbar-call i { width: 38px; height: 38px; background: none; }
}

/* ---------- Startbereich (Hero) ---------- */
.sitepicture { width: 100%; }
.gw-hero {
	position: relative; overflow: hidden; width: 100%; color: #fff;
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 22px, transparent 22px 64px),
		linear-gradient(120deg, var(--site-navy-dark) 0%, var(--site-navy) 55%, var(--site-blue) 100%);
}
.gw-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
	background: var(--site-gold); opacity: .9;
}
.gw-hero .container { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.gw-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) { .gw-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.gw-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 0 18px; letter-spacing: -.01em; }
.gw-hero h1 span { display: block; color: #cfe3f1; font-weight: 600; font-size: .62em; margin-top: 10px; letter-spacing: 0; }
.gw-hero .lead { color: rgba(255, 255, 255, .9); font-size: 1.15rem; margin-bottom: 28px; max-width: 560px; }
.gw-hero .btn { margin: 0 10px 12px 0; }
.gw-hero .btn-light { color: var(--site-navy); }
.gw-hero-facts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: rgba(255, 255, 255, .92); }
.gw-hero-facts i { color: #9fd0f0; margin-right: 6px; }
.gw-hero-photo { position: relative; margin: 0; max-width: 560px; } /* Foto liegt nur in 548 px vor */
.gw-hero-photo img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 20, 40, .35); border: 6px solid rgba(255, 255, 255, .95); }
.gw-hero-badge {
	position: absolute; left: -14px; bottom: 22px; background: var(--site-surface); color: var(--site-ink);
	border-radius: 12px; padding: 12px 16px; box-shadow: 0 14px 30px rgba(0, 20, 40, .28); display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.gw-hero-badge i { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; background: var(--site-blue-tint); color: var(--site-navy); display: inline-flex; align-items: center; justify-content: center; }
.gw-hero-badge strong { display: block; font-size: .95rem; line-height: 1.25; }
.gw-hero-badge span { display: block; font-size: .82rem; color: var(--site-muted); line-height: 1.3; }
@media (max-width: 575.98px) {
	.gw-hero .container { padding-top: 40px; padding-bottom: 52px; }
	.gw-hero-badge { left: 10px; bottom: 10px; }
}
.gw-eyebrow {
	display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--site-blue); margin-bottom: 8px;
}
.gw-hero .gw-eyebrow { color: #9fd0f0; }

/* ---------- Inhaltsbereich ---------- */
.container-bg { margin-top: 0; padding-top: 32px; padding-bottom: 56px; }
.container-bg > .row { --bs-gutter-x: 2rem; }
.content-middle { font-family: var(--site-font); font-size: 1rem; margin: 0; }
.content-middle > h1:first-of-type,
.content-middle .content-sie-sind-hier + h1 { margin-top: 0; }
.content-middle strong { color: inherit; }
.content-middle h1 {
	font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.2;
	color: var(--site-navy); margin: 0 0 1.25rem; padding: 0;
}
.content-middle h2 { font-size: 1.4rem; font-weight: 700; color: var(--site-navy); margin: 2.25rem 0 .9rem; padding: 0; float: none; line-height: 1.3; }
.content-middle h3 { font-size: 1.12rem; font-weight: 700; color: var(--site-ink); margin: 1.6rem 0 .5rem; line-height: 1.35; }
.content-middle h4 { font-size: 1.02rem; font-weight: 700; color: var(--site-ink); }
.content-middle p, .content-middle li { max-width: 78ch; }
.content-middle .row p, .content-middle .gw-card p, .content-middle td p { max-width: none; }
.lead { font-weight: 400; }
.content-middle .lead { font-size: 1.15rem; color: var(--site-ink); line-height: 1.6; }
.content-middle .gw-eyebrow + h2, .content-middle .gw-eyebrow + h1 { margin-top: 0; }
.content-middle hr { margin: 2rem 0; border-color: var(--site-line); opacity: 1; }
.content-middle table { margin-bottom: 1.5rem; }

/* Inhalt als Karte auf hellem Grund */
.content-middle {
	background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius);
	padding: 32px 40px 40px; box-shadow: var(--site-shadow);
}
@media (max-width: 767.98px) {
	.container-bg { padding-top: 16px; padding-bottom: 32px; }
	.content-middle { padding: 22px 18px 28px; }
}
.is-home .content-middle { background: transparent; border: 0; box-shadow: none; padding: 0 calc(var(--bs-gutter-x) * .5); }
.is-home .container-bg { padding-top: 56px; }
.is-home .content-sie-sind-hier { display: none; }

/* Brotkrumen */
.content-sie-sind-hier { font-size: .85rem; margin-bottom: 1rem; color: var(--site-muted); }
.content-sie-sind-hier a { font-size: .85rem; color: var(--site-muted); text-decoration: none; }
.content-sie-sind-hier a:hover { color: var(--site-blue); text-decoration: underline; }
.content-sie-sind-hier .breadcrumbs a + a::before { content: "/"; margin: 0 .5em; color: var(--site-line); }

/* ---------- Seitenleiste ---------- */
.content-left { margin-bottom: 24px; }
.navi_left { margin-top: 0; }
.navi_left .navi-stacked {
	background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius);
	padding: 8px; box-shadow: var(--site-shadow); margin-bottom: 20px;
}
.navi_left ul li a {
	display: block; margin: 0; padding: .6rem .85rem; border: 0; border-radius: 6px;
	color: var(--site-ink); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.navi_left ul li a:hover, .menu-left ul li a:hover { background: var(--site-blue-tint); color: var(--site-navy); font-weight: 500; }
.navi_left ul li .active, .navi_left ul li a.active { background: var(--site-navy); color: #fff; font-weight: 600; }
.navi_left ul li ul { list-style: none; padding: 2px 0 4px 12px; margin: 0; }
.navi_left ul li ul li a { font-size: .9rem; padding: .45rem .85rem; border: 0; color: var(--site-muted); }

.gw-side { display: grid; gap: 20px; }
.gw-sidebox {
	background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius);
	box-shadow: var(--site-shadow); padding: 20px; font-size: .95rem;
}
.gw-sidebox h2 { font-size: 1.02rem; font-weight: 700; color: var(--site-navy); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.gw-sidebox h2 i { color: var(--site-blue); }
.gw-sidebox p { margin-bottom: .6rem; }
.gw-sidebox-call { background: var(--site-navy); border-color: var(--site-navy); color: rgba(255, 255, 255, .9); }
.gw-sidebox-call .gw-call-label { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #9fd0f0; }
.gw-sidebox-call a.gw-call-number { display: block; font-size: 1.45rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .02em; margin: 2px 0 8px; white-space: nowrap; }
.gw-sidebox-call a.gw-call-number:hover { text-decoration: underline; }
.gw-sidebox-call .gw-hours { font-size: .9rem; margin: 0; }
.gw-person { display: flex; gap: 14px; align-items: center; }
.gw-person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--site-blue-tint); flex: 0 0 auto; }
.gw-person strong { display: block; color: var(--site-navy); font-size: 1.05rem; }
.gw-person span { display: block; color: var(--site-muted); font-size: .88rem; line-height: 1.35; }
.gw-person a { font-weight: 600; text-decoration: none; }
.gw-sidebox .gw-file { margin: 0; padding: 12px 14px; }
.gw-sidebox form .form-control { margin-bottom: 8px; font-size: .92rem; }
.gw-sidebox form .btn { width: 100%; }
.gw-form-note { font-size: .8rem; color: var(--site-muted); line-height: 1.45; margin: 8px 0 10px; }
@media (min-width: 992px) { .gw-side-sticky { position: sticky; top: 76px; } }

/* ---------- Bausteine ---------- */
.btn { border-radius: 8px; font-weight: 600; padding: .6rem 1.15rem; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn-primary { --bs-btn-bg: var(--site-navy); --bs-btn-border-color: var(--site-navy); --bs-btn-hover-bg: var(--site-navy-dark); --bs-btn-hover-border-color: var(--site-navy-dark); --bs-btn-active-bg: var(--site-navy-dark); --bs-btn-active-border-color: var(--site-navy-dark); }
.btn-outline-primary { --bs-btn-color: var(--site-navy); --bs-btn-border-color: var(--site-navy); --bs-btn-hover-bg: var(--site-navy); --bs-btn-hover-border-color: var(--site-navy); --bs-btn-active-bg: var(--site-navy); }
.content-middle a.btn, .content-middle a.btn:hover { text-decoration: none; }
.content-middle a.btn-primary, .content-middle a.btn-primary:hover { color: #fff; }

.gw-section { margin-bottom: 64px; }
.gw-section > h2:first-child { margin-top: 0; }
.gw-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.gw-section-head h2 { margin: 0; }
.gw-section-head p { margin: 0; color: var(--site-muted); max-width: 52ch; }

/* Karten */
.gw-card {
	height: 100%; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius);
	padding: 24px 24px 20px; box-shadow: var(--site-shadow); display: flex; flex-direction: column;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.gw-card { color: inherit; text-decoration: none; }
a.gw-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11, 45, 80, .13); border-color: #c4d3df; color: inherit; }
.gw-card h3 { margin: 0 0 .45rem; font-size: 1.08rem; color: var(--site-navy); }
.gw-card p { color: var(--site-muted); margin-bottom: .8rem; font-size: .96rem; }
.gw-card .gw-more { margin-top: auto; font-weight: 600; color: var(--site-blue); font-size: .95rem; }
.gw-card .gw-more::after { content: " \2192"; }
.gw-icon {
	width: 50px; height: 50px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--site-blue-tint); color: var(--site-navy); font-size: 1.25rem; margin-bottom: 14px; flex: 0 0 auto;
}

/* Bildkarten (Wissenswertes) */
.gw-infocard { padding: 0; overflow: hidden; }
.gw-infocard figure { margin: 0; aspect-ratio: 595 / 240; overflow: hidden; background: var(--site-paper); }
.gw-infocard figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
a.gw-infocard:hover figure img { transform: scale(1.04); }
.gw-infocard .gw-infocard-body { padding: 20px 22px 20px; display: flex; flex-direction: column; flex: 1; }

/* Schritte im Schadensfall */
.gw-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: gwstep; }
@media (min-width: 768px) { .gw-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .gw-steps { grid-template-columns: repeat(5, 1fr); } }
.content-middle .gw-steps li { max-width: none; }
.gw-steps li {
	counter-increment: gwstep; position: relative; background: var(--site-surface); border: 1px solid var(--site-line);
	border-radius: var(--site-radius); padding: 58px 20px 20px; box-shadow: var(--site-shadow);
}
.gw-steps li::before {
	content: counter(gwstep); position: absolute; top: 16px; left: 20px; width: 32px; height: 32px; border-radius: 50%;
	background: var(--site-navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.gw-steps li strong { display: block; color: var(--site-navy); margin-bottom: 4px; }
.gw-steps li span { color: var(--site-muted); font-size: .95rem; }

/* Zweispaltig mit Bild */
.gw-split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .gw-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.gw-photo { margin: 0; }
.gw-photo img { display: block; width: 100%; border-radius: 14px; box-shadow: var(--site-shadow); background: #fff; }
.gw-photo figcaption { font-size: .85rem; color: var(--site-muted); margin-top: 8px; }
.gw-photo-wide { margin-bottom: 1.75rem; }
.gw-photo-wide img { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; }
.gw-photo-stack { display: grid; gap: 16px; }
.gw-split-intro { margin-bottom: 28px; }
.gw-split-intro .gw-photo img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Listen */
.gw-checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.gw-checklist li { position: relative; padding: 6px 0 6px 32px; }
.gw-checklist li::before {
	content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 8px;
	width: 22px; height: 22px; border-radius: 50%; background: var(--site-blue-tint); color: var(--site-navy);
	font-size: .7rem; display: flex; align-items: center; justify-content: center;
}
.gw-facts { list-style: none; padding: 0; margin: 0; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius); box-shadow: var(--site-shadow); }
.gw-facts li { display: flex; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--site-line); max-width: none; }
.gw-facts li:last-child { border-bottom: 0; }
.gw-facts i { color: var(--site-blue); width: 20px; margin-top: 5px; text-align: center; flex: 0 0 auto; }
.gw-facts span { display: block; color: var(--site-muted); font-size: .9rem; }
.gw-facts a { text-decoration: none; font-weight: 600; }

/* Band / Hinweise */
.gw-band {
	background:
		repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 22px, transparent 22px 64px),
		linear-gradient(120deg, var(--site-navy-dark), var(--site-navy));
	color: #fff; border-radius: 14px; padding: 34px 38px;
}
.gw-band h2, .gw-band h3 { color: #fff; margin-top: 0; }
.gw-band p { color: rgba(255, 255, 255, .88); }
.gw-band .gw-eyebrow { color: #9fd0f0; }
.gw-band a:not(.btn) { color: #fff; }
.gw-band .btn-light { color: var(--site-navy); }
.gw-callout { background: var(--site-blue-tint); border-left: 4px solid var(--site-blue); border-radius: 8px; padding: 18px 22px; margin: 1.75rem 0; }
.gw-callout p:last-child { margin-bottom: 0; }
.gw-example { background: var(--site-paper); border-radius: var(--site-radius); padding: 20px 24px; margin: 1.25rem 0 1.5rem; }
.gw-example dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: .75rem 0 0; max-width: 460px; }
.gw-example dt { font-weight: 500; }
.gw-example dd { margin: 0; text-align: right; font-weight: 700; color: var(--site-navy); font-variant-numeric: tabular-nums; }

/* Standorte */
.gw-location { height: 100%; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: var(--site-radius); box-shadow: var(--site-shadow); overflow: hidden; display: flex; flex-direction: column; }
.gw-location-body { padding: 22px 24px; }
.gw-location h3 { margin: 0 0 .25rem; color: var(--site-navy); font-size: 1.12rem; }
.gw-location .gw-tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--site-blue); margin-bottom: 6px; }
.gw-location address { margin: .5rem 0 1rem; font-style: normal; }
.gw-location .gw-facts { box-shadow: none; border-radius: 8px; margin-bottom: 0; }
.gw-location .gw-map { margin-top: auto; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }

/* Karte: 2-Klick-Loesung (Google Maps wird erst nach Klick geladen) */
.gw-map {
	position: relative; min-height: 300px; border: 1px solid var(--site-line); border-radius: var(--site-radius); overflow: hidden;
	background: linear-gradient(135deg, #e9eef3 25%, #f3f6f9 25% 50%, #e9eef3 50% 75%, #f3f6f9 75%) 0 0 / 28px 28px;
	display: flex; align-items: center; justify-content: center;
}
.gw-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gw-map-consent { position: relative; text-align: center; max-width: 420px; padding: 26px 24px; background: rgba(255, 255, 255, .95); border-radius: 12px; margin: 20px; box-shadow: var(--site-shadow); }
.gw-map-consent > i { font-size: 1.7rem; color: var(--site-navy); margin-bottom: 8px; }
.gw-map-consent p { font-size: .88rem; color: var(--site-muted); margin: 0 auto 14px; max-width: none; }
.gw-map-consent strong { display: block; color: var(--site-ink); font-size: 1rem; margin-bottom: 4px; }
.gw-map.is-loaded .gw-map-consent { display: none; }

/* FAQ */
.gw-faq { border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-surface); margin-bottom: 12px; box-shadow: var(--site-shadow); }
.gw-faq > summary {
	list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--site-navy); position: relative; font-size: 1.04rem;
}
.gw-faq > summary::-webkit-details-marker { display: none; }
.gw-faq > summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
	background: var(--site-blue-tint); color: var(--site-navy); display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.gw-faq[open] > summary::after { content: "\2013"; }
.gw-faq[open] > summary { border-bottom: 1px solid var(--site-line); }
.gw-faq > div { padding: 16px 20px 6px; }

/* Downloads */
.gw-files { display: grid; gap: 14px; margin: 1.25rem 0; }
@media (min-width: 768px) { .gw-files { grid-template-columns: repeat(2, 1fr); } }
.gw-file { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--site-line); border-radius: var(--site-radius); background: var(--site-surface); text-decoration: none; color: var(--site-ink); }
.gw-file:hover { border-color: var(--site-blue); background: var(--site-blue-tint); color: var(--site-ink); }
.gw-file > i { font-size: 1.8rem; color: var(--site-red); flex: 0 0 auto; }
.gw-file strong { display: block; color: var(--site-navy); }
.gw-file span { color: var(--site-muted); font-size: .86rem; }

/* Datenschutz / lange Texte */
.gw-legal h2 { font-size: 1.15rem; margin-top: 1.9rem; }
.gw-legal h3 { font-size: 1rem; margin-top: 1.2rem; }
.gw-legal p, .gw-legal li { text-align: left; }
.gw-legal .gw-stand { color: var(--site-muted); font-size: .9rem; margin-top: 2rem; }

/* Kontaktformular */
.content-middle #accordion .panel { border: 1px solid var(--site-line); border-radius: var(--site-radius); overflow: hidden; }
.content-middle #accordion .panel-heading { background: var(--site-paper); padding: 14px 20px; border-bottom: 1px solid var(--site-line); }
.content-middle #accordion .panel-title { margin: 0; font-size: 1.05rem; }
.content-middle #accordion .panel-title a { color: var(--site-navy); text-decoration: none; }
.content-middle #accordion .panel-body { padding: 20px; }
.form-control:focus, .form-select:focus { border-color: var(--site-blue); box-shadow: 0 0 0 .2rem rgba(0, 103, 159, .18); }

/* ---------- Fussbereich ---------- */
.footer { background: var(--site-navy-dark); color: rgba(255, 255, 255, .8); font-size: .92rem; padding: 44px 0 28px; margin-top: 0; }
.footer a { color: rgba(255, 255, 255, .88); }
.footer a:hover { color: #fff; }
.gw-footer-cols { padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.gw-footer-cols h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9fd0f0; margin: 0 0 10px; font-weight: 700; }
.gw-footer-cols p { margin: 0 0 .4rem; line-height: 1.6; }
.gw-footer-cols a { text-decoration: none; }
.gw-footer-cols a:hover { text-decoration: underline; }
.site-footer-row { align-items: center; }
.site-footer-brand { display: flex; align-items: center; gap: 16px; }
.site-footer-brand img { background: #fff; border-radius: 8px; padding: 6px 8px; width: auto !important; height: 50px !important; }
.site-footer-brand strong { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.site-footer-brand span { font-size: .85rem; color: rgba(255, 255, 255, .65); }
.site-footer-links nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-start; }
@media (min-width: 768px) { .site-footer-links nav { justify-content: flex-end; } }
.site-footer-links a { text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }

/* Seitenleiste auf Tablet und Handy unter dem Inhalt */
@media (max-width: 991.98px) {
	.container-bg > .row > .content-left,
	.container-bg > .row > .content-middle { flex: 0 0 100%; width: 100%; max-width: 100%; }
	.container-bg > .row > .content-left { order: 2; margin-top: 24px; margin-bottom: 0; }
	.container-bg > .row { margin-left: 0; margin-right: 0; }
	.container-bg > .row > .content-left { padding-left: 0; padding-right: 0; }
	.is-home .container-bg > .row > .content-middle { padding-left: 0; padding-right: 0; }
	.gw-side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media print {
	.site-nav, .content-left, .footer, .gw-map { display: none !important; }
	.content-middle { box-shadow: none; border: 0; }
}
