:root {
  /* s'Platzl color palette - change these values to adjust the whole theme. */
  --ink: #263445;        /* dark blue text */
  --ink-soft: #4c5865;   /* softer body text */
  --leaf: #50845d;       /* green buttons/icons */
  --leaf-dark: #3f6d4c;  /* dark green hover/accent */
  --cream: #f8f5ef;      /* warm page background */
  --linen: #ebe5da;      /* section background */
  --white: #fffdf8;      /* soft white */
  --line: rgba(38, 52, 69, 0.16);
  --shadow: 0 20px 55px rgba(38, 52, 69, 0.14);
  --radius: 8px;
  --font-heading: "Montserrat", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

.editor-styles-wrapper {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 28px;
}

.brand,
.footer-brand {
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand img {
  width: auto;
  max-height: 72px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 88px);
  place-items: center;
  padding: 96px 20px 88px;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(38, 52, 69, 0.7), rgba(38, 52, 69, 0.24)), var(--hero-image, url("https://primary.jwwb.nl/public/m/m/p/temp-mctwwcmkgllxbmsayubj/7ebc5d08-1b0f-4b19-bdef-f49a416efe4b-standard-whzuqm.jpg"));
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(248, 245, 239, 0), var(--cream));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h4,
h5,
h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper .wp-block-heading {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.editor-styles-wrapper p,
.editor-styles-wrapper li {
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(48px, 8vw, 96px);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-actions,
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.alignfull {
    width: 100vw !important;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--leaf);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.button-secondary .wp-block-button__link {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.hero .wp-block-button,
.hero .wp-block-button__link,
.hero .wp-element-button {
  border-radius: 6px !important;
}

.hero .wp-block-button {
  overflow: hidden;
}

.hero .button-primary .wp-block-button__link,
.hero .button-primary .wp-element-button {
  border: 2px solid var(--leaf) !important;
  background: var(--leaf) !important;
  color: var(--white) !important;
}

.hero .button-secondary .wp-block-button__link,
.hero .button-secondary .wp-element-button {
  border: 2px solid var(--ink) !important;
  background: rgba(255, 253, 248, 0.82) !important;
  color: var(--ink) !important;
}

.button-primary {
  background: var(--leaf);
  color: var(--white);
}

.button-secondary {
  border-color: var(--white);
  color: var(--white);
}

.button-secondary.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.subpage-hero {
  padding: 96px 0 74px;
  background: linear-gradient(180deg, var(--white), var(--cream));
  border-bottom: 1px solid var(--line);
}

.editable-page > .wp-block-group:not(.hero):not(.subpage-hero),
.editable-page > .wp-block-columns,
.editable-page > .wp-block-gallery,
.page-content > * {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.editable-page > .wp-block-group.alignfull,
.editable-page > .wp-block-columns.alignfull,
.editable-page > .wp-block-gallery.alignfull {
  width: 100%;
}

.editable-page .wp-block-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subpage-hero .section-inner {
  max-width: 980px;
}

.subpage-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 6vw, 76px);
}

.subpage-hero p:not(.kicker) {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.intro-band {
  padding: 26px 0 44px;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.icon-item {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px;
  color: var(--ink);
  font-weight: 900;
}

.icon-item svg {
  width: 64px;
  height: 64px;
}

.content-section {
  padding: 92px 0;
}

.muted {
  background: var(--linen);
}

.two-column,
.quote-layout,
.contact-grid,
.reservation-inner,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.quote-layout h2,
.reservation-inner h2,
.contact-grid h2 {
  font-size: clamp(34px, 4vw, 60px);
}

.section-copy p,
.section-heading p,
.quote-layout p,
.reservation-inner p,
.contact-grid p {
  color: var(--ink-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 16px;
  align-items: end;
}

.image-stack img,
.feature-card img,
.gallery-strip img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  aspect-ratio: 4 / 5;
}

.image-stack img:last-child {
  aspect-ratio: 1 / 1.15;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card img {
  aspect-ratio: 1.35 / 1;
  border-radius: 0;
  box-shadow: none;
}

.feature-card h3,
.feature-card p {
  padding-right: 24px;
  padding-left: 24px;
}

.feature-card h3 {
  margin-top: 24px;
  font-size: 28px;
}

.feature-card p {
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.review-panel {
  padding: 34px;
  border-left: 6px solid var(--leaf);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.review-panel p {
  margin-top: 0;
  font-size: 22px;
  font-weight: 700;
}

.reviews-slider {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background: var(--linen);
}

.reviews-slider__viewport {
  overflow: hidden;
}

.reviews-slider__track {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  transition: transform 260ms ease;
  will-change: transform;
}

.reviews-slider .review-card {
  align-self: flex-start;
  flex: 0 0 calc((100% - 60px) / 3);
  min-height: 340px;
  padding: 34px 28px 28px;
  background: var(--white);
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-align: center;
  box-shadow: none;
  overflow: hidden;
}

.reviews-slider > .review-card {
  display: inline-block;
  width: calc((100% - 60px) / 3);
  margin-right: 26px;
  vertical-align: top;
}

.editor-styles-wrapper .reviews-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 30px;
}

.editor-styles-wrapper .reviews-slider > * {
  align-self: start;
  min-height: 340px;
  padding: 34px 28px 28px;
  border-radius: var(--radius);
  background: var(--white);
}

.reviews-slider .review-card::before {
  display: grid;
  width: 74px;
  height: 74px;
  margin: -16px auto 24px;
  place-items: center;
  background: var(--ink-soft);
  color: var(--white);
  content: "”";
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: 800;
  line-height: 1;
}

.reviews-slider .review-card p {
  margin: 0 auto 22px;
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.55;
}

.reviews-slider .review-card strong {
  color: var(--ink-soft);
  font-family: var(--font-heading);
  font-weight: 700;
}

.reviews-slider .review-card__name,
.reviews-slider .review-card p:last-child {
  color: var(--ink-soft);
  font-family: var(--font-heading);
  font-weight: 700;
}

.reviews-slider__controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.reviews-slider__controls button {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.reviews-slider__controls button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.menu-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.menu-panel,
.event-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.menu-panel h2,
.event-card h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.menu-panel p,
.event-card p,
.event-card h3 {
  color: var(--ink-soft);
}

.menu-panel .button {
  margin-top: 18px;
}

.check-list {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.check-list li + li {
  margin-top: 10px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.gallery-strip img {
  height: 360px;
}

.gallery-page {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-page img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-page img:nth-child(1),
.gallery-page img:nth-child(4) {
  grid-column: span 2;
}

.event-list {
  display: grid;
  gap: 22px;
}

.event-card {
  display: grid;
  gap: 10px;
}

.reservation-page {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
}

.reservation-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.reservation-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
  border-color: var(--leaf);
  outline: none;
}

.reservation-band {
  padding: 76px 0;
  background: var(--leaf);
  color: var(--white);
}

.reservation-band h2,
.reservation-band .kicker,
.reservation-band p {
  color: var(--white);
}

.contact-grid {
  grid-template-columns: 1fr 0.8fr 0.9fr;
  align-items: start;
}

.contact-grid h3 {
  font-size: 24px;
}

.social-links {
  justify-content: flex-start;
  margin-top: 18px;
}

.social-links a {
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 48px 0 22px;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.78);
}

.site-footer a,
.site-footer strong,
.footer-brand {
  color: var(--white);
}

.footer-grid {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  font-size: 14px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 74px;
  }

  .brand,
  .footer-brand {
    font-size: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 74px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 4px;
  }

  .primary-nav a {
    width: 100%;
  }

  .hero {
    min-height: calc(100vh - 74px);
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .hero p {
    font-size: 19px;
  }

  .two-column,
  .quote-layout,
  .contact-grid,
  .reservation-inner,
  .footer-grid,
  .feature-grid,
  .gallery-strip,
  .menu-layout,
  .reservation-page,
  .gallery-page {
    grid-template-columns: 1fr;
  }

  .gallery-strip img,
  .gallery-page img {
    height: auto;
    aspect-ratio: 1.4 / 1;
  }

  .reviews-slider .review-card {
    flex-basis: calc((100% - 30px) / 2);
  }

  .gallery-page img:nth-child(1),
  .gallery-page img:nth-child(4) {
    grid-column: auto;
  }
}

/* Contact Form 7 - Tischreservierung */
.wpcf7-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-body);
  transition: border-color 160ms ease;
}

.wpcf7-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.6;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--leaf);
  outline: none;
}

.wpcf7-form input:hover,
.wpcf7-form select:hover,
.wpcf7-form textarea:hover {
  border-color: var(--ink-soft);
}

/* Radio- und Checkbox-Gruppen (z.B. Uhrzeit, Anlass) */
.wpcf7-form .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 0 0;
  font-weight: 400;
}

.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--leaf);
}

.wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
}

