/* --- EINLADENDES & MODERNES DESIGN SYSTEM --- */
:root {
    --brand-blue: #1326a3;
    --brand-yellow: #f9de4b;
    --brand-yellow-soft: rgba(249, 222, 75, 0.35); /* Weicher Ton für geöffnete Tage */
    --text-dark: #1e1e24; /* Warmes Anthrazit statt digitalem, kaltem Schwarz */
    --bg-warm: #fdf3e9; /* Euer einladender, cremiger Wohlfühl-Grundton */
    --bg-white: #ffffff;
    --border-soft: rgba(19, 38, 163, 0.12);
    
    --font-heading: 'Hey October', serif;
    --font-body: 'Hanken Grotesk', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* --- NATÜRLICHES SEITENGRID --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

/* --- FULL-WIDTH NAV MIT CSS DROPDOWNS --- */
.nav-backdrop {
    background-color: var(--brand-yellow);
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 85px;
    display: table; /* Garantiert perfektes Alignment ohne Flex-Fehler */
    width: 100%;
}

.nav-logo-cell {
    display: table-cell;
    vertical-align: middle;
    width: 250px;
}

.nav-logo-cell img {
    max-height: 55px;
    display: block;
}

.nav-links-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

/* Dropdown-Menü Listenstruktur */
.menu-root {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-item {
    display: inline-block;
    position: relative;
    margin-left: 0.75rem;
}

.menu-link {
    display: block;
    padding: 10px 18px;
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.menu-link:hover, .menu-item:hover .menu-link {
    background-color: var(--brand-blue);
    color: var(--brand-yellow);
}

/* Das schwebende Submenu (Dropdown) */
.submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-white);
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(19, 38, 163, 0.12);
    border: 1px solid var(--border-soft);
    padding: 0.6rem 0;
    margin: 0;
    list-style: none;
    text-align: left;
    display: none; /* Verstecken */
}

/* Bei Hover einblenden */
.menu-item:hover .submenu {
    display: block;
}

.submenu-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background-color: var(--bg-warm);
    color: var(--brand-blue);
}

/* --- TYPOGRAFIE & INHALT --- */
h1 {
    font-family: var(--font-heading);
    color: var(--brand-blue);
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

h2.info-title {
    font-family: var(--font-heading);
    color: var(--brand-blue);
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

/* --- GRID-STRUKTUR: KARTE & ÖFFNUNGSZEITEN --- */
.grid-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3rem 0; /* Erzeugt sauberen Abstand zwischen den Spalten */
}

.grid-cell {
    vertical-align: top;
    width: 50%;
}

/* Organischer Bilderrahmen für die Karte */
.map-frame-wrapper {
    background-color: var(--bg-white);
    padding: 14px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-soft);
}

.map-frame-wrapper iframe {
    border-radius: 14px;
    display: block;
}

/* Die Öffnungszeiten */
.hours-title {
    font-family: var(--font-heading);
    color: var(--brand-blue);
    font-size: 1.85rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.opening-table {
    width: 100%;
    border-collapse: collapse;
}

.opening-table td {
    padding: 14px 0;
    font-size: 1.1rem;
}

.opening-table tr:last-child td {
    border-bottom: none;
}

.time-cell {
    text-align: right;
}

/* Die magischen, soften Highlight-Balken für geöffnete Tage */
.day-open {
    font-weight: 600;
}

.day-open td {
    background-color: var(--brand-yellow-soft);
    border-bottom-color: transparent;
}

.day-open td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-left: 14px;
}

.day-open td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding-right: 14px;
}

/* --- STYLING FÜR DIE DYNAMISCHE BACKEND-TABELLE --- */
.dynamic-hours-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dynamic-hours-wrapper table td, 
.dynamic-hours-wrapper table th {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1.1rem;
    text-align: left;
    color: var(--text-dark);
}

/* Der Tabellenkopf (falls genutzt) */
.dynamic-hours-wrapper table th {
    font-weight: 700;
    color: var(--brand-blue);
    border-bottom: 2px solid var(--brand-blue);
}

/* Erste Spalte (Wochentage) fett machen */
.dynamic-hours-wrapper table tr td:first-child {
    font-weight: 600;
}

/* Zweite Spalte (Uhrzeiten) rechtsbündig für die saubere Optik */
.dynamic-hours-wrapper table tr td:nth-child(2) {
    text-align: right;
}

/* Option: Jede zweite Zeile dezent gelb einfärben für den einladenden Look */
.dynamic-hours-wrapper table tr:nth-child(even) td {
    background-color: var(--brand-yellow-soft);
}

.am-block td {
    border: none;
}