/* ================================================================
   KFO VEST – CUSTOM CSS
   1:1 Nachbau kfo-vest.de
   Primärfarbe: rgb(230,0,126) – Magenta/Pink
   Schrift: Lora
   ================================================================ */

/* ----------------------------------------------------------------
   BARRIEREFREIHEIT – Fokus
   ---------------------------------------------------------------- */
   
.readtxt {
    font-size: 18px;
    line-height: 1.8em;
}

h2 {
    font-size: 28px;
}
/* Fokus sichtbar machen – nur per Tastatur, nicht per Maus/Touch */
:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

@media (hover: none) {
    :focus-visible {
        outline: none;
    }
}

	
	    #mobil_menu span {
        background: rgb(230, 0, 126);
		}

/* ----------------------------------------------------------------
   SYSTEM-FIXES (aus Original-CSS übernommen, unveränderlich)
   ---------------------------------------------------------------- */
#begriff_close,
.bgw { background: #fff; }

.sslicon,
.back-to-top .path { fill: #fff; }

#begriffbox,
#footer_end,
#footer_end a { color: #fff; }

.arrow::after { border-left: 10px solid #666; }

.mittig { margin: 0 auto 40px auto; float: none; clear: both; }
.verticalcenter { display: flex; align-items: center; }

#teamicon { background: url(../bilder/team.svg) no-repeat center top; }
#linksicon { background: url(../bilder/links.svg) no-repeat center top; }


/* ================================================================
   HEADER – Logo links, Kontaktzeile oben rechts
   Exakt wie kfo-vest.de:
   - Weißer Hintergrund
   - Kontaktzeile mit Telefon-Icon + E-Mail-Icon in Pink oben rechts
   - Logo-Block links
   ================================================================ */

#header {
	background: #fff;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	position: relative;
	z-index: 10;
}

/* Kontaktzeile oben rechts */
#kontaktboxheader {
	background: #fff;
	padding: 12px 0;
	text-align: right;
	display: none;
}

#kontaktboxheader .wrap {
	text-align: center;
}

#kontaktboxheader .icon {
	fill: rgb(230,0,126);
	height: 20px;
	width: 20px;
	padding: 0;
	margin-right: 5px;
	vertical-align: -5px;
}

#kontaktboxheader a {
	color: rgb(230,0,126);
	font-weight: 600;
	font-size: 15px;
	margin-left: 30px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

#kontaktboxheader a:hover {
	opacity: 0.8;
}

#logo {
    float: none;
    width: auto;
    padding: 20px 0 20px;
}

#logo > a > img,
#logo a img {
	height: auto;
	width: auto;
	padding: 0;
	display: block;
}

.icon {
    fill: rgb(230, 0, 126);
    height: 48px;
    padding: 8px;
    width: 48px;
}

/* ================================================================
   HEADERBALKEN / NAVIGATION
   Weißer Hintergrund, Text dunkel, aktiver Punkt Pink mit Pill
   ================================================================ */

#headerbalken {
    background-color: #f1f1f1 !important;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#menu ul {
	background: #f1f1f1 !important;
	text-align: center;
	padding: 0;
}

#menu li {
	list-style: none;
	display: inline-block;
	position: relative;
}

#menu a {
	color: #333 !important;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: block;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}

/* AKTIVER MENÜPUNKT: Pink-Pill genau wie kfo-vest.de */
#menu a.on {
	background: rgb(230,0,126) !important;
	color: #fff !important;
}

#menu a:hover:not(.on) {
	color: rgb(230,0,126) !important;
	background-color: #fff !important;
}

/* Dropdown-Pfeil */
#menu a.downarrow::after {
	content: " ▾";
	font-size: 11px;
}

/* Untermenü */
#menu ul ul {
	background: rgb(230,0,126) !important;
	min-width: 220px;
	top: 100%;
	left: 0;
	z-index: 999;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
	padding: 0 !important;
}

/* Untermenü öffnen: nur auf Desktop via Hover */


/* Untermenü öffnen: via JS-Klick (Desktop + Mobile) */
#menu ul li.open > ul {
	display: block;
}

#menu ul ul li {
	display: block;
	text-align: left;
}

#menu ul ul li a {
	background: none !important;
	color: #fff !important;
	padding: 11px 20px !important;
	font-size: 16px;
	border-radius: 0;
	border-bottom: 1px solid #fff;
}

#menu ul ul li:last-child a {
	border-bottom: none;
}

#menu ul ul li a:hover,
#menu ul ul li a.on {
	background: rgba(0,0,0,0.15) !important;
	color: #fff !important;
}

/* ================================================================
   HERO SLIDER – Pfeile + Text-Overlay + Ken-Burns
   Exakt wie kfo-vest.de: Text links vertikal zentriert,
   Headline in Pink, Subline weiß, Outline-Button
   ================================================================ */

/* Wrapper: enthält Slider + Pfeile */
#teaser-wrapper {
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
}

/* Slick-Slider: Höhe */
#teaser.teaserslider,
#teaser.teaserslider .slick-slide,
#teaser.teaserslider .ts-slide {
	height: 520px;
}

/* Hintergrundbild pro Slide */
#teaser.teaserslider .ts-slide {
	background-size: cover;
	background-position: center center;
	position: relative;
	overflow: hidden;
}

/* Img unsichtbar – BG-Bild übernimmt */
#teaser.teaserslider .ts-slide img {
	opacity: 0;
	position: absolute;
}

/* ── Ken-Burns: aktive Slide zoomt sanft rein ── */
#teaser.teaserslider .slick-slide.slick-current .ts-slide {
	animation: tsKenBurns 8s ease-out forwards;
}
@keyframes tsKenBurns {
	0%   { background-size: 103%; }
	100% { background-size: 112%; }
}

/* ── Text-Overlay: vertikal zentriert, linke Hälfte ── */
.ts-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	/* Innenabstand: links ~20% damit Text deutlich von Rand weg */
	padding: 20px 45% 20px 20%;
	gap: 10px;
	pointer-events: none;
}

/* ── Einflug-Animationen via JS-Klasse .ts-animate ──
   Elemente starten unsichtbar, oben versetzt */
.ts-overlay .ts-headline,
.ts-overlay .ts-subline,
.ts-overlay .ts-btn {
	opacity: 0;
	transform: translateY(-22px);
}

