/* ==========================================================================
   LANDING PAGE – Startseite (index.php)
   Eigenständiges Stylesheet. Alle Klassen sind mit "lp-" präfixiert, damit
   nichts aus style.css kollidiert. Wird NACH style.css geladen und gewinnt
   daher bei gleicher Spezifität.
   Die gesicherte alte Startseite (index_old.php) nutzt diese Datei nicht.
   ========================================================================== */

:root {
	--lp-ink: #14090d;
	--lp-ink-2: #1e0e15;
	--lp-ink-3: #2a141d;
	--lp-bordeaux: #8e1f3f;
	--lp-bordeaux-soft: #a8324f;
	--lp-bordeaux-deep: #5c1128;
	--lp-gold: #d8b46c;
	--lp-gold-soft: #e9d0a0;
	--lp-gold-dim: rgba(216, 180, 108, 0.32);
	--lp-cream: #f7f1ea;
	--lp-cream-2: #efe4d8;
	--lp-text: #f6ece9;
	--lp-text-muted: #d8c6cb;
	--lp-text-dark: #24151a;
	--lp-text-dark-muted: #6d5a60;
	--lp-radius: 18px;
	--lp-radius-lg: 28px;
	--lp-shadow: 0 24px 60px rgba(10, 4, 7, 0.45);
	--lp-shadow-soft: 0 14px 34px rgba(36, 21, 26, 0.14);
	--lp-max: 1200px;
	--lp-font-display: Georgia, 'Times New Roman', serif;
}

/* --------------------------------------------------------------------------
   Grundgerüst
   -------------------------------------------------------------------------- */
body.lp-page {
	background: var(--lp-ink);
	color: var(--lp-text);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.65;
	overflow-x: hidden;
}

body.lp-page *,
body.lp-page *::before,
body.lp-page *::after {
	box-sizing: border-box;
}

.lp-shell {
	width: 100%;
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.lp-section {
	padding: 5.5rem 0;
	position: relative;
}

.lp-section--light {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
}

.lp-section--dark {
	background: linear-gradient(180deg, var(--lp-ink) 0%, var(--lp-ink-2) 100%);
}

.lp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.76rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--lp-gold-soft);
	margin-bottom: 1rem;
}

.lp-eyebrow::before,
.lp-eyebrow::after {
	content: '';
	width: 26px;
	height: 1px;
	background: var(--lp-gold-dim);
}

.lp-section--light .lp-eyebrow {
	color: var(--lp-bordeaux);
}

.lp-section--light .lp-eyebrow::before,
.lp-section--light .lp-eyebrow::after {
	background: rgba(142, 31, 63, 0.28);
}

.lp-section-head {
	text-align: center;
	max-width: 730px;
	margin: 0 auto 3.5rem;
}

.lp-section-title {
	font-family: var(--lp-font-display);
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 0.9rem;
}

.lp-section-title em {
	font-style: italic;
	color: var(--lp-gold);
}

.lp-section--light .lp-section-title em {
	color: var(--lp-bordeaux);
}

.lp-section-sub {
	font-size: 1.05rem;
	color: var(--lp-text-muted);
	margin: 0;
}

.lp-section--light .lp-section-sub {
	color: var(--lp-text-dark-muted);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.95rem 2rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
		color 0.22s ease, border-color 0.22s ease;
	white-space: nowrap;
}

.lp-btn:hover {
	transform: translateY(-2px);
}

.lp-btn--primary {
	background: linear-gradient(135deg, var(--lp-bordeaux) 0%, var(--lp-bordeaux-soft) 100%);
	color: #fff;
	box-shadow: 0 12px 30px rgba(142, 31, 63, 0.42);
}

.lp-btn--primary:hover {
	box-shadow: 0 18px 40px rgba(142, 31, 63, 0.55);
}

