/* ==========================================================================
   Pension Kalbitz Jena – Classic Refresh Stylesheet (100/100 Core Web Vitals)
   Farbwelt der Original-Seite (#660000 Weinrot, #dddddd Topbar, #eaeaea Footer)
   ========================================================================== */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/open-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/open-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113;
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #660000;
  --brand-dark: #4a0000;
  --brand-soft: #faf5f5;
  --brand-tint: #f3e8e8;
  --brand-border: #e5d4d4;
  --text: #382424;
  --text-muted: #665252;
  --topbar-bg: #dddddd;
  --footer-bg: #eaeaea;
  --surface: #ffffff;
  --surface-alt: #f9f7f6;
  --border: #e2dddd;
  --success: #26643b;
  --success-bg: #eef7f1;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(45, 15, 15, 0.06);
  --shadow-md: 0 8px 24px rgba(45, 15, 15, 0.10);
  --max-w: 1080px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover, a:focus-visible {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  color: var(--brand);
  font-weight: 600;
  line-height: 1.28;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1rem;
}

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

ul {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.4rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Info Bar ---------- */
.top-bar {
  background: var(--topbar-bg);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid #d0cccc;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-height: 36px;
  padding: 5px 0;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar a:hover {
  text-decoration: underline;
  color: #000;
}

.top-bar .sep {
  color: #9e8a8a;
  user-select: none;
}

/* ---------- Site Header & Navigation ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 88px;
  padding: 8px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link img {
  width: 135px;
  height: 82px;
  object-fit: contain;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  color: var(--brand);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #000;
  border-bottom-color: var(--brand-border);
}

.main-nav a[aria-current="page"] {
  color: #000;
  font-weight: 600;
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--brand);
  cursor: pointer;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle:hover {
  background: var(--brand-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-decoration: none;
}

/* ---------- Sections & Layout Utilities ---------- */
.section {
  padding: 40px 0;
}

.section-tight {
  padding: 28px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 34px 0;
}

.breadcrumb {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* ---------- Homepage Hero Split (Alte Optik, sauber strukturiert) ---------- */
.home-split {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  gap: 40px;
  align-items: start;
}

.house-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.house-card img {
  width: 100%;
  aspect-ratio: 500 / 369;
  object-fit: cover;
}

.house-contact {
  padding: 22px 24px 24px;
  text-align: center;
}

.house-address {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.house-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.house-phone:hover {
  text-decoration: underline;
}

.house-email {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.house-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 14px;
  height: 14px;
  background-color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 10.5 8 15 16.5 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3.5 10.5 8 15 16.5 5.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 3-Column Feature Blurbs (Startseite) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h2,
.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.feature-card .card-more {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.feature-card .card-more:hover {
  text-decoration: underline;
}

/* ---------- Excursion Teaser Cards (Jena-Tipps) ---------- */
.teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.teaser-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
  color: var(--text);
}

.teaser-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.teaser-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.teaser-meta {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.teaser-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

.teaser-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Callout Box (Ersetzt unpassende grüne Box auf /zimmer/) ---------- */
.callout {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 22px 0 28px;
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.4rem;
}

/* ---------- Gallery & Filter Tabs (/zimmer/) ---------- */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.gallery-header h2 {
  margin: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.filter-btn:hover {
  background: var(--brand-soft);
}

.filter-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

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

.gallery-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  background: #f0eceb;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.03);
}

.gallery-zoom-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(102, 0, 0, 0.85);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-item:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1.06);
}

.gallery-caption {
  padding: 11px 14px;
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gallery-tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 10, 0.9);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-dialog {
  position: relative;
  max-width: min(960px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  background: #1a1010;
}

.lightbox-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f5eded;
  padding-top: 12px;
  font-size: 14.5px;
}

.lightbox-count {
  font-weight: 600;
  color: #e2c5c5;
  white-space: nowrap;
}

.lightbox-btn {
  position: fixed;
  background: rgba(102, 0, 0, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.lightbox-btn:hover {
  background: var(--brand-dark);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Compact Amenity Tiles (/zimmer/) ---------- */
.amenity-tile {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.amenity-tile .feature-icon {
  margin: 0 auto 10px;
  width: 44px;
  height: 44px;
}

.amenity-tile h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.amenity-tile p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Redesigned Pricing Page (/preise/) ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin: 24px 0 22px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card-head {
  background: var(--brand);
  color: #fff;
  padding: 20px 26px;
}

.price-card-head h2 {
  color: #fff;
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.price-card-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.price-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.price-prefix {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

.price-value {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  font-size: 14.5px;
  color: var(--text-muted);
}

.price-card-foot {
  margin-top: auto;
  padding-top: 14px;
}

.notice-bar {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 15px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14.5px;
}

.notice-bar svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Clean Services Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table th {
  background: var(--surface-alt);
  color: var(--brand);
  font-weight: 700;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 2px solid var(--brand-border);
}

.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:nth-child(even) {
  background: #fcfafa;
}

.data-table .col-price {
  text-align: right;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.badge-free {
  display: inline-block;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 700;
  font-size: 13.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge-neutral {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 13.5px;
  padding: 3px 10px;
  border-radius: 999px;
}

.item-desc {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ---------- CTA Banner ---------- */
.cta-box {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  margin-top: 34px;
}

.cta-box h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 1.35rem;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Distances Grid (/informationen/) ---------- */
.distance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.distance-grid li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
  font-size: 14.5px;
}

.dist-val {
  font-weight: 700;
  color: var(--brand);
  min-width: 64px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Animated Distance Bars (/informationen/) */
.distance-bars {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.dist-bar-item {
  padding: 10px 14px 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
}

.dist-bar-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 14.5px;
}

.dist-bar-val {
  font-weight: 700;
  color: var(--brand);
  min-width: 58px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.dist-bar-label {
  color: var(--text);
  font-weight: 500;
}

.dist-bar-track {
  position: relative;
  height: 11px;
  width: 100%;
  background: #eae2e2;
  border-radius: 3px;
  overflow: hidden;
}

.dist-bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand) 0%, #8b1111 100%);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.dist-bar-item.is-visible .dist-bar-fill {
  transform: scaleX(var(--pct, 0));
}

.dist-bar-scale {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -4px 0 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .dist-bar-fill {
    transition: none;
    transform: scaleX(var(--pct, 0));
  }
}

/* ---------- 2-Click Map Card (/anfahrt/) ---------- */
.map-shell {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  padding: 48px 28px;
  text-align: center;
  background: linear-gradient(135deg, #faf5f5 0%, #f2eceb 100%);
}

.map-placeholder h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  max-width: 560px;
  margin: 0 auto 1.25rem;
  font-size: 14.5px;
  color: var(--text-muted);
}

.map-iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* ---------- Contact Form (/kontakt/) ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, 34%) 1fr;
  gap: 32px;
  align-items: start;
}

.contact-sidebar {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-sidebar h2 {
  margin-top: 0;
  font-size: 1.2rem;
}

.contact-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-meta-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: 14.5px;
}

.contact-meta-list li:last-child {
  border-bottom: 0;
}

.contact-meta-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbbebe;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(102, 0, 0, 0.12);
  outline: none;
}

.form-section-note {
  margin: 4px 0 -4px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.form-check input {
  margin-top: 4px;
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #b8ddc4;
}

.form-status.is-error {
  background: #fdf0f0;
  color: #8b0000;
  border: 1px solid #e6b8b8;
}

/* ---------- Article / Excursion & Legal Pages ---------- */
.article-wrap {
  max-width: 820px;
}

.article-hero {
  margin: 0 0 22px;
}

.article-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.article-hero figcaption {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 10px;
  padding: 14px 18px;
}

.faq-list summary {
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* ---------- Footer (Alte Optik: #eaeaea + #660000 Links, ohne Nofollow) ---------- */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid #d7d2d2;
  padding: 28px 0;
  margin-top: 24px;
}

.footer-nav {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: var(--brand);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: #000;
  text-decoration: underline;
}

.footer-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 12px;
  border-top: 1px solid #d8d3d3;
}

.footer-meta a {
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--brand);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 18px;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 11px 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav li:last-child a {
    border-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .home-split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 28px 0;
  }

  .grid-3,
  .grid-2,
  .pricing-grid,
  .gallery-grid,
  .distance-grid,
  .distance-bars,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-link img {
    width: 112px;
    height: 68px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .container {
    padding: 0 18px;
  }

  .top-bar {
    font-size: 13px;
  }

  .top-bar-inner {
    justify-content: center;
    gap: 0.55rem;
  }

  .data-table th,
  .data-table td {
    padding: 12px 12px;
    font-size: 14px;
  }

  .data-table .col-price {
    font-size: 13.5px;
  }

  .badge-free,
  .badge-neutral {
    font-size: 12px;
    padding: 3px 8px;
  }
}

@media (max-width: 480px) {
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
  }

  .data-table tbody tr:last-child {
    border-bottom: 0;
  }

  .data-table tbody th {
    width: 100% !important;
    padding: 0 0 3px;
    border-bottom: 0;
    background: transparent;
    font-size: 13px;
  }

  .data-table td {
    padding: 0;
    border-bottom: 0;
  }

  .data-table .col-price {
    text-align: left;
    margin-top: 6px;
  }
}

@media (min-width: 560px) and (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