/* JS setzt .ts-animate auf die aktive Slide */
.ts-animate .ts-headline {
	animation: tsDropIn 0.55s 0.2s cubic-bezier(.22,.61,.36,1) forwards;
}
.ts-animate .ts-subline {
	animation: tsDropIn 0.55s 0.38s cubic-bezier(.22,.61,.36,1) forwards;
}
.ts-animate .ts-btn {
	animation: tsDropIn 0.55s 0.54s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes tsDropIn {
	to { opacity: 1; transform: translateY(0); }
}

/* Headline: groß, pink, uppercase – wie auf kfo-vest.de */
.ts-overlay .ts-headline {
	color: rgb(230,0,126);
	font-size: 2.8rem;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

/* Headline-Logo: Bild statt Text (z.B. logo-eumaa.png) */
.ts-overlay .ts-headline-logo {
	display: block;
	max-height: 90px;
	max-width: 280px;
	width: auto;
	height: auto;
	margin-bottom: 10px;
	object-fit: contain;
	/* Animation identisch zu ts-headline */
	opacity: 0;
	transform: translateY(-22px);
}
.ts-animate .ts-headline-logo {
	animation: tsDropIn 0.55s 0.2s cubic-bezier(.22,.61,.36,1) forwards;
}

/* Subline: weiß, uppercase */
.ts-overlay .ts-subline {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ts-overlay .ts-btn {
    pointer-events: all;
    margin-top: 25px;
    padding: 12px 25px;
    background: rgb(230, 0, 126);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ts-overlay .ts-btn:hover {
    background: rgb(255 255 255 / 90%);
    border-color: rgb(230, 0, 126);
    color: rgb(230, 0, 126);
    text-decoration: none;
}
/* ── Pfeil-Buttons ── */
.ts-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	background: rgba(255,255,255,0.15);
	border: 2px solid rgba(255,255,255,0.6);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
	padding: 0;
}
.ts-arrow:hover {
	background: rgba(230,0,126,0.85);
	border-color: rgb(230,0,126);
	transform: translateY(-50%) scale(1.08);
}
.ts-arrow svg {
	width: 24px;
	height: 24px;
	fill: #fff;
	display: block;
}
.ts-arrow-prev { left: 18px; }
.ts-arrow-next { right: 18px; }

/* ── Bestehende #teaser-Regeln auf Fallback (kein #teaser-wrapper) ── */
#teaser:not(.teaserslider) {
	height: 400px;
	background-size: cover;
	background-position: center center;
	margin-bottom: 0;
	position: relative;
	background-color: #d4d4d4;
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.35);
}



/* ── Responsiv ── */
@media (max-width: 1680px) {
	#teaser.teaserslider,
	#teaser.teaserslider .slick-slide,
	#teaser.teaserslider .ts-slide { height: 340px; }
	.ts-overlay .ts-headline { font-size: 2.3rem; }
}
@media (max-width: 1360px) {
	#teaser.teaserslider,
	#teaser.teaserslider .slick-slide,
	#teaser.teaserslider .ts-slide { height: 280px; }
	.ts-overlay .ts-headline { font-size: 1.9rem; }
	.ts-overlay { padding: 20px 48% 20px 7%; }
	
	
		span.ts-headline, a.ts-btn, .ts-overlay .ts-subline {
		margin-left: 15%;
	}

}

@media (max-width: 1200px){

}
@media (max-width: 980px) {
	#teaser.teaserslider,
	#teaser.teaserslider .slick-slide,
	#teaser.teaserslider .ts-slide { height: 250px; }
	.ts-overlay { padding: 14px 38% 14px 6%; gap: 5px; }
	.ts-overlay .ts-headline { font-size: 1.4rem; }
	.ts-overlay .ts-subline { font-size: 0.78rem; }
	.ts-overlay .ts-btn { padding: 6px 14px; font-size: 0.75rem; margin-top: 5px; }
	.ts-arrow { width: 36px; height: 36px; }
	.ts-arrow svg { width: 18px; height: 18px; }
	.lp-seite .spaltenbox {
		display: block !important;
	}

}

@media (max-width: 780px) {
	#teaser.teaserslider,
	#teaser.teaserslider .slick-slide,
	#teaser.teaserslider .ts-slide { height: 220px; }
	.ts-overlay { padding: 10px 20% 10px 5%; gap: 3px; }
	.ts-overlay .ts-headline { font-size: 1.1rem; }
	.ts-overlay .ts-btn { padding: 5px 12px; font-size: 0.7rem; margin-top: 4px; }
	.ts-arrow { width: 30px; height: 30px; }
	.ts-arrow svg { width: 15px; height: 15px; }
	.ts-arrow-prev { left: 6px; }
	.ts-arrow-next { right: 6px; }
	.ts-arrow {top: 80%;
		}
}


@media (max-width: 480px) {
	#teaser.teaserslider,
	#teaser.teaserslider .slick-slide,
	#teaser.teaserslider .ts-slide { height: 200px; }
	.ts-overlay { padding: 8px 12% 8px 5%; gap: 2px; }
	.ts-overlay .ts-headline { font-size: 0.88rem; }

}

@media (max-width: 480px) {
    @media (max-width: 780px) {
        .ts-overlay .ts-subline {
            display: block !important;
			box-shadow: none !important;
        }
    }
}

/* ================================================================
   SEKTION-HEADER (Icon-Kreis + Strich-TITEL-Strich)
   Exakt wie auf kfo-vest.de: Pink-Kreis-Icon oben mittig,
   dann horizontale Linie – TITLE – horizontale Linie
   ================================================================ */

.section-header {
	text-align: center;
	padding: 30px 0 0px;
	clear: both;
}

.section-icon-circle {
	width: 60px;
	height: 60px;
	background: rgb(230,0,126);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	box-shadow: 0 4px 16px rgba(230,0,126,0.25);
}

.section-icon-circle svg {
	fill: #fff !important;
	width: 36px;
	height: 36px;
	padding: 0;
}

/* Titel-Zeile mit Strichen */
.section-title-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 40px;
	padding: 0 5%;
}

.section-title-line::before,
.section-title-line::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #ccc;
	max-width: 380px;
}

.section-title-line h1,
.section-title-line span {
	font-size: 1.65em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #333 !important;
	margin: 0;
	line-height: 1.2;
}


/* ================================================================
   KONTAKTSEITE – Ergänzungen für main.css
   ================================================================ */


/* ----------------------------------------------------------------
   LAYOUT: Zweispaltig – Info-Box links, Formular rechts
   ---------------------------------------------------------------- */

.kontakt-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 50px;
	margin: 0 auto 80px;
	padding: 0 4%;
	box-sizing: border-box;
	align-items: start;
}


/* ----------------------------------------------------------------
   LINKE SPALTE – Pink-Box
   ---------------------------------------------------------------- */

.kontakt-pink-box {
	background: rgb(230,0,126);
	border-radius: 10px;
	padding: 36px 32px;
	color: #fff;
	box-shadow: 0 8px 32px rgba(230,0,126,0.28);
}

.kontakt-pink-section {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.kontakt-pink-section + .kontakt-pink-section {
    margin-bottom: 0px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 1);
}

.kontakt-pink-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    border: 1px solid #fff;
}

.kontakt-pink-icon svg {
	width: 22px;
	height: 22px;
	fill: #fff;
}

.kontakt-pink-content h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: rgb(255 255 255);
    margin: 0 0 20px;
}