.lp-btn--gold {
	background: linear-gradient(135deg, #c99f52 0%, var(--lp-gold-soft) 100%);
	color: #3a2410;
	box-shadow: 0 12px 30px rgba(216, 180, 108, 0.28);
}

.lp-btn--gold:hover {
	box-shadow: 0 18px 38px rgba(216, 180, 108, 0.4);
}

.lp-btn--ghost {
	background: transparent;
	color: var(--lp-text);
	border-color: rgba(246, 236, 233, 0.28);
}

.lp-btn--ghost:hover {
	border-color: var(--lp-gold);
	color: var(--lp-gold-soft);
}

.lp-section--light .lp-btn--ghost {
	color: var(--lp-text-dark);
	border-color: rgba(36, 21, 26, 0.22);
}

.lp-section--light .lp-btn--ghost:hover {
	border-color: var(--lp-bordeaux);
	color: var(--lp-bordeaux);
}

.lp-btn--sm {
	padding: 0.62rem 1.35rem;
	font-size: 0.9rem;
}

.lp-btn--block {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Kopfleiste
   -------------------------------------------------------------------------- */
.lp-topbar {
	position: sticky;
	top: 0;
	z-index: 120;
	background: rgba(20, 9, 13, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(216, 180, 108, 0.14);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.lp-topbar.is-scrolled {
	background: rgba(20, 9, 13, 0.97);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.lp-topbar-inner {
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0.8rem 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.lp-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.lp-brand img {
	height: 40px;
	width: auto;
	display: block;
}

.lp-topnav {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 0 auto;
}

.lp-topnav a {
	color: var(--lp-text-muted);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	position: relative;
	padding: 0.25rem 0;
	transition: color 0.2s ease;
}

.lp-topnav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--lp-gold);
	transition: width 0.25s ease;
}

.lp-topnav a:hover {
	color: var(--lp-gold-soft);
}

.lp-topnav a:hover::after {
	width: 100%;
}

.lp-topbar-actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex-shrink: 0;
	margin-left: auto;
}

.lp-topbar-user {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.92rem;
	color: var(--lp-text-muted);
	padding-right: 0.4rem;
}

.lp-topbar-user strong {
	color: var(--lp-gold-soft);
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.lp-hero {
	position: relative;
	/* kein overflow:hidden – die Suchleiste ragt bewusst in den Bereich darunter */
	background:
		radial-gradient(1100px 620px at 78% 10%, rgba(142, 31, 63, 0.55) 0%, rgba(142, 31, 63, 0) 62%),
		radial-gradient(760px 520px at 6% 90%, rgba(216, 180, 108, 0.16) 0%, rgba(216, 180, 108, 0) 60%),
		linear-gradient(160deg, #170a0f 0%, #26111b 52%, #17090f 100%);
	padding: 4.5rem 0 2rem;
}

.lp-hero-inner {
	position: relative;
	z-index: 2;
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: 3.5rem;
	align-items: center;
}

.lp-hero-title {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: clamp(2.2rem, 4.4vw, 3.7rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 1.2rem;
}

.lp-hero-title em {
	font-style: italic;
	color: var(--lp-gold);
}

.lp-hero-text {
	font-size: 1.1rem;
	color: var(--lp-text-muted);
	max-width: 34rem;
	margin: 0 0 2rem;
}

.lp-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* Profil-Collage ------------------------------------------------------- */
.lp-collage {
	position: relative;
	height: 520px;
	width: 100%;
}

.lp-collage-card {
	position: absolute;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--lp-shadow);
	border: 1px solid rgba(216, 180, 108, 0.22);
	background: var(--lp-ink-3);
	animation: lpFloat 7s ease-in-out infinite;
}

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

.lp-collage-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 9, 13, 0) 45%, rgba(20, 9, 13, 0.85) 100%);
}

.lp-collage-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0.8rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.lp-collage-card--1 {
	width: 58%;
	height: 68%;
	top: 4%;
	left: 2%;
	z-index: 3;
	animation-delay: 0s;
}

.lp-collage-card--2 {
	width: 42%;
	height: 46%;
	top: 0;
	right: 0;
	z-index: 2;
	animation-delay: 1.1s;
}

.lp-collage-card--3 {
	width: 46%;
	height: 44%;
	bottom: 0;
	right: 4%;
	z-index: 4;
	animation-delay: 2.2s;
}

.lp-collage-card--4 {
	width: 33%;
	height: 30%;
	bottom: 6%;
	left: 0;
	z-index: 5;
	animation-delay: 3.1s;
}

@keyframes lpFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

.lp-collage-badge {
	position: absolute;
	z-index: 6;
	right: 46%;
	top: 46%;
	background: rgba(24, 11, 16, 0.92);
	border: 1px solid var(--lp-gold-dim);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--lp-gold-soft);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: var(--lp-shadow);
	white-space: nowrap;
}

.lp-dot-live {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #52d07a;
	box-shadow: 0 0 0 0 rgba(82, 208, 122, 0.7);
	animation: lpPulse 2.4s infinite;
	flex-shrink: 0;
}

@keyframes lpPulse {
	0% { box-shadow: 0 0 0 0 rgba(82, 208, 122, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(82, 208, 122, 0); }
	100% { box-shadow: 0 0 0 0 rgba(82, 208, 122, 0); }
}

/* --------------------------------------------------------------------------
   Suchleiste
   -------------------------------------------------------------------------- */
.lp-searchwrap {
	position: relative;
	z-index: 10;
	max-width: var(--lp-max);
	margin: 3rem auto -3.5rem;
	padding: 0 1.5rem;
}

.lp-search {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
	border-radius: var(--lp-radius-lg);
	box-shadow: 0 30px 60px rgba(10, 4, 7, 0.5);
	border: 1px solid rgba(216, 180, 108, 0.5);
	padding: 1.6rem 1.8rem;
}

.lp-search-title {
	font-family: var(--lp-font-display);
	font-size: 1.15rem;
	margin: 0 0 1.1rem;
	color: var(--lp-text-dark);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lp-search-grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.3fr) minmax(180px, 1fr) minmax(160px, 1fr) auto;
	gap: 1.2rem;
	align-items: end;
}

.lp-field label {
	display: block;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lp-text-dark-muted);
	margin-bottom: 0.5rem;
}

.lp-segmented {
	display: flex;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.14);
	border-radius: 999px;
	padding: 4px;
	gap: 4px;
}

.lp-segmented button {
	flex: 1;
	border: none;
	background: transparent;
	border-radius: 999px;
	padding: 0.6rem 0.9rem;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--lp-text-dark-muted);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.lp-segmented button:hover {
	color: var(--lp-bordeaux);
}

.lp-segmented button.is-active {
	background: linear-gradient(135deg, var(--lp-bordeaux) 0%, var(--lp-bordeaux-soft) 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(142, 31, 63, 0.32);
}

.lp-agefield {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lp-agefield span {
	color: var(--lp-text-dark-muted);
	font-size: 0.9rem;
}

.lp-select {
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236d5a60' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	border: 1px solid rgba(36, 21, 26, 0.14);
	border-radius: 12px;
	padding: 0.72rem 2.2rem 0.72rem 0.9rem;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--lp-text-dark);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-select:focus {
	outline: none;
	border-color: var(--lp-bordeaux);
	box-shadow: 0 0 0 3px rgba(142, 31, 63, 0.14);
}

.lp-search-hint {
	margin: 1rem 0 0;
	font-size: 0.86rem;
	color: var(--lp-text-dark-muted);
}

/* --------------------------------------------------------------------------
   Kennzahlen-Leiste
   -------------------------------------------------------------------------- */
.lp-stats {
	background: var(--lp-ink);
	padding: 6rem 0 3.5rem;
}

.lp-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	text-align: center;
}

.lp-stat {
	padding: 1rem 0.75rem;
	position: relative;
}

.lp-stat + .lp-stat::before {
	content: '';
	position: absolute;
	left: 0;
	top: 22%;
	bottom: 22%;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--lp-gold-dim), transparent);
}

.lp-stat-value {
	font-family: var(--lp-font-display);
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	color: var(--lp-gold);
	line-height: 1.1;
	margin-bottom: 0.3rem;
}

.lp-stat-label {
	font-size: 0.85rem;
	color: var(--lp-text-muted);
	letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Mitglieder / Profile
   -------------------------------------------------------------------------- */
.lp-members {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
	padding: 5rem 0 5.5rem;
	scroll-margin-top: 80px;
}

.lp-members .lp-section-title {
	color: var(--lp-text-dark);
}

.lp-resultbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.8rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid rgba(36, 21, 26, 0.1);
}

