/* Hotel Dirsch Gäste-Info – Relaunch design bridge, 2026-08-31.
   Functionality stays independent; visual language follows the new public site:
   background #d8d6d1, paper #f5f3ef, accent #A69683, ink #343330, square UI. */

@font-face {
  font-family: "FoundrySans";
  src: url("/assets/fonts_dirsch/FoundrySans-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --dirsch-new-bg: #d8d6d1;
  --dirsch-new-paper: #f5f3ef;
  --dirsch-new-accent: #A69683;
  --dirsch-new-accent-hover: #948171;
  --dirsch-new-ink: #343330;
  --dirsch-new-line: rgba(52, 51, 48, .16);
  --dirsch-new-muted: #625f5a;
  --ink: var(--dirsch-new-ink);
  --muted: var(--dirsch-new-muted);
  --gold: var(--dirsch-new-accent);
  --gold-soft: var(--dirsch-new-bg);
  --paper: var(--dirsch-new-bg);
  --soft: var(--dirsch-new-paper);
  --line: var(--dirsch-new-line);
  --white: #fff;
  --shadow: none;
  --shadow-strong: none;
}

html { background: var(--dirsch-new-bg); }
body {
  background: var(--dirsch-new-bg) !important;
  color: var(--dirsch-new-ink) !important;
}

/* Preserve the compact guest-info utility behaviour. */
.info-top__internal {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.info-top__internal span { font-size: .7rem; color: var(--muted); }
.info-top__internal strong { font-size: .88rem; }
.hero-help__static {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-help__static small { color: rgba(255,255,255,.7); }
.hero-help__static strong { text-align: right; }
.experience-card {
  background-image: linear-gradient(180deg, rgba(26,25,23,.08), rgba(26,25,23,.86)), var(--card-image) !important;
  background-position: center !important;
  background-size: cover !important;
}
.experience-card:nth-child(n) { background-position: center !important; }
.menu-list div { display: block; }
.internal-note { margin-top: 14px; }
.internal-note strong { color: #fff; }

/* New relaunch typography: script becomes an accent, not the default headline face. */
.info-top__brand strong,
.info-dashboard-hero h1,
.info-hero h1,
.section-head h2,
.quick-help h2,
.plan-hero h1,
.plan-section__head h2,
.chronicle-hero h2,
.chronicle-intro h2,
.chronicle-era__head h2,
.chronicle:not(.chronicle-section) .section-head h2 {
  font-family: "FoundrySans", Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
}
.info-dashboard-hero h1,
.info-hero h1,
.plan-hero h1 { line-height: .98 !important; }
.section-head h2,
.quick-help h2,
.plan-section__head h2 { line-height: 1.02 !important; }
.chronicle-hero h2,
.chronicle-intro h2 { line-height: .98 !important; }
.chronicle-era__head h2 { line-height: 1.02 !important; }
.chronicle-era__marker span,
.chronicle-era__head p {
  font-family: "Caveat", "Segoe Print", cursive !important;
  font-weight: 500 !important;
  font-style: normal !important;
}

/* Square is part of the new Dirsch contract. No pill/card rounding in /info. */
body :where(a, button, input, select, textarea),
.info-top,
.info-nav,
.hero-help,
.info-poster-card,
.info-poster-card__copy,
.panel,
.info-card,
.experience-card,
.experience-card__label,
.link-card,
.package,
.menu-group,
.legend,
.search-box,
.az-item,
.quick-help,
.quick-help__actions > div,
.service-notice,
.delivery-grid article,
.price-list,
.chronicle-jump a,
.chronicle-era__card,
.chronicle-gallery__item,
.chronicle-gallery__item span,
.chronicle-lightbox,
.chronicle-lightbox__close,
.chronicle-timeline:not(div) li,
.chronicle-source-link,
.plan-section__count,
.plan-explorer,
.plan-user-filters,
.plan-layout,
.plan-map-card,
.plan-map-fullscreen-button,
.plan-destinations,
.plan-destinations__intro,
.plan-destination-list__empty,
.leaflet-control-layers,
.leaflet-popup-content-wrapper,
.dirsch-popup__image,
.dirsch-tooltip {
  border-radius: 0 !important;
}

/* Flat surfaces, thin lines, no legacy floating-card shadows. */
.info-top,
.info-nav,
.info-poster-card,
.panel,
.info-card,
.link-card,
.package,
.menu-group,
.legend,
.quick-help,
.delivery-grid article,
.price-list,
.chronicle-era__card,
.chronicle-gallery__item,
.chronicle-lightbox,
.chronicle-timeline:not(div) li,
.plan-explorer,
.plan-user-filters,
.plan-map-fullscreen-button,
.leaflet-control-layers,
.leaflet-popup-content-wrapper {
  box-shadow: none !important;
}

/* Header and guest navigation stay special to /info, but now match the relaunch palette. */
.info-top {
  background: rgba(245, 243, 239, .97) !important;
  color: var(--dirsch-new-ink) !important;
  border-bottom: 1px solid var(--dirsch-new-line) !important;
  backdrop-filter: blur(14px);
}
.info-top__brand,
.info-top__contacts a { color: var(--dirsch-new-ink) !important; }
.info-top__eyebrow { color: #75695d !important; }
.info-top__contacts a,
.info-top__internal { border-color: var(--dirsch-new-line) !important; }
.info-nav {
  background: var(--dirsch-new-paper) !important;
  border-bottom: 1px solid var(--dirsch-new-line) !important;
  box-shadow: none !important;
}
.info-nav a {
  color: var(--dirsch-new-ink) !important;
  border-color: transparent !important;
}
.info-nav a:hover,
.info-nav a:focus-visible,
.info-nav a.is-active,
.info-nav a[aria-current="page"] {
  background: var(--dirsch-new-accent) !important;
  color: #fff !important;
  border-color: var(--dirsch-new-accent) !important;
}

/* Hero / intro surfaces. */
.info-dashboard-hero {
  background-color: var(--dirsch-new-ink) !important;
  color: #fff !important;
}
.info-dashboard-hero::after { background: rgba(166,150,131,.18) !important; }
.info-dashboard-hero > div > p:not(.kicker),
.info-dashboard-hero__content > p:not(.kicker) { color: rgba(255,255,255,.78) !important; }
.info-hero,
.plan-hero {
  background: var(--dirsch-new-paper) !important;
  border-bottom: 1px solid var(--dirsch-new-line) !important;
}
.plan-hero > p:not(.kicker),
.info-hero > p:not(.kicker) { color: var(--dirsch-new-muted) !important; }

/* Primary CTAs and interactive states. */
.button--primary,
.hero-actions .button--primary,
.alphabet button.is-active,
.language-switch a.is-active,
.plan-level.is-active,
.plan-level:hover,
.plan-user-filter.is-active {
  background: var(--dirsch-new-accent) !important;
  border-color: var(--dirsch-new-accent) !important;
  color: #fff !important;
}
.button--primary:hover,
.button--primary:focus-visible,
.hero-actions .button--primary:hover,
.alphabet button.is-active:hover,
.plan-level.is-active:hover {
  background: var(--dirsch-new-accent-hover) !important;
  border-color: var(--dirsch-new-accent-hover) !important;
  color: #fff !important;
}
.button:not(.button--primary),
.alphabet button,
.language-switch a,
.plan-level,
.plan-user-filter,
.plan-user-filters__toggle-all {
  background: transparent !important;
  border-color: var(--dirsch-new-line) !important;
  color: var(--dirsch-new-ink) !important;
}
.button:not(.button--primary):hover,
.alphabet button:hover,
.language-switch a:hover,
.plan-user-filters__toggle-all:hover {
  background: var(--dirsch-new-paper) !important;
  border-color: var(--dirsch-new-accent) !important;
}

/* Content sections and cards. */
.section--soft,
.section--downloads,
.chronicle-section,
.chronicle:not(.chronicle-section) {
  background: var(--dirsch-new-bg) !important;
}
.panel,
.info-card,
.link-card,
.package,
.menu-group,
.legend,
.delivery-grid article,
.price-list,
.az-item,
.service-notice {
  background: var(--dirsch-new-paper) !important;
  border: 1px solid var(--dirsch-new-line) !important;
}
.panel:hover,
.info-card:hover,
.link-card:hover {
  border-color: var(--dirsch-new-accent) !important;
  box-shadow: none !important;
}
.info-poster-card {
  border: 1px solid var(--dirsch-new-line) !important;
  background-color: var(--dirsch-new-ink) !important;
  box-shadow: none !important;
}
.info-poster-card::after {
  background: linear-gradient(180deg, rgba(26,25,23,.03), rgba(26,25,23,.84)) !important;
}
.info-poster-card__label { color: #e7dfd7 !important; }
.info-poster-card:hover { transform: translateY(-2px) !important; box-shadow: none !important; }
.info-poster-card[href="/info/chronik"] { --poster-image: url('/assets/img/dirsch/hero-aussen.webp') !important; }

.service-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  padding: 16px 18px;
  max-width: 760px;
}
.service-notice strong,
.price-row > b,
.codes,
.legend dt { color: #75695d !important; }
.service-notice span,
.delivery-grid span,
.price-row span,
.legend dd { color: var(--dirsch-new-muted) !important; }
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 54px;
}
.delivery-grid article { display: flex; flex-direction: column; gap: 5px; padding: 18px; }
.price-list { margin-bottom: 56px; overflow: hidden; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid var(--dirsch-new-line) !important;
}
.price-row:first-child { border-top: 0 !important; }
.price-row > div { display: flex; flex-direction: column; gap: 3px; }
.price-row > b { font-size: 1.05rem; white-space: nowrap; }
.codes { margin-left: .25em; font-size: .62em; font-weight: 800; line-height: 0; vertical-align: super; }
.legend-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 24px; }
.legend { margin-top: 0; }
.legend dl { margin: 14px 0 0; }
.legend dl div { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--dirsch-new-line) !important; }

/* A–Z search/accordion. */
.search-box input {
  background: var(--dirsch-new-paper) !important;
  color: var(--dirsch-new-ink) !important;
  border-color: var(--dirsch-new-line) !important;
}
.az-item summary { background: var(--dirsch-new-paper) !important; }
.az-item[open] summary { border-bottom-color: var(--dirsch-new-line) !important; }
.az-item summary:hover { background: #ebe8e3 !important; }

/* Chronicle: retain the storytelling, remove old beige/gold/rounded-card language. */
.chronicle-section,
.chronicle:not(.chronicle-section) {
  background: var(--dirsch-new-bg) !important;
}
.chronicle-era__card,
.chronicle-timeline:not(div) li {
  background: var(--dirsch-new-paper) !important;
  border: 1px solid var(--dirsch-new-line) !important;
}
.chronicle-timeline::before {
  background: linear-gradient(180deg, transparent, var(--dirsch-new-accent) 3%, var(--dirsch-new-accent) 97%, transparent) !important;
}
.chronicle-era__marker {
  background: var(--dirsch-new-accent) !important;
  border-color: var(--dirsch-new-bg) !important;
  box-shadow: 0 0 0 1px var(--dirsch-new-accent) !important;
}
.chronicle-era__head p,
.chronicle-era__marker span,
.chronicle-events time { color: #75695d !important; }
.chronicle-gallery__item { background: #c9c6c0 !important; }
.chronicle-lightbox { background: #1c1b1a !important; }
.chronicle-lightbox__close { background: #343330 !important; }
@media (min-width: 981px) { .chronicle-era__head p { display: none; } }

/* Grounds plan – same surface language, while category marker colours stay functional. */
.plan-hero { background: var(--dirsch-new-paper) !important; }
.plan-section { background: var(--dirsch-new-bg) !important; }
.plan-section__count {
  background: var(--dirsch-new-paper) !important;
  color: var(--dirsch-new-muted) !important;
  border-color: var(--dirsch-new-line) !important;
}
.plan-explorer {
  background: var(--dirsch-new-paper) !important;
  border-color: var(--dirsch-new-line) !important;
}
.plan-user-filters,
.plan-user-filters.has-active-filter {
  background: rgba(245,243,239,.97) !important;
  border-color: var(--dirsch-new-line) !important;
  box-shadow: none !important;
}
.plan-user-filter-group--levels { border-color: var(--dirsch-new-line) !important; }
.plan-user-filter:not(.is-active) {
  background: #fff !important;
  color: var(--dirsch-new-muted) !important;
  opacity: .68 !important;
}
.plan-user-filter.is-active {
  color: var(--dirsch-new-ink) !important;
  background: #ebe7e2 !important;
  border-color: var(--dirsch-new-accent) !important;
}
.plan-map-card,
.plan-map { background: #cbc8c2 !important; }
.plan-destinations {
  background: var(--dirsch-new-paper) !important;
  border-color: var(--dirsch-new-line) !important;
}
.plan-destinations__intro {
  background: #ebe8e3 !important;
  border-color: var(--dirsch-new-line) !important;
}
.plan-destination-search input {
  background-color: #fff !important;
  color: var(--dirsch-new-ink) !important;
  border-color: var(--dirsch-new-line) !important;
}
.plan-destination-search input:focus {
  outline: 2px solid rgba(166,150,131,.52) !important;
  border-color: var(--dirsch-new-accent) !important;
}
.plan-destination {
  border-bottom-color: var(--dirsch-new-line) !important;
  color: var(--dirsch-new-ink) !important;
}
.plan-destination:hover,
.plan-destination.is-active { background: #ebe8e3 !important; }
.plan-destination b,
.plan-destinations__label,
.plan-user-filter-group__head span { color: #75695d !important; }
.plan-map-fullscreen-button {
  background: rgba(245,243,239,.96) !important;
  color: var(--dirsch-new-ink) !important;
  border-color: var(--dirsch-new-line) !important;
}
.leaflet-control-layers-expanded,
.leaflet-popup-content-wrapper { background: rgba(245,243,239,.97) !important; color: var(--dirsch-new-ink) !important; }
.dirsch-popup a { background: var(--dirsch-new-accent) !important; color: #fff !important; }
.dirsch-popup a:hover { background: var(--dirsch-new-accent-hover) !important; }
.dirsch-tooltip { background: rgba(52,51,48,.96) !important; }

/* Strong, consistent keyboard focus throughout the guest area. */
body :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--dirsch-new-accent) !important;
  outline-offset: 3px !important;
}

.quick-help__actions > div,
.quick-help__actions > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.22) !important;
  text-decoration: none;
}

@media (max-width: 900px) {
  .delivery-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .delivery-grid,
  .legend-grid { grid-template-columns: 1fr; }
  .price-row { padding: 16px 18px; }
  .service-notice { display: grid; }
  .hero-help__static { align-items: flex-start; }
  .hero-help__static strong { max-width: 55%; }
  .info-dashboard-hero h1,
  .info-hero h1,
  .plan-hero h1 { font-size: clamp(2.3rem, 11vw, 3.35rem) !important; line-height: 1 !important; }
  .section-head h2,
  .quick-help h2,
  .plan-section__head h2 { font-size: clamp(1.9rem, 8.7vw, 2.65rem) !important; line-height: 1.03 !important; }
  .chronicle-hero h2 { font-size: clamp(2.6rem, 12vw, 3.8rem) !important; line-height: 1 !important; }
  .chronicle-era__head h2 { font-size: clamp(1.9rem, 8vw, 2.65rem) !important; line-height: 1.03 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .info-poster-card,
  .panel,
  .info-card,
  .link-card { transition: none !important; }
}

/* Pre-Cutover 29.09.2026 · WCAG 1.4.3: weiße Schrift auf #A69683 erreichte nur 2,87:1. Gefüllte Zustände
   (aktive Navigation, Primärbuttons, aktive Filter) im selben Farbton dunkler: #74695b = 5,36:1, Hover #635a4e = 6,77:1. */
.info-nav a:hover,
.info-nav a:focus-visible,
.info-nav a.is-active,
.info-nav a[aria-current="page"],
.button--primary,
.hero-actions .button--primary,
.alphabet button.is-active,
.language-switch a.is-active,
.plan-level.is-active,
.plan-level:hover,
.plan-user-filter.is-active {
  background: #74695b !important;
  border-color: #74695b !important;
  color: #fff !important;
}
.button--primary:hover,
.button--primary:focus-visible,
.hero-actions .button--primary:hover,
.alphabet button.is-active:hover,
.plan-level.is-active:hover {
  background: #635a4e !important;
  border-color: #635a4e !important;
  color: #fff !important;
}
