@font-face {
	font-display: swap;
  font-family: 'Inter';
  src: url('/../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Inter';
  src: url('/../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
	font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  src: url('/../fonts/montserrat-v31-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-100-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-100-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-100-normal.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-200-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-200-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-200-normal.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-300-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-300-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-300-normal.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-400-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-400-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-400-normal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-500-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-500-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-500-normal.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-600-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-600-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-600-normal.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  src: url('/../fonts/material-symbols-outlined-latin-700-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-outlined-latin-700-normal.woff') format('woff'),
	url('/../fonts/material-symbols-outlined-latin-700-normal.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  /* z. B. 100–700 */
  display: inline-block;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

	@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-100-normal.woff2') format('woff2'),
	url('/../fonts/material-symbols-rounded-latin-100-normal.woff') format('woff'),
	url('/../fonts/material-symbols-rounded-latin-100-normal.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-200-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-200-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-200-normal.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-300-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-300-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-300-normal.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-400-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-400-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-400-normal.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-500-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-500-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-500-normal.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-600-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-600-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-600-normal.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Material Symbols Rounded';
  src: url('/../fonts/material-symbols-rounded-latin-700-normal.woff2') format('woff2'),
	   url('/../fonts/material-symbols-rounded-latin-700-normal.woff') format('woff'),
	   url('/../fonts/material-symbols-rounded-latin-700-normal.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


.material-symbols-rounded {
	font-family: 'Material Symbols Rounded';
	font-weight: normal;
	font-style: normal;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

.legal-content p {
	margin-top: 15px;
}

:root {
	--c-primary: #18848c; 
	--c-primary-dark: #12666d;
	--c-dark: #1e293b;
	--c-light: #f8fafc;
	--c-white: #ffffff;
	--c-text: #334155;
	--c-text-muted: #64748b;
	--c-border: #e2e8f0;
	--font-head: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;
	--radius-md: 12px;
	--radius-sm: 6px;
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
	--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
	--container-width: 1280px;
}

html {
	scroll-behavior: smooth;
}

/* Sorgt dafür, dass beim Anspringen via ID oben Platz für den Header bleibt */
#medien-zentrum {
	scroll-margin-top: 40px; /* Wert anpassen, je nachdem wie hoch dein Header ist */
}

#shop, #abos, #magazine, #kleinanzeigen{
	scroll-margin-top: 80px; /* Wert anpassen, je nachdem wie hoch dein Header ist */
}

#epaper {
	scroll-margin-top: 100px; /* Wert anpassen, je nachdem wie hoch dein Header ist */
}

#kalender{
	scroll-margin-top: 60px; /* Wert anpassen, je nachdem wie hoch dein Header ist */
}

#kiosk {
	scroll-margin-top: 60px; /* Wert anpassen, je nachdem wie hoch dein Header ist */
}

#traffic-header {
	scroll-margin-top: 60px; /* Wert anpassen, je nachdem wie hoch dein Header ist */

}

#kontakt {
	scroll-margin-top: 100px; /* Wert anpassen, je nachdem wie hoch dein Header ist */

}


.konti { text-align: justify !important; hyphens: auto; }

.main-footer .f-logo {
	max-width: 165px;
	margin-bottom: 5px;
}


/* --- FOTONACHWEIS STYLES --- */
.img-credit {
	position: absolute;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 10px;
	padding: 3px 6px;
	z-index: 5;
	pointer-events: none; /* Klicks gehen durch */
	font-family: var(--font-body, sans-serif);
	font-weight: 400;
	border-top-left-radius: 4px;
	line-height: 1;
	backdrop-filter: blur(2px);
}

/* Wichtig: Container müssen relative sein, damit absolute positioning klappt */
.main-image-wrap, 
.gallery-item, 
.hero-img-wrap, 
.news-thumb-wrap {
	position: relative;
}

/* =========================================
   RADIO WIDGET STYLES (COMPLETE FINAL)
   ========================================= */

/* --- 1. Die Karte (Container) --- */
.radio-card {
	background: #fff;
	border-radius: 16px;
	padding: 12px 14px; /* Etwas kompakteres Padding */
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 5px 10px -5px rgba(0,0,0,0.04);
	border: 1px solid rgba(255,255,255,0.5);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	position: relative;
	overflow: hidden;
}

/* Hover Effekt */
.radio-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 30px -5px rgba(0,0,0,0.15);
}

/* Subtiler Hintergrund-Verlauf */
.radio-card::before {
	content: '';
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(120deg, rgba(24,132,140,0.05) 0%, transparent 50%);
	pointer-events: none;
}

/* --- 2. Linke Seite: Play Button --- */
.radio-left {
	flex-shrink: 0;
	z-index: 2;
}

.modern-play-btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	/* Nutzt deine Primary Farben */
	background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(24, 132, 140, 0.4);
	transition: all 0.2s ease;
}

.modern-play-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(24, 132, 140, 0.5);
}

.modern-play-btn span {
	font-size: 28px;
	margin-left: 3px; /* Optische Korrektur für das Play-Dreieck */
}

/* Wenn es spielt (Stop Icon) */
.modern-play-btn.playing {
	background: var(--c-dark);
	box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}
.modern-play-btn.playing span {
	margin-left: 0;
}

/* --- 3. Mitte: Logo & Auswahl --- */
.radio-center {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 2;
	overflow: hidden;
	min-width: 0; /* Wichtig für Flexbox Text-Truncate */
}

/* Zeile für Logo und Select */
.station-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 2px;
	width: 100%;
}

/* Das kleine Logo */
.mini-station-logo {
	width: 28px;
	height: 28px;
	object-fit: contain;
	border-radius: 4px;
	flex-shrink: 0;
}

