/* ============================================
   Beckers Boddenstuf – Stylesheet
   Modern, mobil-optimiert, schnell
   ============================================ */

:root {
  --cream: #faf6ef;
  --cream-dark: #f1e9dc;
  --brown: #2e2419;
  --brown-soft: #5a4a38;
  --accent: #c17a3f;        /* Sanddorn-Braun */
  --accent-dark: #9d5f2c;
  --teal: #3e6e64;          /* Bodden-Grün */
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(46, 36, 25, .12);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }

.container { width: min(1100px, 92%); margin-inline: auto; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--brown); }
.brand-logo {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
}
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 400; color: var(--brown-soft); letter-spacing: .06em; text-transform: uppercase; }

.main-nav ul { display: flex; gap: .4rem; list-style: none; }
.main-nav a {
  display: block; padding: .55rem .95rem; border-radius: 999px;
  text-decoration: none; color: var(--brown); font-weight: 500; font-size: .95rem;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--cream-dark); }
.main-nav a.active { background: var(--brown); color: var(--cream); }
.main-nav a.nav-cta { background: var(--accent); color: #fff; }
.main-nav a.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--brown);
  margin: 5px auto; transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--cream-dark);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: .8rem 4%; gap: .2rem; }
  .main-nav a { padding: .85rem 1rem; border-radius: 10px; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 72vh;
  display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../bilder/terrasse-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(.45);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(20, 14, 8, .35), rgba(20, 14, 8, .55));
}
.hero-inner { position: relative; z-index: 1; padding: 4rem 1.2rem; max-width: 780px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.hero .kicker {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem;
  margin-bottom: 1rem; color: #f3d9b8;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: 1rem; }
.hero p { font-size: clamp(1rem, 2.4vw, 1.25rem); margin-bottom: 2rem; opacity: .95; }

.btn {
  display: inline-block; padding: .85rem 1.8rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(193, 122, 63, .45); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-dark { background: var(--brown); color: var(--cream); }
.btn-dark:hover { background: var(--brown-soft); }
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--cream-dark); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section-head .kicker {
  color: var(--accent); text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 600; display: block; margin-bottom: .5rem;
}
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); margin-bottom: .7rem; }
.section-head p { color: var(--brown-soft); }

/* Cards */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 1.4rem; flex: 1; }
.card-body h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.card-body p { color: var(--brown-soft); font-size: .95rem; }

/* Über uns split */
.split { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr 1fr; }
.split img, .split video { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 1rem; }
.split p { margin-bottom: 1rem; color: var(--brown-soft); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Info-Leiste (Öffnungszeiten/Kontakt/Adresse) */
.info-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.info-box {
  background: var(--white); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); text-align: center;
}
.info-box h3 { font-size: 1.15rem; margin-bottom: .8rem; color: var(--accent-dark); }
.info-box p { color: var(--brown-soft); font-size: .97rem; }
.info-box a { color: var(--teal); font-weight: 600; text-decoration: none; }
.info-box a:hover { text-decoration: underline; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours-table td { padding: .3rem 0; color: var(--brown-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--brown); }
.hours-table .closed td { opacity: .55; }

/* ---------- Speisekarte ---------- */
.menu-tabs {
  display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: .7rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--brown);
  background: transparent; color: var(--brown); font-weight: 600; font-size: 1rem;
  cursor: pointer; font-family: var(--font-body); transition: all .2s;
}
.menu-tab:hover { background: var(--cream-dark); }
.menu-tab.active { background: var(--brown); color: var(--cream); }

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-category { max-width: 760px; margin: 0 auto 3rem; }
.menu-category > h3 {
  text-align: center; font-size: 1.55rem; margin-bottom: .4rem; color: var(--accent-dark);
}
.menu-category > .cat-note { text-align: center; color: var(--brown-soft); font-size: .9rem; font-style: italic; margin-bottom: 1.6rem; }
.menu-item {
  display: flex; justify-content: space-between; gap: 1.2rem;
  padding: .85rem 0; border-bottom: 1px dashed rgba(90, 74, 56, .25);
}
.menu-item:last-child { border-bottom: none; }
.menu-item .name { font-weight: 600; }
.menu-item .desc { color: var(--brown-soft); font-size: .9rem; }
.menu-item .tag {
  display: inline-block; font-size: .72rem; font-weight: 600; color: var(--teal);
  border: 1px solid var(--teal); border-radius: 999px; padding: .05rem .55rem; margin-left: .4rem;
  vertical-align: middle;
}
.menu-item .price { white-space: nowrap; font-weight: 700; color: var(--accent-dark); }
.menu-item .size { display: block; font-size: .8rem; font-weight: 400; color: var(--brown-soft); text-align: right; }

