/* =====================================================================
   STHA – Angleichung Eclipse X / Contao 5.3 an das bisherige Layout
   Gilt für alle Domains: in JEDEM Seitenlayout als letzte CSS-Datei
   einbinden: <link rel="stylesheet" href="files/css/eclipsex.css" />
   ===================================================================== */

/* --- Hausfarbe je Website (Startpunkt-ID aus der Body-Klasse root_…) --- */
.root_1    { --sth-color: #00a0c4; } /* Stadthafen Leipzig        */
.root_2610 { --sth-color: #38aa3f; } /* Bootsverleih Scheibenholz */
.root_2765 { --sth-color: #af1816; } /* Cospudener Combüse        */
.root_2920 { --sth-color: #ef7d25; } /* Hainer Seeterrasse        */
.root_3242 { --sth-color: #f4c822; } /* Cospudener SUP-Station    */
.root_3222 { --sth-color: #00a7ae; } /* Bootsverleih Kanuclub     */

/* --- Header: Hauptmenü wieder in einer Zeile neben dem Logo ---------- */
#header .inside { line-height: 0; }
#header nav.mainmenu,
#header nav.mainmenu ul.level_1 { line-height: 0; }
#header nav.mainmenu .a-level_1,
#stickyheader nav.mainmenu .a-level_1 { font-size: 16px; }
#header .logo { height: 60px; }

/* Untermenü-Pfeile von Eclipse X ausblenden (gab es bisher nicht) */
#header nav.mainmenu .a-level_1::after,
#stickyheader nav.mainmenu .a-level_1::after { display: none; }

/* Abstand vor "DOCK 20" und "Shop" wie bisher */
#header nav.mainmenu ul.level_1 > li.floatbox:not(:first-child) ol.inner > li:first-child,
#stickyheader nav.mainmenu ul.level_1 > li.floatbox:not(:first-child) ol.inner > li:first-child { margin-left: 15px; }

/* Neues Such-Symbol im Header ausblenden (bisher keine Suche im Header) */
#header .mod_search,
#stickyheader .mod_search { display: none; }

/* --- Sticky-Header: Hausfarbe statt dunkelblau, ohne Glas-Effekt ----- */
#stickyheader .header.cloned {
	background: var(--sth-color, #00a0c4) !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

/* --- Mobil: Beschriftung "Menu" am Burger wieder anzeigen ------------ */
#header .mmenu_trigger .label,
#stickyheader .mmenu_trigger .label { display: block; }

/* --- Überschriften: Eclipse X setzt class="h2", das überstimmte -------
       die bisherige Größe aus styles-4.css                               */
h2.h2 { font-size: 52px; }
@media (max-width: 767px) { h2.h2 { font-size: 32px; } }

/* --- Buttons: bisherige Innenabstände und Schriftgrößen -------------- */
:root {
	--hyperlink-large-padding-top: 20px;
	--hyperlink-large-padding-bottom: 20px;
	--hyperlink-large-padding-left: 30px;
	--hyperlink-large-padding-right: 30px;
	--hyperlink-large-font-size: 1.1rem;
	--hyperlink-medium-padding-top: 12px;
	--hyperlink-medium-padding-bottom: 12px;
	--hyperlink-medium-padding-left: 20px;
	--hyperlink-medium-padding-right: 20px;
}

/* --- Button-Rundung wie bisher (Eclipse X: Pillenform) --------------- */
:root { --shape-action-radius: 10px; }

/* --- Listen: gefüllte Punkte statt Kreise ----------------------------- */
#main .ce_text ul li,
#main .ce_bgimage-inside ul li { list-style-type: disc; }

/* --- YouTube-Datenschutzhinweis: schlichter Text statt rotem Kasten ---- */
p.privacy {
	color: inherit;
	background: none;
	font-weight: inherit;
	padding: 0;
	margin: 0 0 1em;
	text-align: left;
}
p.privacy a.privacy_optout_click { color: var(--sth-color, #00a0c4) !important; }

/* --- "Nach oben"-Button: heller Kreis wie bisher ---------------------- */
#top_link {
	background-color: rgba(255, 255, 255, .9);
	box-shadow: 0 0 6px rgba(0, 0, 0, .2);
}
#top_link a { color: #555; }
#top_link .progress-ring { display: none; }

/* --- Galerien: türkises Overlay nur beim Hover (Eclipse X: dauerhaft) - */
.ce_gallery .image_container .content {
	opacity: 0;
	transition: opacity .5s;
}
.ce_gallery .image_container:hover .content { opacity: .4; }

/* --- Bilder ohne abgerundete Ecken wie bisher (Eclipse X: 16px) ------- */
:root { --shape-media-radius: 0px; }

/* --- Popups: dunkles Overlay hinter dem Popup wie bisher --------------
       (Eclipse X hat die Option "overlay_dark" am Popup-Element entfernt) */
.ce_popup_start.popup_show .ce_popup_overlay { background-color: rgba(0, 0, 0, .6); }