.lp-resulthint {
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lp-text-dark-muted);
}

.lp-chip--all {
	color: var(--lp-bordeaux);
	border-color: rgba(142, 31, 63, 0.28);
	font-weight: 600;
}

.lp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.lp-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.12);
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
	color: var(--lp-text-dark-muted);
}

.lp-chip-reset {
	background: none;
	border: none;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--lp-bordeaux);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 0.35rem 0.2rem;
}

.lp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 1.6rem;
}

.lp-card {
	background: #fff;
	border-radius: var(--lp-radius);
	overflow: hidden;
	box-shadow: var(--lp-shadow-soft);
	border: 1px solid rgba(36, 21, 26, 0.07);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: lpCardIn 0.45s ease both;
}

.lp-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 50px rgba(36, 21, 26, 0.22);
}

@keyframes lpDialogIn {
	from { transform: translateY(14px); }
	to { transform: translateY(0); }
}

@keyframes lpCardIn {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.lp-card-media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--lp-cream-2);
	cursor: pointer;
}

.lp-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.lp-card:hover .lp-card-media img {
	transform: scale(1.06);
}

.lp-card-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 9, 13, 0) 55%, rgba(20, 9, 13, 0.8) 100%);
}

.lp-card-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1rem 1.1rem;
	color: #fff;
}

.lp-card-name {
	font-family: var(--lp-font-display);
	font-size: 1.3rem;
	line-height: 1.2;
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	flex-wrap: wrap;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lp-card-age {
	font-size: 1rem;
	font-family: inherit;
	color: var(--lp-gold-soft);
	font-weight: 600;
}

.lp-card-place {
	font-size: 0.86rem;
	opacity: 0.92;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.2rem;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lp-card-flag {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(20, 9, 13, 0.7);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 999px;
	padding: 0.3rem 0.7rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #eafaef;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.lp-card-vip {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	z-index: 3;
	background: linear-gradient(135deg, #c99f52, var(--lp-gold-soft));
	color: #3a2410;
	border-radius: 999px;
	padding: 0.3rem 0.7rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.lp-card-body {
	padding: 1rem 1.1rem 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	flex: 1;
}

.lp-card-job {
	font-size: 0.85rem;
	color: var(--lp-bordeaux);
	font-weight: 600;
	letter-spacing: 0.02em;
}

.lp-card-bio {
	font-size: 0.92rem;
	color: var(--lp-text-dark-muted);
	line-height: 1.55;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lp-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.lp-tag {
	background: var(--lp-cream);
	border: 1px solid rgba(36, 21, 26, 0.08);
	border-radius: 999px;
	padding: 0.2rem 0.6rem;
	font-size: 0.76rem;
	color: var(--lp-text-dark-muted);
}

.lp-card-actions {
	margin-top: auto;
	display: flex;
	gap: 0.5rem;
}

.lp-card-actions .lp-btn {
	flex: 1;
	padding: 0.62rem 0.9rem;
	font-size: 0.9rem;
}

.lp-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3.5rem 1rem;
	color: var(--lp-text-dark-muted);
	background: #fff;
	border-radius: var(--lp-radius);
	border: 1px dashed rgba(36, 21, 26, 0.16);
}

.lp-empty strong {
	display: block;
	font-family: var(--lp-font-display);
	font-size: 1.3rem;
	color: var(--lp-text-dark);
	margin-bottom: 0.4rem;
}

.lp-members-more {
	text-align: center;
	margin-top: 2.8rem;
}

.lp-hidden {
	display: none !important;
}

/* --------------------------------------------------------------------------
   So funktioniert es
   -------------------------------------------------------------------------- */
.lp-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	counter-reset: lpstep;
}

.lp-step {
	position: relative;
	padding: 2.2rem 1.6rem 1.8rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(216, 180, 108, 0.18);
	border-radius: var(--lp-radius);
	text-align: center;
}

.lp-step-num {
	width: 54px;
	height: 54px;
	margin: -3.5rem auto 1.1rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lp-bordeaux) 0%, var(--lp-bordeaux-soft) 100%);
	border: 2px solid var(--lp-gold);
	color: #fff;
	font-family: var(--lp-font-display);
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(142, 31, 63, 0.4);
}

.lp-step h3 {
	font-family: var(--lp-font-display);
	font-size: 1.25rem;
	font-weight: 400;
	margin: 0 0 0.6rem;
	color: var(--lp-gold-soft);
}

.lp-step p {
	margin: 0;
	font-size: 0.97rem;
	color: var(--lp-text-muted);
}

.lp-steps-wrap {
	padding-top: 3.5rem;
}

/* --------------------------------------------------------------------------
   Vorteile
   -------------------------------------------------------------------------- */
.lp-benefits-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.lp-benefit {
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.07);
	border-radius: var(--lp-radius);
	padding: 1.9rem 1.6rem;
	box-shadow: var(--lp-shadow-soft);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.lp-benefit:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 44px rgba(36, 21, 26, 0.16);
}

.lp-benefit-icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(142, 31, 63, 0.1), rgba(216, 180, 108, 0.22));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.1rem;
	color: var(--lp-bordeaux);
}

.lp-benefit-icon svg {
	width: 24px;
	height: 24px;
}

.lp-benefit h3 {
	font-family: var(--lp-font-display);
	font-size: 1.2rem;
	font-weight: 400;
	margin: 0 0 0.55rem;
	color: var(--lp-text-dark);
}

.lp-benefit p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--lp-text-dark-muted);
}

/* --------------------------------------------------------------------------
   Erfahrungsberichte
   -------------------------------------------------------------------------- */
.lp-voices-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.6rem;
}

.lp-voice {
	position: relative;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(216, 180, 108, 0.2);
	border-radius: var(--lp-radius);
	padding: 2.4rem 1.8rem 1.6rem;
	display: flex;
	flex-direction: column;
}

.lp-voice::before {
	content: '\201C';
	position: absolute;
	top: 0.2rem;
	left: 1.4rem;
	font-family: var(--lp-font-display);
	font-size: 4.5rem;
	line-height: 1;
	color: var(--lp-gold-dim);
}

