:root {
  --cream: #f4efe6;
  --cream-2: #faf6ef;
  --paper: #fffaf3;
  --ink: #2a241c;
  --ink-soft: #4e453b;
  --honey: #c4892a;
  --honey-deep: #6d4a12;
  --honey-soft: #f3e2c0;
  --line: #e4d8c6;
  --brown: #3c2914;
  --header: 4.5rem;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

h1,
h2,
h3,
.brand__name {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2.05rem, 4.4vw, 3.25rem);
}

h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 0.8rem;
}

a {
  color: var(--honey-deep);
}

a:hover {
  color: var(--brown);
}

:focus-visible {
  outline: 3px solid var(--honey-deep);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--brown);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #f7f2e8;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
}

.brand__name {
  display: block;
  font-size: 1.18rem;
}

.brand__sub {
  display: block;
  margin-top: 0.12rem;
  color: var(--honey-deep);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--paper);
  color: var(--brown);
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brown);
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--brown);
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--honey-deep);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.lang {
  display: flex;
  border: 1px solid #ddcfb8;
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  min-width: 44px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: var(--brown);
  color: var(--paper);
}

.section {
  padding: 3.25rem 0;
}

.section--paper {
  background: var(--cream-2);
}

.kicker {
  margin: 0;
  color: var(--honey-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede {
  max-width: 42rem;
  font-size: 1.12rem;
}

.hero {
  position: relative;
}

.hero .slider {
  display: grid;
  min-height: calc(100svh - var(--header));
}

.hero .slider::before {
  content: "";
  grid-area: 1 / 1;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(22, 16, 10, 0.22) 0%, rgba(22, 16, 10, 0.05) 42%, rgba(22, 16, 10, 0.45) 100%);
}

.hero .slider__viewport,
.hero__copy,
.hero .slider__controls {
  grid-area: 1 / 1;
}

.hero .slider__viewport {
  min-height: calc(100svh - var(--header));
  border-radius: 0;
}

.hero .slider__slide img {
  min-height: calc(100svh - var(--header));
  aspect-ratio: auto;
  object-fit: cover;
}

.hero .slider__slide figcaption {
  display: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: min(46rem, calc(100% - 2rem));
  padding: 2.4rem 1.5rem 2.1rem;
  text-align: center;
  color: #fffaf3;
  pointer-events: none;
}

.hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 1.5rem;
  background: rgba(24, 16, 10, 0.16);
}

.hero__copy a {
  pointer-events: auto;
}

.hero__copy .kicker {
  color: #f3e2c0;
}

.hero__copy h1,
.hero__copy .lede,
.hero__copy .hero__places {
  color: #fffaf3;
  text-shadow: 0 1px 2px rgba(18, 12, 6, 0.55), 0 6px 18px rgba(18, 12, 6, 0.35);
}

.hero__copy .lede {
  max-width: 38rem;
}

.hero__places {
  color: rgba(255, 250, 243, 0.9);
  margin-bottom: 0;
}

.hero .button--ghost {
  border-color: rgba(255, 250, 243, 0.9);
  background: transparent;
  color: #fffaf3;
}

.hero .button--ghost:hover {
  background: rgba(255, 250, 243, 0.16);
  color: #fffaf3;
}

.hero .slider__controls {
  z-index: 3;
  align-self: end;
  justify-self: center;
  width: min(28rem, calc(100% - 2rem));
  margin: 0 0 1rem;
}

.hero .icon-btn {
  border-color: transparent;
  background: rgba(255, 250, 243, 0.92);
}

.hero .slider__dot::before {
  background: rgba(255, 250, 243, 0.45);
}

.hero .slider__dot[aria-current="true"]::before {
  background: #fffaf3;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 2px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: #54381c;
  color: var(--paper);
}

.button--ghost {
  background: transparent;
  color: var(--brown);
}

.button--ghost:hover {
  background: var(--honey-soft);
  color: var(--brown);
}

.slider__viewport {
  background: #e7dcc8;
  border-radius: 1rem;
  overflow: hidden;
}

.slider__slide + .slider__slide {
  display: none;
}

.slider__slide {
  position: relative;
  margin: 0;
}

.slider__slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.slider__slide img.pos-face {
  object-position: center 22%;
}

.slider__slide figcaption {
  margin: 0;
  padding: 0.45rem 0.15rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.slider__controls {
  display: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brown);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.icon-pause {
  position: relative;
  display: block;
  width: 11px;
  height: 14px;
  flex-shrink: 0;
}

.icon-pause::before,
.icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 14px;
  background: var(--brown);
}

.icon-pause::before {
  left: 0;
}

.icon-pause::after {
  right: 0;
}

.icon-play {
  display: none;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--brown);
}

[aria-pressed="true"] > .icon-pause {
  display: none;
}

[aria-pressed="true"] > .icon-play {
  display: block;
}