.kontakt-pink-content,
.kontakt-pink-content p,
.kontakt-pink-content b,
.kontakt-pink-content span,
.kontakt-pink-content a,
.kontakt-pink-content div {
	color: #fff !important;
	font-size: 16px;
	line-height: 1.75;
}

.kontakt-pink-content a {
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	transition: border-color 0.2s;
}

.kontakt-pink-content a:hover {
	border-color: #fff;
}


/* ----------------------------------------------------------------
   FIX: Öffnungszeiten in der Pink-Box – eigenes CSS
   Isoliert durch .kontakt-oezeiten – überschreibt globale
   .zeitblock-Stile aus main.css nicht außerhalb dieser Box
   ---------------------------------------------------------------- */

.kontakt-pink-content .kontakt-oezeiten {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 20px;
}

/* Einzelner Tag-Block */
.kontakt-pink-content .kontakt-oezeiten .zeitblock {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	float: none;
	width: auto;
	color: #fff !important;
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.kontakt-pink-content .kontakt-oezeiten .zeitblock b, .kontakt-pink-content .kontakt-oezeiten .zeitblock strong {
    font-size: 16px;
    text-transform: uppercase;
	margin-bottom: 0;
	display: block;
	line-height: 1.2;
}

/* <br> direkt nach dem Wochentag-Label ausblenden */
.kontakt-pink-content .kontakt-oezeiten .zeitblock b + br,
.kontakt-pink-content .kontakt-oezeiten .zeitblock strong + br {
	display: none;
}

/* Allgemeiner Öffnungszeiten-Text (ohne .zeitblock) */
.kontakt-pink-content .kontakt-oezeiten .pos {
	grid-column: 1 / -1;
	text-align: left;
	color: #fff !important;
}

/* .clear-Divs neutralisieren */
.kontakt-pink-content .kontakt-oezeiten .clear {
	display: none;
}


/* ----------------------------------------------------------------
   RECHTE SPALTE – Formular-Bereich
   ---------------------------------------------------------------- */

.kontakt-form-headline {
    text-transform: uppercase;
    margin: 0 0 8px;
}

.kontakt-form-sub {
    font-size: 16px;
    margin: 0 0 28px;
}

/* Formular als Flex-Column */
.kontakt-form-wrapper form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Info-Meldung (Erfolg/Fehler) volle Breite */
.kontakt-form-wrapper form .info {
	width: 100%;
}

/* FIX: Zweispaltige Zeile – wird per PHP-preg_replace erzeugt */
.kontakt-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 24px;
	margin-bottom: 0;
}

.kontakt-form-field {
	box-sizing: border-box;
}

/* Alte .formtext-Klasse neutralisieren (Fallback) */
.kontakt-form-wrapper .formtext {
	margin-bottom: 0 !important;
}

/* Labels: uppercase, klein */
.kontakt-form-wrapper label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 18px;
}

/* Input-Felder: Underline-Stil */
.kontakt-form-wrapper input[type="text"],
.kontakt-form-wrapper input[type="email"],
.kontakt-form-wrapper input[type="tel"] {
	display: block;
	width: 100%;
	border: none;
	border-bottom: 2px solid #e0e0e0;
	border-radius: 0;
	background: transparent;
	padding: 8px 0;
	font-size: 15px;
	color: #333;
	outline: none;
	transition: border-color 0.25s;
	box-sizing: border-box;
}

.kontakt-form-wrapper input[type="text"]:focus,
.kontakt-form-wrapper input[type="email"]:focus,
.kontakt-form-wrapper input[type="tel"]:focus {
	border-bottom-color: rgb(230,0,126);
}

/* Nachricht-Label + Textarea: volle Breite */
.kontakt-form-wrapper label[for="nachricht"] {
	flex: 0 0 100%;
	width: 100%;
	margin-top: 6px;
}

/* Textarea */
.kontakt-form-wrapper textarea {
	width: 100%;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	background: #fafafa;
	padding: 16px;
	font-size: 15px;
	color: #333;
	outline: none;
	resize: vertical;
	min-height: 160px;
	transition: border-color 0.25s;
	box-sizing: border-box;
	font-family: inherit;
	margin-top: 8px;
	margin-bottom: 18px;
}

.kontakt-form-wrapper textarea:focus {
	border-color: rgb(230,0,126);
	background: #fff;
}

/* Captcha-Spalten: je 50% */
.kontakt-form-wrapper .spalte2 {
	flex: 1 1 calc(50% - 12px);
	min-width: 180px;
	box-sizing: border-box;
	font-size: 14px;
	color: #666;
	margin-bottom: 18px;
}

.kontakt-form-wrapper .captcha {
	display: block;
	margin-top: 8px;
	cursor: pointer;
	border-radius: 4px;
}

/* Datenschutz + Kopie-Checkbox: volle Breite */
.kontakt-form-wrapper .pos {
	flex: 0 0 100%;
	width: 100%;
}

.kontakt-form-wrapper .datenschutzfeld,
.kontakt-form-wrapper .datenschutztext {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 16px;
}

/* .clear-Divs im Formular neutralisieren */
.kontakt-form-wrapper .clear {
	display: none;
}

.kontakt-form-wrapper input[type="submit"], .kontakt-form-wrapper input.bcolor {
    background: #333 !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 14px 40px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 8px;
    display: block;
    flex: 0 0 auto;
}

.kontakt-form-wrapper input[type="submit"]:hover,
.kontakt-form-wrapper input.bcolor:hover {
	background: rgb(230,0,126) !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(230,0,126,0.3);
}