.lp-voice-text {
	margin: 0 0 1.2rem;
	font-size: 1rem;
	color: var(--lp-text);
	opacity: 0.92;
	position: relative;
	z-index: 2;
}

.lp-voice-foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border-top: 1px solid rgba(216, 180, 108, 0.16);
	padding-top: 1rem;
}

.lp-voice-initial {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lp-bordeaux), var(--lp-bordeaux-deep));
	border: 1px solid var(--lp-gold-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--lp-font-display);
	font-size: 1.15rem;
	color: var(--lp-gold-soft);
	flex-shrink: 0;
}

.lp-voice-who {
	font-size: 0.94rem;
	font-weight: 600;
	color: var(--lp-gold-soft);
	line-height: 1.3;
}

.lp-voice-meta {
	font-size: 0.84rem;
	color: var(--lp-text-muted);
}

.lp-stars {
	margin-left: auto;
	color: var(--lp-gold);
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------------- */
.lp-cta {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(760px 420px at 50% 0%, rgba(142, 31, 63, 0.55) 0%, rgba(142, 31, 63, 0) 65%),
		linear-gradient(180deg, var(--lp-ink-2) 0%, var(--lp-ink) 100%);
	padding: 5rem 0;
	text-align: center;
	border-top: 1px solid rgba(216, 180, 108, 0.14);
}

.lp-cta-title {
	font-family: var(--lp-font-display);
	font-size: clamp(1.9rem, 3.8vw, 3rem);
	font-weight: 400;
	margin: 0 0 1rem;
	line-height: 1.15;
}

.lp-cta-title em {
	font-style: italic;
	color: var(--lp-gold);
}

.lp-cta-text {
	max-width: 620px;
	margin: 0 auto 2rem;
	color: var(--lp-text-muted);
	font-size: 1.06rem;
}

.lp-cta-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.lp-cta-small {
	margin-top: 1.5rem;
	font-size: 0.87rem;
	color: var(--lp-text-muted);
}

/* --------------------------------------------------------------------------
   Anmelde- und Registrierungsseiten (register.php, login.php)
   -------------------------------------------------------------------------- */
.lp-auth {
	min-height: calc(100vh - 67px);
	display: flex;
	align-items: center;
	background:
		radial-gradient(1000px 600px at 82% 8%, rgba(142, 31, 63, 0.5) 0%, rgba(142, 31, 63, 0) 62%),
		radial-gradient(700px 480px at 4% 92%, rgba(216, 180, 108, 0.14) 0%, rgba(216, 180, 108, 0) 60%),
		linear-gradient(160deg, #170a0f 0%, #26111b 52%, #17090f 100%);
	padding: 3.5rem 0 4.5rem;
}

.lp-auth-inner {
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 1.5rem;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
	gap: 4rem;
	align-items: center;
}

/* Formularkarte ------------------------------------------------------- */
.lp-auth-card {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
	border-radius: var(--lp-radius-lg);
	border: 1px solid rgba(216, 180, 108, 0.45);
	box-shadow: 0 30px 60px rgba(10, 4, 7, 0.5);
	padding: 2.6rem 2.4rem;
}

.lp-auth-title {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: clamp(1.7rem, 2.6vw, 2.2rem);
	line-height: 1.2;
	margin: 0 0 0.5rem;
	color: var(--lp-text-dark);
}

.lp-auth-title em {
	font-style: italic;
	color: var(--lp-bordeaux);
}

.lp-auth-sub {
	margin: 0 0 1.8rem;
	color: var(--lp-text-dark-muted);
	font-size: 0.98rem;
}

.lp-field-block {
	margin-bottom: 1.15rem;
}

.lp-field-block label {
	display: block;
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lp-text-dark-muted);
	margin-bottom: 0.45rem;
}

.lp-input {
	width: 100%;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.16);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--lp-text-dark);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-input::placeholder {
	color: #a8969b;
}

.lp-input:focus {
	outline: none;
	border-color: var(--lp-bordeaux);
	box-shadow: 0 0 0 3px rgba(142, 31, 63, 0.14);
}

.lp-input:user-invalid {
	border-color: #b3261e;
}

.lp-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.82rem;
	color: var(--lp-text-dark-muted);
}

.lp-auth-card .lp-btn {
	margin-top: 0.6rem;
}

.lp-turnstile {
	margin: 1.3rem 0 0.4rem;
	display: flex;
	justify-content: center;
	min-height: 65px;
}

.lp-alert {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
	background: #fdecea;
	border: 1px solid #f3b6b1;
	border-left: 4px solid #b3261e;
	border-radius: 12px;
	padding: 0.9rem 1rem;
	margin-bottom: 1.4rem;
	color: #7f1d1d;
	font-size: 0.94rem;
}

.lp-alert svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.lp-auth-divider {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.8rem 0 1.2rem;
	color: var(--lp-text-dark-muted);
	font-size: 0.85rem;
}

.lp-auth-divider::before,
.lp-auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(36, 21, 26, 0.12);
}

.lp-auth-switch {
	text-align: center;
	color: var(--lp-text-dark-muted);
	font-size: 0.95rem;
}

.lp-auth-switch a {
	color: var(--lp-bordeaux);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(142, 31, 63, 0.35);
}

.lp-auth-switch a:hover {
	border-bottom-color: var(--lp-bordeaux);
}

.lp-legal {
	margin-top: 1.2rem;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--lp-text-dark-muted);
	text-align: center;
}

.lp-legal a {
	color: var(--lp-bordeaux);
	text-decoration: none;
	border-bottom: 1px solid rgba(142, 31, 63, 0.3);
}

.lp-alert--success {
	background: #eaf7ee;
	border-color: #b3ddc1;
	border-left-color: #2e7d47;
	color: #1d5733;
}

.lp-alert--notice {
	background: #fdf6e7;
	border-color: #e7d5a6;
	border-left-color: #a9822a;
	color: #6a4f13;
	flex-direction: column;
	gap: 0.4rem;
}

.lp-alert--notice strong {
	display: block;
	font-size: 1rem;
}

.lp-alert--notice small {
	color: #856a2a;
	font-size: 0.86rem;
}

