/* ==========================================================================
   KETTLER KUC – Grundlagen, Kopf, Footer, Textseiten
   (ersetzt, was bisher Salient geliefert hat)
   ========================================================================== */

:root {
	--kt-accent: #009b8e;
	--kt-accent-l: #4fd1c5;
	--kt-ink: #1f1f1f;
	--kt-band: #eef3f2;
	--kt-header-h: 85px;
	--km-scroll-offset: 101px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--kt-ink);
	background: #fff;
	font-family: inter, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	color: inherit;
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

p { margin: 0 0 1em; }

img,
video,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

figure { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.kh-skip {
	position: absolute;
	z-index: 100010;
	top: -60px;
	left: 16px;
	padding: 10px 16px;
	border-radius: 10px;
	color: #fff;
	background: var(--kt-accent);
	font-weight: 700;
}

.kh-skip:focus { top: 12px; }

.container-wrap {
	position: relative;
	padding: 0;
}

/* --------------------------------------------------------------------------
   Kopf (Desktop) – feste Glas-Leiste wie bisher
   -------------------------------------------------------------------------- */
#header-outer {
	position: fixed;
	z-index: 9998;
	top: 0;
	right: 0;
	left: 0;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	backdrop-filter: blur(16px) saturate(160%);
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.admin-bar #header-outer { top: 32px; }

html.kt-scrolled #header-outer {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

#header-outer #top .container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	height: var(--kt-header-h);
	padding: 0 2%;
}

#header-space { height: var(--kt-header-h); }

.kh-logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.kh-logo img {
	display: block;
	width: auto;
	height: 55px;
}

.kh-nav .kh-menu,
.kh-nav .kh-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kh-nav .kh-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.4vw, 38px);
}

.kh-nav .kh-menu > li {
	position: relative;
}

.kh-nav .kh-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	color: var(--kt-ink);
	font-size: 16px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.kh-nav .kh-menu > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--kt-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.kh-nav .kh-menu > li > a:hover,
.kh-nav .kh-menu > li.current-menu-item > a,
.kh-nav .kh-menu > li.current-menu-ancestor > a,
.kh-nav .kh-menu > li.current-page-ancestor > a {
	color: var(--kt-accent);
}

.kh-nav .kh-menu > li > a:hover::after,
.kh-nav .kh-menu > li.current-menu-item > a::after,
.kh-nav .kh-menu > li.current-menu-ancestor > a::after,
.kh-nav .kh-menu > li.current-page-ancestor > a::after {
	transform: scaleX(1);
}

.kh-nav a:focus-visible {
	outline: 2px solid var(--kt-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

/* Untermenüs (falls angelegt) und Weglot-Sprachauswahl */
.kh-nav .kh-menu li ul,
.kh-nav .kh-menu .sub-menu {
	position: absolute;
	z-index: 5;
	top: calc(100% + 8px);
	left: -14px;
	min-width: 200px;
	padding: 8px;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.kh-nav .kh-menu li:hover > ul,
.kh-nav .kh-menu li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.kh-nav .kh-menu li ul a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
}

.kh-nav .kh-menu li ul a:hover {
	color: var(--kt-accent);
	background: rgba(0, 155, 142, 0.08);
}

.kh-nav .weglot-parent-menu-item > a::after,
.kh-nav [class*="weglot"] > a::after {
	display: none;
}

.kh-nav .kh-menu li[class*="weglot"] ul {
	min-width: 0;
	left: auto;
	right: -8px;
}

@media (max-width: 999px) {
	.kh-nav { display: none; }

	#header-outer #top .container {
		height: 72px;
		padding: 0 14px;
	}

	.kh-logo img { height: 44px; }

	#header-space { height: 96px; }
}

@media (max-width: 782px) {
	.admin-bar #header-outer { top: 46px; }
}

/* --------------------------------------------------------------------------
   Footer – dunkel, oben abgerundet
   -------------------------------------------------------------------------- */
.kf {
	position: relative;
	z-index: 2;
	margin-top: -20px;
	color: #fff;
	background: #000;
	border-radius: 20px 20px 0 0;
}

.kf::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 100%;
	border-radius: inherit;
	background: radial-gradient(circle at 90% 0%, rgba(0, 155, 142, 0.18), transparent 40%);
	pointer-events: none;
}

.kf-inner {
	position: relative;
	padding: clamp(36px, 4vw, 56px) 2% 22px;
}

.kf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: clamp(28px, 3vw, 40px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.85);
}