/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 900px) {
	.kontakt-wrapper {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.kontakt-pink-box {
		padding: 28px 24px;
	}
}

@media (max-width: 680px) {
	/* Formular: zweispaltige Zeilen einspaltlig */
	.kontakt-form-row {
		grid-template-columns: 1fr;
	}
	.kontakt-form-wrapper .spalte2 {
		flex: 0 0 100%;
	}
	.kontakt-form-headline {
		font-size: 1.2em;
	}
	.kontakt-pink-box {
		border-radius: 12px;
	}
	/* Öffnungszeiten: einspaltlig */
	.kontakt-pink-content .kontakt-oezeiten {
		grid-template-columns: 1fr;
	}
}


/* ================================================================
   RESERVIERUNGSSEITE – Ergänzungen für main.css
   ================================================================ */

/* Äußerer Wrapper – zentriert, volle Breite mit Padding */
.reservierung-wrapper {
	margin: 0 auto 80px;
	padding: 0 3%;
	box-sizing: border-box;
}

/* Formular-Wrapper erbt .kontakt-form-wrapper,
   hier nur spezifische Überschreibungen */
.reservierung-form-wrapper form {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ----------------------------------------------------------------
   WUNSCHTERMIN-BLOCK – 3 Felder untereinander mit Uhr-Icon
   ---------------------------------------------------------------- */

.reserv-wunschtermine {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 4px;
}

.reserv-wunschtermin-field label {
	display: flex;
	flex-direction: column;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 18px;
	position: relative;
}

/* Uhr-Icon links im Input */
.reserv-wunschtermin-field label::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgb(230,0,126)' d='M24,4C12.95,4,4,12.95,4,24s8.95,20,20,20,20-8.95,20-20S35.05,4,24,4Zm0,36c-8.84,0-16-7.16-16-16S15.16,8,24,8s16,7.16,16,16-7.16,16-16,16Zm1-26h-4v12l7.28,4.36,2-3.27-5.28-3.15V14Z'/%3E%3C/svg%3E") no-repeat center;
	background-size: contain;
}

.reserv-wunschtermin-field input[type="text"] {
	display: block;
	width: 100%;
	border: none;
	border-bottom: 2px solid #e0e0e0;
	border-radius: 0;
	background: transparent;
	padding: 8px 0 8px 28px; /* Platz für das Uhr-Icon */
	font-size: 15px;
	color: #333;
	outline: none;
	transition: border-color 0.25s;
	box-sizing: border-box;
}

.reserv-wunschtermin-field input[type="text"]:focus {
	border-bottom-color: rgb(230,0,126);
}

.reserv-wunschtermin-field input::placeholder {
	color: #bbb;
	font-style: italic;
	font-size: 14px;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 680px) {
	.reservierung-wrapper {
		padding: 0 5%;
	}
}


/* ================================================================
   PHILOSOPHIE-SEKTION (Startseite, unter Slider)
   ================================================================ */

.philosophie-section {
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.85;
	color: #333;
	padding: 0 3%;
	margin-bottom: 40px;
}

.philosophie-section p {
	margin-bottom: 16px;
}

/* ================================================================
   LEISTUNGS-KACHELN – 3×3 Grid wie kfo-vest.de
   Grau-überlagerte Bilder mit weißem Text-Label
   Mittlere Kachel (Aligner) größer / hervorgehoben
   ================================================================ */

/* ================================================================
   LEISTUNGEN-GRID – sauberes 3×3 Grid, alle Kacheln gleich
   ================================================================ */

.leistungen-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 300px);
	gap: 5px;
	width: 100%;
	margin-bottom: 0;
	clear: both;
	margin-bottom: 100px;
	padding: 0 3%;
}

.leistung-kachel {
	position: relative;
	overflow: hidden;
	background: #c8c8c8;
	cursor: pointer;
	display: block;
	text-decoration: none;
	/* kein height – wird durch grid-template-rows gesteuert */
}

/* Kein span mehr – alle Kacheln gleich */
.leistung-kachel.kachel-highlight {
	/* identisch mit normalem .leistung-kachel */
}

.leistung-kachel img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(20%) brightness(0.88);
	transition: transform 0.5s ease, filter 0.3s ease;
}

.leistung-kachel-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #d8d8d8 0%, #c0c0c0 100%);
}

.leistung-kachel:hover img {
	transform: scale(1.06);
	filter: grayscale(0%) brightness(0.85);
}

.leistung-kachel-overlay {
	position: absolute;
	inset: 0;
	background: rgb(24 24 24 / 40%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
}

.leistung-kachel:hover .leistung-kachel-overlay {
	background: rgba(230,0,126,0.18);
}

.leistung-kachel-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 16px;
  position: relative;
  z-index: 2;
}


/* Responsive */
@media (max-width: 980px) {
	.leistungen-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(5, 200px);
	}
	
	.section-icon-circle {
		width: 45px;
		height: 45px;
		padding: 5px;
	}
}

@media (max-width: 600px) {
	.leistungen-grid {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(9, 160px);
	}
}




/* ================================================================
   FOOTER – dunkelgrauer Bereich (#footer_kfo)
   Nutzt das vorhandene spalte4/spaltenbox/readtxt System
   ================================================================ */

#footer_kfo {
	background: #3a3a3a;
	color: #fff;
	width: 100%;
	padding: 50px 0 20px;
}

/* spalte4 im Footer: Farben und Links überschreiben */
#footer_kfo .spalte4 {
	color: #fff;
	font-size: 16px;
}

#footer_kfo .spalte4 a {
	color: #fff;
	text-decoration: none;
	display: inline;
}

#footer_kfo .spalte4 a:hover {
	color: rgb(230,0,126);
}

#footer_kfo .footer-col-headline {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}

#footer_kfo .footer-col-subline {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

/* KFO VEST Pink-Kreis wie auf kfo-vest.de */
.footer-logo-circle {
	width: 110px;
	height: 110px;
	background: rgb(230,0,126);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo-circle span {
	color: #fff;
	font-weight: 700;
	font-size: 1.3em;
	text-align: center;
	line-height: 1.2;
	letter-spacing: 0.04em;
}

#footer_kfo strong {
	color: #fff;
}

/* Telefon in Pink wie im Original-Screenshot */
.footer-tel {
	color: rgb(230,0,126) !important;
	font-weight: 600;
}

.footer-tel:hover {
	color: #ff4da6 !important;
}

/* Öffnungszeiten-Tabelle */
.footer-zeiten-table {
	border-collapse: collapse;
	width: 100%;
}

.footer-zeiten-table td {
	padding: 2px 0;
	font-size: 16px;
	color: #fff;
	line-height: 1.7;
	vertical-align: top;
}

.footer-tag {
	width: 34px;
	font-weight: 600;
	color: #fff;
	padding-right: 10px !important;
	white-space: nowrap;
}

.footer-zusatz {
	font-size: 16px;
}

/* Unterster Pink-Balken */
#footer_end {
	text-transform: uppercase;
	padding: 12px 0;
	font-size: 12px;
}

#footer_end a {
	color: #fff;
}

/* ================================================================
   FOOTER RESPONSIVE
   ================================================================ */

/* Auf 980px: spalte4 → 50% (aus template.css bereits definiert) */
/* Auf 780px: spalte4 → 100% (aus template.css bereits definiert) */

@media (max-width: 980px) {
	#footer_kfo {
		padding: 40px 0 10px;
	}
}

@media (max-width: 780px) {
	#footer_kfo {
		padding: 30px 0 10px;
	}
	.footer-logo-circle {
		width: 90px;
		height: 90px;
	}
	.footer-logo-circle span {
		font-size: 1.1em;
	}

	.logofooter {
		width: 100px;
	}
}


/* ================================================================
   KIEFERORTHOPÄDIE-SEITE
   ================================================================ */

/* Seitenüberschrift – groß, zentriert, serifenlos (wie Screenshot) */
.kfo-page-title {
	text-align: center;
	font-size: 2.8em;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #222 !important;
	margin: 50px 0 40px;
}

/* Einleitungstext-Block */
.kfo-intro-block {
	max-width: 900px;
	margin: 0 auto 20px;
	padding: 0 4%;
}

.kfo-intro-block .readtxt {
	font-size: 15px;
	line-height: 1.85;
	color: #333;
}