/* ---------- Reservierung ---------- */
.widget-consent {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius); padding: 2.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.widget-consent p { color: var(--brown-soft); margin-bottom: 1.4rem; font-size: .95rem; }
.widget-frame { width: 100%; max-width: 720px; height: 760px; border: none; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; display: block; background: #fff; }

/* ---------- Bewertungen ---------- */
.review-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 900px; margin: 0 auto; }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: var(--shadow); text-align: center; text-decoration: none; color: var(--brown);
  transition: transform .15s;
}
.review-card:hover { transform: translateY(-4px); }
.review-card .icon { font-size: 2rem; margin-bottom: .6rem; }
.review-card h3 { margin-bottom: .4rem; }
.review-card p { color: var(--brown-soft); font-size: .9rem; }

/* ---------- Gästestimmen ---------- */
.quote-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quote-card {
  background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.quote-card blockquote { flex: 1; color: var(--brown-soft); font-size: .95rem; font-style: italic; }
.quote-card blockquote::before { content: "„"; font-family: var(--font-display); font-size: 2rem; color: var(--accent); display: block; line-height: 1; }
.quote-card cite { margin-top: .9rem; font-style: normal; font-weight: 600; font-size: .88rem; }
.quote-card cite small { display: block; font-weight: 400; color: var(--brown-soft); }

/* ---------- News ---------- */
.news-list { max-width: 720px; margin: 0 auto; display: grid; gap: 1.2rem; }
.news-item {
  background: var(--white); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; box-shadow: var(--shadow);
}
.news-item .news-datum { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.news-item p { color: var(--brown-soft); margin-top: .3rem; }
.news-item img { border-radius: 10px; margin-bottom: .8rem; max-height: 320px; object-fit: cover; width: 100%; }

/* Sonder-Hinweis (Feiertage/Urlaub) */
.sonder-hinweis {
  margin-top: .9rem; padding: .6rem .9rem; border-radius: 10px;
  background: #fdeeda; border: 1.5px solid var(--accent);
  color: var(--accent-dark); font-weight: 600; font-size: .9rem;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.form-row input, .form-row textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--cream-dark);
  border-radius: 10px; font-family: var(--font-body); font-size: 1rem; background: var(--cream);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-note { font-size: .8rem; color: var(--brown-soft); margin-top: .8rem; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-bottom: 1.6rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .7rem; color: var(--accent-dark); }
.legal p, .legal li { color: var(--brown-soft); margin-bottom: .8rem; font-size: .96rem; }
.legal ul { padding-left: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: var(--cream); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 2.5rem; }
.site-footer h4 { font-size: 1.05rem; margin-bottom: .9rem; color: #f3d9b8; }
.site-footer p, .site-footer a, .site-footer td { color: rgba(250, 246, 239, .82); font-size: .93rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, .18); padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  font-size: .85rem; color: rgba(250, 246, 239, .6);
}
.social-links { display: flex; gap: .9rem; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--teal); color: #fff; text-align: center; padding: 3.5rem 1rem; }
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .7rem; }
.cta-band p { opacity: .9; margin-bottom: 1.6rem; }

/* ---------- Hilfsklassen ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .review-card:hover { transform: none; }
}