/* Submit-Button im s'Platzl Stil */
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 58px;
  padding: 14px 24px;
  border: 2px solid var(--leaf);
  border-radius: 6px;
  background: var(--leaf);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: var(--leaf-dark);
  border-color: var(--leaf-dark);
}

.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Ladeindikator */
.wpcf7-spinner {
  margin-left: 14px;
}

/* Validierung */
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #c0392b;
  background: #fdf1ef;
}

.wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #c0392b;
  font-size: 14px;
  font-weight: 700;
}

.wpcf7-response-output {
  margin: 0;
  padding: 16px 18px;
  border: 2px solid var(--leaf);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
}

.wpcf7-form.invalid .wpcf7-response-output {
  border-color: #c0392b;
  color: #c0392b;
}

.wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--leaf);
  background: rgba(80, 132, 93, 0.1);
}

@media (max-width: 640px) {
  .wpcf7-form {
    padding: 24px;
  }

  .wpcf7-form input[type="submit"],
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .section-inner,
  .footer-bottom {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 72px 14px 72px;
    text-align: center;
  }

  .hero-actions,
  .social-links {
    display: grid;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .icon-row {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 66px 0;
  }

  .reviews-slider {
    padding: 54px 0;
  }

  .reviews-slider .review-card {
    flex-basis: 100%;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:last-child {
    margin-bottom: 0;
  }
}