.lp-resend {
	margin-bottom: 1.4rem;
	text-align: center;
}

.lp-resend-status {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.88rem;
	min-height: 1.2em;
}

.lp-resend-status.is-ok { color: #1d5733; }
.lp-resend-status.is-warn { color: #8a5a12; }
.lp-resend-status.is-error { color: #8c1d18; }

/* Sekundaerbutton innerhalb der hellen Karte */
.lp-auth-card .lp-btn--ghost {
	color: var(--lp-text-dark);
	border-color: rgba(36, 21, 26, 0.22);
}

.lp-auth-card .lp-btn--ghost:hover:not(:disabled) {
	border-color: var(--lp-bordeaux);
	color: var(--lp-bordeaux);
}

.lp-auth-card .lp-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.lp-forgot {
	text-align: right;
	margin: -0.35rem 0 1.1rem;
}

.lp-forgot a {
	font-size: 0.88rem;
	color: var(--lp-bordeaux);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.lp-forgot a:hover {
	border-bottom-color: var(--lp-bordeaux);
}

/* Erfolgsmeldung nach der Registrierung -------------------------------- */
.lp-success {
	text-align: center;
}

.lp-success-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 1.2rem;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lp-bordeaux) 0%, var(--lp-bordeaux-soft) 100%);
	border: 2px solid var(--lp-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.lp-success-icon svg {
	width: 32px;
	height: 32px;
}

.lp-success p {
	color: var(--lp-text-dark-muted);
	margin: 0 0 1rem;
}

.lp-success strong {
	color: var(--lp-text-dark);
}

.lp-success-box {
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.1);
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
	text-align: left;
	margin: 1.4rem 0;
	font-size: 0.94rem;
	color: var(--lp-text-dark-muted);
}

.lp-success-box strong {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--lp-text-dark);
}

/* Rechte Seite: Markenbereich ----------------------------------------- */
.lp-auth-aside {
	color: var(--lp-text);
}

.lp-auth-aside .lp-auth-headline {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	line-height: 1.15;
	margin: 0 0 1rem;
}

.lp-auth-aside .lp-auth-headline em {
	font-style: italic;
	color: var(--lp-gold);
}

.lp-auth-aside p {
	color: var(--lp-text-muted);
	margin: 0 0 2rem;
	font-size: 1.03rem;
}

.lp-facepile {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.lp-facepile-imgs {
	display: flex;
}

.lp-facepile-imgs img {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--lp-gold-dim);
	box-shadow: 0 8px 20px rgba(10, 4, 7, 0.45);
	background: var(--lp-ink-3);
}

.lp-facepile-imgs img + img {
	margin-left: -18px;
}

.lp-facepile-text {
	font-size: 0.92rem;
	color: var(--lp-text-muted);
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

@media (max-width: 1024px) {
	.lp-auth-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		max-width: 620px;
	}

	.lp-auth-aside {
		order: -1;
		text-align: center;
	}

	.lp-auth-aside p {
		margin-bottom: 1.4rem;
	}

	.lp-facepile {
		justify-content: center;
	}
}

@media (max-width: 760px) {
	.lp-auth {
		padding: 2.2rem 0 3rem;
		min-height: 0;
	}

	.lp-auth-card {
		padding: 1.7rem 1.3rem;
	}

	.lp-facepile-imgs img {
		width: 52px;
		height: 52px;
	}
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.lp-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(12, 5, 8, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.lp-modal.is-open {
	display: flex;
	animation: lpFade 0.2s ease;
}

@keyframes lpFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lp-modal-box {
	background: linear-gradient(160deg, #24111a 0%, #180b11 100%);
	border: 1px solid var(--lp-gold-dim);
	border-radius: var(--lp-radius-lg);
	padding: 2.4rem 2rem 2rem;
	max-width: 440px;
	width: 100%;
	text-align: center;
	box-shadow: var(--lp-shadow);
	animation: lpDialogIn 0.28s ease;
}

.lp-modal-avatar {
	width: 78px;
	height: 78px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--lp-gold);
	margin: 0 auto 1rem;
	display: block;
}

.lp-modal-box h3 {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: 1.6rem;
	margin: 0 0 0.7rem;
	color: var(--lp-gold-soft);
}

.lp-modal-box p {
	color: var(--lp-text-muted);
	margin: 0 0 1.6rem;
	font-size: 0.98rem;
}

.lp-modal-actions {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.lp-modal-close {
	background: none;
	border: none;
	color: var(--lp-text-muted);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	padding: 0.5rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lp-modal-close:hover {
	color: var(--lp-gold-soft);
}

/* --------------------------------------------------------------------------
   Footer-Anpassung (footer.php nutzt Klassen aus style.css)
   -------------------------------------------------------------------------- */
body.lp-page .site-footer {
	background: #100609;
	border-top: 1px solid rgba(216, 180, 108, 0.14);
	color: var(--lp-text-muted);
	padding: 3rem 0 2rem;
}

body.lp-page .site-footer h4 {
	color: var(--lp-gold-soft);
	font-family: var(--lp-font-display);
	font-weight: 400;
	letter-spacing: 0.02em;
}

body.lp-page .site-footer a {
	color: var(--lp-text-muted);
}

body.lp-page .site-footer a:hover {
	color: var(--lp-gold-soft);
}

body.lp-page .footer-signature {
	color: rgba(216, 198, 203, 0.75);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.lp-hero-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.lp-collage {
		height: 420px;
		max-width: 520px;
		margin: 0 auto;
	}

	.lp-search-grid {
		grid-template-columns: 1fr 1fr;
	}

	.lp-search-grid .lp-field--action {
		grid-column: 1 / -1;
	}

	.lp-benefits-grid,
	.lp-steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lp-topnav {
		display: none;
	}
}

@media (max-width: 760px) {
	.lp-section {
		padding: 4rem 0;
	}

	.lp-hero {
		padding: 2.5rem 0 1.5rem;
	}

	.lp-hero-inner {
		gap: 2rem;
	}

	.lp-hero-buttons .lp-btn {
		flex: 1 1 100%;
	}

	.lp-collage {
		height: 340px;
	}

	.lp-collage-badge {
		right: auto;
		left: 50%;
		transform: translateX(-50%);
		top: 44%;
		font-size: 0.74rem;
		padding: 0.4rem 0.8rem;
	}

	.lp-searchwrap {
		margin-bottom: -2.5rem;
	}

	.lp-search {
		padding: 1.3rem 1.1rem;
	}

	.lp-search-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.lp-segmented button {
		padding: 0.55rem 0.4rem;
		font-size: 0.86rem;
	}

	.lp-stats {
		padding: 4.5rem 0 2.5rem;
	}

	.lp-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem 0.5rem;
	}

	.lp-stat:nth-child(3)::before {
		display: none;
	}

	.lp-grid {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
		gap: 1rem;
	}

	.lp-card-body {
		padding: 0.8rem 0.85rem 1rem;
		gap: 0.6rem;
	}

	.lp-card-name {
		font-size: 1.1rem;
	}

	.lp-card-bio {
		-webkit-line-clamp: 2;
		font-size: 0.86rem;
	}

	.lp-card-tags {
		display: none;
	}

	.lp-benefits-grid,
	.lp-steps-grid,
	.lp-voices-grid {
		grid-template-columns: 1fr;
	}

	.lp-steps-wrap {
		padding-top: 3rem;
	}

	.lp-topbar-inner {
		padding: 0.65rem 1rem;
		gap: 0.6rem;
	}

	.lp-brand img {
		height: 32px;
	}

	.lp-topbar-user {
		display: none;
	}

	.lp-btn {
		padding: 0.85rem 1.5rem;
	}

	.lp-topbar-actions .lp-btn {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}

	body.lp-page .footer-container {
		padding: 0 1.25rem;
	}
}

.lp-btn-short {
	display: none;
}

/* Sehr schmale Displays: Kopfleiste kompakt halten (sonst laeuft sie ueber) */
@media (max-width: 540px) {
	.lp-topbar-inner {
		gap: 0.4rem;
	}

	.lp-brand img {
		height: 28px;
		max-width: 40vw;
	}

	.lp-topbar-actions {
		gap: 0.35rem;
	}

	.lp-topbar-actions .lp-btn {
		padding: 0.45rem 0.85rem;
		font-size: 0.8rem;
	}

	.lp-topbar-actions .lp-btn--ghost {
		border-color: transparent;
		padding: 0.45rem 0.3rem;
	}
}

@media (max-width: 410px) {
	.lp-brand img {
		height: 25px;
	}

	.lp-topbar-actions .lp-btn-long {
		display: none;
	}

	.lp-topbar-actions .lp-btn-short {
		display: inline;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.lp-page *,
	body.lp-page *::before,
	body.lp-page *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}


/* ==========================================================================
   Angemeldeter Bereich (dashboard.php)
   Die Filter-, Slider- und Modal-Bausteine behalten ihre bisherigen Klassen,
   damit das vorhandene JavaScript unveraendert weiterlaeuft – hier wird nur
   ihr Aussehen an den Look der Startseite angeglichen.
   ========================================================================== */
.lp-role-pill {
	display: inline-flex;
	align-items: center;
	background: rgba(216, 180, 108, 0.14);
	border: 1px solid var(--lp-gold-dim);
	border-radius: 999px;
	padding: 0.1rem 0.6rem;
	font-size: 0.78rem;
	color: var(--lp-gold-soft);
	margin-left: 0.45rem;
}

.lp-topnav a.is-current {
	color: var(--lp-gold-soft);
}

.lp-topnav a.is-current::after {
	width: 100%;
}

/* Kopfbereich mit Begruessung ------------------------------------------ */
.lp-app-head {
	background:
		radial-gradient(900px 460px at 80% 0%, rgba(142, 31, 63, 0.5) 0%, rgba(142, 31, 63, 0) 62%),
		linear-gradient(160deg, #170a0f 0%, #26111b 60%, #17090f 100%);
	padding: 2.8rem 0 3.2rem;
}

.lp-app-head-inner {
	max-width: var(--lp-max);
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.lp-app-title {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	line-height: 1.15;
	margin: 0 0 0.4rem;
}

.lp-app-title em {
	font-style: italic;
	color: var(--lp-gold);
}

.lp-app-sub {
	margin: 0;
	color: var(--lp-text-muted);
	font-size: 1rem;
}

/* Heller Inhaltsbereich ------------------------------------------------ */
.lp-app {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
	padding: 3rem 0 4rem;
	min-height: 40vh;
}

.lp-app-section {
	margin-bottom: 3.2rem;
	scroll-margin-top: 80px;
}

.lp-app-section:last-child {
	margin-bottom: 0;
}

.lp-app-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
	padding-bottom: 0.9rem;
	border-bottom: 1px solid rgba(36, 21, 26, 0.1);
}

.lp-app-section-title {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	margin: 0;
	color: var(--lp-text-dark);
}

.lp-subhead {
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lp-text-dark-muted);
	margin: 0 0 0.9rem;
}

/* Gespraechskarten ----------------------------------------------------- */
.lp-conv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 1.2rem;
	margin-bottom: 2.2rem;
}

.lp-conv-grid:last-child {
	margin-bottom: 0;
}

.lp-conv {
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.08);
	border-radius: var(--lp-radius);
	box-shadow: var(--lp-shadow-soft);
	padding: 1.1rem;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.9rem 1rem;
	align-items: start;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-conv:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(36, 21, 26, 0.16);
}

.lp-conv-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid rgba(216, 180, 108, 0.55);
	background: var(--lp-cream);
}

.lp-conv-stack {
	display: flex;
	flex-shrink: 0;
}

.lp-conv-stack img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--lp-cream);
}