/* "For Your Smile" – Handschrift in Pink wie im Screenshot */
.kfo-handwriting {
	color: rgb(230,0,126) !important;
	font-family: 'Dancing Script', 'Pacifico', cursive;
	font-size: 1.7em;
	font-weight: 400;
	margin-top: 24px;
	letter-spacing: 0.02em;
}

/* Handschrift-Font laden */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600&display=swap');


/* ----------------------------------------------------------------
   ZIELGRUPPEN-BEREICH (grauer Hintergrund, 3 Kreise)
   ---------------------------------------------------------------- */
.kfo-zielgruppen-bg {
    background: #f0f0f0;
    width: 100%;
    padding: 40px 0 40px;
    clear: both;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Nutzt vorhandenes spalte3 (33.3333% float:left) */
.kfo-zielgruppe {
	text-align: center;
	padding: 0 3%;
	margin-bottom: 30px;
}

/* Verlinkung – kein Unterstrich, Farbe neutral */
.kfo-zielgruppe-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Kreis-Container – für overflow:hidden + border-radius */
.kfo-kreis-wrapper {
	display: flex;
	justify-content: center;
	margin-bottom: 28px;
}

.kfo-kreis {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	background: #c8c8c8;
	flex-shrink: 0;
	transition: box-shadow 0.35s ease;
}

.kfo-kreis img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: filter 0.35s ease, transform 0.35s ease;
}

/* Placeholder wenn Bild fehlt */
.kfo-kreis-placeholder {
	background: linear-gradient(135deg, #d0d0d0, #b8b8b8);
}

/* HOVER-EFFEKT: Bild aufhellen + leicht zoomen */
.kfo-zielgruppe-link:hover .kfo-kreis img {
	transform: scale(1.05);
}

.kfo-zielgruppe-link:hover .kfo-kreis {
	box-shadow: 0 8px 30px rgba(230,0,126,0.22);
}

/* Titel: PRÄVENTION / KIDS TEENS / ERWACHSENE */
.kfo-zielgruppe-titel {
	font-size: 1.1em;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #222 !important;
	margin: 0 0 14px;
	transition: color 0.3s ease;
}

/* HOVER: Schrift wird Pink */
.kfo-zielgruppe-link:hover .kfo-zielgruppe-titel {
	color: rgb(230,0,126) !important;
}

/* "MEHR LESEN" Button – outline-Stil wie im Screenshot */
.kfo-mehr-lesen-btn {
    display: inline-block;
    border: 1px solid #333;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 7px 22px;
    border-radius: 10px;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

/* HOVER: Button wird Pink */
.kfo-zielgruppe-link:hover .kfo-mehr-lesen-btn {
	border-color: rgb(230,0,126);
	color: rgb(230,0,126);
	background: rgba(230,0,126,0.04);
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 980px) {
	.kfo-page-title { font-size: 2em; }
	.kfo-kreis { width: 220px; height: 220px; }
}

@media (max-width: 780px) {
	/* spalte3 → 100% (aus template.css) */
	.kfo-page-title { font-size: 1.6em; letter-spacing: 0.06em; }
	.kfo-kreis { width: 200px; height: 200px; }
	.kfo-zielgruppen-bg { padding: 40px 0 50px; }
}


/* ================================================================
   PRAXISIMPRESSIONEN – Slick-Slider
   ================================================================ */

.praxis-slider-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0 3% 60px;
}

.praxis-slider {
	/* Slick übernimmt das Layout */
}

.praxis-slide {
	padding: 0 3px;
	outline: none;
}

.praxis-slide img {
	width: 100%;
	object-fit: cover;
	display: block;
}

/* Placeholder wenn kein Bild vorhanden */
.praxis-slide-placeholder {
	width: 100%;
	height: 260px;
	background: #d8d8d8;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
}

/* Eigene Pfeil-Buttons – Kreise mit Chevron wie im Screenshot */
.praxis-arrow {
	position: absolute;
	bottom: 0;
	transform: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid #aaa;
	background: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s, background 0.2s;
	z-index: 10;
}

.praxis-arrow svg {
	fill: #555;
	width: 24px;
	height: 24px;
	transition: fill 0.2s;
}

.praxis-arrow:hover {
	border-color: rgb(230,0,126);
	background: rgba(230,0,126,0.05);
}

.praxis-arrow:hover svg {
	fill: rgb(230,0,126);
}

.praxis-arrow-prev {
	left: 50%;
	margin-left: -52px;   /* beide Pfeile zentriert nebeneinander */
}

.praxis-arrow-next {
	left: 50%;
	margin-left: 6px;
}


/* ================================================================
   DR. JULIA FEHLINGS – Dunkelgrauer Block
   ================================================================ */

.drfehlings-block {
	background: #3a3a3a;
	width: 100%;
	padding: 70px 0 70px;
	clear: both;
}

/* Foto-Spalte: spalte3 (33%) */
.drfehlings-foto-col {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 0;
	margin-bottom: 0;
}

/* Kreisförmiges Foto wie im Screenshot */
.drfehlings-kreis {
	width: 280px;
	height: 280px;
	border-radius: 50%;
	overflow: hidden;
	background: #555;
	flex-shrink: 0;
}

.drfehlings-kreis img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.drfehlings-placeholder {
	background: linear-gradient(135deg, #666, #444);
}

/* Text-Spalte: spalte23 (66%) */
.drfehlings-text-col {
	color: #fff;
	font-size: 15px;
	line-height: 1.8;
	padding-top: 10px;
}

.drfehlings-name {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

/* "MEHR ALS 20 JAHRE..." in Pink wie im Screenshot */
.drfehlings-headline {
	color: rgb(230,0,126) !important;
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 20px;
	line-height: 1.3;
}

.drfehlings-text-col p {
	color: #fff;
	margin-bottom: 14px;
}

.drfehlings-zitat {
	color: #aaa !important;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-top: 16px;
}

#menu a {
  padding: 23px 35px;
}


/* ================================================================
   RESPONSIVE – Prüfung aller neuen Elemente
   ================================================================ */

@media (max-width: 1360px) {
	#menu ul li a {
        padding: 22px 20px;
    }
}


@media (max-width: 980px) {

    #menu ul li a {
        padding: 22px 8px;
    }
	
	/* Slider: 2 Bilder */
	.praxis-slide img,
	.praxis-slide-placeholder { height: 200px; }

	/* Dr. Fehlings Block: Foto + Text untereinander */
	.drfehlings-foto-col {
		width: 100%;
		float: none;
		padding: 0 2%;
		margin-bottom: 30px;
	}
	.drfehlings-text-col {
		width: 100%;
		float: none;
		padding: 0 5%;
		text-align: center;
	}
	.drfehlings-block { padding: 50px 0; }
	.drfehlings-kreis { width: 220px; height: 220px; }
}

