:root { --top-height: 190px; }

body:has(#default_form_admin_login_wrapper) #content { background: transparent !important; display: block; padding: 0; min-height: auto; }
body:has(#default_form_admin_login_wrapper) #content .content { margin-left: 0; background-color: transparent; width: 100%; padding: 48px 5%; }
body:has(#default_form_admin_login_wrapper) { display: block; }

html.overlay {overflow-y: hidden;}
html.overlay #content,
html.overlay #footer {display: none;}

/*BASIC*/
.cf:before, .cf:after {content:""; display:table;} .cf:after {clear:both;} .cf {zoom:1;}

@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/josefin-sans-v12-latin-300.eot'); /* IE9 Compat Modes */
  src: local('Josefin Sans Light'), local('JosefinSans-Light'),
       url('fonts/josefin-sans-v12-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/josefin-sans-v12-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/josefin-sans-v12-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/josefin-sans-v12-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/josefin-sans-v12-latin-300.svg#JosefinSans') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Bilbo Swash Caps';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/bilbo-swash-caps-v9-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Bilbo Swash Caps Regular'), local('BilboSwashCaps-Regular'),
       url('fonts/bilbo-swash-caps-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/bilbo-swash-caps-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/bilbo-swash-caps-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/bilbo-swash-caps-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/bilbo-swash-caps-v9-latin-regular.svg#BilboSwashCaps') format('svg'); /* Legacy iOS */
}

.font_body, .font_logo, .font_nav, .font_slogan{font-family:'Josefin Sans', sans-serif;}

.font_slogan{font-family:'Bilbo Swash Caps', cursive;}

body {margin: 0; padding: 0;}
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6, #content p {margin: 0; padding: 0; font-weight: normal;}

/*BODY*/

#slogan h1 {font-family: 'Bilbo Swash Caps', cursive; font-weight: 400; line-height: 50px; font-size: 34px; color: #fff; position: absolute; right: 35px; top: 35px;}

#content .content_block h1 {color: #fff; font-size: 29px; font-weight: normal; margin: 32px 0 20px 0; padding-bottom: 10px; line-height: 1.3; border-bottom: 1px solid rgba(255,255,255,0.2);}

#content .content_block:first-child h1 {margin-top: 0;}

#content .content_block .text_block h2 {color: #fff; font-size: 24px; font-weight: normal; margin: 28px 0 16px 0; padding-bottom: 8px; line-height: 1.4; border-bottom: 1px solid rgba(255,255,255,0.15);}

#content .content_block .text_block p {font-size: 19px; font-weight: normal; margin-top: 14px; color: rgba(255,255,255,0.92); line-height: 1.6;}

#content .content_block h3 {color: #fff; font-size: 22px; font-weight: normal; margin: 32px 0 12px 0; line-height: 1.4;}

#content .content_block ul {margin-top: 12px; padding-left: 24px;}

body {width: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}

body.no_scroll { overflow-y: hidden;}

body.dc_overlay { overflow-y: auto; height: 100vh;}

body.dc_overlay #footer  { display: none;}

body { width: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background: #ddd;}

.err_internal_link_broken { padding: 20px; font-size: 17px; color: #FF3300;}

#top, #content, #footer { width: 100%; margin: 0 auto 0 auto; box-sizing: border-box;}

.content .legal a { text-decoration: underline !important; word-break: break-all;}

#top { position: fixed; top: 0; left: 0; right: 0; height: 190px; z-index: 100; background: #ddd url(../_img/bg_full3.jpg) no-repeat center/cover fixed;}
#top > .content_block { height: 100%; }

#logo { position: absolute; top: 20px; left: 20px; height: 100px; box-sizing: border-box; z-index: 1;}

#logo img {height: 170px; width: auto; cursor: pointer;}

#static_icon_loading { display: none; position: absolute; top: 200px; left: 30px; width: 130px; height: 20px; background-image: url(../_img/ui/loading_dc.svg); background-repeat: no-repeat; background-position: center; z-index: 100;}

#static_btn_nav { display: none; appearance: none; -webkit-appearance: none; border: none; background: none; padding: 0; margin: 0; cursor: pointer;}

#navigation { position: absolute; bottom: 0; left: 0; right: 0; height: 50px; box-sizing: border-box; width: 100%; padding-left: 19%; background-color: rgba(255,255,255,0.3);}

#navigation + .hig_admin_item_marker_wrapper { top: auto !important; left: 0 !important; right: 0 !important; bottom: 0 !important; height: 50px !important; width: 100% !important; margin: 0 !important; padding: 0 !important;}

#navigation .link { float: left; line-height: 50px; font-size: 18px; color: #000; text-decoration: none; cursor: pointer; width: 16%; text-align: center;}

#navigation .link.active { color: #111;}

#navigation #static_btn_close_menu { display: none;}

#navigation .nav_popup_wrapper { float: left; position: relative;}

#navigation .nav_popup { position: absolute; left: 0; top: 40px; background-color: #fff; width: 150px; box-sizing: border-box; z-index: 9999; display: none; -webkit-box-shadow: 1px 1px 1px 0 #888; -moz-box-shadow: 1px 1px 1px 0 #888; box-shadow: 1px 1px 1px 0 #888;}

#navigation .nav_popup.visible { display: block;}

#navigation .nav_popup .link:hover { background-color: #eee;}

#navigation .nav_popup .link { display: block; width: 100%; box-sizing: border-box; padding: 0 0 0 15px; text-align: left; font-size: 13px;}

#navigation.overlay .nav_popup_wrapper { display: block; width: 180px;}

#navigation.overlay .nav_popup { position: relative; float: left; display: block; top: auto; left: auto; width: 100%; padding: 0; border: 0; border-left: 1px solid #441405; border-bottom: 1px solid #441405; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;}

#navigation.overlay .nav_popup .link { width: auto; height: 30px; line-height: 30px; padding: 0 5px 0 5px; font-size: 11px; border: 0; text-align: center;}

#navigation.overlay .nav_popup .link:hover { background-color: #fff;}

/*CONTENT MAIN CONTAINER*/

#content { margin-top: 190px; z-index: 0; width: 100%;}

/* Admin bar offset (50px fixed bar above #top) */
body.hig_admin_logged_in #top { top: 50px; overflow: visible !important;}
body.hig_admin_logged_in #logo { top: 20px;}
body.hig_admin_logged_in #home_info_opening_times { top: 80px;}
@media (max-width: 900px) { body.hig_admin_logged_in #home_info_opening_times { top: auto; bottom: 0; } }
body.hig_admin_logged_in #content { margin-top: 240px;}

#content .content {margin-bottom: 80px; width: 50%; margin-left: 22%; padding: 48px 5% 80px 5%; background-color: rgba(0,0,0,0.85);}
#content .content .content_block {padding: 8px 0; color: rgba(255,255,255,0.92);}

.content{display: none;}
.content.active {display: block;}
.content_block {position: relative; width: 100%; margin: 0; clear: both; box-sizing: border-box;}
#content .content_block p {font-size: 19px; margin-top: 14px; line-height: 1.6; color: rgba(255,255,255,0.92);}
#content .content_block li {font-size: 19px; padding: 4px 0; list-style-type: circle; line-height: 1.6; color: rgba(255,255,255,0.92);}

.static_info_top { position: absolute; top: 20px; height: 25px; line-height: 25px; padding-left: 25px; font-size: 13px; color: #111; background-size: 20px 20px; background-position: left center; background-repeat: no-repeat; }

a.return_link { position: absolute; top: 10px; left: 0; padding-left: 25px; color: #B2B2B2; line-height: 16px; background-image: url(/_img/ui/chevron-left-gray.svg); background-repeat: no-repeat; background-position: left 5px center; background-size: 18px 18px; font-weight: bold; font-size: 14px;}

#offline_indicator { display: none; position: absolute; top: 0; left: 0; right: 0; width: 180px; margin: 25px auto 0 auto; line-height: 20px; text-align: center; font-size: 14px; color: #111;}

body.offline #offline_indicator { display: block;}

/*SPECIFIC*/

#footer { width: 100%; padding: 30px 5%; box-sizing: border-box; background-color: rgba(0,0,0,0.85); text-align: center; z-index: 0;}

#footer a { line-height: 24px; padding: 8px 12px; text-decoration: none; color: rgba(255,255,255,0.7); font-size: 18px; display: inline-block;}
#footer a:hover { color: #fff;}

#footer .content_block { width: auto;}
#footer .default_footer_link_list { margin: 0 0 8px 0;}
#footer .default_footer_link_list ul { list-style: none; margin: 0; padding: 0;}
#footer .default_footer_link_list li { display: inline-block; margin: 0;}
#footer .default_footer_link_list h3 { display: none;}
#footer .content_block > p { color: rgba(255,255,255,0.4); font-size: 13px; margin: 0;}

/* SCROLL TO TOP BUTTON */
#hig_static_btn_scroll_top {
	display: none; position: fixed; bottom: 40px; right: 20px;
	width: 44px; height: 44px; box-sizing: border-box;
	border: 1.5px solid rgba(255,255,255,0.25); border-radius: 50%;
	background-color: rgba(0,0,0,0.6); cursor: pointer; z-index: 110;
	padding: 0; margin: 0; -webkit-appearance: none; appearance: none;
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	transition: background-color 0.2s, border-color 0.2s;
}
#hig_static_btn_scroll_top::after {
	content: ""; display: block; width: 10px; height: 10px;
	border-top: 2.5px solid #fff; border-left: 2.5px solid #fff;
	transform: rotate(45deg); margin: 8px auto 0;
}
#hig_static_btn_scroll_top:hover { background-color: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.45);}
#hig_static_btn_scroll_top:focus-visible { outline: 3px solid #fff; outline-offset: 3px;}

#home_info_opening_times { position: absolute; right: 25px; top: 80px;}
#home_info_opening_times p { padding: 0 10px 0 10px; border-radius: 8px; height: 56px; line-height: 28px; color: #242185; font-weight: bold; text-decoration: none; text-align: right; font-size: 22px; overflow: hidden; text-shadow: 0px 0px 3px #fff; margin: 0;}

#content .content_block a { color: #8ec8e8; text-decoration: underline; text-decoration-color: rgba(142,200,232,0.4); text-underline-offset: 2px; transition: text-decoration-color 0.15s;}

#content .content_block a:hover { text-decoration-color: #8ec8e8;}

#content .content_block a:focus-visible { outline: 2px solid #8ec8e8; outline-offset: 2px; border-radius: 2px;}

#content .content .default_link { margin-right: 4%; text-align: right; margin-top: 30px; color: #fff; display: none;}

#content .content_block img { display: block; max-width: 100%; border-radius: 2px;}

/* ── SPEISEKARTE — Restaurant menu card ── */

.default_basic_speisekarte { margin-bottom: 8px;}

.default_basic_speisekarte .title {
	text-align: center; text-transform: uppercase; letter-spacing: 3px;
	color: #fff; font-size: 22px; line-height: 1.3;
	padding: 14px 0; margin: 40px 0 24px 0;
	border-top: 1px solid rgba(255,255,255,0.2); border-bottom: 1px solid rgba(255,255,255,0.2);}

.default_basic_speisekarte .title:first-child { margin-top: 0;}

.default_basic_speisekarte .entry {
	display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 3px;
	padding: 16px 0; color: rgba(255,255,255,0.92);
	border-bottom: 1px solid rgba(255,255,255,0.06);}

.default_basic_speisekarte .entry:last-child { border-bottom: none;}

.default_basic_speisekarte .name {
	grid-column: 1; grid-row: 1; font-size: 20px; line-height: 1.4;}

.default_basic_speisekarte .price {
	grid-column: 2; grid-row: 1; font-size: 20px; line-height: 1.4;
	text-align: right; white-space: nowrap; color: #fff;}

.default_basic_speisekarte .description {
	grid-column: 1 / -1; font-size: 17px; line-height: 1.5;
	color: rgba(255,255,255,0.7); margin-top: 2px;}

.default_basic_speisekarte .translation_en {
	grid-column: 1 / -1; font-size: 17px; line-height: 1.5;
	color: #f0ca7e; font-style: italic; margin-top: 2px;}

.default_basic_speisekarte .ingredients {
	grid-column: 1 / -1; font-size: 15px; line-height: 1.5;
	color: rgba(255,255,255,0.45); margin-top: 4px;}

.default_basic_speisekarte .entry .line {
	grid-column: 1 / -1; font-size: 19px; line-height: 1.6; margin: 0; padding: 0;}

.default_basic_speisekarte .entry .line:empty { display: none;}

.default_basic_speisekarte .entry .line:not(:empty) {
	font-size: 17px; font-style: italic; color: rgba(255,255,255,0.55); margin-top: 8px;}

/* Variant sub-entries (no name/price — subordinate to previous entry) */
.default_basic_speisekarte .entry:not(:has(.name)) {
	padding: 8px 0 8px 24px; border-bottom-color: rgba(255,255,255,0.03);}

/* Parent entry before variants — no bottom border */
.default_basic_speisekarte .entry:has(.line) {
	border-bottom: none; padding-bottom: 4px;}

/* Text blocks between menu sections (notes) */
.content_block:has(.default_basic_speisekarte) > .text_block { margin: 20px 0; padding: 14px 0;}

.content_block:has(.default_basic_speisekarte) > .text_block p:empty { display: none;}

.content_block:has(.default_basic_speisekarte) > .text_block b { font-weight: normal; letter-spacing: 0.3px;}

/* Legend — allergen key */
.default_basic_speisekarte .legend {
	font-size: 15px; line-height: 1.5;
	color: rgba(255,255,255,0.45); margin-top: 32px; padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.1);}

/* ── BUFFET — Prix-fixe packages ── */

.default_basic_buffet {
	display: grid; grid-template-columns: 1fr auto; column-gap: 20px;
	padding: 24px 0; margin: 8px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.92);}

.default_basic_buffet:last-of-type { border-bottom: none;}

.default_basic_buffet .name {
	grid-column: 1; grid-row: 1; font-size: 22px; line-height: 1.3;}

.default_basic_buffet .price {
	grid-column: 2; grid-row: 1; font-size: 22px; line-height: 1.3;
	text-align: right; white-space: nowrap; color: #fff;}

.default_basic_buffet .entry {
	grid-column: 1 / -1; font-size: 19px; line-height: 1.6;
	padding: 4px 0; margin-left: 24px; color: rgba(255,255,255,0.8);
	display: list-item; list-style-type: circle;}

#content .content_block .warning { color: #ff4d4d; font-size: 19px;}

/*GALLERY GRID*/

.default_gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px;}

.default_gallery .thumbnail { cursor: pointer; overflow: hidden; aspect-ratio: 1; background-color: rgba(255,255,255,0.05); border-radius: 2px; position: relative;}

.default_gallery .thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s ease, transform 0.2s ease;}

.default_gallery .thumbnail:hover img { opacity: 0.8; transform: scale(1.03);}

.default_gallery .thumbnail:focus-within { outline: 2px solid #8ec8e8; outline-offset: 2px;}

.default_basic_default_gallery { margin-bottom: 40px;}

/* ── NEW GALLERY GRID (al_gallery) ── */

.al_gallery { margin-bottom: 40px;}

.al_gallery_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px;}

#content .al_gallery_grid .al_gallery_item { display: block; cursor: pointer; overflow: hidden; aspect-ratio: 1; background-color: rgba(255,255,255,0.05); border-radius: 2px; position: relative; text-decoration: none;}

.al_gallery_grid .al_gallery_item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s ease, transform 0.2s ease;}

.al_gallery_grid .al_gallery_item:hover img { opacity: 0.8; transform: scale(1.03);}

.al_gallery_grid .al_gallery_item:focus-visible { outline: 2px solid #8ec8e8; outline-offset: 2px;}

/* ── GALLERY SIMPLE OVERLAY (FRESH style) ── */

#default_static_overlay_gallery_simple {
	display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
	padding: 1%; box-sizing: border-box;
	background-color: rgba(0,0,0,0.7); z-index: 9000;
}

#default_static_overlay_gallery_simple .inner {
	position: relative; width: 100%; height: 100%;
	background-color: #fff; padding: 1.9rem; box-sizing: border-box;
	overflow: auto; max-width: unset; box-shadow: none; border-radius: 0; margin: 0;
}

#default_static_overlay_gallery_simple .image_container {
	height: calc(100% - 130px); margin: 40px auto 0 auto;
	box-sizing: border-box; text-align: center; width: fit-content;
}