.lp-conv-stack img + img {
	margin-left: -16px;
}

.lp-conv-body {
	flex: 1;
	min-width: 0;
}

.lp-conv-name {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: 1.2rem;
	margin: 0 0 0.15rem;
	line-height: 1.25;
}

.lp-conv-name a {
	color: var(--lp-text-dark);
	text-decoration: none;
}

.lp-conv-name a:hover {
	color: var(--lp-bordeaux);
}

.lp-conv-meta {
	font-size: 0.85rem;
	color: var(--lp-text-dark-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.lp-conv-last {
	margin: 0.6rem 0 0.4rem;
	padding-left: 0.7rem;
	border-left: 2px solid rgba(216, 180, 108, 0.6);
	font-size: 0.9rem;
	color: var(--lp-text-dark-muted);
	font-style: italic;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lp-conv-time {
	font-size: 0.78rem;
	color: #77656b;
}

.lp-conv-actions {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-top: 0.9rem;
	border-top: 1px solid rgba(36, 21, 26, 0.08);
}

.lp-conv-actions .lp-btn {
	padding: 0.55rem 1.2rem;
	font-size: 0.88rem;
}

.lp-conv-tools {
	margin-left: auto;
}

.lp-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(36, 21, 26, 0.16);
	background: #fff;
	color: var(--lp-text-dark-muted);
	cursor: pointer;
	font-size: 0.95rem;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lp-icon-btn:hover {
	border-color: var(--lp-bordeaux);
	color: var(--lp-bordeaux);
}

.lp-icon-btn--danger:hover {
	border-color: #b3261e;
	color: #b3261e;
	background: #fdecea;
}

.lp-conv-tools {
	display: flex;
	gap: 0.4rem;
}

.lp-vip-mark {
	color: #9c7526;
	font-size: 0.85em;
}

/* Leerer Zustand ------------------------------------------------------- */
.lp-app-empty {
	background: #fff;
	border: 1px dashed rgba(36, 21, 26, 0.18);
	border-radius: var(--lp-radius);
	padding: 2.4rem 1.5rem;
	text-align: center;
	color: var(--lp-text-dark-muted);
}

.lp-app-empty strong {
	display: block;
	font-family: var(--lp-font-display);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--lp-text-dark);
	margin-bottom: 0.35rem;
}

/* Filterpanel ---------------------------------------------------------- */
.lp-panel {
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.08);
	border-radius: var(--lp-radius);
	box-shadow: var(--lp-shadow-soft);
	padding: 1.6rem 1.7rem;
	margin-bottom: 1.8rem;

	/* Faerbt die uebernommenen Filter-Bausteine aus style.css um */
	--primary-color: var(--lp-bordeaux);
	--border-color: rgba(36, 21, 26, 0.16);
	--text-color: var(--lp-text-dark);
}

.lp-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.2rem;
}

