/* AllesPlanbar – Stylesheet
   Angelehnt an das frühere WordPress-Theme (Hestia): großes Kopfbild,
   weiße "angehobene" Inhaltskarte, Akzentfarbe Orange. */

@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #ee892c;
  --accent-dark: #c96a12;
  --text: #3c4858;
  --heading: #2c3440;
  --muted: #6b7380;
  --line: #e4e6ea;
  --bg: #e5e5e5;
  --surface: #ffffff;
  --footer: #2b2f36;
  --radius: 6px;
  --shadow: 0 16px 38px -12px rgba(0, 0, 0, .45), 0 4px 25px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);
  --shadow-sm: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
  --font-heading: "Roboto Slab", Rockwell, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-height: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
  margin: 1.6em 0 .6em;
}
h2 { font-size: 1.75rem; }
h3 { font-size: 1.3rem; }
h2:first-child, h3:first-child { margin-top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Navigation ---------- */

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, .12), 0 7px 10px -5px rgba(0, 0, 0, .15);
}
.navbar-inner {
  max-width: 1170px; margin: 0 auto; padding: 0 16px;
  min-height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand img { height: 60px; width: auto; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu a {
  display: block; padding: 10px 14px; border-radius: 3px;
  color: var(--text); text-decoration: none;
  font-size: .8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
}
.menu a:hover, .menu .active > a { color: var(--accent-dark); }
.menu > li.active > a { background: rgba(238, 137, 44, .1); }

.submenu {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; left: 0; top: 100%; min-width: 230px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.submenu a { text-transform: none; font-size: .9375rem; padding: 8px 18px; }
.submenu a:hover, .submenu a[aria-current] { background: var(--accent); color: #fff; }
.has-children:hover > .submenu,
.has-children:focus-within > .submenu,
.has-children.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu-toggle { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 24px; height: 2px; background: var(--text); position: relative; transition: transform .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
  :root { --nav-height: 64px; }
  .brand img { height: 48px; }
  .nav-toggle { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 8px 0 16px;
    box-shadow: 0 12px 18px -8px rgba(0, 0, 0, .25);
    max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 20px; font-size: .9375rem; }
  .menu > li.active > a { background: none; }
  .has-children { display: grid; grid-template-columns: 1fr auto; }
  .submenu-toggle {
    display: block; width: 52px; border: 0; background: none; cursor: pointer; position: relative;
  }
  .submenu-toggle::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
    border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
    transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s;
  }
  .submenu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(-135deg); }
  .submenu {
    grid-column: 1 / -1; position: static; box-shadow: none; border-radius: 0;
    display: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 6px 16px;
    background: #fafafa;
  }
  .has-children:hover > .submenu, .has-children:focus-within > .submenu { display: none; }
  .has-children.open > .submenu { display: block; }
}

/* ---------- Kopfbereich ---------- */

.page-header {
  position: relative;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 16px 120px;
  background: #333 var(--header-image) center / cover no-repeat;
  color: #fff; text-align: center;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(20, 20, 20, .65), rgba(60, 40, 20, .45));
}
.page-header-inner { position: relative; max-width: 900px; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.page-subtitle { margin: .4em 0 0; font-size: 1.15rem; opacity: .92; }
.hero { min-height: min(78vh, 720px); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.hero .page-subtitle { font-size: clamp(1.1rem, 2.4vw, 1.5rem); margin-bottom: 1.4em; }

/* ---------- Inhaltskarte ---------- */

.main { padding: 0 16px 60px; }
.card {
  position: relative; z-index: 2;
  max-width: 1140px; margin: -80px auto 0;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 64px);
}
.card > :first-child { margin-top: 0; }

.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

.section + .section { margin-top: clamp(40px, 6vw, 72px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 20px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-block; padding: 12px 30px; border-radius: 3px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; text-decoration: none;
  font: 500 .875rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: .04em;
  box-shadow: 0 2px 2px 0 rgba(238, 137, 44, .14), 0 3px 1px -2px rgba(238, 137, 44, .2), 0 1px 5px 0 rgba(238, 137, 44, .12);
  transition: box-shadow .2s, background .2s;
}
.btn:hover { color: #fff; background: var(--accent-dark); box-shadow: 0 14px 26px -12px rgba(238, 137, 44, .42), 0 4px 23px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(238, 137, 44, .2); }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-outline { background: transparent; color: var(--accent-dark); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-outline:hover { background: var(--accent); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 4px 0 4px 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: .6em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

.occasions { font-size: 1.15rem; line-height: 1.8; }

.note {
  border-left: 4px solid var(--accent); background: #fff6ee; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Angebote ---------- */

.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; align-items: stretch; }
.offer {
  display: flex; flex-direction: column;
  border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 28px; text-align: center;
  border-top: 4px solid var(--line);
}
.offer.featured { border-top-color: var(--accent); }
.offer h2 { font-size: 1.35rem; margin: 0 0 .3em; }
.price { font: 700 2.4rem/1.1 var(--font-heading); color: var(--heading); margin: .3em 0 0; }
.price-note { color: var(--muted); font-size: .9375rem; margin: .2em 0 1.2em; }
.offer ul { text-align: left; flex: 1; }
.offer .btn { align-self: center; margin-top: 1em; }
.offer-extra { font-weight: 600; margin: .8em 0 .2em; text-align: left; }

/* ---------- Getränke ---------- */

.drinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 48px; }
.drinks h3 { font-size: 1.1rem; color: var(--accent-dark); margin: 1.4em 0 .4em; border-bottom: 2px solid var(--line); padding-bottom: 6px; }
.price-list { width: 100%; border-collapse: collapse; }
.price-list td { padding: 6px 0; vertical-align: top; border-bottom: 1px dotted var(--line); }
.price-list td:nth-child(2) { color: var(--muted); white-space: nowrap; padding: 6px 12px; }
.price-list td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }

/* ---------- Speisen / Partner ---------- */

.caterers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.caterers li { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.caterers strong { display: block; font-family: var(--font-heading); color: var(--heading); }

.partner-list { columns: 3 240px; column-gap: 32px; padding: 0; list-style: none; }
.partner-list li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); }
.partner-list a { text-decoration: none; }
.partner-list a::after { content: " ↗"; font-size: .8em; color: var(--muted); }

/* ---------- Team ---------- */

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 32px; }
.member { text-align: center; }
.member img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; box-shadow: var(--shadow-sm); }
.member h3 { margin: 0 0 .3em; }
.member p { margin: 0; }

