/**
 * Top-Erotik – Rot/Weiß-Skin (wie Escortia Blau/Weiß, statt EIB-Schwarz/Gold).
 * Markenrot aus dem Logo, weißer Content, größeres Logo.
 */

:root {
	--te-red: #c81e1e;
	--te-red-dark: #9a1616;
	--te-red-hover: #e02828;
	--te-ink: #222;
	--te-muted: #666;
	--te-line: #ead0d0;
	--te-bg: #ececec;
}

body.dsm-front.dsm-eibcom,
body.toperotik-skin {
	--dsm-gold: var(--te-red);
	--eib-bg: #fff;
	--eib-border: #e4e4e4;
	--eib-text: var(--te-ink);
	--eib-muted: var(--te-muted);
	--eib-link: var(--te-red);
	--eib-link-hover: var(--te-red-dark);
	--eib-nav-top: var(--te-red);
	--eib-nav-bot: var(--te-red-dark);
	--eib-active-top: #7a1010;
	--eib-active-bot: #5c0c0c;
	--eib-font: Inter, "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-family: var(--eib-font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--te-ink);
	background: var(--te-bg) !important;
	background-image: none !important;
}

body.dsm-front.dsm-eibcom a,
body.toperotik-skin a {
	color: var(--te-red);
	text-decoration: none;
}
body.dsm-front.dsm-eibcom a:hover,
body.toperotik-skin a:hover {
	color: var(--te-red-dark);
}

.eib-page-shell {
	max-width: 1240px;
	width: min(1240px, calc(100% - 24px));
	margin: 16px auto 28px;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

/* Header: weiß, Logo groß – nicht in Schwarz-Gold untergehen */
.te-eib-user {
	display: flex;
	justify-content: flex-end;
	gap: 16px;
	padding: 10px 22px 0;
	background: #fff;
	font-size: 13px;
	border-bottom: 0;
}
.te-eib-user a {
	color: var(--te-ink) !important;
	text-decoration: none !important;
}
.te-eib-user a:hover {
	color: var(--te-red) !important;
}

.eib-header,
.te-eib-header {
	background: #fff !important;
	text-align: center;
	padding: 8px 20px 18px !important;
	line-height: normal !important;
	border-bottom: 3px solid var(--te-red);
}
.te-eib-header .eib-header__logo {
	display: inline-block;
	line-height: 0;
}
.te-eib-logo {
	display: inline-block;
	height: 110px !important;
	width: auto !important;
	max-width: min(560px, 92vw);
	object-fit: contain !important;
	aspect-ratio: auto !important;
}
.te-eib-wordmark {
	display: inline-block;
	color: var(--te-red);
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 16px 0;
}

/* Nav wie Escortia, aber Rot statt Blau */
.eib-nav {
	background: var(--te-red) !important;
	background-image: none !important;
	min-height: 44px;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}
.eib-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	flex: 1;
}
.eib-nav__list > li {
	margin: 0;
}
.eib-nav__list > li > a {
	display: block;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 14px;
	line-height: 44px;
	padding: 0 16px;
	text-align: center;
	white-space: nowrap;
	font-weight: 600;
}
.eib-nav__list > li:hover > a {
	background: rgba(0, 0, 0, 0.14) !important;
}
.eib-nav__list > li.is-active > a {
	background: var(--te-red-dark) !important;
	color: #fff !important;
}
.eib-nav__langs {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
}
.eib-nav__langs span {
	border-color: rgba(255, 255, 255, 0.45);
}

.eib-main {
	background: #fff;
	padding: 22px 28px 40px;
	min-height: 320px;
}
.eib-dir-title {
	font-size: 1.55rem;
	font-weight: 700;
	color: var(--te-red);
	margin: 0 0 14px;
}

.eib-footer-links {
	background: #fff;
	border-top: 1px solid var(--te-line);
	text-align: center;
	padding: 14px 12px 8px;
	font-size: 13px;
}
.eib-footer-links a {
	margin: 0 6px;
	color: var(--te-red) !important;
}
.eib-copy {
	text-align: center;
	padding: 8px 12px 18px;
	font-size: 12px;
	color: var(--te-muted);
	background: #fff;
}