.lp-panel-title {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: 1.25rem;
	margin: 0;
	color: var(--lp-text-dark);
}

.lp-panel .filter-group label {
	font-size: 0.74rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--lp-text-dark-muted);
	margin-top: 0;
}

.lp-panel .gender-btn,
.lp-panel .filter-tag {
	font-family: inherit;
	border-width: 1px;
	color: var(--lp-text-dark-muted);
}

.lp-panel .gender-btn {
	border-radius: 999px;
}

.lp-panel .gender-btn:hover,
.lp-panel .filter-tag:hover {
	background: rgba(142, 31, 63, 0.07);
	border-color: var(--lp-bordeaux);
	color: var(--lp-bordeaux);
}

.lp-panel .gender-btn.active,
.lp-panel .filter-tag.active {
	background: linear-gradient(135deg, var(--lp-bordeaux) 0%, var(--lp-bordeaux-soft) 100%);
	color: #fff;
	border-color: var(--lp-bordeaux);
	box-shadow: 0 6px 16px rgba(142, 31, 63, 0.25);
}

.lp-panel .age-values {
	color: var(--lp-bordeaux);
	font-size: 0.9rem;
}

.lp-panel .filter-actions {
	display: flex;
	gap: 0.7rem;
	flex-wrap: wrap;
	margin-top: 1.4rem;
}

.lp-panel .filter-toggle {
	margin-top: 0.4rem;
}

/* Sekundaerbuttons auf hellem Grund (Panel, Inhaltsbereich, Dialoge) */
.lp-app .lp-btn--ghost,
.lp-panel .lp-btn--ghost,
body.lp-page .group-modal-box .lp-btn--ghost,
body.lp-page .delete-modal .lp-btn--ghost {
	color: var(--lp-text-dark);
	border-color: rgba(36, 21, 26, 0.22);
	background: #fff;
}

.lp-app .lp-btn--ghost:hover,
.lp-panel .lp-btn--ghost:hover,
body.lp-page .group-modal-box .lp-btn--ghost:hover,
body.lp-page .delete-modal .lp-btn--ghost:hover {
	border-color: var(--lp-bordeaux);
	color: var(--lp-bordeaux);
}

.lp-results {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(142, 31, 63, 0.07);
	border: 1px solid rgba(142, 31, 63, 0.16);
	color: var(--lp-bordeaux);
	border-radius: 999px;
	padding: 0.45rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1.4rem;
}

/* Hinweisbaender (Willkommen, Erfolg, Fehler) -------------------------- */
body.lp-page .alert {
	border-radius: 14px;
	padding: 0.95rem 1.1rem;
	margin-bottom: 1.2rem;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border: 1px solid;
	border-left-width: 4px;
}

body.lp-page .alert-success {
	background: #eaf7ee;
	border-color: #b3ddc1;
	border-left-color: #2e7d47;
	color: #1d5733;
}

body.lp-page .alert-error {
	background: #fdecea;
	border-color: #f3b6b1;
	border-left-color: #b3261e;
	color: #7f1d1d;
}

body.lp-page .alert-close {
	background: none;
	border: none;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: inherit;
	opacity: 0.6;
}

body.lp-page .alert-close:hover {
	opacity: 1;
}

body.lp-page .alert a {
	color: inherit;
	font-weight: 600;
}

/* Dialoge (Gruppe erstellen/loeschen, Konversation loeschen) ----------- */
body.lp-page .group-modal-overlay,
body.lp-page .delete-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(12, 5, 8, 0.78);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

body.lp-page .group-modal-box,
body.lp-page .delete-modal {
	background: var(--lp-cream);
	color: var(--lp-text-dark);
	border: 1px solid rgba(216, 180, 108, 0.5);
	border-radius: var(--lp-radius-lg);
	box-shadow: var(--lp-shadow);
	padding: 1.8rem;
	max-width: 520px;
	width: 100%;
	max-height: 88vh;
	overflow-y: auto;
	animation: lpDialogIn 0.25s ease;
}

