.tour-image > .red-wolf-card-photo {
  object-position: center 81%;
}

#tours .tour-card {
  position: relative;
}

#tours .tour-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

#tours .tour-card:has(.tour-link:focus-visible) {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background-color: #fffdf9;
  box-shadow: 0 4px 16px rgb(53 43 42 / 9%);
}

@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header {
    background-color: rgb(255 253 249 / 84%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

.nav-tours {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 4px;
}

.nav-tours > a {
  white-space: nowrap;
}

.nav-tours-toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--wine);
}

.nav-tours-toggle:hover,
.nav-tours-toggle[aria-expanded="true"] {
  background: var(--parchment);
}

.nav-tours-toggle svg {
  transition: transform 160ms ease;
}

.nav-tours-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav-tours-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 282px;
  margin: 0;
  padding: 7px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 12px 26px rgb(53 43 42 / 12%);
}

.nav-tours-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-tours-menu a:is(:hover, :focus-visible, [aria-current="page"]) {
  background: var(--parchment);
  color: var(--wine);
}

.site-header :is(a, button):focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.language-switch {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  background: var(--paper);
}

.language-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 5px;
  min-height: 34px;
  gap: 5px;
  border-radius: 7px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.language-flag {
  display: block;
  flex: none;
  border-radius: 2px;
  outline: 1px solid rgb(53 43 42 / 18%);
}

.language-switch a:hover {
  background: var(--parchment);
}

.language-switch a[aria-current="page"] {
  background: var(--gold-light);
  color: var(--ink);
}

@media (width > 980px) {
  .site-header .nav-links {
    gap: clamp(20px, 2.1vw, 28px);
  }

  .site-header .nav-links > a {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  html:has(.site-header .nav-links.open) {
    overflow: hidden;
  }

  .site-header {
    --mobile-nav-height: 72px;
  }

  .site-header:has(.nav-links.open) {
    background-color: #fffcf7;
  }

  .site-header .nav {
    height: var(--mobile-nav-height);
  }

  .site-header .nav-links {
    height: calc(100vh - var(--mobile-nav-height));
    height: calc(100dvh - var(--mobile-nav-height));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-block: 18px max(24px, env(safe-area-inset-bottom));
    box-shadow: none;
  }

  .site-header .nav-links > * {
    flex-shrink: 0;
  }

  .site-header .hamburger span:before,
  .site-header .hamburger span:after {
    transition: transform 180ms ease;
  }

  .site-header .hamburger[aria-expanded="true"] span {
    background: transparent;
  }

  .site-header .hamburger[aria-expanded="true"] span:before {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header .hamburger[aria-expanded="true"] span:after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-tours {
    border-bottom: 1px solid #eadbb6;
  }

  .nav-links .nav-tours > a {
    border-bottom: 0;
  }

  .site-header .nav-links > a:not(.mobile-booking),
  .site-header .nav-tours > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding-block: 14px;
    font-size: 16px;
  }

  .site-header .nav-links .mobile-booking {
    margin-top: 18px;
    font-size: 16px;
  }

  .nav-tours-toggle {
    width: 44px;
    height: 44px;
  }

  .nav-tours-menu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    margin-bottom: 10px;
    box-shadow: none;
  }

  .nav-tours-menu a {
    padding-block: 12px;
    font-size: 15px;
  }
}

@media (max-width: 980px) and (prefers-reduced-motion: no-preference) {
  .site-header .nav-links {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 240ms ease, display 240ms allow-discrete;
  }

  .site-header .nav-links.open {
    clip-path: inset(0);
  }

  @starting-style {
    .site-header .nav-links.open {
      clip-path: inset(0 0 100% 0);
    }
  }
}

@media (max-width: 720px) {
  .site-header {
    --mobile-nav-height: 70px;
  }
  .site-header .nav {
    gap: 10px;
  }

  .site-header .brand img {
    width: 92px;
  }

  .site-header .header-actions {
    gap: 6px;
  }

  .language-switch a {
    padding-inline: clamp(3px, calc(8vw - 22.6px), 7px);
    gap: 3px;
    font-size: 11px;
  }

  .language-flag {
    width: 13px;
    height: 8px;
  }
}

html[lang="de"] :is(h1, h2, h3) {
  hyphens: auto;
}