/* Kacheln: gleiche Struktur, Rot statt Gold */
body.dsm-front.dsm-eibcom .dsmf-listing {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 4px 0 0;
}
body.dsm-front.dsm-eibcom .dsmf-card-img {
	border-radius: 2px;
	aspect-ratio: 3 / 4;
}
body.dsm-front.dsm-eibcom .dsmf-card-name {
	color: #fff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
body.dsm-front.dsm-eibcom .dsmf-card-price {
	background: var(--te-red) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: none;
	letter-spacing: 0.04em;
	font-size: 11px;
	border-radius: 3px;
}

body.dsm-front.dsm-eibcom .dsmf-back a,
.dsmf-back a {
	color: var(--te-red) !important;
	font-weight: 600;
}

body.dsm-front.dsm-eibcom .dsmf-detail a:not(.dsmf-btn):not(.dsmf-price-from):not(.dsmf-float__btn):not(.dsmf-btn--dm) {
	color: var(--te-red);
	text-decoration: none;
}
body.dsm-front.dsm-eibcom .dsmf-detail a:not(.dsmf-btn):not(.dsmf-price-from):not(.dsmf-float__btn):hover,
body.dsm-front.dsm-eibcom .dsmf-detail a:not(.dsmf-btn):not(.dsmf-price-from):not(.dsmf-float__btn):focus-visible {
	color: var(--te-red-dark);
	text-decoration: underline;
}

a.dsmf-filter-link {
	color: var(--te-red) !important;
}
a.dsmf-filter-link:hover,
a.dsmf-filter-link:focus-visible {
	color: var(--te-red-dark) !important;
}
a.dsmf-filter-link:focus-visible {
	outline-color: var(--te-red);
}

.dsmf-panel--main h1,
.dsmf-panel h3,
.dsmf-kicker,
.dsmf-fact-group__title,
.dsmf-facts dt,
.dsmf-list-price {
	color: var(--te-red) !important;
}

.dsmf-price-from,
a.dsmf-price-from,
body.dsm-front.dsm-eibcom a.dsmf-price-from {
	background: var(--te-red) !important;
	background-image: none !important;
	border: 1px solid var(--te-red) !important;
	color: #fff !important;
	border-radius: 3px;
}
.dsmf-price-from:hover,
a.dsmf-price-from:hover {
	background: var(--te-red-hover) !important;
	color: #fff !important;
	filter: none;
}

.dsmf-btn--dm,
.dsmf-btn--dm .dsmf-btn__val,
.dsmf-float__btn--dm,
.dsmf-float__btn--call,
.dsmf-btn--call {
	background: var(--te-red) !important;
	background-image: none !important;
	color: #fff !important;
	box-shadow: 0 2px 0 var(--te-red-dark) !important;
}
.dsmf-btn--book,
.dsmf-float__btn--book {
	background: #222 !important;
	color: #fff !important;
	border-color: #222 !important;
}
.dsmf-btn--dm .dsmf-btn__lbl,
.dsmf-btn--call .dsmf-btn__lbl {
	color: rgba(255, 255, 255, 0.88);
}
.dsmf-btn--book .dsmf-btn__lbl,
.dsmf-float__btn--book .dsmf-btn__lbl {
	color: #fff !important;
	opacity: 0.9;
}
.dsmf-actions--primary h3,
.dsmf-actions h3,
.dsmf-contact-head {
	color: var(--te-red) !important;
}
.dsmf-float__btn--dm,
button.dsmf-float__btn.dsmf-float__btn--dm {
	background: var(--te-red) !important;
	background-image: none !important;
	color: #fff !important;
}

.dsmf-panel {
	border-color: var(--te-line);
	box-shadow: none;
	border-radius: 3px;
}
.dsmf-panel--prices {
	border: 2px solid var(--te-red);
	background: #fff;
}
.dsmf-list li::before {
	background: var(--te-red);
}
.dsmf-tag {
	border-color: var(--te-line);
	background: #fff8f8;
	color: var(--te-red);
}
.dsmf-gallery .ds-sedcard-detail__viewer-stage {
	border-color: var(--te-line);
}

.eib-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin: 24px 0 8px;
}
.eib-pager a,
.eib-pager .page-numbers,
.eib-pager span {
	display: inline-block;
	min-width: 2rem;
	padding: 0.3rem 0.6rem;
	border: 1px solid var(--te-line);
	border-radius: 3px;
	color: var(--te-red) !important;
	background: #fff;
	text-align: center;
	text-decoration: none !important;
	font-size: 13px;
	line-height: 1.4;
}
.eib-pager .current,
.eib-pager .is-active,
.eib-pager a.is-active,
.eib-pager a:hover {
	background: var(--te-red) !important;
	border-color: var(--te-red) !important;
	color: #fff !important;
}