@media (max-width: 780px) {

	/* Slider: 1 Bild */
	.praxis-slide img,
	.praxis-slide-placeholder { height: 220px; }

	.praxis-arrow-prev { margin-left: -52px; }
	.praxis-arrow-next { margin-left: 6px; }

	/* Dr. Fehlings */
	.drfehlings-headline { font-size: 1.15em; }
	.drfehlings-kreis { width: 180px; height: 180px; }
	.drfehlings-block { padding: 40px 0; }

}


@media (min-width: 781px) {
	#menu {
		height: 70px !important;
	}
}

@media (max-width: 480px) {
	.praxis-slide img,
	.praxis-slide-placeholder { height: 180px; }
	
	#kontaktbox, #adressbox {
        width: 100% !important;
    }
}

/* ================================================================
   ONLINE TERMIN BUTTON – fix rechts, scrollt mit
   ================================================================ */

.online-termin-btn {
    position: fixed;
    right: 0;
    top: 70%;
    transform: translateY(-50%);
    z-index: 99999;
    background: rgb(230, 0, 126);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    width: 90px;
    min-height: 90px;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(230,0,126,0.25);
    border-radius: 4px 0 0 4px;
    gap: 6px;
}

.online-termin-btn svg {
	fill: #fff;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.online-termin-btn:hover {
	background: #b3005e;
	color: #fff !important;
}

@media (max-width: 780px) {
	.online-termin-btn { display: none; }
}


/* ================================================================
   VOLLBREITE-BLÖCKE: Invisalign + Dr. Fehlings
   Technik: negativer margin bricht aus dem .wrap Container heraus
   ================================================================ */

/* ================================================================
   #inhalt_teaser Float-Containment:

   Problem: overflow:hidden (aus template.css) schneidet .vb-block
   (width:100vw) ab. Wir brauchen aber trotzdem Float-Containment
   damit gefloatete Spalten (spalte2 etc.) den Container aufspannen.

   Lösung: display:flow-root – enthält Floats wie overflow:hidden,
   schneidet aber nichts ab. Wird von allen modernen Browsern unterstützt.
   ================================================================ */
#inhalt_teaser {
	display: flow-root;
	overflow: visible !important;
	margin-bottom: 0 !important;
}

/* Vollbreite-Wrapper */
.vb-block {
	position: relative;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	clear: both;
}

/* Innen: zentrierter Inhalt mit Flex-Layout */
.vb-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 60px;
	display: flex;
	align-items: center;
	gap: 70px;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

/* Kreis-Foto links */
.vb-foto {
	flex-shrink: 0;
}

.vb-kreis {
	width: 260px;
	height: 260px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.vb-kreis img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Text rechts */
.vb-text {
	flex: 1;
}

.vb-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: rgba(255,255,255,0.85);
}

.vb-label-white {
	color: #fff;
}

.vb-headline {
	font-size: 1.3em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 22px;
	line-height: 1.35;
	color: #fff !important;
}

.vb-headline-h2 {
	font-size: 1.6em;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 22px;
	line-height: 1.35;
	color: #fff !important;
}

.vb-headline-pink {
	color: rgb(230,0,126) !important;
}

.vb-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgb(255 255 255);
}

.vb-zitat {
	font-size: 18px !important;
	text-transform: uppercase;
	color: rgba(255,255,255,1) !important;
}

/* MEHR LESEN Button */
.vb-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 1);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 30px;
    border-radius: 10px;
}

.vb-btn:hover {
	background: #fff;
	color: rgb(230,0,126);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}


/* ----------------------------------------------------------------
   INVISALIGN – Pink, Hover → Grau
   ---------------------------------------------------------------- */

.vb-invisalign {
	background: rgb(230,0,126);
	transition: background 0.4s ease;
}

.vb-invisalign:hover {
	background: #888;
}

.vb-invisalign .vb-kreis {
	background: rgba(255,255,255,0.2);
}

/* Button-Farbe beim Block-Hover anpassen */
.vb-invisalign:hover .vb-btn:hover {
	color: #888;
}


/* ----------------------------------------------------------------
   DR. FEHLINGS – Dunkelgrau, Vollbreite
   ---------------------------------------------------------------- */

.vb-fehlings {
	background: #3a3a3a;
}

.vb-fehlings .vb-kreis {
	background: #555;
}

.vb-fehlings .vb-text p {
	color: #fff;
}

/* ================================================
   LEISTUNGEN-KACHELN – Link-Anpassungen
   Ergänzt das bestehende .leistung-kachel CSS
   ================================================ */
 
/* Kachel als <a> – Link-Styling aufheben */
a.leistung-kachel {
	display: block;           /* war vermutlich schon block/grid-item */
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
 
/* "Mehr erfahren"-Zeile – standardmäßig unsichtbar */
.leistung-kachel-mehr {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	letter-spacing: 0.08em;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	color: rgba(255, 255, 255, 0.85);
}
 
/* Beim Hover: "Mehr erfahren" einblenden */
.leistung-kachel:hover .leistung-kachel-mehr {
	opacity: 1;
	transform: translateY(0);
}
 
/* Fokus-Stil für Tastatur-Navigation */
a.leistung-kachel:focus-visible {
	outline: 2px solid #b5a47e;
	outline-offset: 3px;
	border-radius: 4px;
}
/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */

@media (max-width: 980px) {
	.vb-inner {
		padding: 55px 30px;
		gap: 40px;
	}
	.vb-kreis { width: 200px; height: 200px; }
}

@media (max-width: 780px) {
	.vb-block {
		width: 100%;
		margin-left: 0;
	}
	.vb-inner {
		flex-direction: column;
		text-align: center;
		padding: 45px 20px;
		gap: 28px;
	}
	.vb-kreis { width: 170px; height: 170px; }
	.vb-headline { font-size: 1.1em; }
}


/* ================================================================
   LEISTUNGS-DETAILSEITE (.lp-seite)
   ================================================================ */

.lp-seite {
	padding: 0px 0 60px;
	clear: both;
}

/* ----------------------------------------------------------------
   LAYOUT: CSS Grid ersetzt spalte3 / spalte23
   Verhindert Überlagerung bei 980–1200 px
   ---------------------------------------------------------------- */
.lp-layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 40px;
	align-items: start;
	padding: 0 3%;
	margin: 0 auto;
	box-sizing: border-box;
}

@media (max-width: 1200px) {
	.lp-layout {
		grid-template-columns: 280px 1fr;
		gap: 28px;
	}
}

