/* Wallfahrtsgaststätte Matzenhofen – Prototyp „Waldabend“
   Schriften: bewußt nur Systemschriften (keine externen Aufrufe, datenschutzfreundlich). */
:root {
  --bg: #16201A;
  --bg-deep: #0F1712;
  --bg-soft: #24332A;
  --line: #3A4B3F;
  --ink: #EDE7D6;
  --ink-soft: #C5CBB8;
  --ink-mute: #B9C0AE;
  --accent: #E3A83A;
  --cream: #EFE6D0;
  --cream-ink: #1B241D;
  --cream-soft: #3C4638;
  --serif: 'Young Serif', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', sans-serif;
  --wrap: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul, figure, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #F2C165; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 160px); margin: 0 auto; padding: 0 80px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 12px 18px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: 6px; font-weight: 700; font-size: 17px; line-height: 1.2; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn-accent { background: var(--accent); color: #16201A; }
.btn-accent:hover { background: #F2C165; color: #16201A; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-dark { background: var(--cream-ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.kicker { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); }

/* Topbar */
.topbar { background: var(--bg-deep); color: var(--ink-mute); font-size: 15px; }
.topbar-in { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; }
.status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status strong { color: #fff; }
.dot { width: 9px; height: 9px; border-radius: 999px; background: #888; flex-shrink: 0; }
.topbar-contact { display: flex; gap: 28px; align-items: center; }
.topbar-contact a { color: #fff; font-weight: 700; white-space: nowrap; }
.topbar-contact { flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid #2A3A2F; }
.header-in { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 25px; color: var(--ink); }
.brand-sub { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 16px; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #16201A; padding: 12px 22px; font-size: 16px; }
.nav .btn:hover { color: #16201A; }
.menu-btn { display: none; min-height: 48px; padding: 0 20px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 760px; display: flex; align-items: flex-end; background: var(--bg-soft); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; background: #24332A; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.hero-photo[data-slides].js img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-photo[data-slides].js img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-photo[data-slides].js img { transition: none; } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: linear-gradient(0deg, rgba(22,32,26,.96), rgba(22,32,26,.86) 60%, rgba(22,32,26,0)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3.4fr); gap: 48px; align-items: end; padding-bottom: 80px; padding-top: 220px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 8vw, 112px); line-height: .98; letter-spacing: -.01em; color: #fff; }
.lead { font-size: 21px; line-height: 1.6; color: #D5D9C9; max-width: 680px; }
.today { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg-deep); border: 1px solid var(--accent); border-radius: 6px; }
.today-head { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: #fff; }
.today-sub { font-size: 17px; color: #D5D9C9; }
.today .btn { margin-top: 2px; }

/* Sections */
.section { padding: 100px 0; }
.section-tight { padding: 0 0 100px; }
.tafel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 56px; background: var(--bg-deep); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -12px; border-radius: 6px; }
.tafel-head { grid-column: span 4; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.tafel h2, .hours h2, .panel h2 { font-family: var(--serif); font-weight: 400; color: #fff; line-height: 1.06; }
.tafel h2 { font-size: 52px; }
.tafel-head p { color: var(--ink-soft); }
.tafel-head .btn-row { margin-top: auto; padding-top: 12px; }
.dishes { grid-column: 6 / span 7; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.dishes li { display: flex; align-items: baseline; gap: 16px; font-size: 24px; color: #F3EEDF; }
.dishes i { flex: 1; border-bottom: 2px dotted #4B5E50; transform: translateY(-6px); min-width: 12px; }
.dishes b { font-family: var(--serif); font-weight: 400; color: var(--accent); white-space: nowrap; }

.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.hours { grid-column: span 5; display: flex; flex-direction: column; gap: 18px; }
.hours h2 { font-size: 40px; }
.week { display: flex; flex-direction: column; }
.week li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-radius: 4px; font-size: 18px; color: var(--ink); }
.week li.closed { color: #9AA38D; }
.week li.today-row { background: var(--accent); color: #16201A; font-weight: 700; }
.small { font-size: 15px; color: var(--ink-mute); }
.find { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 20px; }
.map { position: relative; min-height: 260px; flex-grow: 1; border-radius: 6px; background: var(--bg-soft); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 24px; font-size: 14px; color: var(--ink-mute); }
.map address { text-align: right; font-size: 17px; line-height: 1.45; color: #fff; }
.map-links { font-size: 16px; }
.togo { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; background: var(--accent); border-radius: 6px; color: #16201A; }
.togo h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.togo p { font-size: 16px; line-height: 1.45; margin-top: 4px; }
.togo .btn { flex-shrink: 0; }

.light { background: var(--cream); color: var(--cream-ink); padding: 90px 0; }
.light-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.light h2 { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: 1.02; margin-bottom: 14px; }
.light-head p { max-width: 700px; font-size: 19px; color: var(--cream-soft); }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ph { width: 100%; height: 300px; object-fit: cover; display: block; border-radius: 6px; background: #C7BB9C; }
.dish-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.dish-photos figure { position: relative; overflow: hidden; border-radius: 6px; background: var(--bg-soft); }
.dish-photos img { width: 100%; height: 240px; object-fit: cover; display: block; }
.dish-photos figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 16px; background: rgba(15,23,18,.82); color: #fff; font-size: 15px; font-weight: 500; border-top-right-radius: 6px; }
.rooms figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.rooms strong { font-size: 22px; }
.rooms figcaption span { font-size: 16px; color: var(--cream-soft); }

.two-col-even > * { grid-column: span 6; }
.panel { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 6px; }
.panel h2 { font-size: 34px; line-height: 1.15; }
.panel p:not(.kicker) { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.panel-line { border: 1px solid var(--accent); }
.panel-fill { background: var(--bg-soft); }
.panel-fill p:not(.kicker) { color: #D5D9C9; }
.more { margin-top: auto; font-weight: 700; }

.footer { background: var(--bg-deep); color: var(--ink-soft); padding: 56px 0; font-size: 16px; }
.footer-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.footer p { margin: 0; }
.footer a { color: #fff; }
.foot-title { font-family: var(--serif); font-size: 24px; color: #fff; margin-bottom: 10px !important; }
.foot-h { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #9AA38D; margin-bottom: 10px !important; }

/* Speisekarten-Seiten */
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn[aria-current="page"] { color: #16201A; }
.page-head { padding: 56px 0 0; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 15px; color: var(--ink-mute); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; color: #fff; }
.page-head .lead { margin-top: 18px; font-size: 20px; max-width: 720px; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.subnav a { padding: 14px 22px; min-height: 48px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; color: var(--ink); font-weight: 500; font-size: 16px; background: transparent; }
.subnav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.subnav a[aria-current="page"] { background: var(--bg); color: var(--accent); border-color: var(--accent); font-weight: 700; position: relative; top: 1px; }
.menu-page { padding: 64px 0 100px; }
.menu-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.menu-main { grid-column: span 8; display: flex; flex-direction: column; gap: 56px; }
.menu-aside { grid-column: 10 / span 3; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 112px; }
.menu-block h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; color: #fff; margin-bottom: 22px; }
.menu-block h2 .sub { font-family: var(--sans); font-size: 16px; color: var(--accent); font-weight: 700; letter-spacing: .04em; margin-left: 10px; }
.menu-list { display: flex; flex-direction: column; gap: 22px; }
.menu-list li { display: flex; align-items: baseline; gap: 16px; font-size: 21px; color: #F3EEDF; }
.menu-list i { flex: 1; border-bottom: 2px dotted #4B5E50; transform: translateY(-6px); min-width: 12px; }
.menu-list b { font-family: var(--serif); font-weight: 400; color: var(--accent); white-space: nowrap; }
.menu-note { margin-top: 18px; font-size: 16px; color: var(--ink-mute); }
.menu-note.allergene { margin-top: 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.menu-table { width: 100%; border-collapse: collapse; font-size: 20px; }
.menu-table th, .menu-table td { padding: 16px 12px; border-bottom: 1px solid #2A3A2F; text-align: right; font-weight: 400; }
.menu-table thead th { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.menu-table th:first-child { text-align: left; color: #F3EEDF; }
.menu-table td { font-family: var(--serif); color: var(--accent); white-space: nowrap; }
.menu-photo img { width: 100%; height: 260px; object-fit: cover; display: block; border-radius: 6px; }
.aside-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg-deep); border: 1px solid var(--accent); border-radius: 6px; }
.aside-card p:not(.kicker) { color: var(--ink-soft); font-size: 17px; }
.togo-times { padding: 32px; background: var(--accent); color: #16201A; border-radius: 6px; }
.togo-times h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 16px; }
.togo-times ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.togo-times li { display: flex; justify-content: space-between; gap: 16px; font-size: 19px; flex-wrap: wrap; }
.togo-times a { color: #16201A; font-weight: 700; text-decoration: underline; }

.menu-table.drinks td.q { text-align: left; font-family: var(--sans); color: var(--ink-mute); font-size: 17px; }
.menu-table.drinks th:first-child { width: 58%; }
.menu-table.drinks tbody th { font-weight: 400; }
.week-big li { font-size: 21px; padding: 13px 16px; border-bottom: 1px solid #2A3A2F; border-radius: 0; }
.week-big li.today-row { border-radius: 4px; }
.prose { font-size: 19px; line-height: 1.65; color: var(--ink-soft); max-width: 720px; margin-bottom: 22px; }
.big-address { font-size: 26px; line-height: 1.4; color: #fff; margin-bottom: 26px; font-family: var(--serif); }
.plan img { width: 100%; height: auto; display: block; border-radius: 6px; margin-top: 18px; background: var(--bg-soft); }
.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.link-card { display: flex; flex-direction: column; background: var(--bg-deep); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.link-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.link-card > div { padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex-grow: 1; }
.link-card h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; color: #fff; }
.link-card p { color: var(--ink-soft); }
.link-card .btn { margin-top: auto; }
.legal { max-width: 800px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: #fff; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.map { background-size: cover; background-position: center; }
.plan figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-mute); }
.akt-text { display: flex; flex-direction: column; gap: 12px; }
.akt-text p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.two-col-even.single > * { grid-column: 1 / -1; }
.akt-band { padding: 56px 0 0; }
.akt-band .panel { padding: 36px 40px; }
[hidden] { display: none !important; }
.map-photo { background-image: linear-gradient(0deg, rgba(15,23,18,.85), rgba(15,23,18,.05) 55%), url('../images/luftbild.jpg'); color: #fff; }

/* Tablet */
@media (max-width: 1100px) {
  .link-cards { grid-template-columns: 1fr; }
  .menu-main, .menu-aside { grid-column: 1 / -1; }
  .menu-aside { position: static; }
  .menu-photo img { height: 300px; }
  .wrap { padding: 0 40px; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 200px; padding-bottom: 56px; }
  .today { max-width: 460px; }
  .tafel { padding: 40px; }
  .tafel-head, .dishes { grid-column: 1 / -1; }
  .tafel-head { margin-bottom: 36px; }
  .dishes li { font-size: 21px; }
  .hours, .find { grid-column: 1 / -1; }
  .light-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .two-col-even > * { grid-column: 1 / -1; }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 20px; font-size: 15px; }
}

/* Handy */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hide-sm { display: none; }
  .header-in { min-height: 72px; }
  .brand-name { font-size: 21px; }
  .brand svg { width: 34px; height: 34px; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.4); }
  .nav.open { display: flex; }
  .nav a { padding: 15px 4px; border-bottom: 1px solid #2A3A2F; font-size: 18px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 15px 24px; font-size: 18px; }
  .hero { min-height: 640px; }
  .hero-in { padding-top: 180px; padding-bottom: 32px; }
  .lead { font-size: 18px; }
  .today { padding: 22px; max-width: none; }
  .today-head { font-size: 26px; }
  .section { padding: 56px 0; }
  .section-tight { padding-bottom: 56px; }
  .tafel { padding: 28px 22px; outline-offset: -8px; }
  .tafel h2 { font-size: 38px; }
  .dishes { gap: 22px; }
  .dishes li { font-size: 19px; flex-wrap: wrap; row-gap: 2px; }
  .dishes i { display: none; }
  .dishes span { flex: 1 1 100%; }
  .hours h2 { font-size: 32px; }
  .week li { font-size: 17px; padding: 10px 12px; flex-wrap: wrap; }
  .togo { flex-direction: column; align-items: stretch; padding: 24px; }
  .togo .btn { width: 100%; }
  .map { min-height: 200px; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .map address { text-align: left; }
  .light { padding: 56px 0; }
  .light h2 { font-size: 40px; }
  .light-head p { font-size: 17px; }
  .light-head .btn { width: 100%; }
  .rooms { grid-template-columns: 1fr; gap: 28px; }
  .ph { height: 240px; }
  .dish-photos { grid-template-columns: 1fr; gap: 16px; }
  .dish-photos img { height: 200px; }
  .panel { padding: 28px 22px; }
  .panel h2 { font-size: 28px; }
  .menu-table.drinks th:first-child { width: auto; }
  .menu-table.drinks td.q { font-size: 15px; }
  .week-big li { font-size: 18px; }
  .big-address { font-size: 22px; }
  .prose { font-size: 17px; }
  .link-card img { height: 200px; }
  .link-card > div { padding: 22px; }
  .legal h2 { font-size: 24px; margin-top: 32px; }
  .page-head { padding-top: 36px; }
  .page-head .lead { font-size: 18px; }
  .subnav { margin-top: 28px; gap: 6px; }
  .subnav a { padding: 12px 14px; font-size: 15px; border-bottom: 1px solid var(--line); border-radius: 6px; }
  .subnav a[aria-current="page"] { top: 0; background: var(--bg-soft); }
  .page-head { padding-bottom: 24px; }
  .menu-page { padding: 40px 0 64px; }
  .menu-main { gap: 44px; }
  .menu-block h2 { font-size: 30px; }
  .menu-block h2 .sub { display: block; margin: 6px 0 0; }
  .menu-list { gap: 18px; }
  .menu-list li { flex-wrap: wrap; row-gap: 2px; font-size: 19px; }
  .menu-list i { display: none; }
  .menu-list span { flex: 1 1 100%; }
  .menu-table { font-size: 17px; }
  .menu-table th, .menu-table td { padding: 12px 6px; }
  .menu-table thead th { font-size: 12px; letter-spacing: .06em; }
  .togo-times { padding: 24px; }
  .togo-times li { flex-direction: column; gap: 0; }
  .aside-card { padding: 22px; }
  .footer { padding: 40px 0; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