#default_static_overlay_gallery_simple .image_container img {
	max-height: 100%; max-width: 100%; display: inline;
	object-fit: contain; object-position: top; cursor: pointer;
}

#default_static_overlay_gallery_simple .copyright_note {
	font-size: 12px; line-height: 1.5rem; text-align: center; color: #888;
}

#default_static_overlay_gallery_simple .image_meta { margin-top: 20px; text-align: center;}
#default_static_overlay_gallery_simple .image_meta .caption { font-size: 14px; line-height: 20px; font-weight: 700; color: #333;}
#default_static_overlay_gallery_simple .image_meta .description { font-size: 14px; line-height: 20px; padding: 0 0 10px 0; color: #666;}

#default_static_overlay_gallery_simple .btn_close,
#default_static_overlay_gallery_simple .btn_previous,
#default_static_overlay_gallery_simple .btn_next {
	position: absolute; width: 40px; height: 40px;
	cursor: pointer; border: 0; background-color: #fff;
	display: grid; place-items: center;
}

#default_static_overlay_gallery_simple .btn_close:hover,
#default_static_overlay_gallery_simple .btn_previous:hover,
#default_static_overlay_gallery_simple .btn_next:hover { background-color: #f0f0f0;}

#default_static_overlay_gallery_simple .btn_close:focus-visible,
#default_static_overlay_gallery_simple .btn_previous:focus-visible,
#default_static_overlay_gallery_simple .btn_next:focus-visible { outline: 2px solid #000;}

