/*
Theme Name: Hof-Café Lutzhorn
Theme URI: https://lutzhorn.example/
Author: Elbblut
Author URI: https://elbblut.de/
Description: Individuelles WordPress-Theme für Hof-Café Lutzhorn – Café, Hofladen und Halle mit Küche zum Mieten. Enthält einen Veranstaltungs- und Buchungskalender mit Anfrage-Workflow.
Version: 1.3.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hofcafe-lutzhorn
*/

/* =========================================================
   1) Design tokens (aus dem Dorftreff-Entwurf übernommen)
   ========================================================= */
:root {
  --bg: oklch(98.5% 0.012 140);
  --ink: oklch(27% 0.025 90);
  --ink-soft: oklch(42% 0.025 90);
  --coral: oklch(62% 0.18 30);
  --leaf: oklch(58% 0.16 140);
  --white: oklch(99% 0.003 140);
  --line: oklch(88% 0.02 140);
}

/* =========================================================
   2) Reset & Basis
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; font-weight: 700; }
a:hover { color: var(--coral); }
h1, h2, h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 48px; }

/* =========================================================
   3) Bausteine: Buttons, Badges, Icons, Karten
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--leaf); color: var(--white); }
.btn-primary:hover { color: var(--white); background: oklch(52% 0.16 140); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { color: var(--coral); border-color: var(--coral); }
.btn-small { padding: 10px 22px; font-size: 13px; }

.badge { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card {
  border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 2px solid var(--line);
}

/* =========================================================
   4) Header / Navigation
   ========================================================= */
.site-header {
  width: 100%;
  background: var(--bg);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px; padding-bottom: 26px;
  gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo-mark {
  width: 46px; height: 46px; border-radius: 50%; background: var(--coral);
  display: flex; align-items: center; justify-content: center; transform: rotate(-6deg);
  flex: none;
}
.site-logo-text {
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; transform: rotate(-1deg);
}
.site-logo-text span { color: var(--coral); }
.site-logo img.custom-logo { max-height: 46px; width: auto; display: block; }

.main-navigation { display: flex; align-items: center; gap: 10px; font-size: 15px; flex-wrap: wrap; }
.main-navigation ul { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.main-navigation a { padding: 8px 16px; border-radius: 999px; display: inline-block; }
.main-navigation .current-menu-item > a,
.main-navigation a.is-active {
  background: var(--leaf); color: var(--white);
}
.main-navigation a.is-active:hover { color: var(--white); }

.menu-toggle { display: none; }

/* =========================================================
   5) Hero
   ========================================================= */
.hero { position: relative; width: 100%; height: 560px; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media svg { display: block; position: absolute; inset: 0; }
.hero-content { position: relative; height: 100%; display: flex; align-items: center; }
.hero-card {
  background: var(--white); border-radius: 28px; border: 2px solid var(--line);
  padding: 44px 48px; max-width: 620px;
  box-shadow: 0 14px 32px oklch(30% 0.05 40 / 0.14);
}
.hero-card .badge { background: var(--leaf); color: white; transform: rotate(-2deg); display: inline-block; margin-bottom: 18px; }
.hero-card h1 { font-size: 42px; line-height: 1.12; margin-bottom: 16px; }
.hero-card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 22px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

.hero-badge-round {
  position: absolute; bottom: -34px; right: 72px; width: 100px; height: 100px;
  border-radius: 50%; background: var(--coral); display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; line-height: 1.25;
  color: white; transform: rotate(-8deg); box-shadow: 0 10px 22px oklch(30% 0.05 40 / 0.22); z-index: 2;
}

/* =========================================================
   6) Café-Bereich + Kalender-Kasten
   ========================================================= */
.cafe-section { background: var(--white); padding-top: 70px; padding-bottom: 70px; position: relative; overflow: hidden; }
.cafe-confetti { position: absolute; top: 10px; left: -30px; opacity: 0.5; }
.cafe-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 36px; align-items: start;
}
.cafe-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cafe-hours { font-size: 14px; color: var(--ink-soft); margin-top: 22px; }

.kalender-box {
  background: var(--leaf); color: white; border-radius: 24px; padding: 30px;
  display: flex; flex-direction: column; gap: 20px;
}
.kalender-box h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.kalender-box .divider { height: 2px; background: oklch(99% 0.01 95 / 0.25); border-radius: 2px; border: 0; }
.kalender-box .btn-primary.btn-white { background: white; color: var(--leaf); align-self: flex-start; }

.news-teaser-list { display: flex; flex-direction: column; gap: 12px; }
.news-teaser-item a { color: white; }
.news-teaser-item .news-teaser-title { display: block; font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.news-teaser-item .news-teaser-excerpt { font-size: 13px; line-height: 1.6; opacity: 0.92; }
.news-teaser-empty { font-size: 13px; line-height: 1.7; opacity: 0.95; }

/* Widgets im grünen Bereich */
.kalender-widget { margin: 0; }
.kalender-widget + .kalender-widget { border-top: 2px solid oklch(99% 0.01 95 / 0.25); padding-top: 20px; }
.kalender-widget a:not(.btn) { color: white; }
.kalender-widget .kalender-widget-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.kalender-widget ul { list-style: none; margin: 0; padding: 0; }

.mini-cal-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mini-cal-day {
  aspect-ratio: 1; border-radius: 5px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 600; position: relative;
  background: oklch(99% 0.003 140 / 0.2); color: var(--white);
}
.mini-cal-day.is-booked { background: var(--white); color: var(--leaf); }
.mini-cal-day.is-event::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--coral);
}
.mini-cal-day.is-pad { visibility: hidden; }
.mini-cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 11px; opacity: 0.9; }
.mini-cal-legend span.dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 5px; }
.mini-cal-legend .dot-booked { background: var(--white); }
.mini-cal-legend .dot-free { background: oklch(99% 0.01 95 / 0.3); }
.mini-cal-legend .dot-event { background: var(--coral); border-radius: 50%; }