/* Wrapper für das Select (damit Pfeil positioniert werden kann) */
.select-wrapper {
	position: relative;
	flex-grow: 1;
	overflow: hidden;
}

/* Das Dropdown selbst */
.station-dropdown {
	appearance: none; /* Standard Browser Style entfernen */
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	border: none;
	font-family: var(--font-head, sans-serif);
	font-weight: 800;
	font-size: 0.9rem;
	color: var(--c-dark);
	padding: 0;
	padding-right: 15px; /* Platz, falls Text lang ist */
	margin: 0;
	cursor: pointer;
	width: 100%; /* Etwas breiter damit Standard-Pfeil verschwindet */
	outline: none;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 1.2;
	
	
	background-image: url(../../img/arrow-down.svg);
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	cursor: pointer;
}

.station-dropdown:hover {
	color: var(--c-primary);
}

.station-dropdown option {
	background: #fff;
	color: #333;
	font-weight: normal;
}

/* --- 4. Status Zeile (Live & Visualizer) --- */
.live-status {
	font-size: 0.7rem;
	color: var(--c-text-muted);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
	/* Einrücken, damit es unter dem Text steht (Logo Breite + Gap) */
	padding-left: 2px; 
	margin-top: 0;
}

.live-dot {
	width: 6px;
	height: 6px;
	background-color: #ef4444;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
	animation: pulseRedShadow 2s infinite;
}

/* Visualizer Animation */
.mini-viz {
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 10px;
	margin-left: 5px;
	opacity: 0;
	transition: opacity 0.3s;
}

.mini-viz span {
	width: 2px;
	background: var(--c-primary);
	border-radius: 1px;
	height: 2px;
	transition: height 0.1s;
}

.radio-active .mini-viz { opacity: 1; }
.radio-active .mini-viz span { animation: barDance 0.8s infinite ease-in-out; }
.mini-viz span:nth-child(1) { animation-delay: 0.0s; }
.mini-viz span:nth-child(2) { animation-delay: 0.2s; }
.mini-viz span:nth-child(3) { animation-delay: 0.1s; }

/* --- 5. Rechte Seite: Popout Button --- */
.radio-right {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	border-left: 1px solid rgba(0,0,0,0.05);
	padding-left: 4px;
	margin-left: -5px; /* Etwas näher ran rücken */
}

.popout-icon-btn {
	background: transparent;
	border: none;
	color: #cbd5e1;
	cursor: pointer;
	padding: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	border-radius: 50%;
}

.popout-icon-btn:hover {
	color: var(--c-primary);
	background: rgba(24, 132, 140, 0.1);
}

.popout-icon-btn span {
	font-size: 20px;
}

/* --- ANIMATIONEN --- */
@keyframes pulseRedShadow {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes barDance {
	0%, 100% { height: 2px; }
	50% { height: 10px; }
}

/* --- TITEL ANZEIGE --- */
.radio-track-display {
	height: 20px;
	overflow: hidden;
	position: relative;
	margin: 4px 0 2px 2px; /* Eingerückt unter dem Text */
	white-space: nowrap;
	width: calc(100% - 36px);
}

.track-ticker-text {
	font-size: 0.75rem;
	color: var(--c-primary);
	font-weight: 600;
	display: inline-block;
	padding-left: 0;
	/* Falls Text leer ist: */
	min-height: 15px; 
}

/* Animation für Laufschrift (wird per JS aktiviert wenn Text zu lang) */
.scrolling-text {
	animation: marquee 10s linear infinite;
	padding-left: 100%; /* Startet rechts außerhalb */
}

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}

/* --- MODERN POLICE BAR --- */
.police-bar {
	background: #1e293b; /* Dunkles Slate-Blau */
	border-radius: 12px;
	display: flex;
	align-items: center;
	padding: 6px;
	margin-bottom: 2rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	border: 1px solid rgba(255,255,255,0.05);
	overflow: hidden;
	height: 60px;
	position: relative;
	margin: 0 auto;
	max-width: 1240px;
}

/* Blaues Leuchten am unteren Rand */
.police-bar::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
	background: linear-gradient(90deg, #1d4ed8, #3b82f6);
}