#default_static_overlay_gallery_simple .btn_close { top: 7.5px; right: 14px; z-index: 4;}
#default_static_overlay_gallery_simple .btn_close::before,
#default_static_overlay_gallery_simple .btn_close::after {
	content: ''; position: absolute; top: 50%; left: 50%;
	width: 15px; height: 2px; background: #333;
}
#default_static_overlay_gallery_simple .btn_close::before { transform: translate(-50%, -50%) rotate(45deg);}
#default_static_overlay_gallery_simple .btn_close::after { transform: translate(-50%, -50%) rotate(-45deg);}

#default_static_overlay_gallery_simple .btn_previous { left: calc(50% - 80px); top: 7.5px;}
#default_static_overlay_gallery_simple .btn_next { right: calc(50% - 80px); top: 7.5px;}

#default_static_overlay_gallery_simple .btn_previous::after,
#default_static_overlay_gallery_simple .btn_next::after {
	content: ''; display: block; width: 10px; height: 10px;
	border-top: 2px solid #333; border-right: 2px solid #333;
}
#default_static_overlay_gallery_simple .btn_previous::after { transform: rotate(-135deg); margin-left: 3px;}
#default_static_overlay_gallery_simple .btn_next::after { transform: rotate(45deg); margin-right: 3px;}