/* =========================================================
   7) Halle-Bereich
   ========================================================= */
.halle-section { padding-top: 78px; padding-bottom: 74px; }
.halle-intro {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  max-width: 680px; margin: 0 auto 44px;
}
.halle-intro-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--coral);
  display: flex; align-items: center; justify-content: center; transform: rotate(-6deg);
}
.halle-intro h2 { font-size: 32px; }
.halle-intro p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }
.halle-intro-actions { display: flex; gap: 16px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }

.halle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-bottom: 32px; }
.halle-card { padding: 0; overflow: hidden; }
.halle-card-media { aspect-ratio: 16/10; }
.halle-card-media svg, .halle-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.halle-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.halle-card-title { font-weight: 700; font-size: 18px; }
.halle-card-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.halle-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.halle-feature {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px;
  border-radius: 12px; background: var(--bg);
}
.halle-feature .icon { color: var(--coral); width: 18px; height: 18px; }
.halle-feature:nth-child(even) .icon { color: var(--leaf); }
.halle-feature-label { font-size: 11px; color: var(--ink-soft); text-align: center; }

/* =========================================================
   8) Kalender- & Buchungsseite (volle Ansicht)
   ========================================================= */
.kalender-page { padding-top: 60px; padding-bottom: 80px; }
.kalender-page-header { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.kalender-page-header h1 { font-size: 34px; margin-bottom: 12px; }
.kalender-page-header p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.full-cal { background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 30px; margin-bottom: 56px; }
.full-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.full-cal-nav .full-cal-month { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; }
.full-cal-nav a.hero-arrow { position: static; transform: none; }
.full-cal-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.full-cal-weekdays span { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.full-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.full-cal-day {
  aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; background: var(--line); color: var(--ink);
}
.full-cal-day { position: relative; }
.full-cal-day.is-event { background: var(--leaf); color: white; }
.full-cal-day.is-booked { background: var(--coral); color: white; }
.full-cal-day.is-booked.is-event::after {
  content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 2px white;
}
.full-cal-day.is-today { box-shadow: inset 0 0 0 3px var(--ink); }
.full-cal-legend .dot-today { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.full-cal-events { margin-top: 26px; padding-top: 20px; border-top: 2px solid var(--line); }
.full-cal-events h3 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.full-cal-events ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.full-cal-events li { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.full-cal-event-date { color: var(--ink-soft); min-width: 200px; }

/* Veranstaltungs-Seiten */
.event-meta { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 0 0 24px; font-size: 15px; }
.event-meta strong { display: inline-block; min-width: 110px; }
.event-dates-list { margin: 8px 0 0; padding-left: 18px; }
.event-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.event-list-item { background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.event-list-item h2 { font-size: 20px; margin: 0 0 6px; }
.event-list-when { color: var(--coral); font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.event-list-repeat { color: var(--ink-soft); font-size: 13px; }
.full-cal-day.is-pad { visibility: hidden; }
.full-cal-legend { display: flex; gap: 20px; margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.full-cal-legend span.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* =========================================================
   9) Buchungsformular
   ========================================================= */
.booking-form { background: var(--white); border: 2px solid var(--line); border-radius: 24px; padding: 36px; max-width: 720px; margin: 0 auto; }
.booking-form h2 { font-size: 24px; margin-bottom: 8px; }
.booking-form-intro { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.booking-form .form-row { margin-bottom: 18px; }
.booking-form .form-row-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.booking-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.booking-form input[type=text],
.booking-form input[type=email],
.booking-form input[type=tel],
.booking-form input[type=date],
.booking-form select,
.booking-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 2px solid var(--line);
  background: var(--bg); font-family: inherit; font-size: 15px; color: var(--ink);
}
.booking-form textarea { resize: vertical; min-height: 110px; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: none; border-color: var(--leaf);
}
.booking-form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.booking-form button.btn-primary { border: none; }

.booking-notice { border-radius: 14px; padding: 16px 20px; font-size: 14px; margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.booking-notice-success { background: oklch(90% 0.09 140); color: oklch(28% 0.08 140); }
.booking-notice-error { background: oklch(92% 0.09 30); color: oklch(30% 0.1 30); }

/* =========================================================
   10) Footer
   ========================================================= */
.site-footer { padding-top: 50px; padding-bottom: 50px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.footer-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; }
.footer-address { font-size: 14px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }
.footer-copy { font-size: 13px; color: var(--ink-soft); }

/* =========================================================
   11) Standard-Inhalte (Seiten/Beiträge außerhalb der Startseite)
   ========================================================= */
.content-page { padding-top: 60px; padding-bottom: 80px; max-width: 900px; }
.content-page h1 { font-size: 34px; margin-bottom: 24px; }
.content-page .entry-content { font-size: 16px; line-height: 1.75; }
.content-page .entry-content p { margin: 0 0 1.2em; }
.content-page .entry-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }

/* =========================================================
   11b) Hero-Slider (seit 1.2)
   ========================================================= */
.hero--slider { height: auto; }
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1; position: relative; display: flex; min-height: 560px;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.hero--h-gross .hero-slide { min-height: max(560px, 75vh); }
.hero--h-voll .hero-slide { min-height: max(560px, 100vh); min-height: max(560px, 100svh); }

.hero-media--photo { background: var(--bg); }
.hero-media--photo .hero-img,
.hero-media--photo .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-media--photo .hero-video { opacity: 0; transition: opacity .6s ease; }
.hero-media--photo.is-playing .hero-video { opacity: 1; }
.hero-focus-top .hero-img, .hero-focus-top .hero-video { object-position: center top; }
.hero-focus-bottom .hero-img, .hero-focus-bottom .hero-video { object-position: center bottom; }
.hero-focus-left .hero-img, .hero-focus-left .hero-video { object-position: left center; }
.hero-focus-right .hero-img, .hero-focus-right .hero-video { object-position: right center; }

.hero-slide .hero-content { width: 100%; padding-top: 48px; padding-bottom: 72px; }
.hero-content--center { justify-content: center; }
.hero-content--right { justify-content: flex-end; }
.hero-content--center .hero-card { text-align: center; }
.hero-content--center .hero-actions { justify-content: center; }

.hero-card .hero-title { font-size: 42px; line-height: 1.12; margin-bottom: 16px; }
.hero-card .hero-text { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 22px; }
.hero-card .hero-text p { margin: 0 0 .6em; }
.hero-card .hero-text p:last-child { margin-bottom: 0; }
.hero-card .hero-text a { color: var(--coral); text-decoration: underline; }
.hero-card .badge + .hero-text, .hero-card .hero-title:last-child { margin-bottom: 0; }
.hl { color: var(--coral); }
.hl-gruen { color: var(--leaf); }
.hero-card mark { background: oklch(90% 0.09 140); color: inherit; padding: 0 .15em; border-radius: 4px; }

button.hero-arrow { padding: 0; z-index: 3; color: var(--ink); font: inherit; }
.hero-arrow svg { stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
button.hero-arrow:hover { border-color: var(--coral); color: var(--coral); }
.hero--slider .hero-badge-round { z-index: 4; }

.hero-controls {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: oklch(99% 0.003 140 / 0.85); border: 2px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 12px; height: 12px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid var(--ink); background: transparent;
}
.hero-dot.is-active { background: var(--coral); border-color: var(--coral); }
.hero-pause {
  width: 28px; height: 28px; border-radius: 50%; padding: 0; cursor: pointer; border: 0;
  background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.hero-pause svg { fill: currentColor; }
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-pause.is-paused .icon-pause { display: none; }
.hero-arrow:focus-visible, .hero-dot:focus-visible, .hero-pause:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active, .hero-media--photo .hero-video { transition: none; }
}

/* =========================================================
   11c) Vorlagen für Seiten & Beiträge (seit 1.2)
   ========================================================= */
#page { overflow-x: clip; }

.content-page--wide,
.content-page--sidebar { max-width: 1400px; }
.content-page--cover { padding-top: 40px; }
.content-layout { display: block; }
.content-page--sidebar .content-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 48px; align-items: start;
}
.content-sidebar { position: sticky; top: 24px; }
.sidebar-area .widget_search .search-form input { background: var(--white); }
.sidebar-area p { margin: 0 0 .8em; font-size: 14px; line-height: 1.6; }

.entry-header { margin-bottom: 24px; }
.entry-header h1 { margin-bottom: 8px; }
.entry-thumbnail { margin: 0 0 32px; border-radius: 20px; overflow: hidden; }
.entry-thumbnail img { display: block; width: 100%; }
.entry-meta a { color: var(--ink-soft); font-weight: 600; }
.entry-meta a:hover { color: var(--coral); }

/* Großes Titelbild */
.cover-header { position: relative; min-height: 420px; display: flex; align-items: flex-end; background: var(--bg); }
.cover-header-media { position: absolute; inset: 0; overflow: hidden; }
.cover-header:not(.has-image) .cover-header-media {
  background:
    radial-gradient(circle at 85% 25%, oklch(58% 0.16 140 / 0.18) 0 70px, transparent 71px),
    linear-gradient(to bottom, transparent 62%, oklch(58% 0.16 140 / 0.22) 62%);
}
.cover-header-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-header-inner { position: relative; width: 100%; padding-top: 80px; padding-bottom: 0; transform: translateY(40px); }
.cover-card {
  background: var(--white); border-radius: 28px; border: 2px solid var(--line);
  padding: 36px 44px; max-width: 760px; box-shadow: 0 14px 32px oklch(30% 0.05 40 / 0.14);
}
.cover-card .badge { background: var(--leaf); color: white; transform: rotate(-2deg); margin-bottom: 14px; }
.cover-card h1 { font-size: 40px; line-height: 1.12; }
.cover-lead { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.content-page--cover { padding-top: 80px; }

/* Leinwand */
.canvas-page { padding-bottom: 0; }
.entry-content.is-canvas > * { max-width: 900px; margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; }
.entry-content.is-canvas > blockquote, .entry-content.is-canvas > .wp-block-quote, .entry-content.is-canvas > .wp-block-group.has-background:not(.alignfull) { max-width: calc(900px - 96px); padding-left: 24px; padding-right: 24px; }
.entry-content.is-canvas > ul, .entry-content.is-canvas > ol { padding-left: calc(48px + 1.4em); }
.entry-content.is-canvas > .alignwide { max-width: 1400px; }
.entry-content.is-canvas > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.entry-content.is-canvas > .alignfull > .wp-block-group__inner-container,
.entry-content.is-canvas > .wp-block-cover.alignfull .wp-block-cover__inner-container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.entry-content.is-canvas > :first-child { margin-top: 0; }
.entry-content.is-canvas > :last-child { margin-bottom: 0; }
.hofcafe-template-leinwand .entry-content.is-canvas > :not(.alignfull):first-child { margin-top: 60px; }

/* Block-Inhalte */
.entry-content { font-size: 16px; line-height: 1.75; }
.entry-content > * + * { margin-top: 0; }
.entry-content p { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'Baloo 2', sans-serif; line-height: 1.2; margin-top: 1.6em; margin-bottom: .5em; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }
.entry-content a:not(.wp-block-button__link):not(.btn) { color: var(--leaf); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:not(.wp-block-button__link):not(.btn):hover { color: var(--coral); }
.entry-content ul, .entry-content ol { margin-top: 0; margin-bottom: 1.2em; padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--coral); }
.entry-content img { border-radius: 14px; }
.entry-content figure { margin-top: 0; margin-bottom: 1.6em; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.entry-content blockquote, .entry-content .wp-block-quote {
  margin-top: 0; margin-bottom: 1.6em; padding: 18px 24px; border-left: 4px solid var(--coral);
  background: var(--white); border-radius: 0 16px 16px 0; font-size: 18px;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-soft); font-style: normal; }
.entry-content .wp-block-pullquote { border-top: 4px solid var(--leaf); border-bottom: 4px solid var(--leaf); }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 2px; background: var(--line); margin: 2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border: 2px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--white); }
.entry-content .wp-block-button__link {
  border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 15px; text-decoration: none;
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--leaf); color: var(--white); }
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover { background: oklch(52% 0.16 140); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid var(--line); background: var(--white); color: var(--ink); }
.entry-content .alignwide { max-width: 1400px; }
.content-page:not(.content-page--wide):not(.content-page--sidebar) .entry-content .alignwide {
  width: min(1400px, 100vw - 96px); margin-left: 50%; transform: translateX(-50%);
}
.content-page .entry-content .alignfull {
  width: 100vw; max-width: none; margin-left: calc(50% - 50vw);
}
.content-page--sidebar .entry-content .alignfull,
.content-page--sidebar .entry-content .alignwide { width: auto; margin-left: 0; transform: none; }
.entry-content .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.entry-content::after { content: ''; display: table; clear: both; }
.entry-content .wp-block-cover, .entry-content .wp-block-group.has-background { border-radius: 24px; }
.entry-content .wp-block-cover.alignfull, .entry-content .wp-block-group.alignfull { border-radius: 0; }
.entry-content .wp-block-group.has-background { padding: 32px; }
.entry-content .wp-block-embed iframe { border-radius: 14px; }

/* Schlagwörter, Seiten-Links, Vor/Zurück */
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.entry-tags a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--white); border: 2px solid var(--line); font-size: 13px; }
.page-links { margin-top: 20px; font-weight: 700; }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 22px; border-radius: 18px; background: var(--white); border: 2px solid var(--line); }
.post-navigation a:hover { border-color: var(--coral); }
.post-navigation .nav-next { grid-column: 2; text-align: right; }
.post-navigation .nav-label { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.post-navigation .nav-title { font-family: 'Baloo 2', sans-serif; font-size: 18px; }
.back-link { margin-top: 40px; }

/* Übersichten */
.archive-header { margin-bottom: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.archive-header .badge { background: var(--leaf); color: white; transform: rotate(-2deg); }
.content-page .archive-header h1 { margin-bottom: 0; }
.archive-description { color: var(--ink-soft); max-width: 70ch; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-card-media { display: block; aspect-ratio: 16 / 10; background: var(--bg); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--coral); }
.post-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-date { font-size: 13px; color: var(--coral); font-weight: 700; }
.post-card-title { font-size: 21px; line-height: 1.2; }
.post-card-excerpt { font-size: 14px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.post-card-excerpt p { margin: 0 0 12px; }
.post-card .btn { align-self: flex-start; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; padding: 0 16px; align-items: center; justify-content: center; border-radius: 999px; background: var(--white); border: 2px solid var(--line); }
.pagination .page-numbers.current { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.empty-state { max-width: 680px; }
.empty-state p { margin: 0; color: var(--ink-soft); }
.error-404 .empty-state { margin: 0 auto; align-items: flex-start; }
.error-404 .badge { background: var(--coral); color: white; }
.error-404 h1 { margin-bottom: 0; }

/* Suche */
.search-form { display: flex; gap: 10px; width: 100%; max-width: 520px; }
.search-form .search-field {
  flex: 1; min-width: 0; padding: 11px 16px; border-radius: 999px; border: 2px solid var(--line);
  background: var(--bg); font-family: inherit; font-size: 15px; color: var(--ink);
}
.search-form .search-field:focus { outline: none; border-color: var(--leaf); }
.search-form button { border: 0; }

/* Kommentare */
.comments-area { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 24px; margin-bottom: 18px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: 32px; }
.comment-body { background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 16px; }
.comment-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.comment-meta .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-author .fn { font-weight: 700; color: var(--ink); font-style: normal; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); font: inherit;
}
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form .btn { border: 0; }

/* Theme-Farben aus dem Block-Editor */
.has-leaf-color { color: var(--leaf) !important; }
.has-leaf-background-color { background-color: var(--leaf) !important; }
.has-coral-color { color: var(--coral) !important; }
.has-coral-background-color { background-color: var(--coral) !important; }
.has-ink-color { color: var(--ink) !important; }
.has-ink-background-color { background-color: var(--ink) !important; }
.has-ink-soft-color { color: var(--ink-soft) !important; }
.has-ink-soft-background-color { background-color: var(--ink-soft) !important; }
.has-bg-color { color: var(--bg) !important; }
.has-bg-background-color { background-color: var(--bg) !important; }
.has-white-color { color: var(--white) !important; }
.has-white-background-color { background-color: var(--white) !important; }
.has-line-color { color: var(--line) !important; }
.has-line-background-color { background-color: var(--line) !important; }

/* Such-Block / Widgets in der grünen Seitenleiste */
.sidebar-area .wp-block-search__label { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; }
.sidebar-area .wp-block-search__inside-wrapper { gap: 8px; }
.sidebar-area .wp-block-search__input { border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; }
.sidebar-area .wp-block-search__button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--white); color: var(--leaf); font-weight: 700; font-family: inherit; cursor: pointer; margin-left: 0; }
.sidebar-area h2, .sidebar-area .wp-block-heading { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 19px; margin: 0 0 10px; }
.sidebar-area ul { display: flex; flex-direction: column; gap: 6px; }
.cover-card .entry-meta { margin: 14px 0 0; }
.hero-title small { font-size: .6em; color: var(--ink-soft); }

/* Platz für die Pfeile neben der Textkarte */
@media (min-width: 781px) {
  .hero--slider .hero-slide .hero-content { padding-left: 96px; padding-right: 96px; }
}

/* =========================================================
   11d) Angebote (seit 1.3)
   ========================================================= */
h3.halle-card-title { font-family: 'Karla', sans-serif; font-weight: 700; font-size: 18px; margin: 0; }
.halle-card-title a { color: var(--ink); }
.halle-card-title a:hover { color: var(--coral); }
.offer-card .halle-card-body { flex: 1; }
.offer-card .halle-feature-grid { margin-top: auto; }
.offer-card-btn { width: fit-content; }
.offer-cover .cover-header-media svg { display: block; width: 100%; height: 100%; }
.offer-cover.is-illustration .cover-header-media { display: flex; justify-content: flex-end; }
.offer-cover.is-illustration .cover-header-media svg { width: auto; height: 100%; aspect-ratio: 480 / 300; max-width: 70%; margin-right: 4%; }
@media (max-width: 780px) { .offer-cover.is-illustration .cover-header-media svg { max-width: 100%; margin-right: 0; } }
.offer-cover .cover-card .badge { background: var(--coral); }
.offer-features { margin-bottom: 32px; }
.offer-features .halle-feature-grid { max-width: 560px; }
.offer-features .halle-feature { background: var(--white); border: 2px solid var(--line); }
.offer-cta {
  margin-top: 40px; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  background: var(--leaf); border-color: var(--leaf); color: var(--white);
}
.offer-cta div { display: flex; flex-direction: column; gap: 4px; }
.offer-cta strong { font-family: 'Baloo 2', sans-serif; font-size: 20px; }
.offer-cta .btn-primary { background: var(--white); color: var(--leaf); }
.offer-cta .btn-primary:hover { background: var(--bg); color: var(--leaf); }

/* =========================================================
   12) Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .cafe-grid { grid-template-columns: 1fr; }
  .halle-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 100%; }
  .content-page--sidebar .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .wrap { padding: 0 24px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .main-navigation ul { gap: 4px; }
  .main-navigation a { padding: 8px 12px; font-size: 14px; }
  .hero { height: auto; min-height: 620px; padding: 40px 0; }
  .hero-card { padding: 30px 26px; }
  .hero-card h1 { font-size: 30px; }
  .hero-arrow { display: none; }
  .hero-badge-round { right: 24px; }
  .cafe-cards { grid-template-columns: 1fr; }
  .halle-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-form .form-row-split { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }

  .hero--slider { padding: 0; min-height: 0; }
  .hero-slide, .hero--h-gross .hero-slide { min-height: 560px; }
  .hero-slide .hero-content { padding-top: 32px; padding-bottom: 88px; align-items: flex-end; }
  .hero-card .hero-title { font-size: 30px; }
  .hero-controls { bottom: 16px; }
  .hero--slider .hero-badge-round { width: 80px; height: 80px; font-size: 11px; bottom: -28px; }

  .post-grid { grid-template-columns: 1fr; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { grid-column: 1; }
  .cover-header { min-height: 300px; }
  .cover-header-inner { transform: none; padding-top: 140px; padding-bottom: 24px; }
  .content-page--cover { padding-top: 32px; }
  .cover-card { padding: 26px 24px; }
  .cover-card h1 { font-size: 28px; }
  .entry-content.is-canvas > * { padding-left: 24px; padding-right: 24px; }
  .entry-content.is-canvas > .alignfull > .wp-block-group__inner-container,
  .entry-content.is-canvas > .wp-block-cover.alignfull .wp-block-cover__inner-container { padding: 0 24px; }
  .content-page:not(.content-page--wide):not(.content-page--sidebar) .entry-content .alignwide { width: auto; margin-left: 0; transform: none; }
  .entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 0 0 1.2em; }
  .search-form { flex-direction: column; }
  .search-form button { align-self: flex-start; }
}
