/* XXL-Bank Schalksmühle – Frontend
   Farben kommen als CSS-Variablen aus den Plugin-Einstellungen. */

.xxlb, .xxlb *, .xxlb *::before, .xxlb *::after { box-sizing: border-box; }

/* Nur auf plugin-eigenen Seiten (Layout-Template) – die Elementor-Startseite behält ihr Design. */
body.xxlb-layout {
	margin: 0;
	background: var(--xxlb-light);
	color: var(--xxlb-text);
	font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
.xxlb { font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.65; }
.xxlb img { max-width: 100%; height: auto; display: block; }
.xxlb a { color: inherit; }
.xxlb p { margin: 0 0 1em; }
html:has(body.xxlb-layout) { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html:has(body.xxlb-layout) { scroll-behavior: auto; } }

/* Trennband vor jedem Standort (in die bestehende Seite eingefügt) */
.xxlb-bereich { background: var(--xxlb-accent); color: #1d1d1b; }
.xxlb-bereich__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 18px; padding-bottom: 18px; }
.xxlb-bereich .xxlb-icon { width: 34px; height: 34px; }
.xxlb .xxlb-bereich__title { margin: 0; font: 400 clamp(1.9rem, 5vw, 2.8rem)/1 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: .01em; color: #1d1d1b; }
.xxlb-bereich__kicker { color: #fff; }
.xxlb-bereich__badge { background: #1d1d1b; color: var(--xxlb-accent); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.xxlb-bereich__lage { margin-left: auto; font-weight: 600; font-size: 1.05rem; }
@media (max-width: 767px) { .xxlb-bereich__lage { margin-left: 0; width: 100%; } }

/* Karte als eigener Abschnitt */
.xxlb-mapsection { padding: clamp(32px, 5vw, 64px) 0; }
.xxlb-mapsection .xxlb-map-block { margin-top: 0; }
.xxlb .xxlb-map-block .xxlb-h3 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; text-transform: uppercase; }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.xxlb-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; border-radius: 6px; }
.xxlb-skip:focus { left: 8px; }
.xxlb :focus-visible { outline: 3px solid var(--xxlb-accent); outline-offset: 3px; }

.xxlb-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.xxlb-accent { color: var(--xxlb-accent); }

/* Typografie */
.xxlb-h1, .xxlb-h2, .xxlb-h3, .xxlb-highlight__title {
	font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
	font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin: 0 0 .45em;
}
.xxlb-h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); }
.xxlb-h2 { font-size: clamp(2.1rem, 6vw, 4rem); }
.xxlb-h2--small { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.xxlb-h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.1; }
.xxlb-h3--big { font-size: clamp(1.9rem, 5vw, 3rem); }
.xxlb-lead { font-size: clamp(1.15rem, 2.4vw, 1.45rem); max-width: 34ch; opacity: .92; }
.xxlb-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: #5d6b12; margin-bottom: .6em; }
.xxlb-icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.xxlb-badge { display: inline-block; background: var(--xxlb-accent); color: #1d1d1b; font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; line-height: 1.3; vertical-align: middle; }

/* Buttons */
.xxlb-buttons { list-style: none; margin: 1.2em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.xxlb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid var(--xxlb-accent);
	background: var(--xxlb-accent); color: #1d1d1b !important; font: 800 .95rem/1.2 'Fira Sans', sans-serif;
	text-decoration: none; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.xxlb-btn:hover { transform: translateY(-2px); background: transparent; color: inherit !important; }
.xxlb-buttons--light .xxlb-btn { background: transparent; color: #fff !important; }
.xxlb-buttons--light .xxlb-btn:hover { background: var(--xxlb-accent); color: #1d1d1b !important; }
.xxlb-btn--ghost { background: transparent; }
.xxlb-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: inherit; }
.xxlb-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .xxlb-btn { transition: none; } .xxlb-btn:hover { transform: none; } }

/* Header */
.xxlb-header { position: sticky; top: 0; z-index: 50; background: var(--xxlb-dark); color: #fff; box-shadow: 0 2px 18px rgba(0,0,0,.18); }
/* In Elementor steckt der Kopf in einem Container – dann muss der Container kleben. */
.e-con:has(.xxlb-header) { position: sticky; top: 0; z-index: 60; }
.admin-bar .xxlb-header, .admin-bar .e-con:has(.xxlb-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar .xxlb-header, .admin-bar .e-con:has(.xxlb-header) { top: 46px; } }
@media (max-width: 600px) { .admin-bar .xxlb-header, .admin-bar .e-con:has(.xxlb-header) { top: 0; } }
.xxlb-gap { font-size: 0; }
.xxlb-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.xxlb-brand { display: flex; align-items: center; text-decoration: none; }
.xxlb .xxlb-brand__logo { height: 56px; width: auto; }
.xxlb-brand__text { font: 400 1.6rem/1 'Anton', sans-serif; text-transform: uppercase; }
.xxlb-nav { margin-left: auto; }
.xxlb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.xxlb-nav a { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.xxlb-nav a:hover { color: var(--xxlb-accent); background: rgba(255,255,255,.06); }
.xxlb .xxlb-wappen img { height: 46px; width: auto; }
.xxlb-nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.xxlb-burger, .xxlb-burger::before, .xxlb-burger::after { position: absolute; left: 13px; width: 22px; height: 2px; background: #fff; content: ''; transition: transform .2s, top .2s, opacity .2s; }
.xxlb-burger { top: 23px; }
.xxlb-burger::before { left: 0; top: -7px; }
.xxlb-burger::after { left: 0; top: 7px; }
.xxlb-nav-toggle[aria-expanded="true"] .xxlb-burger { background: transparent; }
.xxlb-nav-toggle[aria-expanded="true"] .xxlb-burger::before { top: 0; transform: rotate(45deg); }
.xxlb-nav-toggle[aria-expanded="true"] .xxlb-burger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.xxlb-header__inner { min-height: 64px; gap: 12px; }
	.xxlb .xxlb-brand__logo { height: 46px; }
	.xxlb-nav-toggle { display: block; }
	.xxlb-wappen { order: 2; }
	.xxlb .xxlb-wappen img { height: 38px; }
	.xxlb-nav-toggle { order: 3; margin-left: 0; }
	.xxlb-wappen { margin-left: auto; }
	.xxlb-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--xxlb-dark); border-top: 1px solid rgba(255,255,255,.1); display: none; }
	.xxlb-nav.is-open { display: block; }
	.xxlb-nav ul { flex-direction: column; padding: 8px 16px 18px; }
	.xxlb-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
}

/* Hero */
.xxlb-hero { background: radial-gradient(120% 90% at 85% 10%, rgba(180,203,28,.22), transparent 60%), var(--xxlb-dark); color: #fff; overflow: hidden; }
.xxlb-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(40px, 8vw, 96px); }
.xxlb-hero__media img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.xxlb-chips { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 12px; max-width: 520px; }
.xxlb-chip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); text-decoration: none; color: #fff; transition: background .15s, border-color .15s; }
.xxlb-chip:hover { background: rgba(255,255,255,.14); border-color: var(--xxlb-accent); }
.xxlb-chip .xxlb-icon { color: var(--xxlb-accent); width: 28px; height: 28px; }
.xxlb-chip strong { display: block; font: 400 1.5rem/1.05 'Anton', sans-serif; text-transform: uppercase; letter-spacing: .02em; }
.xxlb-chip small { display: block; opacity: .8; font-size: .95rem; }
.xxlb-chip .xxlb-badge { margin-left: auto; }
@media (max-width: 767px) {
	.xxlb-hero__inner { grid-template-columns: 1fr; text-align: left; }
	.xxlb-hero__media { order: -1; max-width: 420px; margin: 0 auto; }
}

/* Standort */
.xxlb-standort__title .xxlb-kicker { display: flex; font-family: 'Fira Sans', sans-serif; line-height: 1.3; margin-bottom: .55rem; }
.xxlb-standort__main { display: block; }
.xxlb-standort { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 80px); background: var(--xxlb-light); }
.xxlb-standort--alt { background: #fff; }
.xxlb-intro { display: grid; gap: clamp(24px, 4vw, 56px); }
.xxlb-intro.has-media { grid-template-columns: 1fr 1fr; align-items: start; }
.xxlb-intro__text { font-size: 1.12rem; max-width: 62ch; }
.xxlb-intro__media { margin: 0; }
.xxlb-intro__media img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.xxlb-facts { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 12px; }
.xxlb-facts li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; border-left: 5px solid var(--xxlb-accent); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.xxlb-standort--alt .xxlb-facts li { background: var(--xxlb-light); }
.xxlb-facts .xxlb-icon { width: 26px; height: 26px; color: #5d6b12; margin-top: 2px; }
.xxlb-facts strong { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: #5d6b12; }
.xxlb-soon { display: flex; gap: 10px; align-items: center; margin-top: 1.2em; padding: 12px 16px; border: 2px dashed var(--xxlb-accent); border-radius: 12px; font-weight: 600; }
.xxlb-soon .xxlb-icon { color: #5d6b12; }
@media (max-width: 767px) {
	.xxlb-intro.has-media { grid-template-columns: 1fr; }
	.xxlb-intro__media { order: -1; }
	.xxlb-intro__media img { aspect-ratio: 4 / 3; }
}

/* Slider (CSS Scroll-Snap, wischbar) */
.xxlb-slider { position: relative; margin-top: clamp(32px, 5vw, 64px); }
.xxlb-slider__track { list-style: none; margin: 0; padding: 4px 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.xxlb-slider__track::-webkit-scrollbar { display: none; }
.xxlb-slider__slide { scroll-snap-align: start; }
.xxlb-slider__slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; }
.xxlb-slider__btn { position: absolute; top: calc(50% - 30px); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--xxlb-accent); color: #1d1d1b; font: 400 2rem/1 'Fira Sans', sans-serif; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; padding-bottom: 4px; }
.xxlb-slider__prev { left: -14px; }
.xxlb-slider__next { right: -14px; }
.xxlb-slider__btn[disabled] { opacity: .35; cursor: default; }
@media (max-width: 767px) {
	.xxlb-slider__track { grid-auto-columns: 86%; gap: 14px; }
	.xxlb-slider__btn { width: 44px; height: 44px; top: calc(50% - 26px); }
	.xxlb-slider__prev { left: 4px; }
	.xxlb-slider__next { right: 4px; }
}

/* Highlight-Band */
.xxlb-highlight { background: var(--xxlb-dark); color: #fff; margin: clamp(48px, 7vw, 96px) 0; padding: clamp(48px, 7vw, 96px) 0; }
.xxlb-highlight__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.xxlb-highlight__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); color: var(--xxlb-accent); margin: 0; }
.xxlb-highlight__text { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.4; }
.xxlb-highlight__claim { font-weight: 800; font-size: 1.15rem; color: var(--xxlb-accent); }
.xxlb-highlight .xxlb-h3 { margin-top: 1.4em; color: #fff; }
@media (max-width: 767px) { .xxlb-highlight__inner { grid-template-columns: 1fr; } }

/* Umgebung */
.xxlb-umgebung { display: grid; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(40px, 6vw, 80px); }
.xxlb-umgebung.has-media { grid-template-columns: 1fr 1fr; align-items: center; }
.xxlb-umgebung__media { margin: 0; }
.xxlb-umgebung__media img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) { .xxlb-umgebung.has-media { grid-template-columns: 1fr; } }

/* Karte (2-Klick-Lösung) */
.xxlb-map-block { margin-top: clamp(32px, 5vw, 56px); }
.xxlb-map { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: 18px; overflow: hidden; background: #e7eadb; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.xxlb-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.xxlb-map__placeholder {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
	background:
		repeating-radial-gradient(circle at 30% 40%, transparent 0 22px, rgba(93,107,18,.10) 22px 23px),
		repeating-radial-gradient(circle at 75% 70%, transparent 0 30px, rgba(93,107,18,.08) 30px 31px),
		#e9ecdc;
}
.xxlb-map__placeholder > .xxlb-icon { width: 48px; height: 48px; color: #5d6b12; }
.xxlb-map__title { font: 400 1.5rem/1.1 'Anton', sans-serif; text-transform: uppercase; margin: .4em 0; }
.xxlb-map__note { max-width: 52ch; font-size: .95rem; }
.xxlb-map__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.xxlb-map__always { display: inline-flex; gap: 8px; align-items: center; font-size: .95rem; min-height: 44px; cursor: pointer; }
.xxlb-map__always input { width: 20px; height: 20px; accent-color: #5d6b12; }
.xxlb-map__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 12px; font-size: .95rem; }
.xxlb-coords { opacity: .7; }
@media (max-width: 767px) { .xxlb-map { aspect-ratio: 4 / 5; } }

/* Sportlich Aktiv */
.xxlb-sport { background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.25)), var(--xxlb-dark); color: #fff; padding: clamp(56px, 9vw, 120px) 0; }
.xxlb-sport__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.xxlb-sport__body { font-size: 1.12rem; }
.xxlb-sport .xxlb-btn { background: transparent; color: #fff !important; }
.xxlb-sport .xxlb-btn:hover { background: var(--xxlb-accent); color: #1d1d1b !important; }
@media (max-width: 767px) { .xxlb-sport__inner { grid-template-columns: 1fr; } }

/* Footer */
.xxlb-footer { background: #151d17; color: #e9eadf; padding: clamp(48px, 7vw, 80px) 0 calc(32px + env(safe-area-inset-bottom)); }
.xxlb-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 5vw, 64px); align-items: start; }
.xxlb .xxlb-footer__logo img { width: auto; height: 120px; }
.xxlb-footer address { font-style: normal; line-height: 2; }
.xxlb-footer address a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 40px; }
.xxlb-footer address a:hover { color: var(--xxlb-accent); }
.xxlb-footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.xxlb-footer__legal a, .xxlb-footer__legal .xxlb-linkbtn { display: inline-block; padding: 6px 0; min-height: 40px; }
.xxlb-copy { opacity: .6; font-size: .85rem; margin-top: 1em; }
@media (max-width: 767px) {
	.xxlb-footer__inner { grid-template-columns: 1fr; text-align: center; }
	.xxlb-footer__logo img { margin: 0 auto; }
	.xxlb-footer address a { justify-content: center; }
	.xxlb-footer__legal ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
}

/* Rechtstexte / Breadcrumb */
.xxlb-page { padding: clamp(40px, 7vw, 96px) 0; }
.xxlb-prose { max-width: 820px; }
.xxlb-prose h2 { font: 400 clamp(1.5rem, 3.5vw, 2rem)/1.15 'Anton', sans-serif; text-transform: uppercase; margin: 1.6em 0 .5em; }
.xxlb-prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.xxlb-prose a { color: #4f5c0c; word-break: break-word; }
.xxlb-breadcrumb { padding-top: 18px; font-size: .9rem; color: #555; }
.xxlb-breadcrumb a { color: inherit; }

/* Cookie-Banner */
.xxlb-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.xxlb-consent[hidden] { display: none; }
.xxlb-consent__box { pointer-events: auto; max-width: 620px; margin: 0 auto; background: #fff; color: #1d1d1b; border-radius: 18px; padding: 22px 22px 16px; box-shadow: 0 18px 60px rgba(0,0,0,.35); border-top: 6px solid var(--xxlb-accent); font-size: .98rem; max-height: calc(100vh - 32px); overflow: auto; }
.xxlb-consent__title { font: 400 1.4rem/1.1 'Anton', sans-serif; text-transform: uppercase; margin-bottom: .5em; }
.xxlb-consent__options { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.xxlb-consent__options[hidden] { display: none; }
.xxlb-consent__options label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.xxlb-consent__options input { width: 20px; height: 20px; margin-top: 2px; accent-color: #5d6b12; flex: none; }
.xxlb-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xxlb-consent__actions .xxlb-btn { width: 100%; font-size: .85rem; padding: 10px 12px; }
.xxlb-consent__actions .xxlb-btn--ghost { grid-column: 1 / -1; border-color: #c9ceb6; }
.xxlb-consent__actions .xxlb-btn:hover { transform: none; }
.xxlb-consent__actions .xxlb-btn[hidden] { display: none; }
.xxlb-consent__links { display: flex; gap: 16px; justify-content: center; font-size: .85rem; margin: 12px 0 0; }

/* Elementor: unsere Bereiche randlos */
.elementor-widget-xxlb_section, .elementor-widget-xxlb_section > .elementor-widget-container { width: 100%; }
.e-con:has(> .elementor-widget-xxlb_section), .e-con:has(> .e-con-inner > .elementor-widget-xxlb_section) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; }
.e-con > .e-con-inner:has(> .elementor-widget-xxlb_section) { max-width: none; padding: 0; }

/* ===== Angleichung an das Design von xxl-bank.com =====
   Grün #20433d, Beige #efebce, Lime #b4cb1c, Gold #dba727, Anton + Fira Sans, Buttons 12px Radius */
.xxlb-btn { border-radius: 12px; border: 0; background: var(--xxlb-dark); color: var(--xxlb-light) !important; text-transform: none; letter-spacing: 0; font: 400 1.1rem/1.2 'Fira Sans', sans-serif; padding: 14px 32px; }
.xxlb-btn:hover { background: var(--xxlb-accent); color: var(--xxlb-dark) !important; transform: none; }
.xxlb-btn--ghost { background: transparent; color: var(--xxlb-dark) !important; box-shadow: inset 0 0 0 2px var(--xxlb-dark); }

/* Trennband: dunkelgrün, Überschrift zweifarbig wie "WeitblickEntdecken" */
.xxlb-bereich { background: var(--xxlb-dark); color: var(--xxlb-light); }
.xxlb-bereich__inner { padding-top: 26px; padding-bottom: 26px; padding-left: 40px; padding-right: 40px; max-width: none; }
.xxlb-bereich .xxlb-icon { color: var(--xxlb-gold); width: 40px; height: 40px; }
.xxlb .xxlb-bereich__title { color: var(--xxlb-light); font-size: clamp(2.2rem, 6vw, 4.25rem); font-weight: 500; }
.xxlb-bereich__kicker { color: var(--xxlb-accent); }
.xxlb-bereich__badge { background: var(--xxlb-gold); color: var(--xxlb-dark); font-size: .85rem; padding: 6px 14px; border-radius: 12px; }
.xxlb-bereich__lage { font-family: 'Fira Sans', sans-serif; font-size: 1.25rem; color: var(--xxlb-light); }

/* Kartenbereich auf Beige */
.xxlb-mapsection { background: var(--xxlb-light); color: var(--xxlb-dark); }
.xxlb-mapsection .xxlb-wrap { max-width: none; padding-left: 40px; padding-right: 40px; }
.xxlb .xxlb-map-block .xxlb-h3 { color: var(--xxlb-dark); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; }
.xxlb-map { border-radius: 12px; background: #e4dfba; }
.xxlb-map__placeholder {
	background:
		repeating-radial-gradient(circle at 30% 40%, transparent 0 22px, rgba(32,67,61,.10) 22px 23px),
		repeating-radial-gradient(circle at 75% 70%, transparent 0 30px, rgba(32,67,61,.08) 30px 31px),
		#e9e4c2;
	color: var(--xxlb-dark);
}
.xxlb-map__placeholder > .xxlb-icon { color: var(--xxlb-gold); }
.xxlb-map__title { font-weight: 500; }
.xxlb-map__note { font-size: 1.05rem; }
.xxlb-map__always input, .xxlb-consent__options input { accent-color: var(--xxlb-dark); }
.xxlb-map__links { font-size: 1.05rem; }
@media (max-width: 767px) {
	.xxlb-bereich__inner, .xxlb-mapsection .xxlb-wrap { padding-left: 20px; padding-right: 20px; }
}

/* Cookie-Banner im Seitendesign */
.xxlb-consent__box { background: var(--xxlb-light); color: var(--xxlb-dark); border-top: 0; border-radius: 12px; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.xxlb-consent__title { color: var(--xxlb-dark); font-weight: 500; font-size: 1.7rem; }
.xxlb-consent__actions .xxlb-btn { font-size: 1rem; }
.xxlb-consent__actions .xxlb-btn--ghost { border: 0; }
.xxlb-consent__links a { color: var(--xxlb-dark); }

/* ===== v1.2: Korrekturen nach Livetest ===== */

/* Buttons: gegen Theme-Stile (Hello Elementor setzt button-Farben) absichern */
.xxlb .xxlb-btn, .xxlb button.xxlb-btn, .xxlb a.xxlb-btn {
	background: var(--xxlb-dark) !important; color: var(--xxlb-light) !important; border: 2px solid var(--xxlb-dark) !important;
	border-radius: 12px !important; font: 400 1rem/1.2 'Fira Sans', sans-serif !important; text-transform: none !important;
	letter-spacing: 0 !important; padding: 12px 24px !important; min-height: 46px; box-shadow: none !important; text-decoration: none !important;
}
.xxlb .xxlb-btn:hover, .xxlb .xxlb-btn:focus-visible { background: var(--xxlb-accent) !important; border-color: var(--xxlb-accent) !important; color: var(--xxlb-dark) !important; }
.xxlb .xxlb-btn--ghost { background: transparent !important; color: var(--xxlb-dark) !important; }
.xxlb .xxlb-btn--ghost:hover { background: var(--xxlb-dark) !important; border-color: var(--xxlb-dark) !important; color: var(--xxlb-light) !important; }

/* Cookie-Banner: Seitenfarben, gut lesbar */
.xxlb-consent__box { background: var(--xxlb-light) !important; color: var(--xxlb-dark) !important; font-family: 'Fira Sans', sans-serif; font-size: .95rem; max-width: 560px; padding: 20px 20px 14px; border: 2px solid var(--xxlb-dark); }
.xxlb-consent__box p, .xxlb-consent__box label { color: var(--xxlb-dark) !important; }
.xxlb .xxlb-consent__title { font: 400 1.35rem/1.1 'Anton', sans-serif !important; color: var(--xxlb-dark) !important; text-transform: uppercase; }
.xxlb-consent__links a { color: var(--xxlb-dark) !important; text-decoration: underline; }

/* Einleitung "Zwei XXL-Bänke" – oben Platz für die überstehende Bank-Grafik */
.xxlb-intro2 { background: var(--xxlb-light); color: var(--xxlb-dark); text-align: center; padding: clamp(56px, 9vw, 150px) 0 clamp(36px, 5vw, 64px); }
.xxlb .xxlb-intro2__title { font: 400 clamp(1.9rem, 4vw, 3rem)/1.05 'Anton', Impact, sans-serif; text-transform: uppercase; color: var(--xxlb-dark); margin: 0 0 .5em; }
.xxlb-intro2__text { font: 400 clamp(1rem, 1.6vw, 1.15rem)/1.6 'Fira Sans', sans-serif; max-width: 58ch; margin: 0 auto 1.6em !important; }
.xxlb-cards { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; text-align: left; }
.xxlb .xxlb-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px; background: var(--xxlb-dark); color: var(--xxlb-light); text-decoration: none; border: 2px solid var(--xxlb-dark); transition: border-color .15s, transform .15s; height: 100%; }
.xxlb .xxlb-card:hover, .xxlb .xxlb-card:focus-visible { border-color: var(--xxlb-accent); transform: translateY(-2px); }
.xxlb-card .xxlb-icon { width: 30px; height: 30px; color: var(--xxlb-gold); }
.xxlb-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.xxlb-card__ort { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.1 'Anton', sans-serif; text-transform: uppercase; color: var(--xxlb-light); }
.xxlb-card__lage { font: 400 .95rem/1.35 'Fira Sans', sans-serif; color: var(--xxlb-light); opacity: .85; }
.xxlb-card__badge { margin-left: auto; background: var(--xxlb-gold); color: var(--xxlb-dark); font: 600 .72rem/1 'Fira Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; }
.xxlb-card__arrow { margin-left: auto; font-size: 1.3rem; color: var(--xxlb-accent); }
.xxlb-card__badge + .xxlb-card__arrow { margin-left: 8px; }
@media (max-width: 767px) { .xxlb-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .xxlb .xxlb-card { transition: none; } .xxlb .xxlb-card:hover { transform: none; } }

/* Trennband: kleiner, Lage unter dem Namen */
.xxlb-bereich__inner { padding-top: 18px; padding-bottom: 18px; gap: 4px 14px; flex-wrap: nowrap; }
.xxlb-bereich .xxlb-icon { width: 30px; height: 30px; }
.xxlb-bereich__text { display: flex; flex-direction: column; gap: 2px; }
.xxlb .xxlb-bereich__title { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.xxlb-bereich__lage { margin-left: 0 !important; width: auto !important; font-size: 1rem; opacity: .9; }
.xxlb-bereich__badge { align-self: center; font-size: .72rem; padding: 5px 10px; border-radius: 8px; }

/* Karten: kleinere Typo */
.xxlb-mapsection { padding: clamp(28px, 4vw, 48px) 0; }
.xxlb .xxlb-map-block .xxlb-h3 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin-bottom: .6em; }
.xxlb-map { aspect-ratio: 16 / 6; }
.xxlb-map__title { font-size: 1.15rem; }
.xxlb-map__note, .xxlb-map__links { font-size: .95rem; }
@media (max-width: 767px) { .xxlb-map { aspect-ratio: 4 / 5; } }

/* Heedfeld-Foto: nie verzerrt */
.elementor-widget-image.xxlb-foto { width: 100%; max-width: 1000px; margin-left: auto; margin-right: auto; }
.elementor .xxlb-foto img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 16 / 9; object-fit: cover !important; border-radius: 12px; }
/* ===== v1.2: ruhigere Typografie der Startseite (xxl-bank.com, Elementor-IDs) ===== */
body.home .elementor-element-ace78b2 .elementor-heading-title,
body.home .elementor-element-742bf9a .elementor-heading-title,
body.home .xxlb-heading .elementor-heading-title { font-size: clamp(2.1rem, 4.4vw, 3.6rem) !important; line-height: 1.05 !important; }
body.home .elementor-element-48c6513 .elementor-heading-title,
body.home .elementor-element-312a86f .elementor-heading-title { font-size: clamp(1.9rem, 3.8vw, 3.1rem) !important; line-height: 1.05 !important; }
body.home .elementor-element-0c21889, body.home .elementor-element-54adb4d, body.home .elementor-element-67f9445,
body.home .xxlb-heedfeld .elementor-widget-text-editor { font-size: clamp(1rem, 1.5vw, 1.15rem) !important; line-height: 1.6 !important; }
body.home .elementor-element-2e83e1b .elementor-heading-title, body.home .elementor-element-e23fde9 .elementor-heading-title { font-size: clamp(1rem, 1.5vw, 1.15rem) !important; }
.elementor-widget-image.xxlb-foto { max-width: 1000px !important; }

/* ===== v1.2: Smartphone ===== */
@media (max-width: 767px) {
	.xxlb-intro2 { padding: 64px 0 32px; }
	.xxlb .xxlb-intro2__title { font-size: 1.8rem; }
	.xxlb-intro2__text { font-size: 1rem; }
	.xxlb-cards { gap: 10px; }
	.xxlb .xxlb-card { padding: 14px 16px; min-height: 64px; }
	.xxlb-card__ort { font-size: 1.25rem; }
	.xxlb-card__lage { font-size: .9rem; }

	.xxlb-bereich__inner { padding: 14px 20px !important; }
	.xxlb .xxlb-bereich__title { font-size: 1.45rem; }
	.xxlb-bereich .xxlb-icon { width: 24px; height: 24px; }
	.xxlb-bereich__lage { font-size: .9rem; }

	.xxlb-mapsection { padding: 24px 0; }
	.xxlb-mapsection .xxlb-wrap { padding-left: 16px !important; padding-right: 16px !important; }
	.xxlb .xxlb-map-block .xxlb-h3 { font-size: 1.25rem; }
	.xxlb-map { aspect-ratio: 1 / 1; }
	.xxlb-map__placeholder { padding: 16px; }
	.xxlb-map__note { font-size: .88rem; }
	.xxlb-map__actions { flex-direction: column; gap: 8px; }
	.xxlb-map__links { flex-direction: column; gap: 4px; }

	.xxlb-consent { padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
	.xxlb-consent__box { padding: 16px 16px 10px; font-size: .9rem; max-height: 75vh; }
	.xxlb .xxlb-consent__title { font-size: 1.15rem !important; }
	.xxlb-consent__actions .xxlb-btn { font-size: .92rem !important; padding: 10px 8px !important; }

	.elementor .xxlb-foto img { aspect-ratio: 4 / 3; border-radius: 10px; }
	body.home .xxlb-heedfeld { padding-left: 16px; padding-right: 16px; }
}
/* Smartphone: Touren-Buttons (Original-Elementor) sauber untereinander statt überlappend */
@media (max-width: 767px) {
	body.home .elementor-element-b023f15 { gap: 10px !important; }
	body.home .elementor-element-6133042, body.home .elementor-element-ca56977,
	body.home .elementor-element-fb40813, body.home .elementor-element-1be01d5 {
		position: static !important; transform: none !important; margin: 0 !important; inset: auto !important;
		width: 100% !important; max-width: 100% !important; --container-widget-width: 100% !important;
	}
	body.home .elementor-element-b023f15 .elementor-button { width: 100%; justify-content: center; white-space: normal; }
	body.home .elementor-element-b023f15 .elementor-widget-button > .elementor-widget-container { margin: 0 !important; }
}
/* ===== v1.3: Galerie nie verzerrt (Original: feste Höhe + object-fit: fill) ===== */
body.home .elementor-element-aab07ca .swiper-slide img,
body.home .elementor-widget-n-carousel .swiper-slide img { object-fit: cover !important; }
@media (max-width: 767px) {
	body.home .elementor-element-aab07ca .swiper-slide img,
	body.home .elementor-widget-n-carousel .swiper-slide img { height: auto !important; aspect-ratio: 4 / 3; width: 100% !important; }
}
/* ===== v1.4: Slider einheitlich im Querformat 3:2 (statt fester Höhen 350/520 px aus Elementor) ===== */
body.home .elementor-widget-n-carousel .swiper-slide img { width: 100% !important; height: auto !important; max-height: none !important; aspect-ratio: 3 / 2; object-fit: cover !important; border-radius: 12px; }
@media (max-width: 767px) { body.home .elementor-widget-n-carousel .swiper-slide img { aspect-ratio: 4 / 3; } }

/* v1.4: alle Slides exakt gleich groß (Elementor setzt je Slide unterschiedliche Innenabstände) */
body.home .elementor-widget-n-carousel .swiper-slide > .e-con,
body.home .elementor-widget-n-carousel .swiper-slide .e-con-inner { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; min-height: 0 !important; }
body.home .elementor-widget-n-carousel .swiper-slide .elementor-widget-image { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