#default_static_overlay_gallery_simple .loading {
	display: none; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ── OLD GALLERY OVERLAY (legacy, remove after migration verified) ── */

#default_static_overlay_gallery {
	display: none; position: fixed; inset: 0;
	z-index: 1000;
	background: rgba(8,8,12,0.96);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	cursor: default;
}

#default_static_overlay_gallery.active {
	display: flex; justify-content: center; align-items: center;
}

/* Controls container */
#default_static_overlay_gallery .buttons {
	position: absolute; inset: 0;
	z-index: 3; pointer-events: none; user-select: none;
}

/* Shared button base — WCAG 2.2:
   Touch target ≥ 44px (2.5.8)
   Focus indicator ≥ 2px, 3:1 contrast (2.4.13)
   UI component contrast ≥ 3:1 (1.4.11)
   Border rgba(255,255,255,0.25) on ~#08080C ≈ effective #444 → ~3.5:1 ✓
   Icon #fff on button fill → ~18:1 ✓ */
#default_static_overlay_gallery .buttons div {
	pointer-events: auto;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	border: 1.5px solid rgba(255,255,255,0.25);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, transform 0.12s, box-shadow 0.2s;
	-webkit-tap-highlight-color: transparent;
}

#default_static_overlay_gallery .buttons div:hover {
	background: rgba(255,255,255,0.15);
	border-color: rgba(255,255,255,0.45);
	box-shadow: 0 0 24px rgba(255,255,255,0.06);
}