body.lp-page .modal-header {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.6rem;
}

body.lp-page .modal-header h2 {
	font-family: var(--lp-font-display);
	font-weight: 400;
	font-size: 1.45rem;
	margin: 0;
	color: var(--lp-text-dark);
}

body.lp-page .modal-header .warning-icon {
	font-size: 1.6rem;
}

body.lp-page .modal-body {
	color: var(--lp-text-dark-muted);
	font-size: 0.96rem;
}

body.lp-page .modal-body strong {
	color: var(--lp-text-dark);
}

body.lp-page .modal-actions {
	display: flex;
	gap: 0.7rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

body.lp-page .modal-actions .lp-btn {
	flex: 1;
	min-width: 140px;
}

body.lp-page #group-avatar-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.6rem;
	max-height: 320px;
	overflow-y: auto;
	padding: 0.2rem;
	margin-bottom: 1rem;
}

body.lp-page .group-avatar-option {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.12);
	border-radius: 12px;
	padding: 0.5rem 0.6rem;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.lp-page .group-avatar-option:hover {
	border-color: var(--lp-bordeaux);
}

body.lp-page .group-avatar-option.selected {
	border-color: var(--lp-bordeaux);
	box-shadow: 0 0 0 2px rgba(142, 31, 63, 0.18);
	background: rgba(142, 31, 63, 0.05);
}

body.lp-page .group-avatar-option img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

body.lp-page .group-avatar-name {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--lp-text-dark);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.lp-page .group-avatar-age {
	font-size: 0.78rem;
	color: var(--lp-text-dark-muted);
	margin-left: auto;
}

body.lp-page #group-selection-hint {
	font-size: 0.86rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
	color: var(--lp-text-dark-muted);
}

body.lp-page #group-name-input {
	width: 100%;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.16);
	border-radius: 12px;
	padding: 0.75rem 0.9rem;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--lp-text-dark);
}

body.lp-page #group-name-input:focus {
	outline: none;
	border-color: var(--lp-bordeaux);
	box-shadow: 0 0 0 3px rgba(142, 31, 63, 0.14);
}

body.lp-page .group-memory-option {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	background: #fff;
	border: 1px solid rgba(36, 21, 26, 0.12);
	border-radius: 12px;
	padding: 0.8rem 0.9rem;
	cursor: pointer;
}

body.lp-page .group-memory-text strong {
	display: block;
	font-size: 0.92rem;
	color: var(--lp-text-dark);
	margin-bottom: 0.15rem;
}

body.lp-page .group-memory-text small {
	font-size: 0.82rem;
	color: var(--lp-text-dark-muted);
	line-height: 1.45;
}

/* Responsive ----------------------------------------------------------- */
@media (max-width: 760px) {
	.lp-app-head {
		padding: 2rem 0 2.4rem;
	}

	.lp-app {
		padding: 2rem 0 3rem;
	}

	.lp-conv-grid {
		grid-template-columns: 1fr;
	}

	.lp-conv-actions .lp-btn:first-child {
		flex: 1;
	}

	.lp-panel {
		padding: 1.2rem 1.1rem;
	}

	.lp-app-section-head {
		align-items: flex-start;
	}
}

/* Der Dialog zum Loeschen einer Konversation wird in style.css ueber eine
   ID adressiert – diese Regeln ziehen die Spezifitaet nach. */
body.lp-page #delete-conversation-overlay .delete-modal,
body.lp-page #delete-group-overlay .group-modal-box,
body.lp-page #group-create-overlay .group-modal-box {
	animation: lpDialogIn 0.25s ease;
	background: var(--lp-cream);
	border-radius: var(--lp-radius-lg);
	max-width: 520px;
	width: 100%;
	padding: 1.8rem;
	overflow-y: auto;
}

body.lp-page #delete-conversation-overlay .modal-header,
body.lp-page #delete-conversation-overlay .modal-body,
body.lp-page #delete-conversation-overlay .modal-actions {
	padding: 0;
	text-align: left;
}

body.lp-page #delete-conversation-overlay .modal-header {
	margin-bottom: 0.6rem;
}

body.lp-page #delete-conversation-overlay .modal-actions {
	margin-top: 1.5rem;
}

body.lp-page #delete-conversation-overlay .warning-icon,
body.lp-page #delete-group-overlay .warning-icon {
	width: auto;
	height: auto;
	background: none;
	border-radius: 0;
	display: inline;
	line-height: 1;
}

/* Auswahlkacheln im Gruppen-Dialog: style.css stapelt sie mit hoeherer
   Spezifitaet – hier zurueck auf eine kompakte Zeile. */
body.lp-page #group-avatar-list .group-avatar-option {
	flex-direction: row;
	align-items: center;
	text-align: left;
	gap: 0.55rem;
}

body.lp-page #group-avatar-list .group-avatar-name {
	flex: 1;
	min-width: 0;
}

body.lp-page #group-avatar-list .group-avatar-age {
	margin-left: 0;
	flex-shrink: 0;
}

/* Die Dialog-Skripte faerben Elemente ueber var(--primary-color) bzw.
   var(--text-muted) – hier lokal auf die Palette der Seite gesetzt. */
body.lp-page .group-modal-box,
body.lp-page .delete-modal {
	--primary-color: var(--lp-bordeaux);
	--text-muted: var(--lp-text-dark-muted);
	accent-color: var(--lp-bordeaux);
}

/* Die Navigation des angemeldeten Bereichs fuehrt zu echten Seiten und darf
   auf schmalen Displays nicht verschwinden – sie rutscht in eine zweite Zeile. */
@media (max-width: 1024px) {
	.lp-topbar-inner {
		flex-wrap: wrap;
		row-gap: 0.4rem;
	}

	.lp-topnav--app {
		display: flex;
		order: 3;
		width: 100%;
		margin: 0;
		gap: 1.3rem;
		font-size: 0.9rem;
		overflow-x: auto;
		padding-bottom: 0.2rem;
		scrollbar-width: none;
	}

	.lp-topnav--app::-webkit-scrollbar {
		display: none;
	}

	.lp-topnav--app a {
		white-space: nowrap;
	}
}