html[lang="de"] .btn {
  max-width: 100%;
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  .nav-tours-toggle svg,
  .nav-tours-menu a {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal-pending:not(:focus-within) {
    opacity: 0;
  }

  .scroll-reveal {
    animation: scroll-reveal .5s ease-out var(--reveal-delay, 0ms) both;
  }
}

@keyframes scroll-reveal {
  from {
    opacity: 0;
    translate: 0 14px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

.tours-page-title {
  margin: 0 0 32px;
}

.guide-hero {
  min-height: 0;
}

.guide-hero .hero-desc {
  margin-bottom: 0;
}

.guide-photo-frame {
  width: min(100% - 16px, 402px);
  margin-inline: auto;
}

.guide-photo,
.guide-city-photo {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
}

.guide-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  object-position: center 30%;
  box-shadow: 0 19px 40px rgba(66, 43, 32, .16);
}

.guide-instagram {
  position: absolute;
  z-index: 2;
  inset-inline-start: 14px;
  inset-block-end: 29px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 17px 0 10px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: #9f206d linear-gradient(110deg, #b62a55, #a81c77 53%, #5532ae);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(87, 29, 89, .38);
}

.guide-instagram .icon {
  box-sizing: content-box;
  width: 23px;
  height: 23px;
  padding: 7px;
  border-radius: 12px;
  background: linear-gradient(35deg, #ffca76, #ffc1d8 55%, #f2e6ff);
  color: #701b57;
}

.guide-instagram-arrow {
  width: 18px;
  height: 18px;
  flex: none;
}

.guide-instagram:is(:hover, :focus-visible) {
  border-color: #fff;
  box-shadow: 0 8px 20px rgba(87, 29, 89, .46);
}

.guide-instagram:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  .guide-instagram {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .guide-instagram:hover {
    transform: translateY(-2px);
  }
}

.guide-city-photo {
  aspect-ratio: 3 / 2;
}

.guide-walks {
  background: var(--paper);
}

.guide-walks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0 28px;
}

.guide-walks-grid .tour-image {
  height: auto;
  min-height: 240px;
  max-height: 340px;
  aspect-ratio: 16 / 9;
}

.guide-walks-grid .tour-image img {
  object-position: center 38%;
}

.guide-walks-grid .tour-body p {
  margin-bottom: 0;
}

.guide-contact {
  padding-top: clamp(44px, 7vw, 92px);
}

.faq {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(26px, 7vw, 102px);
}

.faq-intro > p:not(.kicker) {
  color: var(--muted);
  font-size: 14px;
  max-width: 340px;
  line-height: 1.8;
  margin: 24px 0 0;
}

.faq-items .faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-items .faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-items summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 57px;
  padding: 13px 10px;
  border-radius: 7px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-items summary:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.faq-items summary::-webkit-details-marker {
  display: none;
}

.faq-items summary::after {
  flex: none;
  width: 27px;
  height: 27px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--wine);
  background: linear-gradient(currentColor, currentColor) center / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 9px no-repeat;
  content: "";
}

.faq-items .faq-item[open] > summary,
.faq-items summary:focus-visible {
  background-color: #faf2e6;
  color: var(--wine-deep);
}

.faq-items .faq-item[open] > summary::after {
  background-color: #f4e2c7;
  background-size: 9px 1px, 0 0;
}

@media (hover: hover) {
  .faq-items summary:hover {
    background-color: #faf2e6;
    color: var(--wine-deep);
  }

  .faq-items summary:hover::after {
    background-color: #f4e2c7;
    border-color: #dcc29d;
  }
}

.faq-items p {
  max-width: 62ch;
  margin: 0;
  padding: 11px 30px 17px 10px;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .faq-items summary {
    transition: color .18s ease, background-color .18s ease;
  }

  .faq-items summary::after {
    transition: background-size .18s ease, background-color .18s ease, border-color .18s ease;
  }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .faq-items {
      interpolate-size: allow-keywords;
    }

    .faq-items .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      opacity: 0;
      transition: block-size .22s ease, opacity .18s ease, content-visibility .22s allow-discrete;
    }

    .faq-items .faq-item[open]::details-content {
      block-size: auto;
      opacity: 1;
    }
  }

  @supports not ((interpolate-size: allow-keywords) and selector(details::details-content)) {
    .faq-items .faq-item[open] > p {
      animation: faq-appear .2s ease-out;
    }
  }
}

@keyframes faq-appear {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.guide-walks-grid p a,
.faq-items p a {
  color: var(--wine-deep);
  text-decoration: underline;
  text-underline-offset: .17em;
}

.footer {
  background:#faf5ea;
  border-top:1px solid #eddfc2;
  padding:56px 0 24px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.35fr .8fr .8fr;
  gap:55px;
  padding-bottom:45px;
}

.footer-logo {
  width:152px;
  height:auto;
}

.footer-about {
  font-size:13px;
  line-height:1.85;
  color:#746a64;
  max-width:285px;
  margin:22px 0 0;
}

.footer h3 {
  font-size:12px;
  letter-spacing:.11em;
  text-transform:uppercase;
  margin:6px 0 20px;
  color:#4b3431;
}

.footer-links {
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:11px;
}

.footer-links a {
  font-size:13px;
  color:#776c64;
}

.footer-links a:hover {
  color:var(--wine);
}

.footer-contact {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--wine);
  font-weight:700;
  margin-bottom:13px;
}

.footer-contact-icon {
  width:17px;
  height:17px;
  flex:none;
}

.footer-bottom {
  border-top:1px solid #e8dac2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding-top:22px;
  font-size:11.5px;
  color:var(--muted);
}

.footer-legal-link,
.legal-details a {
  color: var(--wine-deep);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-legal-link:hover,
.legal-details a:hover {
  color: var(--wine);
}

.legal-details {
  width: min(100%, 560px);
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--paper);
}

.legal-details h2 {
  margin-bottom: 18px;
  font-size: clamp(21px, 3vw, 26px);
}

.legal-details address {
  font-style: normal;
  overflow-wrap: anywhere;
}

.legal-details p {
  margin: 0;
}

.legal-details p + p {
  margin-top: 18px;
}

.footer a:focus-visible,
.legal-details a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

@media (max-width: 1150px) {
  .footer-grid {
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .guide-hero {
    gap: 20px;
  }

  .guide-hero .guide-photo-frame {
    width: min(100% - 16px, 320px);
    margin-inline: 10px auto;
  }

  .guide-instagram {
    inset-block-end: 25px;
  }

  .guide-walks-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .faq-intro > p:not(.kicker) {
    margin-top: 14px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 35px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 490px) {
  .footer-grid {
    gap: 30px;
  }
}

.error-layout {
  min-height: 0;
}

.error-photo {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.error-links a {
  color: var(--wine-deep);
  text-decoration: underline;
  text-underline-offset: .17em;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.privacy-details {
  width: min(100%, 820px);
  overflow-wrap: anywhere;
}

.privacy-details h2:not(:first-child) {
  margin-top: 32px;
}

.privacy-details ul + p {
  margin-top: 18px;
}