#default_static_overlay_gallery .buttons div:active {
	background: rgba(255,255,255,0.22);
}

/* WCAG 2.4.13: Focus Appearance — ≥2px outline, high contrast */
#default_static_overlay_gallery .buttons div:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(255,255,255,0.15);
}

/* ── Nav arrows — circular, vertically centered ── */

#default_static_overlay_gallery .btn_nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 56px; height: 56px;
	font-size: 0; overflow: hidden;
	z-index: 3;
}

#default_static_overlay_gallery .btn_nav.previous { left: 20px; }
#default_static_overlay_gallery .btn_nav.next { right: 20px; }

/* CSS-only chevron arrows */
#default_static_overlay_gallery .btn_nav::after {
	content: '';
	display: block;
	width: 16px; height: 16px;
	border-top: 2.5px solid #fff;
	border-right: 2.5px solid #fff;
	border-radius: 1px;
}

#default_static_overlay_gallery .btn_nav.previous::after { transform: rotate(-135deg); margin-left: 3px; }

#default_static_overlay_gallery .btn_nav.next::after { transform: rotate(45deg); margin-right: 3px; }

/* ── Close button — top-right, CSS × icon ── */

#default_static_overlay_gallery .btn_close {
	position: absolute; top: 16px; right: 16px;
	width: 52px; height: 52px;
	font-size: 0; overflow: hidden;
	z-index: 4;
}

#default_static_overlay_gallery .btn_close::before,
#default_static_overlay_gallery .btn_close::after {
	content: '';
	position: absolute; top: 50%; left: 50%;
	width: 26px; height: 2.5px;
	background: #fff;
	border-radius: 1px;
}

#default_static_overlay_gallery .btn_close::before { transform: translate(-50%, -50%) rotate(45deg); }
#default_static_overlay_gallery .btn_close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ── Image — centered, responsive ── */

#default_static_overlay_gallery img {
	position: relative; z-index: 1;
	max-width: min(960px, calc(100vw - 180px));
	max-height: calc(100vh - 120px);
	object-fit: contain;
	border-radius: 3px;
	opacity: 0; transition: opacity 0.3s ease;
}

#default_static_overlay_gallery img.visible { opacity: 1; }

/* ── Counter — bottom center ── */

#default_static_overlay_gallery .image_title {
	position: absolute; bottom: 20px; left: 0; right: 0;
	text-align: center;
	color: rgba(255,255,255,0.5);
	font-size: 14px; letter-spacing: 2px;
	font-variant-numeric: tabular-nums;
	z-index: 2; pointer-events: none;
}

/* ── Loading spinner ── */

#default_static_overlay_gallery .loading {
	display: none; position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

#default_static_overlay_gallery.is_loading .loading { display: block; }

#default_static_overlay_gallery .loading::after {
	content: '';
	display: block;
	width: 32px; height: 32px;
	border: 2.5px solid rgba(255,255,255,0.12);
	border-top-color: rgba(255,255,255,0.7);
	border-radius: 50%;
	animation: gallery_spin 0.8s linear infinite;
}

