/*
Theme Name: Nana's Stue
Theme URI: https://cafenanasstue.wordpress.com
Author: Gneis Agency
Author URI: https://gneisagency.com
Description: Tema til Café Nana's Stue, Sønderho, Fanø. Bygget på Fajancen-temaet: samme opbygning med Customizer-indhold, sektioner og DA/EN/DE-sprogskifter – i caféens eget udtryk med støvet blå grund, spærrede kapitæler, håndskrift og tegnede rammer.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nanas
Tags: restaurant, custom-menu, custom-logo, featured-images
*/

/* ─── Custom Properties ─── */
:root {
    --blue: #2f4468;
    --blue-deep: #22374f;
    --blue-band: #27395a;
    --stripe-a: #425f7e;
    --stripe-b: #4b6a8b;
    --paper: #efe9db;
    --paper-2: #ece6d6;
    --sand: #e3dccb;
    --sand-2: #d6cfbd;
    --ink: #22374f;
    --ink-2: #3b4d63;
    --line-dark: rgba(34, 55, 79, .22);
    --line-light: rgba(239, 233, 219, .3);
    --gutter: 48px;
    --serif: 'Newsreader', Georgia, serif;
    --caps: 'Oswald', 'Arial Narrow', sans-serif;
    --script: 'Sacramento', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p + p { margin-top: .4em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ─── Typografi ─── */
.caps {
    font-family: var(--caps);
    font-weight: 300;
    font-variant-caps: small-caps;
    letter-spacing: .12em;
    line-height: 1.1;
}
.caps-sm, .eyebrow {
    font-family: var(--caps);
    font-weight: 300;
    font-variant-caps: small-caps;
    font-size: 17px;
    letter-spacing: .2em;
    line-height: 1.3;
}
.eyebrow { opacity: .85; }
.script {
    font-family: var(--script);
    font-size: 36px;
    line-height: 1;
    margin-bottom: 18px;
}
.script-lg { font-size: 44px; margin-bottom: 26px; }
.tnum { font-feature-settings: 'tnum'; }
.small { font-size: 13.5px; line-height: 1.7; }
.muted { opacity: .82; }
.justify { text-align: justify; hyphens: auto; }
.lead { font-size: 17px; line-height: 1.75; }

/* ─── Layout ─── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0 52px; }
.section-paper { background: var(--paper); color: var(--ink); }
.section-blue { background: var(--blue); color: var(--paper-2); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-title { font-size: 68px; }
.section-title-md { font-size: 46px; }
.link-arrow, .link-plain { text-decoration: none; }
.link-arrow:hover, .link-plain:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ─── Knapper ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    font-family: var(--caps); font-weight: 300; font-variant-caps: small-caps;
    font-size: 17px; letter-spacing: .2em;
    padding: 11px 22px; min-height: 48px;
    text-decoration: none; border: 1px solid currentColor;
    transition: background .2s, color .2s;
}
.btn-outline:hover { background: rgba(239, 233, 219, .12); }
.section-paper .btn-outline:hover { background: rgba(34, 55, 79, .08); }
.btn-solid { background: var(--paper); color: var(--blue); border-color: var(--paper); }
.btn-solid:hover { background: #fff; }
.btn-dim { border-color: rgba(239, 233, 219, .45); }
.btn-block { display: flex; width: 100%; margin-top: 18px; }
.btn-sm { min-height: 44px; padding: 8px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.btn-row-2 > * { flex: 1 1 200px; }

/* ─── Tegnet ramme ─── */
.framed { position: relative; }
.framed > * { position: relative; }
.framed > .frame-line {
    position: absolute; inset: 0; width: 100%; height: 100%;
    overflow: visible; pointer-events: none;
    fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.framed > .frame-loop {
    position: absolute; width: 30px; height: 30px; pointer-events: none;
    fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round;
}
.framed-light > .frame-line, .framed-light > .frame-loop { stroke: var(--paper); }
.frame-loop--tl { left: -15px; top: -15px; }
.frame-loop--tr { right: -15px; top: -15px; }
.frame-loop--br { right: -15px; bottom: -15px; }
.frame-loop--bl { left: -15px; bottom: -15px; }

/* ─── Nøgle/værdi-linjer ─── */
.kv {
    display: flex; justify-content: space-between; gap: 16px;
    font-size: 14px; padding: 11px 0;
    border-top: 1px solid var(--line-light);
}
.section-paper .kv { border-top-color: var(--line-dark); }
.kv-last { border-bottom: 1px solid var(--line-light); }
.kv.is-closed { opacity: .6; }
.kv-small { font-size: 13px; opacity: .8; }

/* ─── Navigation ─── */
#navbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 50;
    color: var(--paper);
    border-bottom: 1px solid rgba(239, 233, 219, .35);
}
.nav-inner {
    max-width: 1180px; margin: 0 auto; padding: 18px var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { flex: none; }
.nav-logo-img { height: 64px; width: auto; clip-path: ellipse(49.5% 49.3% at 50% 50%); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.is-current { border-bottom-color: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher button { padding: 4px 4px 2px; border-bottom: 1px solid transparent; font-variant-caps: small-caps; letter-spacing: .2em; min-width: 32px; min-height: 36px; }
.lang-switcher button.is-active { border-bottom-color: var(--paper); }
.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--paper); transition: transform .25s, opacity .25s; }
#navbar.menu-open .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
#navbar.menu-open .hamburger span:nth-child(2) { opacity: 0; }
#navbar.menu-open .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

body.admin-bar #navbar { top: 32px; }
@media (max-width: 782px) { body.admin-bar #navbar { top: 46px; } }

/* ─── Stribet fotobaggrund ─── */
.hero, .page-head {
    position: relative;
    background-color: var(--stripe-a);
    background-image: repeating-linear-gradient(135deg, var(--stripe-a), var(--stripe-a) 9px, var(--stripe-b) 9px, var(--stripe-b) 18px);
    background-size: cover; background-position: center;
    color: var(--paper);
}
.hero::before, .page-head::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(34, 55, 79, .55) 0%, rgba(34, 55, 79, .3) 40%, rgba(34, 55, 79, .62) 100%);
}

/* ─── Hero ─── */
.hero { min-height: 620px; display: flex; align-items: flex-end; }
.hero-inner {
    position: relative; width: 100%; max-width: 1180px; margin: 0 auto;
    padding: 150px var(--gutter) 54px;
    display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.hero-text { max-width: 600px; }
.hero-title { font-size: 84px; line-height: 1; letter-spacing: -.01em; margin-top: 14px; }
.hero-desc { margin-top: 20px; max-width: 44ch; }
.hero-card { width: 330px; flex: none; background: rgba(34, 55, 79, .58); padding: 26px 28px; }
.hero-card > .frame-line, .hero-card > .frame-loop { stroke: var(--blue-deep); }
.hero-card .eyebrow { font-size: 16px; opacity: .8; }
.hero-phone { display: block; text-decoration: none; font-size: 44px; line-height: 1.05; margin: 10px 0 16px; font-feature-settings: 'tnum'; }
.hero-card .kv { font-size: 13px; padding: 10px 0; }

/* ─── Menukort på forsiden ─── */
.menu-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.menu-col { padding: 0 34px; border-left: 1px solid var(--line-dark); }
.menu-col:first-child { padding-left: 0; border-left: 0; }
.menu-col:last-child { padding-right: 0; }
.dish {
    display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
    padding: 13px 0; border-bottom: 1px solid var(--line-dark);
}
.dish:last-child { border-bottom: 0; }
.dish-name { font-size: 24px; line-height: 1.15; }
.dish-desc { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.5; }
.dish-price { font-size: 22px; font-feature-settings: 'tnum'; }

/* ─── Bordbestilling på forsiden ─── */
.booking-split { display: grid; grid-template-columns: 1fr 1fr; }
.booking-photo { padding: 12px; background: var(--blue-deep); }
.booking-photo .photo { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.booking-body { padding: 30px 30px 30px 26px; border-left: 1px solid var(--line-light); display: flex; }
.booking-card { padding: 40px; flex: 1; }
.booking-title { font-size: 48px; margin: 6px 0 14px; letter-spacing: .14em; }
.booking-text { font-size: 15px; line-height: 1.85; opacity: .82; text-align: justify; hyphens: auto; }
.big-phone {
    display: inline-block; text-decoration: none; font-size: 54px; line-height: 1.1;
    font-feature-settings: 'tnum'; margin-top: 24px;
    border-bottom: 1px solid currentColor;
}
.hours-list { margin-top: 28px; border-top: 1px solid var(--line-light); }
.hours-list .kv:first-child { border-top: 0; }
.hours-list .kv { border-top-color: rgba(239, 233, 219, .12); font-size: 13.5px; }

/* ─── Arrangementer (liste) ─── */
.section-title-md { font-size: 46px; }
.event-rows { border-top: 1px solid var(--line-dark); }
.event-row {
    display: grid; grid-template-columns: 130px 1fr 260px 120px; align-items: center; gap: 20px;
    padding: 22px 0; border-bottom: 1px solid var(--line-dark);
}
.event-date { font-size: 34px; }
.event-title { font-size: 26px; }
.event-sub { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.event-meta { font-size: 13.5px; color: var(--ink-2); }
.event-row > .link-plain, .event-row > .event-toggle { justify-self: end; }
.event-desc { grid-column: 2 / -1; font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.event-row.is-hidden { display: none; }

/* ─── Velkommen ─── */
.welcome { padding-bottom: 20px; }
.welcome-grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.welcome .lead { color: var(--ink-2); }
.event-year { display: block; font-size: 15px; letter-spacing: .18em; opacity: .7; margin-top: 2px; }
.past-head { margin-top: 48px; }
.events-page .lead { margin-bottom: 10px; color: var(--ink-2); }
.contact-mail { font-size: 15.5px; margin-top: 18px; }
.contact-mail a { text-decoration: underline; text-underline-offset: 3px; }
.kv-end { border-top: 1px solid var(--line-light); }

/* ─── Flisemuseet (bånd) ─── */
.museum-band { background: linear-gradient(180deg, var(--blue-deep), var(--blue-band)); color: var(--paper); padding: 44px 0; }
.museum-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "head text tiles" "btn . ."; gap: 22px 36px; align-items: center; }
.museum-head { grid-area: head; display: flex; align-items: baseline; gap: 24px; }
.museum-title { font-size: 40px; }
.museum-text { grid-area: text; font-size: 15px; max-width: 46ch; }
.museum-tiles { grid-area: tiles; display: flex; gap: 6px; }
.museum-btn { grid-area: btn; justify-self: start; }
.tile-mini { width: 66px; height: 66px; border: 1px solid rgba(239, 233, 219, .3); display: grid; place-items: center; }

/* ─── Flise-pladsholdere (tegnede motiver) ─── */
[class^="shape-"], [class*=" shape-"] { display: block; }
.shape-diamond { width: 46%; aspect-ratio: 1; background: #d5d1c9; transform: rotate(45deg); }
.shape-diamond-line { width: 48%; aspect-ratio: 1; border: 2px solid #d5d1c9; transform: rotate(45deg); }
.shape-ring { width: 52%; aspect-ratio: 1; border: 2px solid #d5d1c9; border-radius: 50%; }
.shape-dot { width: 40%; aspect-ratio: 1; background: var(--blue-deep); border-radius: 50%; }
.tile-mini .shape-diamond { width: 40%; background: var(--blue); outline: 1px solid rgba(239, 233, 219, .3); }
.tint-2.shape-diamond { background: #9b9fa8; }
.tint-2.shape-ring, .tint-2.shape-diamond-line { border-color: #b4b6ba; }
.tint-3.shape-diamond { background: #7f889a; }
.shape-feature { width: 52%; aspect-ratio: 1; border: 3px solid var(--paper); border-radius: 50%; position: relative; }
.shape-feature::after { content: ''; position: absolute; inset: 15%; background: #d5d1c9; transform: rotate(45deg) scale(.78); }

/* ─── Sidehoved på undersider ─── */
.page-head { min-height: 300px; display: flex; align-items: flex-end; }
.page-head-plain { min-height: 240px; }
.page-head-inner {
    position: relative; width: 100%; max-width: 1180px; margin: 0 auto;
    padding: 130px var(--gutter) 34px;
    display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 32px; row-gap: 8px;
}
.page-head-inner > .eyebrow:first-child { width: 100%; }
.page-title { font-size: 84px; line-height: 1; letter-spacing: .14em; }
.page-sub { font-size: 17px; }

/* ─── Fanebjælke ─── */
.tabbar { background: var(--blue); color: var(--paper); border-bottom: 1px solid var(--line-light); }
.tabbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
    font-family: var(--caps); font-weight: 300; font-variant-caps: small-caps; font-size: 17px; letter-spacing: .2em;
    padding: 9px 16px; min-height: 46px; display: inline-flex; align-items: center;
    border: 1px solid rgba(239, 233, 219, .35); text-decoration: none; color: var(--paper);
}
.tab.is-active, .tab:hover { border-color: var(--paper); }
.tabbar-note { text-decoration: none; }

/* ─── Menukort-siden ─── */
.menu-page-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; margin: 0 auto; }
.menu-page-col { padding: 44px var(--gutter) 48px; }
.menu-page-col + .menu-page-col { border-left: 1px solid var(--line-dark); }
.menu-block { scroll-margin-top: 20px; }
.menu-block + .menu-block { margin-top: 44px; }
.menu-page .dish { padding: 20px 0; }
.menu-page .dish-name { font-size: 27px; }
.menu-page .dish-desc { font-size: 14px; }
.menu-page .dish-price { font-size: 26px; }
.photo-frame { border: 1px solid var(--line-dark); padding: 10px; margin-bottom: 40px; }
.photo-frame .photo { width: 100%; aspect-ratio: 12 / 6.4; object-fit: cover; }
.courses { margin-top: 48px; padding: 30px 26px; }
.courses .kv { font-size: 15px; border-top: 0; }
.courses .small { margin-top: 14px; color: var(--ink-2); }
.cta-band { padding: 40px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band-inner p { max-width: 62ch; font-size: 15px; opacity: .85; }
.cta-band-right { display: flex; align-items: center; gap: 26px; }
.cta-band .big-phone { margin-top: 0; font-size: 46px; }

/* ─── Bestil bord & kontakt ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 1180px; margin: 0 auto; }
.contact-col { padding: 48px var(--gutter); }
.contact-col-right { border-left: 1px solid var(--line-light); }
.phone-card { display: block; padding: 26px 26px 20px; margin: 34px 4px 22px; text-decoration: none; }
.phone-card .eyebrow { display: block; font-size: 15px; }
.phone-card-number { display: block; font-size: 64px; line-height: 1.05; margin-top: 4px; }
.contact-block { margin-top: 40px; scroll-margin-top: 20px; }
.contact-block p { font-size: 15.5px; }
.hours-table { border-bottom: 1px solid var(--line-light); }
.hours-table .kv:first-child { border-top: 0; }
.hours-table .kv { font-size: 15px; padding: 13px 0; }
.notice { margin-top: 32px; padding: 18px 20px; border: 1px solid var(--paper); font-size: 14px; }
.map-frame { margin-top: 26px; border: 1px solid var(--line-light); padding: 10px; }
.map-frame iframe { display: block; width: 100%; height: 250px; border: 0; filter: saturate(.6); }

/* ─── Arrangementer-siden ─── */
.events-page { padding: 50px 0 40px; }
.event-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 10px 0 56px; }
.event-card { padding: 8px; display: flex; flex-direction: column; scroll-margin-top: 20px; }
.event-card.is-hidden { display: none; }
.event-card-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-bottom: 1px solid var(--line-dark); }
.event-card-body { padding: 26px 10px 8px; display: flex; flex-direction: column; flex: 1; }
.event-card-body .eyebrow { font-size: 17px; opacity: 1; }
.event-card-title { font-size: 38px; margin: 12px 0 10px; }
.event-card-body > p { font-size: 14.5px; color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.event-card-foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13.5px; color: var(--ink-2); }
.event-card-foot .btn { color: var(--ink); }
.later-head { margin-bottom: 16px; font-size: 16px; }
.events-foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 34px 0 10px; }
.events-foot p { max-width: 52ch; font-size: 14.5px; color: var(--ink-2); }
.events-foot .big-phone { margin-top: 0; }

/* ─── Galleri ─── */
.museum-intro { padding: 50px 0 54px; border-bottom: 1px solid var(--line-light); }
.museum-intro-grid { display: grid; grid-template-columns: 1fr 330px; gap: 80px; align-items: center; }
.museum-intro .section-title-md { margin-bottom: 14px; line-height: 1.2; }
.museum-intro .justify { font-size: 15px; line-height: 1.85; max-width: 60ch; }
.visit-card { padding: 26px 24px; }
.visit-card .script { font-size: 32px; }
.tiles-section { padding: 40px 0 26px; }
.tiles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile-featured { border: 1px solid var(--line-light); padding: 14px; }
.tile-featured-art { aspect-ratio: 1; border: 1px solid var(--line-light); display: grid; place-items: center; overflow: hidden; }
.tile-featured-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-featured-art { background: var(--paper); }
.tile-featured figcaption { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 4px 4px; }
.tile-title { font-size: 26px; }
.tile-meta { font-size: 13px; opacity: .8; }
.tile-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.tile-btn { aspect-ratio: 1; border: 1px solid var(--line-light); display: grid; place-items: center; overflow: hidden; }
.tile-btn img { width: 100%; height: 100%; object-fit: cover; }
.tile-btn:hover, .tile-btn.is-active { border-color: var(--paper); }
.tiles-section .script { font-size: 32px; }
.photos-section { padding: 36px 0 50px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 14px; }
.photo-grid .photo { width: 100%; aspect-ratio: 1 / .93; object-fit: cover; border: 1px solid var(--line-dark); }
.photo-grid figcaption { font-size: 12.5px; margin-top: 8px; color: var(--ink-2); }
.gallery-item.is-hidden { display: none; }

/* ─── Footer ─── */
.site-footer { background: var(--blue); color: var(--paper-2); border-top: 1px solid var(--line-light); }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 40px var(--gutter) 46px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 84px; width: auto; clip-path: ellipse(49.5% 49.3% at 50% 50%); margin-bottom: 14px; }
.site-footer p { font-size: 14px; line-height: 1.75; opacity: .85; margin: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-col .script { margin-bottom: 10px; font-size: 34px; }

/* ─── Indhold i fallback-skabelon ─── */
.prose { padding: 50px var(--gutter); max-width: 760px; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }

/* ─── Tablet ─── */
@media (max-width: 1080px) {
    :root { --gutter: 32px; }
    .nav-links { gap: 18px; }
    .hero-title, .page-title { font-size: 64px; }
    .section-title { font-size: 54px; }
    .event-row { grid-template-columns: 100px 1fr 200px 100px; }
    .welcome-grid { grid-template-columns: 260px 1fr; gap: 40px; }
    .booking-card { padding: 30px; }
    .booking-title { font-size: 38px; }
    .big-phone { font-size: 44px; }
    .museum-inner { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "text tiles" "btn ."; }
}

/* ─── Mobil-navigation ─── */
@media (max-width: 920px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed; inset: 0; z-index: -1;
        flex-direction: column; justify-content: center; align-items: center; gap: 26px;
        background: var(--blue-deep);
        opacity: 0; visibility: hidden; transition: opacity .25s;
    }
    .nav-links a { font-size: 26px; }
    .nav-links.open { opacity: 1; visibility: visible; }
    .nav-cta { display: none; }
    .nav-right { gap: 10px; }
}

/* ─── Mobil ─── */
@media (max-width: 760px) {
    :root { --gutter: 20px; }
    body { font-size: 16px; }
    .nav-inner { padding: 12px var(--gutter); }
    .nav-logo-img { height: 52px; }
    .lang-switcher button { min-width: 30px; font-size: 15px; letter-spacing: .12em; }

    .hero { min-height: 0; }
    .hero-inner { flex-direction: column; align-items: stretch; padding-top: 140px; padding-bottom: 32px; gap: 30px; }
    .hero-title { font-size: 44px; }
    .hero-card { width: auto; }
    .hero-phone { font-size: 38px; }

    .page-head { min-height: 0; }
    .page-head-inner { padding-top: 120px; padding-bottom: 26px; }
    .page-title { font-size: 42px; letter-spacing: .1em; }
    .page-sub { font-size: 15px; width: 100%; }

    .section { padding: 40px 0; }
    .section-title { font-size: 40px; }
    .section-title-md { font-size: 32px; }
    .script { font-size: 32px; }
    .script-lg { font-size: 38px; }

    .menu-cols { grid-template-columns: 1fr; gap: 30px; }
    .welcome-grid { grid-template-columns: 1fr; gap: 16px; }
    .menu-col, .menu-col:first-child, .menu-col:last-child { padding: 0; border-left: 0; }
    .dish-name { font-size: 21px; }
    .dish-price { font-size: 20px; }

    .booking-split { grid-template-columns: 1fr; }
    .booking-photo .photo { min-height: 240px; aspect-ratio: 4 / 3; }
    .booking-body { border-left: 0; padding: 26px 20px; }
    .booking-card { padding: 30px 22px; }
    .booking-title { font-size: 30px; }
    .booking-text, .justify { text-align: left; }
    .big-phone { font-size: 36px; }
    .btn-row > * { flex: 1 1 140px; }

    .event-row { grid-template-columns: 70px 1fr; row-gap: 6px; padding: 18px 0; }
    .event-date { font-size: 24px; grid-row: span 2; align-self: start; }
    .event-title { font-size: 21px; }
    .event-meta { grid-column: 2; }
    .event-row > .link-plain, .event-row > .event-toggle { grid-column: 2; justify-self: start; }
    .event-desc { grid-column: 2; }

    .museum-inner { grid-template-columns: 1fr; grid-template-areas: "head" "text" "tiles" "btn"; }
    .museum-head { flex-wrap: wrap; gap: 8px 18px; }
    .museum-title { font-size: 32px; }
    .tile-mini { width: 58px; height: 58px; }

    .tabbar-inner { padding-top: 14px; padding-bottom: 14px; }
    .tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .tab { flex: none; font-size: 15px; letter-spacing: .14em; }
    .tabbar-note { font-size: 15px; }

    .menu-page-grid, .contact-grid { grid-template-columns: 1fr; }
    .menu-page-col { padding: 34px var(--gutter); }
    .menu-page-col + .menu-page-col, .contact-col-right { border-left: 0; border-top: 1px solid var(--line-dark); }
    .contact-col-right { border-top-color: var(--line-light); }
    .contact-col { padding: 34px var(--gutter); }
    .menu-page .dish-name { font-size: 22px; }
    .menu-page .dish-price { font-size: 21px; }
    .cta-band-right { flex-wrap: wrap; gap: 16px; }
    .cta-band .big-phone { font-size: 36px; }
    .phone-card-number { font-size: 44px; }

    .event-cards { grid-template-columns: 1fr; gap: 34px; }
    .event-card-title { font-size: 28px; }
    .event-card-foot { flex-wrap: wrap; }

    .museum-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .tiles-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 34px; }
}

/* ─── Forsidens menukort: rækkerne flugter på tværs af de tre kolonner ─── */
@media (min-width: 761px) {
    .menu-cols { grid-template-rows: auto repeat(3, auto); }
    .menu-col { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }
    .menu-col .dish { align-items: start; }
    .menu-col .dish:nth-child(4) { border-bottom: 0; }
}


/* ─── Footer: runde ikoner til Instagram, Facebook og Findsmiley ─── */
.social-icons { display: flex; gap: 18px; margin-top: 6px; }
.social-icon {
    width: 64px; height: 64px; border-radius: 50%;
    border: 1px solid rgba(236, 230, 214, .38);
    display: grid; place-items: center;
    color: var(--paper-2); transition: border-color .2s, background .2s;
}
.social-icon:hover { border-color: var(--paper-2); background: rgba(236, 230, 214, .08); text-decoration: none; }
.social-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-extra { margin-top: 14px !important; }
@media (max-width: 760px) { .social-icon { width: 56px; height: 56px; } }


/* ─── Footer: smiley i nederste højre hjørne ─── */
.footer-inner { position: relative; }
.footer-smiley { position: absolute; right: var(--gutter); bottom: 40px; }
@media (max-width: 760px) { .footer-smiley { position: static; justify-self: end; } }


/* ─── Flisemuseet på forsiden: de fire første fliser ─── */
.museum-tiles { text-decoration: none; }
.tile-mini { overflow: hidden; padding: 4px; }
.tile-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.museum-tiles:hover .tile-mini { border-color: rgba(239, 233, 219, .7); }


/* Priser som "70 / 325" må ikke brydes over to linjer */
.dish-price { white-space: nowrap; }


/* Hero-boksen: lys tegnet ramme som ved bordbestillingen */
.hero-card > .frame-line, .hero-card > .frame-loop { stroke: var(--paper); }

/* Menukortet: kobbergryderne – vis grydens kant i toppen */
body:has(.menu-page) .page-head { background-position: center 34%; }

/* Forside-hero: blåt overlay tonet kraftigt ned – kun let mørkning i top og bund for læsbarheden */
.hero { background-position: center bottom; }
.hero::before { background: linear-gradient(180deg, rgba(20, 24, 30, .5) 0%, rgba(20, 24, 30, .15) 30%, rgba(20, 24, 30, .22) 55%, rgba(20, 24, 30, .6) 100%); }
.hero-text { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.hero-card { background: rgba(34, 55, 79, .55); backdrop-filter: blur(2px); }

/* Håndskrevne underoverskrifter er nu rigtige h2'er – samme udseende som før */
h2.script { margin-top: 0; font-weight: normal; letter-spacing: normal; text-transform: none; }

/* Kort uden cookies, indtil der klikkes */
.map-placeholder { position: relative; height: 250px; background-size: cover; background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.map-placeholder::before { content: ''; position: absolute; inset: 0; background: rgba(34, 55, 79, .72); }
.map-placeholder > * { position: relative; }
.map-note { font-size: 12.5px; line-height: 1.5; max-width: 320px; margin: 0; opacity: .9; }
.map-note a { color: inherit; text-decoration: underline; }