.kf-sign img {
	display: block;
	width: 44px;
	height: auto;
	margin-bottom: 26px;
}

.kf-address {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.82rem;
	font-style: normal;
	line-height: 1.55;
}

.kf-address strong { font-weight: 800; }

.kf-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	gap: 0 clamp(28px, 4vw, 64px);
}

.kf-links ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kf-links li { margin: 0 0 8px; }

.kf-links a {
	display: inline-block;
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.kf-links a:hover,
.kf-links a:focus-visible {
	border-color: var(--kt-accent-l);
	color: var(--kt-accent-l);
}

.kf-links .kf-contact a {
	font-size: 1.05rem;
}

.kf-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 20px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.82rem;
}

.kf-social {
	display: flex;
	gap: 10px;
}

.kf-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #000;
	background: #fff;
	transition: background 0.2s ease, color 0.2s ease;
}

.kf-social a:hover {
	color: #fff;
	background: var(--kt-accent);
}

@media (max-width: 760px) {
	.kf-grid { grid-template-columns: 1fr; }
	.kf-inner { padding-right: 5%; padding-left: 5%; }
	.kf-links { grid-template-columns: 1fr 1fr; gap: 0 20px; }
	.kf-links a { font-size: 0.95rem; }
}

@media (max-width: 420px) {
	.kf-links { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Textseiten (Impressum, Datenschutz, AGB …)
   -------------------------------------------------------------------------- */
.km.kt section.kt-head {
	padding: clamp(48px, 6vw, 88px) 2% clamp(32px, 4vw, 52px);
	background:
		radial-gradient(circle at 90% 0%, rgba(0, 155, 142, 0.14), transparent 45%),
		var(--kt-band);
}

.km.kt section.kt-body {
	padding: clamp(36px, 4.4vw, 64px) 2% clamp(64px, 7vw, 100px);
	background: #fff;
}

.km .kt-inner {
	width: min(100%, var(--km-max, 1240px));
	margin: 0 auto;
}

.km .kt-head h1 {
	max-width: 22ch;
	margin: 0;
	color: var(--km-black, #121212);
	font-size: clamp(2rem, 3.6vw, 3.2rem);
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.km .kt-head .kb-crumbs { margin-bottom: 16px; }
.km .kt-head .kb-crumbs a { color: var(--kt-accent); }
.km .kt-head .kb-crumbs span { color: rgba(18, 18, 18, 0.35); }

.km .kt-lead {
	max-width: 60ch;
	margin: 18px 0 0;
	color: var(--km-grey-900, #3b3b3b);
	font-size: 1.08rem;
}

.km .kt-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.km .kt-prose {
	max-width: 860px;
}

/* Alte Zwei-Spalten-Inhalte (WPBakery) einspaltig und ruhig darstellen */
.km .kt-prose h2 {
	margin-top: 1.8em;
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.km .kt-prose h3 {
	margin-top: 1.6em;
	font-size: 1.15rem;
}

.km .kt-prose > :first-child { margin-top: 0; }

.km .kt-prose a {
	color: var(--kt-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.km .kt-empty {
	padding: 22px 26px;
	border: 1px dashed rgba(0, 155, 142, 0.4);
	border-radius: 14px;
	color: var(--km-grey-700, #666);
	background: rgba(0, 155, 142, 0.04);
}

.km .kt-wide { max-width: none; }

.km .kt-result {
	display: block;
	padding: 20px 24px;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 16px;
}

.km .kt-result strong { display: block; margin-bottom: 4px; }
.km .kt-result span { color: var(--km-grey-700, #666); font-size: 0.93rem; }

.km.kt-404 section.kt-head {
	min-height: 56vh;
	display: flex;
	align-items: center;
}
.km.kt-404 section.kt-head > .kt-inner { width: min(100%, var(--km-max, 1240px)); }
.km .k404-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.km .k404-visual { display: flex; justify-content: center; }
.km .k404-card {
	position: relative;
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	width: min(100%, 420px);
	padding: clamp(28px, 4vw, 48px) 24px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 30px 70px rgba(0, 60, 55, 0.12), inset 0 1px 0 #fff;
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	overflow: hidden;
}
.km .k404-card::before {
	content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 155, 142, 0.28), transparent 70%);
	pointer-events: none;
}
.km .k404-sign { position: relative; width: 56px; height: 56px; margin-bottom: 4px; }
.km .k404-num {
	position: relative;
	font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em;
	background: linear-gradient(135deg, #009b8e 0%, #00655c 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.km .k404-hint { position: relative; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--km-grey-700, #666); }
.km .k404-h2 { margin: 0 0 20px; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.km .k404-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.km .k404-links li { margin: 0; padding: 0; }
.km .k404-links li::before { content: none; }
.km .k404-links a {
	display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%;
	padding: 20px 22px;
	border: 1px solid rgba(18, 18, 18, 0.08);
	border-radius: 20px;
	background: #fff;
	color: var(--km-black, #121212);
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.km .k404-links a:hover, .km .k404-links a:focus-visible { border-color: #009b8e; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 155, 142, 0.12); }
.km .k404-links a:focus-visible { outline: 2px solid #009b8e; outline-offset: 3px; }
.km .k404-link-text { display: flex; flex-direction: column; gap: 2px; }
.km .k404-link-text strong { font-size: 1.02rem; }
.km .k404-link-text span { color: var(--km-grey-700, #666); font-size: 0.9rem; }
.km .k404-links svg { flex: none; color: #009b8e; transition: transform .2s ease; }
.km .k404-links a:hover svg { transform: translateX(3px); }
@media (max-width: 999px) {
	.km .k404-grid { grid-template-columns: 1fr; }
	.km .k404-visual { order: -1; justify-content: flex-start; }
	.km .k404-card { width: auto; flex-direction: row; gap: 14px; padding: 14px 22px; border-radius: 24px; }
	.km .k404-card::before { display: none; }
	.km .k404-sign { width: 40px; height: 40px; margin: 0; }
	.km .k404-num { font-size: 3rem; }
	.km .k404-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .km .k404-links { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .km .k404-links a, .km .k404-links svg { transition: none; } }

@media (max-width: 999px) {
	body.kmn-ready.km-page .km.kt section.kt-head { padding-top: 120px; }
}

@media (max-width: 680px) {
	.km.kt section.kt-head,
	.km.kt section.kt-body { padding-right: 5%; padding-left: 5%; }
}

/* Footer: Menü rechts, logisch gruppiert */
.kf-grid {
	grid-template-columns: minmax(220px, 1fr) auto;
	align-items: start;
}

.kf-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 28px clamp(36px, 5vw, 80px);
}

.kf-col-title {
	margin: 0 0 16px;
	color: var(--kt-accent-l);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kf-links li { margin-bottom: 10px; }

@media (max-width: 760px) {
	.kf-grid { grid-template-columns: 1fr; }
	.kf-links { justify-content: flex-start; gap: 28px 40px; }
	.kf-col { min-width: 40%; }
}

/* Hauptmenü etwas kleiner */
.kh-nav .kh-menu > li > a {
	font-size: 14.5px;
}

.kh-nav .kh-menu {
	gap: clamp(16px, 2vw, 30px);
}

/* --------------------------------------------------------------------------
   Alle Kopfbereiche unten abgerundet (wie der Footer oben)
   -------------------------------------------------------------------------- */
.km section.km-hero,
.km.kt section.kt-head,
.km.kj section.kj-head,
.km section.ke-head {
	position: relative;
	z-index: 2;
	overflow: hidden;
	border-radius: 0 0 20px 20px;
	isolation: isolate;
}

.km section.km-hero .km-hero-grid,
.km section.km-hero .km-hero-image {
	border-radius: inherit;
}

/* Der folgende Bereich schiebt sich unter die Rundung, damit keine weißen Ecken entstehen */
.km section.km-hero + section,
.km.kt section.kt-head + section,
.km.kj section.kj-head + section,
.km section.ke-head + section {
	margin-top: -20px;
	border-top: 20px solid transparent;
}

@media (max-width: 680px) {
	.km section.km-hero,
	.km.kt section.kt-head,
	.km.kj section.kj-head,
	.km section.ke-head {
		border-radius: 0 0 16px 16px;
	}
}

/* Lange Seitentitel (z. B. „Freistellungsbescheinigung“) auf dem Handy trennen */
.km .kt-head h1 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }

/* ==========================================================================
   Download-Karte und Info-Kacheln auf Textseiten (z. B. Freistellungsbescheinigung)
   ========================================================================== */
.kt-body .kt-lead { font-size: 1.12rem; line-height: 1.65; color: #2b3331; max-width: 720px; }
.kt-body .kt-download p,
.kt-body .kt-infos > p { margin: 0; }
.kt-body .kt-download br,
.kt-body .kt-infos > br { display: none; }

.kt-body .kt-download {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 28px;
	margin: 34px 0 26px;
	padding: 28px 30px;
	border: 1px solid rgba(0, 155, 142, 0.22);
	border-radius: 20px;
	background:
		radial-gradient(circle at 100% 0%, rgba(0, 155, 142, 0.14), transparent 55%),
		linear-gradient(120deg, #eef8f6 0%, #f7fbfa 55%, #ffffff 100%);
	box-shadow: 0 20px 44px rgba(0, 80, 72, 0.08);
	overflow: hidden;
}

/* Dokument-Symbol mit Eselsohr */
.kt-body .kt-download-doc {
	position: relative;
	width: 62px;
	height: 78px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(0, 60, 55, 0.14), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%);
}
.kt-body .kt-download-doc::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 28%;
	height: 22%;
	background: linear-gradient(225deg, transparent 50%, #d9ecea 50%);
}
.kt-body .kt-download-doc::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	top: 18px;
	height: 18px;
	background: repeating-linear-gradient(180deg, #e3eceb 0 3px, transparent 3px 7px);
}
.kt-body .kt-download-doc span {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 10px;
	padding: 3px 0;
	border-radius: 5px;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
	background: #009b8e;
}

.kt-body .kt-download-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kt-body .kt-download-label {
	color: #009b8e;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.kt-body .kt-download-text strong { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.25; color: #121212; overflow-wrap: anywhere; }
.kt-body .kt-download-meta { font-size: 0.92rem; color: #5b6462; }

.kt-body a.kt-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border-radius: 30px;
	color: #fff !important;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none !important;
	background: #009b8e;
	box-shadow: 0 10px 24px rgba(0, 155, 142, 0.3);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.kt-body a.kt-download-btn::before {
	content: "";
	width: 17px;
	height: 17px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kt-body a.kt-download-btn:hover { background: #00786e; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 155, 142, 0.38); }

.kt-body .kt-infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 10px; }
.kt-body .kt-info {
	padding: 24px 26px;
	border: 1px solid #e4ecea;
	border-radius: 20px;
	background: #fff;
}
.kt-body .kt-info h2 { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.3; }
.kt-body .kt-info p { margin: 0 0 10px; font-size: 0.97rem; line-height: 1.6; color: #4a5250; }
.kt-body .kt-info p:last-child { margin-bottom: 0; }
.kt-body a.kt-info-link { color: #009b8e; font-weight: 700; text-decoration: none; }
.kt-body a.kt-info-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
	.kt-body .kt-download { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; }
	.kt-body a.kt-download-btn { grid-column: 1 / -1; width: 100%; }
	.kt-body .kt-download-doc { width: 52px; height: 66px; }
	.kt-body .kt-infos { grid-template-columns: 1fr; }
}

/* WordPress setzt den Button teils in einen Absatz – Raster trotzdem sauber halten */
.kt-body .kt-download > p { display: contents; }
.km .kt-body .kt-info h2 { margin: 0 0 10px !important; padding: 0; font-size: 1.12rem !important; line-height: 1.3; letter-spacing: -0.01em; }
.km .kt-body .kt-info { display: flex; flex-direction: column; }
@media (max-width: 760px) {
	.kt-body .kt-download a.kt-download-btn { grid-column: 1 / -1; width: 100%; }
	.km .kt-body .kt-download-text strong { overflow-wrap: break-word; }
}
@media (max-width: 420px) { .km .kt-body .kt-download-text strong { font-size: 1.02rem; } .km .kt-head h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); } }

/* AGB: nummerierte Absätze */
.kt-body ol.kt-agb-liste { margin: 0 0 26px; padding-left: 1.6em; }
.kt-body ol.kt-agb-liste > li { margin: 0 0 12px; padding-left: 0.3em; line-height: 1.7; }
.kt-body ol.kt-agb-liste > li::marker { color: #009b8e; font-weight: 700; }

/* Impressum: Markenwebsite-Badge */
.km .kt-made{display:inline-flex;align-items:center;gap:14px;margin-top:40px;padding:10px 20px 10px 10px;border-radius:30px;background:rgba(255,255,255,.6);border:1px solid rgba(0,155,142,.25);box-shadow:0 8px 24px rgba(0,0,0,.06);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#1a1a1a;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.km .kt-made:hover,.km .kt-made:focus-visible{border-color:#009b8e;transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,155,142,.15)}
.km .kt-made:focus-visible{outline:2px solid #009b8e;outline-offset:3px}
.kt-made-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#009b8e;color:#fff;font-weight:700;font-size:14px;letter-spacing:.04em;flex:none}
.kt-made-text{display:flex;flex-direction:column;line-height:1.25}
.kt-made-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#007a70;font-weight:600}
.kt-made-text strong{font-size:15px;font-weight:600}
.kt-made-arrow{color:#009b8e;flex:none}

/* --------------------------------------------------------------------------
   Footer: Newsletter (Brevo)
   -------------------------------------------------------------------------- */
.kf-nl {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(20px, 4vw, 64px);
	align-items: center;
	margin-bottom: clamp(32px, 4vw, 48px);
	padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 30px;
	background: linear-gradient(135deg, rgba(0, 155, 142, 0.22), rgba(255, 255, 255, 0.04) 60%);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	scroll-margin-top: 120px;
}
.kf-nl-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--kt-accent-l); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.kf .kf-nl-titel { margin: 0 0 6px; color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.015em; }
.kf-nl-text p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.5; }
.kf-nl-form { display: flex; flex-direction: column; gap: 12px; }
.kf-nl-zeile {
	display: flex;
	gap: 6px;
	padding: 5px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.08);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kf-nl-zeile:focus-within { border-color: var(--kt-accent-l); box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.18); }
.kf-nl-zeile input[type="email"] {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 30px;
	color: #fff;
	font-size: 1rem;
	background: transparent;
	box-shadow: none;
	outline: none;
}
.kf-nl-zeile input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.55); }
.kf-nl-btn {
	flex: none;
	min-height: 44px;
	padding: 0 24px;
	border: 0;
	border-radius: 30px;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	background: var(--kt-accent);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.kf-nl-btn:hover, .kf-nl-btn:focus-visible { background: #00b3a4; }
.kf-nl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.kf-nl-btn:disabled { opacity: 0.6; cursor: wait; }
.kf-nl-check { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; line-height: 1.45; cursor: pointer; }
.kf-nl-check input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--kt-accent); }
.kf-nl-check a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.kf-nl-check a:hover { color: var(--kt-accent-l); }
.kf-nl-status { margin: 0; font-size: 0.86rem; line-height: 1.45; }
.kf-nl-status:empty { display: none; }
.kf-nl-status.is-ok { padding: 10px 14px; border-radius: 14px; color: #fff; background: rgba(0, 155, 142, 0.35); }
.kf-nl-status.is-error { color: #ffb4ab; }
.kf-nl-form.is-done .kf-nl-zeile, .kf-nl-form.is-done .kf-nl-check { display: none; }
.kf-nl-admin { margin: 0 0 24px; padding: 12px 16px; border: 1px dashed rgba(255, 255, 255, 0.4); border-radius: 14px; color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }
.kf-nl-admin a { color: var(--kt-accent-l); }
@media (max-width: 860px) {
	.kf-nl { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
	.kf-nl-zeile { flex-direction: column; border-radius: 22px; }
	.kf-nl-btn { width: 100%; }
}

/* Hinweis nach Bestätigung */
.kf-nl-toast {
	position: fixed;
	z-index: 9999;
	right: 16px;
	bottom: 24px;
	left: 16px;
	display: flex;
	width: fit-content;
	margin: 0 auto;
	gap: 12px;
	align-items: center;
	max-width: 560px;
	padding: 14px 14px 14px 20px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 30px;
	color: #121212;
	font-size: 0.95rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: 0 20px 50px rgba(0, 60, 55, 0.2);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	animation: kf-nl-in 0.4s ease both;
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.kf-nl-toast > span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--kt-accent); }
.kf-nl-toast button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #555; font-size: 18px; line-height: 1; background: rgba(0, 0, 0, 0.06); cursor: pointer; }
.kf-nl-toast.is-weg { opacity: 0; transform: translateY(12px); }
@keyframes kf-nl-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .kf-nl-toast { animation: none; transition: none; } }

/* --------------------------------------------------------------------------
   Keine Schlagschatten bei Boxen und Karten (Glas-Look ohne Schatten).
   Schwebende Elemente (Kopfzeile, Menüs, Cookie-Hinweis, Video-Fenster,
   Anzeige-Hilfen, Hinweis-Meldungen) behalten ihren Schatten zur Abgrenzung.
   -------------------------------------------------------------------------- */
.kr-glass,
.kr-glass-accent,
.kr-glass-muted,
.km .kh-lead-body,
.km .kh-lead-media,
.km .kh-second,
.km .kh-second:hover,
.km .kh-career-card,
.kh-career-stage,
.km .km-hero-content,
.km .km-form-card,
.kc-cta-card,
.km .km-system-grid,
.km .km-system-grid > div:last-child,
.km .km-system-image,
.km .km-rental-note,
.km .kd-card,
.km .kd-card:hover,
.km .kd-chip,
.km .kk-fact,
.km .kk-job,
.km .kk-job:hover,
.km .kk-bcard,
.km .kk-ben .kk-bcard,
.km .kk-ben .kk-bcard:hover,
.km .kk-ben-grid,
.km .ks-card,
.km .ks-card:hover,
.km .ks-slide,
.km .ku-film:hover,
.km .ku-tl-card,
.ku-film-btn,
.km a.kh-news-card,
.km a.kh-news-card:hover,
.km a.kb-card,
.km a.kb-card:hover,
.km .kb-featured,
.km .kj-card,
.km .kj-side,
.km .kj-head-img,
.km.kb-single .kb-hero:not(.kb-hero-plain) .km-hero-image,
.km .k404-card,
.km .k404-links a,
.km .k404-links a:hover,
.km .kt-made,
.km .kt-made:hover,
.kt-body .kt-download-doc,
.kf-nl {
	box-shadow: none !important;
}

/* Startseite/Leistungen: Karte nicht mehr über das Bild legen – sonst scheint das
   dunkle Foto durch die transparente Karte und wirkt wie ein Schatten */
.km .kh-lead .kh-lead-media { grid-column: 1 / 8; }
.km .kh-lead .kh-lead-body {
	grid-column: 8 / 13;
	margin-left: clamp(16px, 2vw, 28px);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
@media (max-width: 980px) {
	.km .kh-lead .kh-lead-body { margin: 16px 0 0; }
}
@media (max-width: 680px) {
	.km .kh-lead .kh-lead-body { margin: 12px 0 0; }
}

/* Hinweis auf KI-bearbeitete Bilder */
.km-system-image { position: relative; }
.ket-ki-badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 30px;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: rgba(12, 12, 12, 0.55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	pointer-events: none;
}
.ket-ki-badge::before {
	content: "";
	width: 12px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.3L20.5 10l-6.3 2.2L12 18.5l-2.2-6.3L3.5 10l6.3-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.2 6.3L20.5 10l-6.3 2.2L12 18.5l-2.2-6.3L3.5 10l6.3-1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Einheitliche Buttons: gleiche Rundung, Schrift und Hover-Farbe wie .km-btn
   (Radius 30px, 0.92rem / 800, Hover #007a70)
   -------------------------------------------------------------------------- */
.ket-anfrage-overlay button.ket-submit,
.kt-body a.kt-download-btn,
.kf-nl-btn,
.kcc-btn {
	border-radius: 30px !important;
	font-family: inherit;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1.2;
}
.ket-anfrage-overlay button.ket-submit,
.kt-body a.kt-download-btn {
	min-height: 52px;
	padding: 14px 26px !important;
}
.kt-body a.kt-download-btn:hover,
.kt-body a.kt-download-btn:focus-visible,
.kf-nl-btn:hover,
.kf-nl-btn:focus-visible,
.kcc-btn-primary:hover,
.kcc-btn-primary:focus-visible {
	background: #007a70 !important;
	border-color: #007a70;
}
.kt-body a.kt-download-btn:hover { transform: translateY(-1px); }
.km .kd-chip { border-radius: 30px; }

/* Restliche Buttons ebenfalls rund: „Mehr zur Vermietung“, „E-Mail schreiben“,
   „Herunterladen“, Ansehen-Knopf bei Downloads, „Zum Inhalt springen“ */
.km a.kc-mail,
a.kc-mail {
	border-radius: 30px !important;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}
.km a.kc-mail:hover,
.km a.kc-mail:focus-visible { background-color: #007a70; }
.km .kd-view { border-radius: 50% !important; }
.kh-skip { border-radius: 30px !important; }

/* Weiterführende Buttons mit Pfeil (wie „Mehr zur Vermietung“) */
.km .km-btn-pfeil { gap: 10px; }
.km .km-btn-pfeil .kc-ico { flex: none; transition: transform 0.2s ease; }
.km .km-btn-pfeil:hover .kc-ico,
.km .km-btn-pfeil:focus-visible .kc-ico { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .km .km-btn-pfeil .kc-ico { transition: none; } }

/* KI-Hinweis oben links (z. B. Vergleichsbild „Konventioneller Tiefbau“) */
.km .kv-col { position: relative; }
.ket-ki-badge.ket-ki-badge-oben { top: 14px; bottom: auto; left: 14px; z-index: 2; }