@media (max-width: 980px) {
	.lp-layout {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ----------------------------------------------------------------
   LINKE SPALTE – Hauptbild + Thumbnails
   ---------------------------------------------------------------- */
.lp-bild-col {
	padding-top: 10px;
}

/* Hauptbild: runder Kreis */
.lp-hauptbild {
	position: relative;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 24px;
	background: #ddd;
	cursor: zoom-in;
	transition: box-shadow 0.3s;
}

.lp-hauptbild:hover {
	box-shadow: 0 6px 24px rgba(230, 0, 126, 0.22);
}

.lp-hauptbild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: opacity 0.2s ease;
}

.lp-hauptbild-placeholder {
	background: linear-gradient(135deg, #d8d8d8, #c0c0c0);
}

/* Sticky Bild in der Dr. Fehlings Seite */
.lp-bild-col {
    float: none !important;
    position: sticky;
    top: 240px; /* Abstand unter der Sticky-Navigation (#headerbalken) */
    align-self: flex-start;
}

.lp-seite .spaltenbox {
    display: flex;
    align-items: flex-start;
	gap: 40px;
}

/* Lupe-Button über dem Hauptbild */
.lp-lupe {
	position: absolute;
	bottom: 22px;
	right: 22px;
	background: rgba(0, 0, 0, 0.42);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 2;
}
.lp-lupe svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}
.lp-hauptbild:hover .lp-lupe {
	opacity: 1;
}

/* Thumbnails: kleine Kreise */
.lp-thumbnails {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.lp-thumb {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid transparent;
	background: #fff;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.lp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lp-thumb:hover,
.lp-thumb.active {
	border-color: rgb(230, 0, 126);
	transform: scale(1.08);
	box-shadow: 0 3px 10px rgba(230, 0, 126, 0.25);
}

.lp-thumb-placeholder {
	background: linear-gradient(135deg, #fff, #bbb);
}

/* ----------------------------------------------------------------
   RECHTE SPALTE – Text
   ---------------------------------------------------------------- */
.lp-text-col {
	padding-top: 10px;
}

.lp-titel {
	text-transform: uppercase;
	color: #222 !important;
	margin: 0 0 30px;
	line-height: 1.2;
	text-align: left;
}

h2.lp-titel {
    color: rgb(230, 0, 126) !important;
}

.lp-text-col p {
	font-size: 18px;
	line-height: 1.85;
	color: #333;
	margin-bottom: 16px;
}

/* CTA-Button */
.lp-cta-btn {
	display: inline-block;
	background: rgb(230, 0, 126);
	color: #fff !important;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 12px 32px;
	border-radius: 10px;
	text-decoration: none;
	margin-top: 20px;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.lp-cta-btn:hover {
	background: #b3005e;
	box-shadow: 0 6px 18px rgba(230, 0, 126, 0.3);
}

/* ================================================================
   ALIGNER-SEITE – Zusätzliches CSS
   ================================================================ */

/* Linien neben Überschrift auf weißem Hintergrund sichtbar machen */
.section-title-line--dark::before,
.section-title-line--dark::after {
	background: #ccc;
}

/* Aligner Zweispalten-Layout */
.aligner-vorteile-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    box-sizing: border-box;
	padding: 0 3%;
}
.aligner-vorteile-col {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.aligner-vorteil-item h3 {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #222;
	margin: 0 0 6px;
}
.aligner-vorteil-item p {
	font-size: 18px;
	line-height: 1.75;
	color: #444;
	margin: 0;
}
.aligner-scan-col {
	padding-top: 4px;
}
.aligner-scan-headline {
	font-size: 1.6em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #222;
	margin: 0 0 24px;
	line-height: 1.2;
}
.aligner-scan-col p {
	font-size: 18px;
	line-height: 1.8;
	color: #444;
	margin-bottom: 16px;
}
.aligner-scan-img {
	margin-top: 24px;
	text-align: center;
}
.aligner-scan-img img {
	max-width: 100%;
	height: auto;
	max-height: 300px;
	object-fit: contain;
}
@media (max-width: 860px) {
	.aligner-vorteile-wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.aligner-scan-headline {
		font-size: 1.3em;
	}
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 980px) {
	
	.lp-bild-col {
    float: none !important;
    position: relative;
	top: 0px;
    align-self: flex-start;
}
	.lp-hauptbild {
		width: 240px;
		height: 240px;
	}
	.lp-titel { font-size: 1.9em; }
	
	.spalte3, .spalte23, .spalte4, .spalte34 {
        width: 100%;
    }
	
	.section-title-line h1, .section-title-line span {
		font-size: 1.4em;
	}
	
	h2 {
		font-size: 24px;
	}
	
	#logo>a>img {
        max-width: 300px;
    }
	
	#teaser-wrapper{
		box-shadow: none !important;
	}
	
}

@media (max-width: 780px) {
	.lp-seite { padding: 0px 0 45px; }

	.lp-hauptbild {
		width: 200px;
		height: 200px;
	}
	.lp-titel {
		font-size: 1.3em;
		text-align: center;
	}
	.lp-text-col {
		text-align: left;
	}
	.lp-cta-btn {
		display: block;
		text-align: center;
	}
	
	h2 {
		font-size: 20px;
	}
	
	.section-title-line h1,
	.section-title-line span {
		font-size: 20px;
	}
	
	#menu ul li a {
        padding: 10px 8px;
    }
	
	#menu ul ul li a {
		padding: 5px 20px !important;
		font-size: 14px;
	}
	
	#menu ul ul {
		position: relative;
	}
	
	.ts-overlay .ts-subline {
        text-shadow: none !important;
		letter-spacing: none !important;
	}
}

/* ================================================================
   LIGHTBOX (Einzelbild-Vollbild)
   ================================================================ */
.lp-lb-overlay {
	position: fixed;
	inset: 0;
	z-index: 9100;
	background: rgba(12, 10, 8, 0.94);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
}
.lp-lb-overlay.lp-lb-active {
	opacity: 1;
	pointer-events: all;
}

body.lb-open { overflow: hidden; }

.lp-lb-img-wrap {
	max-width: 90vw;
	max-height: 88vh;
}
.lp-lb-img-wrap img {
	display: block;
	max-width: 88vw;
	max-height: 86vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
}

.lp-lb-close {
	position: fixed;
	top: 20px;
	right: 24px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	font-size: 20px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	z-index: 9110;
}
.lp-lb-close:hover {
	background: rgba(255, 255, 255, 0.22);
}



/* ================================================================
   SPALTENBOX CLEARFIX
   Globaler Clearfix für .spaltenbox – stellt sicher dass gefloatete
   Kinder (spalte2, spalte3 etc.) den Container auf ALLEN Seiten
   korrekt aufspannen, unabhängig von overflow-Einstellungen.
   ================================================================ */
.spaltenbox::after {
	content: "";
	display: table;
	clear: both;
}


.spalte4.mitglieder img {
    height: 250px;
    width: auto;
    object-fit: contain;
}


/* ================================================================
   SOS-SEITE – Akkordeon
   ================================================================ */

.sos-akkordeon-wrapper {
    padding: 20px 0 60px;
}

.sos-akkordeon {
    width: 100%;
    margin: 0 auto;
    padding: 0 3%;
    box-sizing: border-box;
}