@keyframes gallery_spin { to { transform: rotate(360deg); } }

/* ── Screen reader only ── */

#default_static_overlay_gallery .sr_only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
	#default_static_overlay_gallery img { transition: none; }
	#default_static_overlay_gallery .buttons div { transition: none; }
	#default_static_overlay_gallery .loading::after { animation-duration: 3s; }
}

.hig_progress_bar { display: none; position: fixed; top: 250px; left: 0; right: 0; width: 80%; height: 40px; max-width: 360px; margin: 0 auto 0 auto; padding: 3px; box-sizing: border-box; background-color: #666; z-index: 10000; border-radius: 5px;}

.hig_progress_bar .text { position: absolute; top: 3px; left: 0; width: 100%; line-height: 34px; text-align: center; font-size: 15px; color: #fff; z-index: 1;}

.hig_progress_bar .inner { width: 0%; height: 34px; box-sizing: border-box; background-color: #3C763D; z-index: 0;}

#default_user_account h3 { margin: 40px 0 20px 0; font-weight: normal; font-size: 24px; text-align: center;}

#default_user_account .btn_logout { cursor: pointer; text-decoration: underline; text-align: center;}

#default_form_confirm_email_submit,
#default_form_confirm_reset_password_submit { display: block; width: 200px; height: 40px; outline: none; font-size: 15px;}

#default_form_confirm_email .success,
#default_form_confirm_reset_password .success { font-size: 14px; margin-top: 20px; color: #3C763D; font-weight: bold;}

#default_form_confirm_email .error,
#default_form_confirm_reset_password .error { font-size: 14px; margin-top: 20px; color: #FF3300; font-weight: bold;}

/* OVERLAY STYLES — standard Higgins overlays from overlays.css, no overrides needed */

#default_static_overlay_reset_password { background-color: rgba(0,0,0,0.6); text-align: center; z-index: 9998;}

#default_static_overlay_reset_password .inner { position: relative; width: 90%; max-width: 340px; box-sizing: border-box; padding: 20px 15px 20px 15px; margin: 100px auto 80px auto; background-color: #fff; border: 2px solid #aaa; border-radius: 5px;}

#default_form_reset,
#default_form_password_change,
#default_form_confirm_reset_password { max-width: 300px;}

#default_form_password_change,
#default_form_confirm_reset_password { margin: 30px auto 0 auto;}

#default_form_reset label,
#default_form_password_change label,
#default_form_confirm_reset_password label { display: block; color: #a4a4a4; font-size: 12px; padding: 0 0 5px 20px;}

#default_form_reset label { padding: 0 0 5px 0;}

#default_form_reset input,
#default_form_password_change input,
#default_form_confirm_reset_password input { display: block; margin-bottom: 15px; border: none; background-color: #f0f0f0; width: 100%; height: 30px; border-radius: 30px; font-size: 16px; outline: 0; text-align: center;}

#default_form_reset input:-webkit-autofill,
#default_form_password_change input:-webkit-autofill,
#default_form_confirm_reset_password input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #f0f0f0 inset;}

#default_form_reset input:focus,
#default_form_password_change input:focus,
#default_form_confirm_reset_password input:focus { border-color: #24cabc; -webkit-box-shadow: 0 0 8px rgba(36,202,188,.6); -moz-box-shadow: 0 0 8px rgba(36,202,188,.6); box-shadow: 0 0 8px rgba(36,202,188,.6);}

#default_form_reset button,
#default_form_password_change button,
#default_form_confirm_reset_password button { float: right; border: none; background-color: #6ccdac; color: #fff;  height: 40px; border-radius: 30px; font-size: 14px; outline: 0; cursor: pointer;}

#default_form_reset button { width: 180px;}

#default_form_password_change button,
#default_form_confirm_reset_password button { width: 100%;}

#default_form_reset button:hover,
#default_form_password_change button:hover,
#default_form_confirm_reset_password button:hover { background-color: #a3e7c6;}

#default_form_reset_cancel { float: left; background-color: #B2B2B2; color: #fff; width: 80px; line-height: 40px; border-radius: 30px; font-size: 14px; cursor: pointer;}

#default_form_reset_cancel:hover { background-color: #aaa;}

/*DEFAULT COOKIE INFO*/
#default_cookie_info { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: transparent; background-color: rgba(0,0,0,0.2); z-index: 10000; box-sizing: border-box;}

#default_cookie_info .info { position: fixed; top: 80px; left: 0; right: 0; margin: 0 auto 0 auto; width: 100%; max-width: 400px; padding: 10px; background-color: #fff; color: #111;  box-sizing: border-box; font-size: 13px; line-height: 18px; height: 200px; border: 4px solid #FF3300; border-radius: 5px;}

#default_cookie_info .info #default_cookie_info_btn_accept { position: absolute; bottom: 10px; right: 10px; color: #eee; border-radius: 5px; background-color: #6ccdac; text-align: center; width: 80px; line-height: 25px; font-size: 15px; cursor: pointer;}

#default_cookie_info .info #default_cookie_info_btn_accept:hover { background-color: #a3e7c6;}

#default_cookie_info .info_links { position: absolute; bottom: 10px; left: 10px; line-height: 25px;}

#default_cookie_info .info_links a {text-decoration: underline; font-size: 13px; padding-right: 10px;}

/*SIZE SPECIFIC STYLING*/

@media (min-width: 901px) {

	body {background-image: url(../_img/bg_full3.jpg); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; background-position: center;}
	#navigation .link:hover {background-color: rgba(255,255,255,0.1);}
	
}

@media (max-width: 900px) {

	/* ── Header ── */

	#top {
		height: 155px;
		background: #0e0e28 url(../_img/bg_mobile.png) center top / cover no-repeat;
	}

	#top > .content_block { position: static; }

	#logo {
		position: absolute; top: 0; left: 0;
		width: auto; height: calc(100% - 40px);
		padding: 0 0 0 16px;
		display: flex; align-items: center;
		background: none;
	}

	#logo img { width: auto; height: auto; max-height: 95px; max-width: 110px; margin: 0; }

	#slogan { display: none; }

	#static_btn_nav {
		display: flex; align-items: center; justify-content: center;
		position: absolute; top: 15px; right: 15px;
		width: 48px; height: 48px;
		background: rgba(0,0,0,0.6);
		border: 1px solid rgba(255,255,255,0.15);
		border-radius: 8px;
		z-index: 2;
		-webkit-tap-highlight-color: transparent;
	}

	#static_btn_nav::before {
		content: '';
		display: block;
		width: 22px; height: 16px;
		background:
			linear-gradient(#fff, #fff) top / 100% 2px no-repeat,
			linear-gradient(#fff, #fff) center / 100% 2px no-repeat,
			linear-gradient(#fff, #fff) bottom / 100% 2px no-repeat;
	}

	#home_info_opening_times {
		position: absolute; top: auto; bottom: 0; left: 0; right: 0;
	}

	#home_info_opening_times p {
		position: static;
		width: 100%; max-width: none;
		padding: 8px 16px; margin: 0;
		height: auto;
		font-size: 14px; line-height: 1.4;
		font-weight: normal;
		color: #fff;
		text-align: center;
		text-shadow: none;
		background: rgba(0,0,0,0.6);
		border-radius: 0;
	}

	/* ── Navigation overlay ── */

	#navigation {
		position: fixed; inset: 0;
		display: none; overflow-y: auto;
		padding: 0; margin: 0;
		width: 100%; height: 100%;
		background: none;
		z-index: 10001;
	}

	#navigation.overlay {
		display: flex; align-items: safe center; justify-content: center;
		overflow-y: auto; scrollbar-width: thin;
		background-color: #1a3a5c;
		background-image:
			radial-gradient(ellipse at 10% 0%, rgb(255 245 112 / 49%) 0%, transparent 55%),
			radial-gradient(ellipse at 70% 20%, rgba(255, 180, 80, 0.2) 0%, transparent 45%),
			radial-gradient(ellipse at 30% 80%, rgba(60, 130, 190, 0.15) 0%, transparent 50%),
			linear-gradient(180deg, #ffffff 0%, #1e4a72 40%, #000408 100%);
	}

    #navigation.overlay #navigation_links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 28px 0;
        margin: 24px 16px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        backdrop-filter: blur(8px);
        width: 100%;
    }

	#navigation.overlay #navigation_links::before {
		content: ""; display: block;
		width: 140px; height: 140px;
		margin: 0 auto 20px;
		background: url(../_img/alteliebe_logo.png) no-repeat center/contain;
	}

	#navigation .link {
		display: block; float: none;
		width: auto; height: auto;
		padding: 15px 48px; margin: 0;
		color: #fff; font-size: 20px;
		line-height: normal; letter-spacing: 1px; text-align: center;
		border: none; background: none;
		text-decoration: none;
	}

	#navigation .link.active { color: rgba(255,220,160,0.9); }

	#navigation .link:hover { color: #fff; background: rgba(255,255,255,0.15); }

	#navigation.overlay #static_btn_close_menu {
		display: block;
		margin-top: 8px; padding: 14px 32px;
		color: rgba(255,255,255,0.55);
		font-size: 20px; letter-spacing: 0.5px;
		border-top: 1px solid rgba(255,255,255,0.15);
	}

	#navigation .nav_popup_wrapper { float: none; display: block; width: auto; }
	#navigation .nav_popup { display: none; }

	/* ── Content area ── */

	#content {
		margin-top: 155px; margin-left: 0; width: 100%; max-width: none;
		background-color: rgba(0,0,0,0.85);
	}

	#content .content { padding: 15px; margin: 0; width: 100%; box-sizing: border-box; background-color: transparent; }
	#content .content .content_block { padding: 4px 0; }
	.content .default_link { display: block; float: right; }

	/* ── Typography ── */

	#content .content_block h1 { font-size: 26px; margin: 24px 0 14px 0; }
	#content .content_block .text_block h2 { font-size: 23px; margin: 22px 0 12px 0; line-height: 1.4; }
	#content .content_block h3 { font-size: 20px; margin: 24px 0 10px 0; line-height: 1.4; }
	#content .content_block p { font-size: 19px; line-height: 1.6; }
	#content .content_block li { font-size: 19px; line-height: 1.6; }

	/* ── Speisekarte mobile ── */

	.default_basic_speisekarte .title { font-size: 19px; letter-spacing: 2px; margin: 28px 0 16px 0; padding: 10px 0; }
	.default_basic_speisekarte .name { font-size: 18px; }
	.default_basic_speisekarte .price { font-size: 18px; }
	.default_basic_speisekarte .description { font-size: 16px; }
	.default_basic_speisekarte .translation_en { font-size: 16px; }
	.default_basic_speisekarte .entry { padding: 12px 0; column-gap: 12px; }

	/* ── Buffet mobile ── */

	.default_basic_buffet .name { font-size: 20px; }
	.default_basic_buffet .price { font-size: 20px; }
	.default_basic_buffet .entry { font-size: 17px; margin-left: 18px; }
	.default_basic_buffet { padding: 18px 0; }

	/* ── Gallery mobile ── */

	.al_gallery_grid { grid-template-columns: repeat(3, 1fr); }
	#default_static_overlay_gallery_simple { padding: 0;}
	#default_static_overlay_gallery_simple .inner { padding: 10px; box-sizing: border-box;}

	.default_gallery { grid-template-columns: repeat(3, 1fr); }
	#default_static_overlay_gallery .btn_nav { width: 48px; height: 48px; }
	#default_static_overlay_gallery .btn_nav.previous { left: 10px; }
	#default_static_overlay_gallery .btn_nav.next { right: 10px; }
	#default_static_overlay_gallery .btn_nav::after { width: 14px; height: 14px; border-width: 2px; }
	#default_static_overlay_gallery .btn_close { top: 10px; right: 10px; width: 48px; height: 48px; }
	#default_static_overlay_gallery .btn_close::before,
	#default_static_overlay_gallery .btn_close::after { width: 22px; }
	#default_static_overlay_gallery img { max-width: calc(100vw - 130px); max-height: calc(100vh - 100px); }

	/* ── Body background ── */

	body { background-color: #333395; background-image: url(../_img/bg.jpg); background-size: cover; }

	/* ── Admin bar offset ── */

	body.hig_admin_logged_in #top { top: 50px; }
	body.hig_admin_logged_in #logo { top: 0; }
	body.hig_admin_logged_in #home_info_opening_times { bottom: 0; }
	body.hig_admin_logged_in #content { margin-top: 205px; }
}