#dsmf-prices:target {
	outline-color: var(--te-red);
}

.toperotik-page h1,
.toperotik-page .eib-dir-title {
	font-size: 1.55rem;
	color: var(--te-red);
	margin: 0 0 12px;
	font-weight: 700;
}
.toperotik-catlist {
	list-style: none;
	padding: 0;
	columns: 2;
}
.toperotik-catlist li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
	break-inside: avoid;
}
.toperotik-catlist a {
	color: var(--te-red);
	font-weight: 600;
}

body.home .ds-dm-account,
body.home .ds-dm-login-wrap,
body.home .ds-dm-accountbar {
	display: none !important;
}

@media (max-width: 1100px) {
	body.dsm-front.dsm-eibcom .dsmf-listing {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 720px) {
	.te-eib-logo {
		height: 72px !important;
	}
	.eib-nav {
		flex-direction: column;
	}
	.eib-nav__list {
		flex-direction: column;
	}
	.eib-nav__list > li > a {
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}
	.eib-main {
		padding: 14px 14px 28px;
	}
	body.dsm-front.dsm-eibcom .dsmf-listing {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.toperotik-catlist {
		columns: 1;
	}
}
@media (max-width: 480px) {
	body.dsm-front.dsm-eibcom .dsmf-listing {
		grid-template-columns: 1fr;
	}
}

/* Setkarte: 2 Spalten wie Escort in Berlin, Sedcards-Full-Layout unterdrücken */
body.toperotik-skin .dsmf-wrap {
	max-width: none;
	margin: 0;
	padding: 0;
}
body.toperotik-skin .dsmf-detail-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 380px) !important;
	gap: 22px !important;
	align-items: start;
}
body.toperotik-skin .dsmf-col-media {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
body.toperotik-skin .dsmf-rail {
	width: 100%;
}
body.toperotik-skin .dsmf-detail .ds-sedcard-detail--full,
body.toperotik-skin .dsmf-detail .ds-scd-tabs,
body.toperotik-skin .dsmf-detail .ds-scd-top {
	display: none !important;
}
body.toperotik-skin .dsmf-long {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}
body.toperotik-skin .dsmf-gallery {
	border-color: var(--te-line);
	border-radius: 3px;
	box-shadow: none;
}
body.toperotik-skin .dsmf-gallery .ds-sedcard-detail__viewer-stage {
	border-color: var(--te-red);
	background: #111;
}
body.toperotik-skin .dsmf-gallery .ds-sedcard-detail__thumb.is-active,
body.toperotik-skin .dsmf-gallery .ds-sedcard-detail__viewer-thumb.is-active {
	outline: 2px solid var(--te-red);
}
body.toperotik-skin .ds-sedcard-detail__viewer-nav:hover,
body.toperotik-skin .ds-sedcard-detail__viewer-btn:hover {
	background: var(--te-red) !important;
	color: #fff !important;
}
body.toperotik-skin .ds-dm-reviews:has(.ds-dm-muted) {
	display: none;
}

/* Date-Manager-Float doppelt das Models-Widget – nur Models-Leiste behalten */
body.toperotik-skin .ds-dm-float-book,
body.toperotik-skin .ds-dm-float-book--solo,
body.toperotik-skin .ds-dm-float-book--bar,
body.toperotik-skin .ds-dm-accountbar {
	display: none !important;
}
body.toperotik-skin .dsmf-float {
	z-index: 99990;
	gap: 8px;
	right: 16px;
	bottom: max(20px, env(safe-area-inset-bottom, 0px));
}
body.toperotik-skin .dsmf-float__btn--dm .dsmf-float__lbl {
	font-size: 0;
}
body.toperotik-skin .dsmf-float__btn--dm .dsmf-float__lbl::after {
	content: "Termin";
	font-size: 12px;
	font-weight: 800;
}

.te-extras {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
a.te-extra-link,
a.dsmf-tag.te-extra-link {
	display: inline-block;
	padding: 5px 10px;
	border: 1px solid var(--te-line);
	border-radius: 3px;
	background: #fff8f8;
	color: var(--te-red) !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
}
a.te-extra-link:hover {
	background: var(--te-red) !important;
	border-color: var(--te-red) !important;
	color: #fff !important;
}

.te-intro,
.eib-intro {
	color: var(--te-muted);
	margin: 0 0 18px;
	font-size: 15px;
}
.te-section-title {
	font-size: 1.15rem;
	color: var(--te-red);
	margin: 28px 0 14px;
	font-weight: 700;
}

/* Blog wie EIB, Rot statt Gold */
.eib-blog,
.te-blog {
	padding: 8px 0 12px;
}
.eib-blog__wrap {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 22px;
}
.eib-blog__cell {
	background: #fff;
	border: 1px solid var(--te-line);
	box-shadow: 0 10px 28px rgba(200, 30, 30, 0.06);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.eib-blog__cell:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(200, 30, 30, 0.12);
}
.eib-blog__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #1a0a0a;
	text-decoration: none !important;
}
.eib-blog__img,
.eib-blog__ph {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}
.eib-blog__ph {
	background: linear-gradient(135deg, #c81e1e, #3a0c0c);
	min-height: 180px;
}
.eib-blog__img {
	transition: transform 0.45s ease;
}
.eib-blog__cell:hover .eib-blog__img {
	transform: scale(1.04);
}
.eib-blog__date {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: 68px;
	padding: 7px 8px 8px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(200, 30, 30, 0.25);
	color: #111;
	text-align: center;
	line-height: 1.05;
}
.eib-blog__date-m {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--te-red);
}
.eib-blog__date-d {
	display: block;
	font-size: 20px;
	font-weight: 700;
	margin-top: 2px;
}
.eib-blog__date-y {
	display: block;
	font-size: 11px;
	font-weight: 700;
	margin-top: 3px;
}
.eib-blog__body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.eib-blog__title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}
.eib-blog__title a {
	color: var(--te-red) !important;
	text-decoration: none !important;
}
.eib-blog__title a:hover {
	color: var(--te-red-dark) !important;
	text-decoration: underline !important;
}
.eib-blog__excerpt {
	margin: 0 0 16px;
	color: #5c5c5c;
	font-size: 14px;
	line-height: 1.55;
	flex: 1;
}
.eib-blog__more {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--te-red);
	color: var(--te-red) !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
}
.eib-blog__more:hover {
	background: var(--te-red);
	color: #fff !important;
	border-color: var(--te-red);
}
.eib-news-single__hero {
	margin: 0 0 16px;
}
.eib-news-single__hero img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 3px;
}
.eib-news-single .eib-dir-title {
	color: var(--te-red);
}
.eib-news-item__date {
	color: var(--te-muted);
	font-size: 13px;
	margin: 0 0 12px;
}