/* --- BADGE (LINKS) --- */
.police-badge {
	border-right: 2px solid #1d4ed8; /* Polizei Blau */
	color: #fff;
	padding: 0 15px;
	height: 48px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 15px;
	flex-shrink: 0;
	position: relative;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

.police-badge .icon { font-size: 20px; }

/* Pulsierender Punkt */
.pulse-ring {
	position: absolute; top: 6px; left: 6px;
	width: 6px; height: 6px; background: #60a5fa;
	border-radius: 50%;
	animation: policePulse 2s infinite;
}

/* --- CONTENT (MITTE) --- */
.police-content {
	flex-grow: 1;
	overflow: hidden;
	position: relative;
}

.police-text-wrap {
	display: flex;
	flex-direction: column; /* Mobil: Untereinander */
	justify-content: left;
	text-decoration: none;
	transition: opacity 0.3s ease;
	opacity: 1;
}

/* Fade-Effekt Klasse */
.police-text-wrap.fading { opacity: 0; transform: translateY(5px); }

.police-time {
	font-size: 0.7rem;
	color: #94a3b8;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 2px;
}

.police-headline {
	color: #fff;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.police-headline:hover { color: #60a5fa; text-decoration: underline; }

/* --- CONTROLS (RECHTS) --- */
.police-controls {
	display: flex;
	gap: 5px;
	padding-left: 15px;
	border-left: 1px solid rgba(255,255,255,0.1);
}

.police-controls button {
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	transition: all 0.2s;
}

.police-controls button:hover {
	background: rgba(255,255,255,0.1);
	color: #fff;
}

/* --- ANIMATION --- */
@keyframes policePulse {
	0% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
	70% { box-shadow: 0 0 0 6px rgba(96, 165, 250, 0); }
	100% { box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
	.police-text-wrap { flex-direction: row; align-items: center; gap: 15px; }
	.police-time { margin-bottom: 0; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }
	
}
@media (max-width: 600px) {
	.police-badge .label-text { display: none; } /* Nur Icon mobil */
	.police-badge { padding: 0 12px; }
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--c-light); color: var(--c-text); font-family: var(--font-body); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }

/* Top Bar */
.top-bar { background: var(--c-dark); color: #94a3b8; padding: 0.75rem 0; font-size: 0.8rem; font-weight: 500; }
.top-inner { display: flex; justify-content: space-between; align-items: center; }
.top-links a { margin-left: 1.5rem; color: #cbd5e1; 	border-left: 1px solid #334155;
	padding-left: 25px;}
	.top-links a:first-child {
		border-left: 0px; padding-left: 0px;
	}
.top-links a:hover { color: #fff; }

/* Header */
.brand-header { background: var(--c-white); padding: 1.5rem 0; border-bottom: 1px solid var(--c-border); top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }

.search-wrapper { position: relative; width: 300px; }
.search-bar { display: flex; align-items: center; background: var(--c-light); border-radius: 99px; padding: 8px 15px; border: 1px solid transparent; transition: all 0.3s; }
.search-bar:focus-within { background: var(--c-white); border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(24, 132, 140, 0.1); }
.search-input { border: none; background: transparent; flex-grow: 1; outline: none; font-size: 0.95rem; color: var(--c-dark); }
.search-btn { background: none; border: none; color: var(--c-text-muted); cursor: pointer; display: flex; font-size: 20px;}

#live-results { position: absolute; top: 120%; left: 0; width: 100%; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 99999; display: none; border: 1px solid var(--c-border); overflow: hidden; }
.live-item { padding: 12px; border-bottom: 1px solid var(--c-light); display: flex; align-items: center; cursor: pointer; }
.live-item:hover { background: #f1f5f9; }
.live-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; margin-right: 15px; background: #eee; }
.live-title { font-weight: 700; font-size: 0.9rem; color: var(--c-dark); display: block; line-height: 1.2; }
.live-date { font-size: 0.75rem; color: var(--c-text-muted); text-transform: uppercase; }

/* Social Icons (SVG) */
.social-link { color: var(--c-primary); transition: transform 0.2s; display: block; }
.social-link:hover { transform: scale(1.1); color: var(--c-primary-dark); }

/* Nav */
.nav-bar { background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.nav-list { list-style: none; display: grid; margin: 0; padding: 0; }
.nav-link { display: block; padding: 1rem 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; color: var(--c-dark); position: relative; letter-spacing: 0.5px; }
.nav-link:hover { color: var(--c-primary); }
.nav-link::after { 
	content: ''; position: absolute; bottom: 0; left: 0; 
	width: 0; height: 3px; background: var(--c-primary); 
	transition: width 0.3s; 
}
.nav-item:hover .nav-link::after { width: 100%; }

.mega-dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: var(--shadow-lg); z-index: 900; padding: 2.5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s; border-top: 1px solid var(--c-border); }
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.mega-col h4 { font-family: var(--font-head); color: var(--c-primary); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 1.2rem; border-bottom: 2px solid var(--c-light); padding-bottom: 8px; font-weight: 800; }
.mega-col ul { list-style: none; padding: 0; }
.mega-col li { margin-bottom: 0.8rem; }
.mega-col a { color: var(--c-text); font-weight: 500; transition: color 0.2s; }
.mega-col a:hover { color: var(--c-primary); text-decoration: underline; }

/* Ads (Responsive) */
.superbanner-wrap { background: #e2e8f0; padding: 2rem 0; margin-bottom: 3rem; }
.ad-box { 
	background: #f1f5f9; position: relative; display: flex; align-items: center; justify-content: center; 
	overflow: hidden; color: #cbd5e1; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
}
.ad-box img { width: 100%; height: auto; display: block; object-fit: contain; border: 1px solid var(--c-border);}
.ad-box::after { content: "ANZEIGE"; position: absolute; top: 0; right: 0; background: var(--c-primary); color: #fff; font-size: 10px; padding: 2px 6px; }

.ad-super { max-width: 1240px; margin: 0 auto; align-content: center;}
.ad-rect { width: 100%; }

/* Hero */
.hero-section { position: relative; height: 550px; overflow: hidden; background: var(--c-dark); border-radius: var(--radius-md); margin: 3rem auto; box-shadow: var(--shadow-lg); }
@media(max-width: 900px) { .hero-section { height: auto; border-radius: 0; margin-top:0; } 
.ad-box img {
	min-width: auto !important;
}

}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease-in-out; display: grid; grid-template-columns: 60% 40%; z-index: 1; background: #fff; }
.hero-slide.active { opacity: 1; z-index: 2; position: relative; }
@media(min-width: 901px) { .hero-slide.active { position: absolute; } }
@media(max-width: 900px) { .hero-slide { display: flex; flex-direction: column; position: relative; opacity: 1; display: none; } .hero-slide.active { display: flex; } 
.kontakt {display: none;}
.top-links a {
	margin-left: 4px;
	color: #cbd5e1;
	border-left: 1px solid #334155;
	padding-left: 7px;
}

section.container {
	padding: 0;
}

}
.hero-img-wrap { width: 100%; height: 100%; overflow: hidden; position: relative; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 8s ease-out; }
.hero-slide.active .hero-img { transform: scale(1.05); }
.hero-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(135deg, #18848c 0%, #0f5c63 100%); color: #fff; }
.hero-product-tag { background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 20px; font-weight: 800; font-size: 0.75rem; text-transform: uppercase; display: inline-block; align-self: flex-start; margin-bottom: 1.5rem; letter-spacing: 1px; }
.hero-title { font-size: 2.1rem; line-height: 1.2; margin-bottom: 1.5rem; font-weight: 800; font-family: var(--font-head); 	word-break: auto-phrase;}
.hero-btn { align-self: flex-start; background: #fff; color: var(--c-primary); padding: 14px 32px; border-radius: 99px; font-weight: 700; font-size: 0.9rem; transition: all 0.3s; margin-top: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.hero-nav { position: absolute; bottom: 30px; right: 30px; display: flex; gap: 10px; z-index: 10; }
.hero-dot { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; background: transparent; }
.hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.3); }
.hero-kicker {
	color: #000;
	font-weight: 600;
}

/* Grid & Content */
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; margin-top: 3rem; }
@media(max-width: 1000px) { .page-grid { grid-template-columns: 1fr; } }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; align-items: center; }
.filter-label { font-weight: 700; margin-right: 10px; text-transform: uppercase; font-size: 0.85rem; }
.filter-btn { background: var(--c-white); border: 1px solid var(--c-border); padding: 8px 12px; border-radius: 99px; font-size: 0.85rem; font-weight: 600; color: var(--c-text-muted); transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--c-dark); color: #fff; border-color: var(--c-dark); transform: translateY(-1px); }
.section-title { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; margin-bottom: 2rem; color: var(--c-dark); padding-bottom: 10px; border-bottom: 3px solid var(--c-primary); display: inline-block; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem; }
.news-card { background: var(--c-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--c-light); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-thumb-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; background: #eee; }
.news-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-thumb-wrap img { transform: scale(1.05); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.news-meta { display: flex; justify-content: flex-end; gap: 10px; font-size: 0.73rem; font-weight: 700; color: var(--c-text-muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; align-items: center;flex-direction: row-reverse;}
.news-product-badge {
	color: #fff;
	background: var(--c-primary);
	padding: 5px 10px;
	border-radius: 20px;
	font-family: var(--font-body) !important; 	font-size: 0.73rem;
	font-weight: 700;
	color: var(--c-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;;
}		.news-kicker { color: var(--c-primary); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; display: block; margin-bottom: 0.25rem; }
.news-headline { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.4; margin-bottom: 1rem; font-weight: 800; color: var(--c-dark); }
.news-excerpt { font-size: 0.95rem; color: var(--c-text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 2.5rem; }
.sidebar-sticky-wrap { position: sticky; top: 120px; }
.widget { background: var(--c-white); padding: 1.75rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.w-title { font-family: var(--font-head); font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--c-dark); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--c-light); padding-bottom: 10px; }

.epaper-preview { perspective: 1000px; text-align: center; margin-bottom: 1.5rem; }
.epaper-img { width: 65%; transform: rotateY(-12deg); transition: transform 0.4s ease; border-radius: 4px; box-shadow: 5px 10px 20px rgba(0,0,0,0.2); }
.epaper-preview:hover .epaper-img { transform: rotateY(0) scale(1.05); }
.btn-full { display: block; width: 100%; text-align: center; background: var(--c-dark); color: #fff; padding: 14px; border-radius: 30px; font-weight: 700; transition: background 0.2s; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.btn-full:hover { background: var(--c-primary); }

.ka-box { border: 2px dashed var(--c-border); border-radius: var(--radius-md); padding: 2rem; text-align: center; transition: 0.3s; cursor: pointer; }
.ka-box:hover { border-color: var(--c-primary); background: #f0fdfe; }

/* Bus Widget Styles */
.bus-widget-form label { font-size: 0.75rem; font-weight: 700; color: var(--c-text-muted); text-transform: uppercase; margin-bottom: 6px; display: block; }
.bus-widget-form input, .ts-control { border-radius: 8px; border: 1px solid var(--c-border); padding: 10px; width: 100%; font-family: inherit; font-size: 0.9rem; background: #fff; }
.bus-btn { width: 100%; background: var(--c-primary); color: #fff; padding: 12px; border-radius: 20px; font-weight: 700; border:none; cursor: pointer; margin-top: 15px; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
.bus-btn:hover { background: var(--c-primary-dark); }

/* Modal */
#sylt-modal-overlay { display: none; position: fixed; z-index: 9999; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; }
#sylt-modal-content { background: #fff; width: 95%; max-width: 600px; height: 80vh; border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
#sylt-modal-loader { position: absolute; inset: 0; background: #fff; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.close-modal { position: absolute; top: 15px; right: 15px; z-index: 20; background: #f1f5f9; border-radius: 50%; width: 32px; height: 32px; display:flex; align-items:center; justify-content:center; cursor: pointer; font-weight:bold; color:#555; transition:0.2s; }
.close-modal:hover { background:#e2e8f0; color:#000; }

/* Map & Banner */
.banner-parallax { position: relative; width: 100%; height: 450px; margin: 5rem 0 0; background-image: url('../img/landingpage/sylt-luftbild-AdobeStock_311176426.jpeg'); background-attachment: fixed; background-position: center; background-size: cover; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.banner-parallax::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.banner-content { position: relative; z-index: 2; max-width: 700px; padding: 0 1rem; }
.banner-headline { font-size: 3rem; font-weight: 800; font-family: var(--font-head); margin-bottom: 1rem; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.btn-green { background-color: var(--c-primary); color: white; display: inline-block; padding: 1rem 2.5rem; border-radius: 99px; font-weight: 700; font-size: 1rem; margin-top: 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.btn-green:hover { background: #12666d; transform: scale(1.05); }

.dist-section { background: var(--c-dark); color: #fff; padding: 5rem 0; }
#map-wrapper { height: 500px; width: 100%; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
#map { width: 100%; height: 100%; }
.map-overlay-header { position: absolute; top: 20px; left: 20px; z-index: 500; background: rgba(255,255,255,0.95); padding: 10px 20px; border-radius: 99px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); display: flex; gap: 15px; align-items: center; }
.map-select { padding: 8px 15px; border: 1px solid #ccc; border-radius: 20px; font-family: inherit; font-size: 0.9rem; outline: none; 
	
	padding-right: 30px;
	font-size: 0.95em;
	line-height: 1.4;
	border: 1px solid var(--medium-gray-border);
	border-radius: 4px;
	box-sizing: border-box;
	vertical-align: middle;
	margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url(../../img/arrow-down.svg);
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 12px;
	cursor: pointer;
	min-width: 150px;
	width: 100%;
}

.leaflet-attribution-flag {
	display: none !important;
}

.main-footer { background: #0f172a; color: #94a3b8; padding: 5rem 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 4rem; }
.f-col h4 { color: #fff; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.f-col a { border-bottom: 1px solid transparent; padding-bottom: 2px; }
.f-col a:hover { color: #fff; border-color: var(--c-primary); }

/* PAGINATION */
.pagination-wrap {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.page-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%; /* Rund */
	background: var(--c-white);
	border: 1px solid var(--c-border);
	color: var(--c-text);
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.page-btn:hover {
	border-color: var(--c-primary);
	color: var(--c-primary);
	background: #f0f9ff;
}

.page-btn.active {
	background: var(--c-primary);
	color: #fff;
	border-color: var(--c-primary);
}

.page-btn.prev-next {
	width: auto;
	padding: 0 15px;
	border-radius: 99px; /* Pillenform für Text */
}

/* MEGA MENU */
.sticky-nav { 
	position: sticky; top: 0; 
	background: rgba(255,255,255,0.98); 
	backdrop-filter: blur(10px); 
	z-index: 9999; 
	border-bottom: 1px solid #f0f0f0; 
	box-shadow: 0 4px 20px rgba(0,0,0,0.03); 
	border-top: 4px solid var(--c-primary);
}
.nav-container { display: flex; align-items: center; position: relative; }

/* Standard Desktop Styles */
.nav-list { display: flex;margin: 0; padding: 0; justify-content: space-between;width: 100%;}
.nav-item { position: static; padding: 0; } /* Static für Full-Width Mega Menu */

.nav-link { 
	display: block; padding: 1.2rem 0; 
	font-family: var(--font-head); 
	font-weight: 700; text-transform: uppercase; 
	font-size: 0.85rem; color: var(--c-dark); 
	letter-spacing: 0.5px; position: relative; 
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--c-primary); }
.nav-link::after { 
	content: ''; position: absolute; bottom: 0; left: 0; 
	width: 0; height: 3px; background: var(--c-primary); 
	transition: width 0.3s; 
}
.nav-item:hover .nav-link::after { width: 100%; }

.mega-dropdown {
	position: absolute; left: 0; right: 0; width: 100vw; margin-left: calc(-50vw + 50%); top: 100%;
	background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
	opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease;
	z-index: 1000; padding: 3rem 0;
}
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.mega-col h4 { font-family: var(--font-head); font-size: 0.9rem; text-transform: uppercase; color: var(--c-accent); margin-bottom: 1.2rem; border-bottom: 2px solid #f0f0f0; padding-bottom: 0.5rem; font-weight: 800; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin-bottom: 0.8rem; }
.mega-col a { color: #666; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; font-weight: 500; }
.mega-col a:hover { color: var(--c-black); font-weight: 600; }



.map-title {
	color: #000;font-family: var(--font-head);
}

.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6); /* Dunkler halbtransparenter Hintergrund */
	backdrop-filter: blur(8px); /* Der Unschärfe-Effekt */
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease; /* Weiches Einblenden */
}

/* Klasse für JS, um es sichtbar zu machen */
.popup-overlay.show {
	opacity: 1;
}

/* Die Box selbst */
.popup-container {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 600px; /* Nicht zu breit */
	border-radius: 16px; /* Moderne Rundung */
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* Tiefer Schatten */
	transform: scale(0.95) translateY(20px);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Leichter Bounce-Effekt */
	overflow: hidden;
}

/* Animationszustand sichtbar */
.popup-overlay.show .popup-container {
	transform: scale(1) translateY(0);
}

/* Schließen Button Design */
.popup-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: all 0.2s;
	z-index: 10;
	color: #333;
}
.popup-close-btn:hover {
	background: #18848c; /* Deine Accent Farbe */
	color: #fff;
	transform: rotate(90deg);
}

/* Bild */
.popup-image {
	width: 100%;
	height: auto;
	display: block;
}

/* Footer Bereich */
.popup-footer {
	padding: 12px;
	text-align: center;
	background: #f9f9f9;
	border-top: 1px solid #eee;
}
.popup-dismiss {
	font-family: var(--font-body);
	font-size: 0.85rem;
	color: #888;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.2s;
}
.popup-dismiss:hover {
	color: var(--c-dark);
	text-decoration: underline;
}

/* =========================================
   MODERN MOBILE MENU (OFF-CANVAS)
   ========================================= */

/* Standardmäßig versteckte Elemente */
.mobile-menu-toggle, .mobile-menu-backdrop, .mobile-menu-header, .submenu-toggle {
	display: none;
}

@media (max-width: 991px) {
	
	.footer-grid {
		text-align: center;
	}
	
	.main-footer .f-logo {
		max-width: 215px;
		margin: 0 auto 15px;
	}
	
	.police-bar {
		margin: 0 1.5rem;
	}
	
	.news-meta { display: flex; justify-content: space-between; gap: 0px; font-size: 0.73rem; font-weight: 700; color: var(--c-text-muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; align-items: center;}

	
	/* Wichtig: Verhindert horizontales Scrollen auf der Hauptebene */
	html, body {
		overflow-x: hidden;
		width: 100%;
		position: relative;
	}
	
	.hero-content {
		padding: 1rem 1rem 3rem;
	}
	.hero-title {
		font-size: 1.9rem;
	}
	
	.hero-btn {
		width: 100%;
		text-align: center;
	}
	
	.hero-nav {
		position: absolute;
		bottom: 15px;
		right: auto;
		display: flex;
		gap: 10px;
		z-index: 10;
		justify-self: center;
		width: 100%;
		text-align: center;
		justify-content: center;
	}
	
	.brand-header {
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	
	.brand-logo img {
		height: auto !important;
	}
	
	.top-bar .back-link, .social {
		display: none !important;
	}
	.top-bar .erster {
		padding-left: 0px !important;
		border-left: 0 !important;
	}

	/* --- TOP BAR & HEADER ANPASSUNGEN (wie gehabt) --- */
	.top-inner {gap: 10px; text-align: center; }
	.header-grid { flex-direction: column; gap: 1rem; padding-bottom: 1rem; }
	.header-actions { width: 100%; flex-direction: column-reverse; gap: 1rem; }
	.search-wrapper { width: 100%; }
	.nav-container { justify-content: space-between; align-items: center; padding: 10px 1.5rem; }

	/* --- BURGER BUTTON --- */
	.mobile-menu-toggle {
		display: flex; align-items: center; justify-content: center;
		background: transparent; border: none; color: var(--c-dark);
		cursor: pointer; padding: 5px;
	}
	.mobile-menu-toggle span { font-size: 32px; }
	
	.mobile-menu-toggle:after {
		content: "Menü öffnen";
		font-size: 1.1rem;
		line-height: 1.2;
		font-weight: 800;
		font-family: var(--font-head);
		text-transform: uppercase;
		margin-left: 10px;
	}

	/* --- BACKDROP (Dunkler Hintergrund) --- */
	.mobile-menu-backdrop {
		display: block; position: fixed; inset: 0;
		background: rgba(0,0,0,0.5); z-index: 1999;
		opacity: 0; visibility: hidden; transition: all 0.3s ease;
		backdrop-filter: blur(3px); /* Unschärfe-Effekt */
	}
	.mobile-menu-backdrop.active { opacity: 1; visibility: visible; }

	/* --- OFF-CANVAS MENU CONTAINER --- */
	.nav-list {
		display: block; /* Immer block, aber verschoben */
		position: fixed; top: 0; right: -100%; /* Rechts rausgeschoben */
		width: 100%;
		background: #fff; z-index: 2000;
		padding: 0; margin: 0;
		flex-direction: column; gap: 0;
		box-shadow: -5px 0 20px rgba(0,0,0,0.1);
		transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smoothe Animation */
		overflow-y: auto; /* Scrollbar wenn zu lang */
	}

	.nav-list.active { right: 0; } /* Hereinrutschen */

	/* --- MENU HEADER (Intern) --- */
	.mobile-menu-header {
		display: flex; justify-content: space-between; align-items: center;
		padding: 20px; border-bottom: 1px solid var(--c-border);
		background: #f8fafc; margin-bottom: 10px;
	}
	.mobile-menu-close {
		background: none; border: none; cursor: pointer; color: var(--c-text);
	}

	/* --- LINKS & ITEMS --- */
	.nav-item { width: 100%; border-bottom: 1px solid #f1f5f9; position: relative; }
	.nav-link { padding: 15px 20px; font-size: 1rem; display: inline-block; width: 100% }
	.nav-link::after { display: none; } /* Unterstrich weg */

	/* --- SUBMENU TOGGLE (PFEIL) --- */
	.nav-link-wrapper {
		display: flex; justify-content: space-between; align-items: center; width: 100%;
	}
	.submenu-toggle {
		display: flex; align-items: center; justify-content: center;
		width: 50px; height: 50px; cursor: pointer;
		border-left: 1px solid #f1f5f9; color: var(--c-text-muted);
		transition: background 0.2s;
	}
	.submenu-toggle:hover { background: #f8fafc; color: var(--c-primary); }
	
	/* Rotation bei Klick */
	.nav-item.open > .nav-link-wrapper .submenu-toggle span {
		transform: rotate(180deg); transition: transform 0.3s;
	}

	/* --- MEGA DROPDOWN (AKKORDEON) --- */
	.mega-dropdown {
		position: static; /* Im Fluss */
		width: 100%; margin: 0; box-shadow: none; border: none;
		opacity: 1; visibility: visible; transform: none;
		display: none; /* Standardmäßig zu */
		padding: 0; background: #f8fafc;
		border-top: 1px solid #eee;
	}
	
	/* Wenn Parent .open hat, anzeigen */
	.nav-item.open .mega-dropdown { display: block; animation: fadeIn 0.3s; }

	.mega-grid {
		grid-template-columns: 1fr; gap: 0; padding: 0;
	}
	.mega-col { padding: 15px 25px; border-bottom: 1px solid #eee; }
	.mega-col h4 { margin-bottom: 10px; font-size: 0.8rem; color: var(--c-primary); }
	.mega-col ul li { margin-bottom: 8px; }
	.mega-col a { font-size: 0.9rem; color: #555; }
}

@media (max-width: 600px) {
	.top-links a:first-child {
		margin-left: 0px;
	}
	.top-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@keyframes fadeIn { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }

/* --- ARTIKEL SPEZIFISCHE STYLES (in SSP/style.css einfügen) --- */

.konti { text-align: justify !important; hyphens: auto; }

/* LAYOUT */
.article-grid { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; margin-bottom: 4rem; }
@media(max-width: 1000px) { .article-grid { grid-template-columns: 1fr; } }

/* HEADER BEREICH */
.article-header { margin-bottom: 2rem; }
.meta-line { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; font-size: 0.8rem; text-transform: uppercase; font-weight: 700; color: #999; }
.badge { background: var(--c-primary, #128990); color: #fff; padding: 4px 10px; border-radius: 2px; letter-spacing: 0.5px;border-radius: 20px; }

.kicker { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.9rem; color: var(--c-primary, #128990); text-transform: uppercase; margin-bottom: 0.5rem; letter-spacing: 1px; }
.headline { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 2.3rem; line-height: 1.1; color: #1a1a1a; margin-bottom: 1.5rem; 	word-break: auto-phrase;}
@media(max-width: 768px) { .headline { font-size: 1.5rem; } .kicker {
	font-size: 0.9rem;
}}

/* BILDER */
.main-image-wrap { margin-bottom: 1rem; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); position: relative; background: #eee; }
.main-image-wrap img { width: 100%; height: auto; display: block; }

.img-credit {
	position: absolute; bottom: 0; right: 0;
	background-color: rgba(0, 0, 0, 0.6); color: #fff;
	font-size: 10px; padding: 3px 6px; z-index: 5;
	font-family: sans-serif; border-top-left-radius: 4px;
	backdrop-filter: blur(2px); pointer-events: none;
}

.article-caption {
	font-size: 0.9rem; color: #555;
	margin-top: 0rem; margin-bottom: 1.5rem;
	font-style: italic; line-height: 1.4;
	border-left: 3px solid var(--c-primary, #128990); padding-left: 10px;
}

/* TEXT */
.article-body { font-size: 1.15rem; line-height: 1.8; color: #333; }
.article-body p { margin-bottom: 1.5rem; }
.article-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; margin: 2.5rem 0 1rem; font-weight: 800; color: #1a1a1a; }
.article-body a { color: var(--c-primary, #128990); text-decoration: underline; font-weight: 600; }
.article-body ul, .article-body ol { margin-bottom: 1.5rem; margin-left: 20px; }
.article-body li { margin-bottom: 0.5rem; }

/* GALERIE */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; margin-top: 0rem; }
.gallery-item { border-radius: 6px; overflow: hidden; height: 140px; cursor: pointer; transition: transform 0.2s; background: #eee; position: relative; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* TEILEN BUTTONS */
.share-box { padding: 2rem 0; border-top: 1px solid #eee; margin-top: 3rem; display: flex; gap: 15px; align-items: center; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #666; transition: 0.2s; }
.share-btn:hover { background: var(--c-primary, #128990); color: #fff; }

/* MODAL (Galerie Popup) */
.gallery-overlay {
	display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%;
	overflow: hidden; background-color: rgba(0,0,0,0.92); backdrop-filter: blur(8px);
	justify-content: center; align-items: center; flex-direction: column;
}
.gallery-content-wrapper { position: relative; max-width: 90%; max-height: 90vh; display:flex; align-items:center; justify-content:center; }
.gallery-overlay-img {
	max-width: 100%; max-height: 85vh; border-radius: 6px; 
	box-shadow: 0 10px 40px rgba(0,0,0,0.6); object-fit: contain; 
	opacity: 0; transform: scale(0.95); transition: opacity 0.3s, transform 0.3s;
}
.gallery-overlay-img.loaded { opacity: 1; transform: scale(1); }

.gallery-close {
	position: absolute; top: 20px; right: 20px; width: 50px; height: 50px;
	background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; cursor: pointer; z-index: 10002; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.gallery-close:hover { background: var(--c-primary, #128990); transform: rotate(90deg); }

.gallery-nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px;
	background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; cursor: pointer; z-index: 10001; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.gallery-nav:hover { background: var(--c-primary, #128990); }
.gallery-prev { left: -80px; }
.gallery-next { right: -80px; }
@media(max-width:900px) {
	.gallery-prev { left: 10px; position:fixed; }
	.gallery-next { right: 10px; position:fixed; }
}

.gallery-caption-overlay {
	position: absolute; bottom: 0; left: 0; width: 100%;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	color: #fff; padding: 20px; text-align: center; pointer-events: none;
}
.gallery-caption-text { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 4px; }
.gallery-credit-text { display: block; font-size: 0.75rem; opacity: 0.8; text-transform: uppercase; }

.article-body h1 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 900;
	font-size: 2rem;
	line-height: 1.1;
	color: #1a1a1a;
	margin-bottom: 0;
	color: var(--c-primary, #128990);
	border-bottom: 1px solid #f2f2f2;
	padding-bottom: 20px;
	margin-bottom: 0px;
}

/* --- DB WIDGET MODERN STYLES --- */
.bahn-widget-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	border-left: 5px solid #ec0016;
	padding: 15px;
	font-family: 'Inter', sans-serif;
	position: relative;
	overflow: hidden;
	max-width: 1240px;
	margin: 0 auto 30px;
}

.bahn-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 8px;
}

.bahn-brand {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	color: #333;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bahn-icon-bg {
	background: #ec0016;
	color: white;
	width: 24px; height: 24px;
	border-radius: 4px;
	display: flex; align-items: center; justify-content: center;
}

.bahn-content {
	display: flex;
	gap: 5px;
	transition: opacity 0.2s ease-in-out;
}

.bahn-row-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bahn-time {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
}

.bahn-line-badge {
	background: #f3f4f6;
	color: #666;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 600;
}

.bahn-destination {
	font-size: 1rem;
	font-weight: 600;
	color: #444;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex; 
	align-items: center;
	gap: 5px;
}

/* Status Pillen */
.status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 8px;
}

.status-ok { background: #dcfce7; color: #166534; }   /* Grün */
.status-warn { background: #fef9c3; color: #854d0e; } /* Gelb */
.status-alert { background: #fee2e2; color: #991b1b; animation: pulseRed 2s infinite; } /* Rot */

@keyframes pulseRed { 0% {opacity: 1;} 50% {opacity: 0.6;} 100% {opacity: 1;} }

/* Navigation */
.bahn-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
}

.bahn-nav button {
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	transition: 0.2s;
	padding: 0;
	display: flex; align-items: center;
}
.bahn-nav button:hover { color: #ec0016; transform: scale(1.1); }

/* Loader Placeholder */
.skeleton {
	background: #eee;
	height: 20px;
	width: 100%;
	margin-bottom: 5px;
	border-radius: 4px;
	animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }

/* --- SECTION MAP / MEDIENPRÄSENZ --- */
.section-map {
	padding: 5rem 0;
	background-color: #fff; /* Oder #f9f9f9 für leichte Abhebung */
	position: relative;
}

/* Header Bereich */
.section-header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.section-title {
	font-family: var(--font-head, 'Montserrat', sans-serif);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--c-dark, #333);
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}

.section-header .divider {
	width: 60px;
	height: 4px;
	background-color: var(--c-accent, #18848c);
	margin: 15px auto;
	border-radius: 2px;
}

.section-subtitle {
	font-family: var(--font-body, 'Inter', sans-serif);
	color: var(--c-grey, #666);
	font-size: 1.1rem;
}

/* Layout Wrapper */
.map-wrapper {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

/* Linke Spalte: Info & Selektor */
.map-info-col {
	flex: 0 0 350px; /* Feste Breite für die Info-Spalte */
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Rechte Spalte: Karte */
.map-visual-col {
	flex-grow: 1;
	position: relative;
}

/* Info Box Design */
.info-box {
	background: #f8f9fa;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.info-title {
	font-family: var(--font-head, 'Montserrat', sans-serif);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--c-accent, #18848c);
	margin-bottom: 5px;
}

.info-subtitle {
	font-size: 0.85rem;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 25px;
	font-weight: 600;
	letter-spacing: 1px;
}

/* Statistik Zeilen */
.stat-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e2e8f0;
	font-family: var(--font-body, 'Inter', sans-serif);
}

.stat-row:last-child {
	border-bottom: none;
}

.stat-label {
	color: #64748b;
	font-weight: 500;
}

.stat-value {
	font-weight: 700;
	color: var(--c-dark, #333);
	font-size: 1.1rem;
}

/* Dropdown Box */
.map-selector-box {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	padding: 5px;
}

/* Karte */
#syltMap {
	width: 100%;
	height: 500px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	border: 1px solid #e2e8f0;
	z-index: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.map-wrapper {
		flex-direction: column-reverse; /* Karte nach oben, Infos nach unten */
	}
	
	.map-info-col {
		width: 100%;
		flex: none;
	}
	
	.map-visual-col {
		width: 100%;
	}
	
	#syltMap {
		height: 350px; /* Etwas kleiner auf Mobile */
	}
}

/* --- TO TOP BUTTON --- */
#toTopBtn {
	display: none; /* Standardmäßig ausgeblendet */
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 999; /* Über allem liegen */
	border: none;
	outline: none;
	background-color: var(--c-accent, #18848c); /* Deine Türkis-Farbe */
	color: white;
	cursor: pointer;
	width: 50px;
	height: 50px;
	border-radius: 50%; /* Rund */
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: all 0.3s ease;
}

#toTopBtn:hover {
	background-color: var(--c-dark, #333); /* Dunkel beim Hover */
	transform: translateY(-5px); /* Kleiner Hüpfer */
	box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#toTopBtn span {
	font-size: 24px;
	font-weight: bold;
}

.kleinanzeigeheadline {
	font-family: var(--font-head);
	font-size: 2rem;
	font-weight: 800;
	color: var(--c-dark, #333);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	padding-bottom: 10px;
}

.legal-content ul {
	list-style: inside;
	margin-bottom: 15px;
	margin-top: 15px;
}

.legal-content ul li {
	border-top: 1px dotted #ccc;
  padding-top: 10px;
  margin-top: 10px;
}

.legal-content ul li:first-child {
	border-top: 0px dotted #ccc;
  padding-top: 10px;
  margin-top: 10px;
}


.legal-content p {
	margin-top: 15px;
}

.legal-content ol li {
	list-style: decimal;
	margin-left: 20px;
}

.legal-content ol {
	margin-top: 20px;
}

.legal-content th, .legal-content td {
	text-align: left;
  padding: 8px;
}

.legal-content h1 {
	font-family: var(--font-head);
	color: #1e293b;
	margin-bottom: 15px;
	font-size: 2rem;
	border-bottom: 2px solid #18848c;
	padding-bottom: 15px;
	display: inline-block;
	word-break: break-all;
}

.legal-content ul li ul li:first-child {
	margin-top: 0px;
	padding-top: 0px;
	border-top: 0px;
}

.legal-content ul li ul li {
	border-top: 1px dotted #ccc;
  padding-top: 10px;
  margin-top: 10px;
}

.legal-content ul li ul {
	list-style: circle;
	margin-bottom: 15px;
	margin-top: 15px;
	margin-left: 30px;
}

.legal-content td, .legal-content th {
	border: 1px solid #ccc;
	
}

.legal-content h2 {
	font-family: var(--font-head);
	color: #1e293b;
	margin-bottom: 15px;
	font-size: 1rem;
	border-bottom: 2px solid #18848c;
	padding-bottom: 15px;
	display: inline-block;
}

.checkbox-wrapper a {
	font-weight: 700;
}