@media (max-width: 560px) {

	#top { background-image: url(../_img/bg_mobile_small.png); }
}

@media (max-width: 400px) {

	#content .content_block .text_block h2 {font-size: 20px; line-height: 1.4;}

	#content .content_block p {font-size: 18px; line-height: 1.5;}

	#content .content_block li {font-size: 18px; line-height: 1.5;}

	.al_gallery_grid { grid-template-columns: repeat(2, 1fr);}
	.default_gallery { grid-template-columns: repeat(2, 1fr);}

	.default_basic_speisekarte .title { font-size: 17px; letter-spacing: 1px;}
	.default_basic_speisekarte .name { font-size: 17px;}
	.default_basic_speisekarte .price { font-size: 17px;}
	.default_basic_speisekarte .entry { grid-template-columns: 1fr; row-gap: 4px;}
	.default_basic_speisekarte .price { grid-column: 1; grid-row: auto; text-align: left;}

	.default_basic_buffet { grid-template-columns: 1fr;}
	.default_basic_buffet .price { grid-column: 1; grid-row: auto; text-align: left;}
}

#navigation .link[href*="home"] { display: none;}

@media (max-width: 900px) and (max-height: 380px) {

	#navigation .link[href*="home"] { display: block !important; }

	#top { height: 48px; background-image: none; }

	#logo { display: none; }

	#content { margin-top: 48px; }
	body.hig_admin_logged_in #content { margin-top: 98px; }
}

@media (max-width: 340px) {

	#home_info_opening_times p {font-size: 13px;}
}

@media (max-width: 320px) {

	#home_info_opening_times p {font-size: 11px;}

}