/* Preise & Abos */
.te-price-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 8px;
}
.te-price-grid--abos {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.te-price-card {
	border: 1px solid var(--te-line);
	border-radius: 4px;
	padding: 16px 16px 18px;
	background: #fff;
	min-height: 100%;
}
.te-price-card--free {
	background: #fff8f8;
}
.te-price-card--featured {
	border: 2px solid var(--te-red);
	box-shadow: 0 8px 20px rgba(200, 30, 30, 0.1);
}
.te-price-card__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--te-red);
}
.te-price-card h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: #222;
}
.te-price-card__sum {
	margin: 0 0 6px;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--te-red);
}
.te-price-card__points {
	margin: 0 0 8px;
	font-weight: 700;
	color: #333;
}
.te-price-card__note {
	margin: 0;
	font-size: 13px;
	color: var(--te-muted);
	line-height: 1.45;
}
.te-promo-list {
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	columns: 2;
	gap: 24px;
}
.te-promo-list li {
	break-inside: avoid;
	padding: 8px 0;
	border-bottom: 1px solid #f3e4e4;
	font-size: 14px;
}

/* Suche */
.te-search {
	margin: 0 0 24px;
}
.te-search__quick,
.te-search__detail {
	border: 1px solid var(--te-line);
	border-radius: 4px;
	padding: 14px 16px 16px;
	margin: 0 0 12px;
	background: #fff;
}
.te-search legend,
.te-search summary {
	font-weight: 700;
	color: var(--te-red);
	font-size: 14px;
	cursor: pointer;
}
.te-search__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: flex-end;
}
.te-search__grow {
	flex: 1 1 220px;
}
.te-search label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #444;
}
.te-search input,
.te-search select {
	font: inherit;
	font-weight: 400;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	min-height: 40px;
}
.te-search__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 12px 0;
}
.te-search__span {
	grid-column: 1 / -1;
}
.te-search__btn {
	background: var(--te-red);
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 10px 18px;
	font-weight: 700;
	cursor: pointer;
	min-height: 40px;
}
.te-search__btn:hover {
	background: var(--te-red-hover);
}
.te-search__actions {
	display: flex;
	gap: 14px;
	align-items: center;
}
.te-search__reset {
	font-size: 13px;
	font-weight: 600;
}