/* --- einzelnes Item --- */
.sos-akkordeon-item {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.25s, border-color 0.25s;
    background: #fff;
}

.sos-akkordeon-item.open {
    box-shadow: 0 8px 28px rgba(230, 0, 126, 0.13);
    border-color: rgb(230, 0, 126);
}

/* --- Trigger-Button --- */
.sos-akkordeon-btn {
    width: 100%;
    background: #fff;
    border: none;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.sos-akkordeon-btn:hover {
    background: #fef0f7;
}

.sos-akkordeon-item.open .sos-akkordeon-btn {
    background: rgb(230, 0, 126);
}

.sos-akkordeon-item.open .sos-akkordeon-btn:hover {
    background: #c8005e;
}

.sos-akkordeon-titel {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sos-akkordeon-item.open .sos-akkordeon-titel {
    color: #fff;
}

/* Pfeil-Icon */
.sos-akkordeon-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgb(230, 0, 126);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.3s;
}

.sos-akkordeon-item.open .sos-akkordeon-icon {
    background: #fff;
    transform: rotate(180deg);
}

.sos-akkordeon-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    display: block;
    transition: fill 0.2s;
}

.sos-akkordeon-item.open .sos-akkordeon-icon svg {
    fill: rgb(230, 0, 126);
}

/* --- Body --- */
.sos-akkordeon-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    background: #fff;
}

.sos-akkordeon-item.open .sos-akkordeon-body {
    max-height: 2000px;
}

/* --- Inhalt: Bild links (rund), Text rechts --- */
.sos-akkordeon-inhalt {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 36px 40px;
}

/* Bild: runder Kreis, scrollt mit dem Text mit */
.sos-akkordeon-img-wrap {
    flex-shrink: 0;
    width: 260px;
}

.sos-akkordeon-kreis {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 4px 18px rgba(230, 0, 126, 0.18);
    border: 4px solid rgb(230, 0, 126);
}

.sos-akkordeon-kreis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.sos-akkordeon-kreis.kfo-kreis-placeholder {
    background: linear-gradient(135deg, #e8e8e8, #c0c0c0);
}

/* --- Text --- */
.sos-akkordeon-text {
    flex: 1;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    padding-top: 4px;
}

.sos-akkordeon-text h3 {
    color: rgb(230, 0, 126);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 24px 0 6px;
}

.sos-akkordeon-text h3:first-child {
    margin-top: 0;
}

.sos-akkordeon-text p {
    margin-bottom: 12px;
}

.sos-akkordeon-text ul {
    margin: 8px 0 16px 22px;
    padding: 0;
}

.sos-akkordeon-text ul li {
    margin-bottom: 6px;
}

.sos-akkordeon-text .sos-hinweis {
    background: #fff8fc;
    border-left: 4px solid rgb(230, 0, 126);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin-top: 20px;
    font-size: 16px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .sos-akkordeon-inhalt {
        flex-direction: column;
        align-items: center;
        padding: 28px 24px 32px;
    }
    .sos-akkordeon-img-wrap,
    .sos-akkordeon-kreis {
        width: 200px;
        height: 200px;
    }
    .sos-akkordeon-text {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .sos-akkordeon-btn { padding: 18px 20px; }
    .sos-akkordeon-titel { font-size: 18px; }
    .sos-akkordeon-img-wrap,
    .sos-akkordeon-kreis {
        width: 160px;
        height: 160px;
    }
}

.drw-fab-group {
  position: fixed;
  right: 0;
  top: 30%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 9999;
}

.drw-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: #fff;
  color: #e5196e;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, .14);
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

.drw-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .drw-fab-group  {
    display: none;
  }
  
}


@media (max-width: 980px) {
	
	.spaltenbox .spalte4.mitglieder {
		width: 50% !important;
		margin-bottom: 20px;
		padding: 0 2%;
		box-sizing: border-box;
	}

	.spalte4.mitglieder img {
		height: 160px;
		width: 100%;
		object-fit: contain;
	}

	/* Float-Clearfix: nach jedem 2. Element umbrechen */
	.spaltenbox .spalte4.mitglieder:nth-child(2n+1) {
		clear: left;
	}
}

/* ===== Touch-Action Fix: Slider darf horizontal wischen,
   verhindert aber nicht Tippen auf andere Elemente ===== */
.slick-list,
.praxis-slider,
.praxis-slider-wrapper,
#teaser.teaserslider,
.teaserslider .slick-list {
    touch-action: pan-y;
}


/* ====================================================
   DENTAL MONITORING – Vorteile zweispaltig
   ==================================================== */
.dm-vorteile-wrapper {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin: 0 0 50px;
	padding: 0px 3%;
}

.dm-vorteile-img-col {
	flex: 0 0 45%;
	max-width: 45%;
}

.dm-vorteile-img-col img {
	width: 100%;
	border-radius: 8px;
	display: block;
}

.dm-vorteile-text-col {
	flex: 1;
}

.dm-vorteile-text-col h2 {
	margin-bottom: 20px;
}

.dm-vorteil-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #eee;
}
.dm-vorteil-item:last-child {
	border-bottom: none;
}

.dm-vorteil-icon {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	background: #2bbbbb;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}
.dm-vorteil-icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.dm-vorteil-item h3 {
	margin: 0 0 4px;
	font-size: 1rem;
}
.dm-vorteil-item p {
	margin: 0;
	font-size: 0.9rem;
	color: #555;
}

/* ====================================================
   DENTAL MONITORING – Anwendungsschritte
   ==================================================== */
.dm-anwendung-wrapper {
	margin: 0 0 50px;
	padding: 0px 3%;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.dm-anwendung-item {
	display: flex;
	gap: 40px;
	align-items: center;
}

.dm-anwendung-item--reverse {
	flex-direction: row-reverse;
}

.dm-anwendung-img {
	flex: 0 0 45%;
	max-width: 45%;
}

.dm-anwendung-img img {
	width: 100%;
	border-radius: 8px;
	display: block;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.dm-anwendung-text {
	flex: 1;
}

.dm-anwendung-text p {
    font-size: 18px;
    line-height: 1.75;
    color: #444;
    margin: 0;
}

.dm-anwendung-text h3 {
	margin: 0 0 10px;
	font-size: 22px;
}

.dm-logo-wrapper {
	margin-top: 10px;
}

/* ====================================================
   DENTAL MONITORING – Responsive
   ==================================================== */
@media (max-width: 780px) {
	.dm-vorteile-wrapper {
		flex-direction: column;
		padding: 0 10px;
	}
	.dm-vorteile-img-col {
		flex: none;
		max-width: 100%;
	}
	.dm-anwendung-wrapper {
		padding: 0 10px;
		gap: 36px;
	}
	.dm-anwendung-item,
	.dm-anwendung-item--reverse {
		flex-direction: column;
	}
	.dm-anwendung-img {
		flex: none;
		max-width: 100%;
	}
}