/* ---------- Kontakt ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
input, textarea {
  width: 100%; font: inherit; color: inherit; padding: 10px 12px;
  border: 1px solid #cfd3d9; border-radius: 4px; background: #fff;
}
input:focus, textarea:focus { border-color: var(--accent); outline: 2px solid rgba(238, 137, 44, .3); }
textarea { min-height: 150px; resize: vertical; }
label.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9375rem; margin: 4px 0 16px; }
label.checkbox input { width: auto; margin-top: 5px; flex: none; }

/* ---------- Galerien ---------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 28px 0; }
.gallery figure { margin: 0; }
.gallery a { display: block; overflow: hidden; border-radius: 4px; background: #eee; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption, .single-image figcaption { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.single-image { margin: 28px 0; }
.single-image img { max-height: 640px; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: #fff; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.05); }
.tile-label {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  font: 700 1.2rem/1.2 var(--font-heading);
}
.tile-label small { display: block; font: 400 .8125rem var(--font-body); opacity: .85; margin-top: 4px; }
.tile:hover { color: #fff; }

.slider { position: relative; margin: 0 -8px; }
.slider-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  list-style: none; margin: 0; padding: 0 8px 8px; scrollbar-width: thin;
}
.slider-track li { flex: 0 0 auto; scroll-snap-align: start; }
.slider-track a { display: block; border-radius: 4px; overflow: hidden; }
.slider-track img { height: 260px; width: auto; max-width: none; }
.slider-btn {
  position: absolute; top: calc(50% - 26px); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--heading); font-size: 28px; line-height: 1;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }
@media (max-width: 600px) { .slider-track img { height: 200px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 10, 10, .92); align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; margin: 0 auto; border-radius: 3px; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: .9375rem; }
.lightbox button {
  position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: calc(50% - 24px); }
.lightbox .lb-next { right: 12px; top: calc(50% - 24px); }
.lightbox .lb-count { position: absolute; top: 22px; left: 20px; color: #bbb; font-size: .875rem; }

/* ---------- News ---------- */

.news-list { display: grid; gap: 28px; }
.news-card { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.news-card:last-child { border-bottom: 0; padding-bottom: 0; }
.news-card.no-image { grid-template-columns: 1fr; }
.news-card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.news-card h2 { font-size: 1.4rem; margin: .2em 0 .4em; }
.news-card h2 a { color: inherit; text-decoration: none; }
.news-card h2 a:hover { color: var(--accent-dark); }
.news-card p { margin: 0 0 .6em; }
.news-card time, .post-meta { color: var(--muted); font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
.read-more { font-weight: 600; font-size: .9375rem; }
@media (max-width: 680px) { .news-card { grid-template-columns: 1fr; gap: 14px; } }
.post-body { max-width: 760px; }

/* ---------- Rechtstexte ---------- */

.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; }
.legal h3 { font-size: 1.1rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--footer); color: #c9ccd1; font-size: .9375rem; padding: 28px 16px; }
.site-footer a { color: #e7e9ec; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-links {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1140px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  text-transform: uppercase; font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
}

@media (prefers-reduced-motion: reduce) {
  html, .slider-track { scroll-behavior: auto; }
  * { transition: none !important; }
}