/* Kategorien-Karten */
.te-cat-group {
	margin: 0 0 28px;
}
.te-cat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.te-cat-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 14px 14px;
	border: 1px solid var(--te-line);
	border-radius: 4px;
	background: #fff;
	text-decoration: none !important;
	color: inherit !important;
	min-height: 110px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.te-cat-card:hover {
	transform: translateY(-2px);
	border-color: var(--te-red);
	box-shadow: 0 8px 20px rgba(200, 30, 30, 0.1);
	color: inherit !important;
}
.te-cat-card__count {
	align-self: flex-start;
	background: var(--te-red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 10px;
	margin-bottom: 4px;
}
.te-cat-card--empty .te-cat-card__count {
	background: #ccc;
}
.te-cat-card__name {
	font-weight: 700;
	color: #222;
	font-size: 15px;
	line-height: 1.3;
}
.te-cat-card__desc {
	font-size: 12.5px;
	color: var(--te-muted);
	line-height: 1.4;
}
.te-cat-card--empty {
	opacity: 0.72;
	background: #fafafa;
}

@media (max-width: 1100px) {
	.eib-blog__wrap {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.te-price-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.te-cat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.te-search__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 900px) {
	body.toperotik-skin .dsmf-detail-layout {
		grid-template-columns: 1fr !important;
	}
}
@media (max-width: 720px) {
	.eib-blog__wrap,
	.te-price-grid,
	.te-price-grid--abos,
	.te-cat-grid,
	.te-search__grid {
		grid-template-columns: 1fr;
	}
	.te-promo-list {
		columns: 1;
	}
	.te-search__row {
		flex-direction: column;
		align-items: stretch;
	}
}
@media (max-height: 720px) {
	body.toperotik-skin .dsmf-float {
		bottom: max(12px, env(safe-area-inset-bottom, 0px));
		gap: 6px;
		width: 104px;
	}
	body.toperotik-skin .dsmf-float__btn {
		min-height: 38px;
		padding: 8px 10px;
		font-size: 12px;
	}
}