.js .slider__viewport {
  position: relative;
  aspect-ratio: 3 / 2;
}

.js .slider__slide,
.js .slider__slide + .slider__slide {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.js .slider__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.js .slider__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.js .slider__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.85rem;
  background: rgba(28, 22, 16, 0.74);
  color: #fffaf3;
}

.js .slider__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.js .hero .slider__viewport {
  aspect-ratio: auto;
  height: 100%;
  min-height: calc(100svh - var(--header));
}

.js .hero .slider__controls {
  margin: 0 0 1rem;
}

.slider__dots {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 0.15rem;
}

.slider__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider__dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddcbae;
}

.slider__dot[aria-current="true"]::before {
  background: var(--honey-deep);
}

.honey-top,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

.split {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.split + .split {
  margin-top: 2.75rem;
}

.split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split__copy > :last-child {
  margin-bottom: 0;
}

.split__photo {
  position: relative;
  margin: 0;
  min-height: 260px;
  border-radius: 1rem;
  overflow: hidden;
  background: #e7dcc8;
}

.split__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__photo img.pos-face {
  object-position: center 18%;
}

.signs,
.bees {
  margin: 0.3rem 0 1rem;
  padding-left: 1.15rem;
}

.signs li,
.bees li {
  margin: 0.45rem 0;
}

.symbiosis {
  margin: 2.75rem 0 0;
  padding: 1.15rem 1.25rem 0.35rem;
  background: var(--paper);
  border-left: 4px solid var(--honey);
  border-radius: 0 0.85rem 0.85rem 0;
}

.side-figure {
  margin: 0;
}

.side-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.9rem;
  background: #f7f1e6;
}

.comb img,
.candles img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0.9rem;
  background: #e7dcc8;
}

.candles img {
  object-fit: contain;
  background: #f7f1e6;
}

.candles figure {
  margin: 0;
}

.honey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.tag {
  color: var(--honey-deep);
  font-weight: 700;
}

.origin {
  color: var(--ink-soft);
}

.badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--honey-soft);
  color: #5c3d12;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comb {
  display: grid;
  gap: 1rem;
  margin-top: 0.9rem;
}

.candles {
  display: grid;
  gap: 1rem;
  margin-top: 0.9rem;
}

.callout {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background: var(--honey-soft);
  color: var(--brown);
}

.filters {
  display: none;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 1.2rem;
}

.js .filters {
  display: flex;
}

.filter {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 1px solid #ddcfb8;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter[aria-pressed="true"] {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}

.gallery__block + .gallery__block {
  margin-top: 1.4rem;
}

.gallery__block h3 {
  margin-bottom: 0.7rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 0.9rem;
}

.gallery__item {
  margin: 0;
}

.gallery__open {
  position: relative;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e7dcc8;
}

.gallery__open img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.person a {
  font-size: 1.12rem;
  font-weight: 700;
}

address {
  font-style: normal;
}

.page {
  padding: 2.5rem 0 4rem;
}

.page-narrow {
  max-width: 40rem;
}

.notice {
  padding: 1rem 1.05rem;
  border: 1px solid #e0c48a;
  border-radius: 0.85rem;
  background: #f8e7c4;
  color: var(--brown);
}

.site-footer {
  background: var(--brown);
  color: #f6efe4;
  padding: 2rem 0;
}

.site-footer a {
  color: #f6d7a2;
}

.site-footer .wrap {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  margin: 0 0 0.25rem;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 1.25rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

.legal-nav ul {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lightbox {
  width: min(960px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: #fffaf3;
}

.lightbox::backdrop {
  background: rgba(22, 16, 12, 0.86);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: min(78vh, 860px);
  object-fit: contain;
  background: #16120e;
  border-radius: 0.6rem;
}

.lightbox figcaption {
  margin: 0.55rem 0 0.7rem;
}

.lightbox__tools {
  display: flex;
  gap: 0.45rem;
}

@media (min-width: 800px) {
  .section {
    padding: 4.5rem 0;
  }
}

@media (min-width: 900px) {
  .comb figure,
  .candles figure {
    margin: 0;
  }

  .candles {
    grid-template-columns: 1fr 220px;
    align-items: center;
  }

  .candles img {
    height: 220px;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
    align-items: center;
  }

  .split + .split {
    margin-top: 4.25rem;
  }

  .split--flip .split__photo {
    order: -1;
  }

  .split__photo {
    min-height: 380px;
    align-self: stretch;
  }

  .honey-top {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 1.5rem;
  }

  .comb {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .wrap {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: static;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.4rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(40, 28, 16, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0e6d6;
  }

  .lang {
    align-self: flex-start;
    margin-top: 0.75rem;
  }
}

#start,
#imkerei,
#honig,
#galerie,
#kontakt {
  scroll-margin-top: 5.2rem;
}

.js .slider__slide {
  transition: opacity 0.45s ease;
}

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

  .js .slider__slide {
    transition: none;
  }
}
