:root {
  --paper: #edf2f4;
  --ink: #162c39;
  --dark: #122a38;
  --dark-hover: #264859;
  --muted: #465e6b;
  --accent: #24586a;
  --peach: #dceca9;
  --peach-hover: #c9df84;
  --line: #ccd9de;
  --white: #ffffff;
  --radius: 9px;
}
:focus-visible { outline-color: #3b6d27; }
h1, h2 {
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: -.065em;
  font-weight: 850;
  line-height: 1.02;
}
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.top.wrap {
  width: 100%;
  padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  min-height: 76px;
  gap: 16px;
  border-bottom: 0;
  color: var(--white);
  background: var(--dark);
  position: relative;
  z-index: 2;
}
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: 0 0 0 100vmax var(--dark);
  clip-path: inset(0 -100vmax);
}
.top nav {
  justify-content: center;
  gap: clamp(8px, 1.6vw, 21px);
}

@media (min-width: 961px) {
  .top.wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  }

  .top > nav { flex-wrap: nowrap; }
  .top > .brand { justify-self: start; }
  .top > .header-controls { justify-self: end; }
}
.top .brand img {
  width: clamp(56px, 7vw, 74px);
  height: auto;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20203%22%3E%20%3Cmask%20id%3D%22w%22%3E%20%3Crect%20width%3D%22256%22%20height%3D%22203%22%20fill%3D%22white%22%2F%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%224.7%22%3E%20%3Cellipse%20cx%3D%22150.5%22%20cy%3D%22144%22%20rx%3D%229.4%22%20ry%3D%227.1%22%20transform%3D%22rotate%28-17%20150.5%20144%29%22%2F%3E%20%3Cellipse%20cx%3D%22196.8%22%20cy%3D%22136.4%22%20rx%3D%229.2%22%20ry%3D%227.5%22%20transform%3D%22rotate%28-49%20196.8%20136.4%29%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fmask%3E%20%3Crect%20width%3D%22256%22%20height%3D%22203%22%20fill%3D%22white%22%20mask%3D%22url%28%23w%29%22%2F%3E%20%3C%2Fsvg%3E%20") center / 100% 100% no-repeat;
}
.top .nav-deals { background: var(--peach); color: var(--dark); }
.top .channel {
  display: grid;
  flex: none;
  place-items: center;
  min-width: 56px;
  min-height: 54px;
  gap: 3px;
  padding: 5px 6px;
  border: 0;
  border-radius: 8px;
}
.top .channel:hover { background: var(--dark-hover); }
.top .channel .youtube-play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 28px;
  border-radius: 7px;
  background: #ff0033;
}
.top .channel .youtube-label {
  display: block;
  font-size: .72rem;
  line-height: 1.1;
  text-align: center;
}
.youtube-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
}
.topic-menu-list { color: var(--ink); }
.topic-menu-list a:hover, .topic-menu-list [aria-current=page] { background: #e6efdf; }
.hero.hero-landscape {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  min-height: 0;
  background: var(--dark);
  color: var(--white);
  margin-block: 30px 0;
}
.hero-landscape .intro { grid-column: 1; grid-row: 1; }
.hero-landscape .hero-photo { grid-column: 2; grid-row: 1; aspect-ratio: auto; min-height: 100%; }
.hero-landscape .hero-photo img { object-position: 46% 53%; }
.hero-landscape h1 { font-size: clamp(2.65rem, 5vw, 5.35rem); }
.hero-landscape h1 em { color: var(--peach); font-style: normal; font-weight: inherit; }
.hero .lede { color: #d7e4e9; }
.hero .button { background: var(--peach); color: var(--dark); }
.hero .button:hover { background: var(--peach-hover); }
.eyebrow span, figcaption span { background: #88a94d; }
.explore { padding-block: 36px 0; }
.directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.directory a { display: grid; gap: 3px; padding: 16px 18px; background: var(--white); text-decoration: none; }
.directory a:hover, .directory a:focus-visible { background: #e6efdf; outline-offset: -4px; }
.directory strong { font-size: 1rem; }
.directory span { color: var(--muted); font-size: .85rem; }
.tool-section { background: #dce7eb; }
.tools { align-items: stretch; }
.tool, .editorial-card, .tech-article { border-radius: var(--radius); }
.toolhead .index { display: none; }
.icon, .result, .deal-code code, .source-note { background: #e6efdf; }
.tech-article > summary:hover, .tech-article[open] > summary { background: #e6efdf; }
input, select, .number-arrows button { border-color: #a6b9c1; }
.editorial-hero { background: var(--dark); color: white; border-color: var(--dark); }
.editorial-hero > p:last-child { color: #d7e4e9; }
.editorial-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.editorial-card { border-top: 3px solid #8cac62; }
@media (max-width: 740px) {
  .hero.hero-landscape { grid-template-columns: minmax(0, 1fr); }
  .hero-landscape .hero-photo { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
  .hero-landscape .intro { grid-row: 2; }
  .directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .directory { grid-template-columns: minmax(0, 1fr); }
}

/* Illustration strips above the calculator forms. */
.toolhead {
  position: relative;
  min-height: 68px;
  margin-bottom: 18px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: var(--radius);
}
#kabel .toolhead {
  color: #c9eb8c;
  background: radial-gradient(circle, #6f9a86 1px, transparent 1.5px) 0 0 / 12px 12px, #153b3b;
}
#achslast .toolhead {
  color: #bce0ef;
  background: repeating-linear-gradient(0deg, transparent 0 13px, #355a70 13px 14px), #1c4158;
}
.toolhead .icon {
  background: #ffffff18;
  border: 1px solid #ffffff45;
  color: inherit;
}
.circuit-art, .axle-art {
  position: absolute;
  right: 12px;
  width: min(56%, 164px);
  height: 48px;
}
.circuit-art i {
  position: absolute;
  right: 5px;
  width: 85%;
  height: 13px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 6px 0 0;
}
.circuit-art i:nth-child(1) { top: 4px; width: 58%; }
.circuit-art i:nth-child(2) { top: 19px; width: 74%; }
.circuit-art i:nth-child(3) { top: 34px; }
.circuit-art i::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #153b3b;
}
.axle-art {
  width: min(66%, 184px);
}
.axle-art::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  border-bottom: 1px solid #83adc2;
}
.camper-body {
  position: absolute;
  inset: 1px 3px 9px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #f4f8f8 0 66%, #91a9b2 66% 71%, #dce7ea 71% 88%, #aebfc6 88%);
  clip-path: polygon(0 18%, 1% 8%, 4% 3%, 16% 0, 76% 0, 84% 4%, 89% 14%, 95% 39%, 98% 54%, 100% 70%, 100% 88%, 97% 96%, 92% 100%, 4% 100%, 0 93%);
}
.camper-body::after {
  content: "";
  position: absolute;
  right: 0;
  top: 62%;
  width: 10%;
  height: 23%;
  background: linear-gradient(to bottom, #7897a5 0 32%, transparent 32% 59%, #244d65 59% 81%, transparent 81%);
  border-radius: 2px;
}
.camper-windshield, .camper-window, .camper-door, .camper-garage {
  position: absolute;
  border-radius: 2px;
}
.camper-windshield {
  inset: 10% 4% 45% 71%;
  background: #244d65;
  clip-path: polygon(0 0, 61% 0, 82% 27%, 100% 100%, 0 100%);
}
.camper-window {
  inset: 17% 49% 50% 10%;
  background: linear-gradient(90deg, #244d65 32%, transparent 32% 43%, #244d65 43%);
}
.camper-door {
  inset: 12% 31% 9% 53%;
  border: 1px solid #63899d;
  background: linear-gradient(#244d65, #244d65) center 5px / 60% 9px no-repeat;
}
.camper-garage {
  inset: 57% auto 9% 3%;
  width: 16%;
  border: 1px solid #526921;
  background: #dceca9;
}
.camper-wheel {
  position: absolute;
  bottom: 2px;
  width: 17px;
  height: 17px;
  border: 3px solid #102a39;
  border-radius: 50%;
  background: #98bacc;
  z-index: 1;
}
.camper-wheel-front { right: 14%; }
.camper-wheel-rear { left: 25%; background: #dceca9; box-shadow: 0 0 0 1px #dceca9; }

.camping-page .editorial-hero { padding: clamp(22px, 4vw, 44px); }
.camping-page .editorial-hero h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.camping-page .original-block h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.camping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin-top: 16px;
}
.camping-card {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.camping-card > summary {
  display: grid;
  grid-template-columns: minmax(72px, 108px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  font-size: .95rem;
  line-height: 1.25;
}
.camping-card > summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; }
.camping-card[open] > summary::after { content: "−"; }
.camping-card > summary img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border-radius: 5px;
}
.camping-card-body { padding: 12px 16px; }
.camping-card-body h3 { font-size: 1.12rem; }
.camping-card-body img { max-width: min(100%, 250px); max-height: 150px; }
.camping-card-new .index { margin-top: 0; }
@media (max-width: 740px) {
  .camping-grid { grid-template-columns: minmax(0, 1fr); }
}



.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.about-gallery-grid a {
  display: block;
  border-radius: var(--radius);
  background: var(--paper);
}
.about-gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  object-fit: contain;
  border-radius: var(--radius);
}
@media (max-width: 850px) {
  .about-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-form {
  display: grid;
  width: 100%;
  gap: 12px;
  margin-top: 8px;
}
.contact-form textarea {
  width: 100%;
  min-height: 7rem;
  padding: 9px;
  resize: vertical;
  border: 1px solid #a6b9c1;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.contact-form > .button { justify-self: start; margin-top: 0; }

.contact-layout {
  display: grid;
  gap: 16px;
}
.contact-instagram {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 14px 24px;
}
.contact-instagram h3 { font-size: 1.2rem; }
.contact-instagram p { color: var(--muted); }
.contact-instagram .editorial-links { margin: 0; padding: 0; }

.calculator-note { margin-top: 10px; }

.home-photo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(16px, 4vw, 44px);
}
.home-photo-intro > img {
  width: 100%;
  height: auto;
  margin: 0;
}
.home-gallery h2 { margin-bottom: 18px; }
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(125px, 18vw, 230px);
  gap: clamp(8px, 1.4vw, 16px);
}
.home-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.home-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 741px) {
  .home-gallery-grid a:nth-child(8n + 1),
  .home-gallery-grid a:nth-child(8n + 6),
  .home-gallery-grid a:nth-child(8n + 7),
  .home-gallery-grid a:nth-child(8n + 8) { grid-column: span 2; }
}
@media (max-width: 740px) {
  .home-photo-intro { grid-template-columns: minmax(0, 1fr); }
  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(105px, 28vw, 185px);
  }
}

.home-gallery .home-gallery-actions {
  margin: 20px 0 0;
  text-align: center;
}

#about-gallery-title {
  scroll-margin-top: 120px;
}

.photo-viewer {
  box-sizing: border-box;
  width: min(96vw, 76rem);
  max-width: none;
  max-height: 96dvh;
  padding: clamp(6px, 2vw, 20px);
  border: 0;
  border-radius: var(--radius);
  background: var(--dark);
  color: white;
}

.photo-viewer::backdrop {
  background: rgb(0 0 0 / 84%);
}

.photo-viewer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
}

.photo-viewer-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(4px, 1.4vw, 16px);
}

.photo-viewer-stage img {
  display: block;
  width: 100%;
  max-height: calc(96dvh - 100px);
  object-fit: contain;
}

.photo-viewer button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--peach);
  color: var(--dark);
  font: 1.8rem/1 system-ui, sans-serif;
  cursor: pointer;
}

.photo-viewer button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.news-page .editorial-hero {
  padding: clamp(16px, 3vw, 30px);
}

.news-page .editorial-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

.news-page .editorial-section {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 20px;
}

.news-page .editorial-section h2,
.news-page .editorial-note {
  margin: 0;
}

.news-page .editorial-section h2 {
  font-size: 1.2rem;
}

.news-page .original-content {
  gap: 8px;
  margin-block: 14px 22px;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(100px, 22%) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2.5vw, 24px);
  padding: clamp(14px, 2.4vw, 24px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.news-image img {
  display: block;
  width: 100%;
  max-height: 145px;
  object-fit: contain;
  object-position: left top;
  border-radius: 8px;
}

.news-item .original-block {
  padding: 0;
  border: 0;
  background: transparent;
}

.news-item .original-block h2 {
  margin: 0 0 .35em;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
}

.news-item .original-block h3 {
  font-size: 1.05rem;
}

.news-item .original-block p {
  margin-block: .45em;
}

.news-item .original-block p:has(> br:only-child):not(:has(> :not(br))) {
  margin-block: 0;
}

@media (max-width: 550px) {
  .news-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-image img {
    width: min(100%, 155px);
    max-height: 100px;
  }
}

.camping-country-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 14px 20px;
}

.camping-country-nav a {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.camping-country + .camping-country {
  margin-top: 32px;
}

.camping-country > h3 {
  margin-block: 0;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  scroll-margin-top: 120px;
}

.camping-country-name {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: .14em;
}

.camping-country > .camping-grid {
  margin-top: 10px;
}

.rules-page .editorial-hero h1 {
  font-size: clamp(2rem, 5vw, 3.65rem);
}

.rules-page .original-content {
  margin-top: 16px;
}

.rules-country h2 {
  margin-top: 0;
  scroll-margin-top: 120px;
}

.rules-country-name {
  text-decoration: underline;
  text-underline-offset: .14em;
}

.rules-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
  margin-block: 12px;
}

.rules-comparison > div {
  padding: 14px;
  border-radius: 10px;
  background: var(--paper);
}

.rules-comparison dt {
  font-weight: 800;
}

.rules-comparison dd {
  margin: 4px 0 0;
}

.rules-sign {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.rules-sign img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0;
}

.rules-sign p {
  margin-top: 0;
}

.header-controls {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.theme-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  place-items: center;
  width: 72px;
  height: 40px;
  padding: 3px;
  border: 1px solid #ffffff65;
  border-radius: 999px;
  background: #0b1c27;
  color: #edf4f7;
  cursor: pointer;
}

.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: #ffffffa8; }
.theme-toggle:focus-visible { outline-color: var(--peach); }

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 999px;
  background: var(--peach);
  transform: translateX(100%);
}

@media (prefers-reduced-motion: no-preference) {
  .theme-toggle::before { transition: transform 180ms ease; }
}

.theme-toggle[aria-pressed="true"]::before { transform: translateX(0); }

.theme-icon {
  position: relative;
  font: 21px/1 system-ui, sans-serif;
}

.theme-toggle[aria-pressed="false"] .theme-sun,
.theme-toggle[aria-pressed="true"] .theme-moon {
  color: var(--dark);
}


:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1b24;
  --white: #192c38;
  --ink: #edf4f7;
  --muted: #bcced7;
  --accent: #b4d9eb;
  --line: #415967;
  --dark: #102430;
  --dark-hover: #29495b;
  --soft-surface: #233e46;
}

[data-theme="dark"] :focus-visible { outline-color: var(--peach); }
[data-theme="dark"] :is(.top, .about, .hero.hero-landscape) { color: var(--ink); }
[data-theme="dark"] .button { color: var(--dark); }
[data-theme="dark"] form > .button { background: var(--peach); }
[data-theme="dark"] form > .button:hover { background: var(--peach-hover); }

[data-theme="dark"] :is(input, select, .contact-form textarea) {
  background: var(--paper);
  border-color: #6b8796;
}

[data-theme="dark"] .tool-section { background: #122430; }

[data-theme="dark"] :is(.icon, .result, .deal-code code, .source-note),
[data-theme="dark"] .topic-menu-list :is(a:hover, [aria-current="page"]),
[data-theme="dark"] .directory a:is(:hover, :focus-visible),
[data-theme="dark"] .tech-article > summary:hover,
[data-theme="dark"] .tech-article[open] > summary {
  background: var(--soft-surface);
}

[data-theme="dark"] .footer .brand img {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
}

[data-theme="dark"] .deal-logo {
  background: #edf2f4;
  padding: 4px;
  border-radius: 4px;
}

@media (max-width: 960px) {
  .top.wrap {
    flex-wrap: wrap;
    padding-block: 10px;
    gap: 8px;
  }

  .top > nav {
    order: 3;
    width: 100%;
  }
}

@media (min-width: 961px) and (max-width: 1080px) {
  .top > nav {
    gap: 10px;
    font-size: .9rem;
  }
}

.youtube-consent .youtube-notice {
  font-size: .7rem;
  line-height: 1.35;
  margin-block: 5px;
}

.youtube-consent :is(.youtube-load, .youtube-unload) {
  width: auto;
  min-height: 36px;
  padding: 6px 10px;
  font-size: .78rem;
  line-height: 1.3;
}

.privacy-page {
  max-width: 960px;
}

.privacy-page .editorial-hero {
  padding: 20px 24px;
}

.privacy-page .editorial-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.privacy-page .editorial-hero > p:last-child {
  margin-top: 8px;
  font-size: .9rem;
}

.privacy-page .original-content {
  gap: 12px;
  margin-block: 16px 28px;
  font-size: .9rem;
  line-height: 1.5;
}

.privacy-page :is(.source-note, .original-block) {
  padding: 16px 20px;
}

.privacy-page .original-block h2 {
  margin: 1.2em 0 .4em;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.privacy-page .original-block h2:first-child {
  margin-top: 0;
}

/* Direkte Video-Links mit lokalem Vorschaubild. */
.button.youtube-direct-link { display: flex; margin-top: 10px; text-align: center; font-size: .85rem; background: #ff0000; color: #fff; }
.button.youtube-direct-link:hover { background: #d90000; color: #fff; }
.button.youtube-direct-link:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.youtube-external-note { margin: 5px 0 0; font-size: .75rem; line-height: 1.4; }

.youtube-button-play { width: 1.8em; height: 1.8em; flex: 0 0 auto; }

.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form button:disabled { opacity: .65; cursor: wait; }
#contact-status:empty { display: none; }
#contact-status { font-size: .9rem; line-height: 1.5; }

/* Länderregeln: klar getrennte Karten mit eigenem Überschriftenbereich. */
.rules-page .original-content { gap: clamp(36px, 5vw, 60px); }
.rules-page .rules-country {
  border: 2px solid var(--line);
  border-top: 6px solid var(--peach-hover);
  border-radius: 14px;
  box-shadow: 0 8px 24px #122a380d;
}
.rules-page .rules-country h2 {
  margin-top: 0;
  margin-bottom: 24px;
  padding: 12px 16px 16px;
  border-bottom: 2px solid var(--line);
  border-radius: 6px 6px 0 0;
  background: var(--paper);
}

.rules-equipment-intro { margin-top: 22px; }
.rules-equipment-intro h2 { margin-top: 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.rules-equipment { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.rules-equipment > div { padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.rules-equipment h4 { margin-top: 0; font-size: 1.1rem; }
.rules-equipment ul { padding-left: 1.2em; }
.rules-equipment li + li { margin-top: 10px; }
.rules-equipment-sources { font-size: .82rem; line-height: 1.5; }
@media (max-width: 700px) { .rules-equipment { grid-template-columns: 1fr; } }

/* Auf langen Seiten jederzeit zurück zum Seitenanfang. */
.back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 4px 16px #0003;
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
}
.back-to-top[hidden] { display: none; }
.back-to-top-arrow { font-size: 1.5rem; line-height: 1; }
.back-to-top:hover { background: var(--dark-hover); }
.back-to-top:focus-visible { outline: 3px solid var(--peach-hover); outline-offset: 3px; }
[data-theme="dark"] .back-to-top { background: var(--peach); color: var(--dark); }
[data-theme="dark"] .back-to-top:hover { background: var(--peach-hover); }
@media (max-width: 600px) {
  .back-to-top { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 8px 13px; }
}

/* Themenauswahl als klar erkennbare klickbare Karten. */
.directory { gap: 14px; border: 0; background: transparent; border-radius: 0; overflow: visible; }
.directory a {
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 3px 10px #122a3809;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.directory a:is(:hover, :focus-visible) {
  border-color: var(--accent);
  box-shadow: 0 6px 18px #122a3818;
  transform: translateY(-2px);
  outline-offset: 3px;
}
.directory .directory-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  justify-self: start;
  gap: 24px;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--peach);
  color: var(--dark);
  font-size: .8rem;
  font-weight: 800;
}
.directory .directory-arrow { color: inherit; font-size: 1.15rem; line-height: 1; }
@media (prefers-reduced-motion: reduce) {
  .directory a { transition: none; }
  .directory a:is(:hover, :focus-visible) { transform: none; }
}

/* Grüne Reiseakzente; YouTube-Schaltflächen bleiben rot. */
.hero-landscape h1 em { color: #dceca9; }
.hero.hero-landscape .button,
.home-gallery-actions .button { background: #dceca9; color: #122a38; }
.hero.hero-landscape .button:hover,
.home-gallery-actions .button:hover { background: #c9df84; color: #122a38; }
.button.youtube-channel-button { background: #ff0000; color: #fff; }
.button.youtube-channel-button:hover { background: #d90000; color: #fff; }

/* Besuchte Campingplätze: sichtbare Länderwechsel zwischen den Videogruppen. */
.camping-page .camping-country + .camping-country {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 3px solid var(--line);
}
.camping-page .camping-country > h3 {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-left: 5px solid var(--peach-hover);
  border-radius: 0 8px 8px 0;
  background: var(--paper);
}
.camping-page .camping-country > .camping-grid { margin-top: 0; }

/* Länderbanner mit grafisch interpretierten Flaggenfarben. */
.camping-page .camping-country { --flag-art: linear-gradient(0deg, #ffce00 0 33.33%, #d00 33.33% 66.66%, #191919 66.66%); }
.camping-page .camping-country[aria-labelledby="kroatien"] { --flag-art: linear-gradient(0deg, #173b8d 0 33.33%, #fff 33.33% 66.66%, #e22a32 66.66%); }
.camping-page .camping-country[aria-labelledby="niederlande"] { --flag-art: linear-gradient(0deg, #21468b 0 33.33%, #fff 33.33% 66.66%, #ae1c28 66.66%); }
.camping-page .camping-country[aria-labelledby="oesterreich"] { --flag-art: linear-gradient(0deg, #ed2939 0 33.33%, #fff 33.33% 66.66%, #ed2939 66.66%); }
.camping-page .camping-country[aria-labelledby="spanien"] { --flag-art: linear-gradient(0deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.camping-page .camping-country > h3 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 16px #122a3812;
}
.camping-page .camping-country > h3::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0 0 0 38%;
  background: var(--flag-art);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.camping-page .camping-country > h3::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, var(--white) 0 34%, transparent 76%), linear-gradient(135deg, transparent 60%, #ffffff30 60% 67%, transparent 67% 80%, #ffffff18 80%);
}
.camping-page .camping-country > h3 .camping-country-name,
.camping-page .camping-country > h3 > span {
  position: relative;
  background: var(--white);
  box-shadow: 0 0 18px 8px var(--white);
}
@media (max-width: 600px) {
  .camping-page .camping-country > h3 { min-height: 80px; padding: 18px 16px; font-size: 1.5rem; }
  .camping-page .camping-country > h3::before { left: 30%; }
}

.camping-page .camping-country > h3 .country-banner-crest {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
  width: 76px;
  height: 76px;
  max-height: none;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px #0005);
}
@media (max-width: 600px) {
  .camping-page .camping-country > h3 .country-banner-crest { right: 18px; width: 62px; height: 62px; }
}

/* Black Friday: eigenständiges Aktionsschild in der Hauptnavigation. */
.top a.nav-black-friday {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 5px 15px;
  color: #f5d48c;
  text-decoration: none;
  white-space: nowrap;
}
.top .nav-black-friday::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid #d5ad62;
  border-left: 4px solid #f5d48c;
  border-radius: 3px;
  background: linear-gradient(125deg, #25272b, #080b0e 68%);
  transform: skewX(-8deg);
  box-shadow: 3px 3px 0 #f5d48c22;
}
.top .nav-black-friday > span {
  display: grid;
  gap: 1px;
  font-size: .68rem;
  line-height: 1.1;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.top .nav-black-friday strong { color: #fff; font-size: .94rem; letter-spacing: .065em; }
.top .nav-black-friday svg { flex: none; }
.top .nav-black-friday:is(:hover, :focus-visible)::before {
  border-color: #ffe1a1;
  background: linear-gradient(125deg, #39332a, #11161c 68%);
  box-shadow: 3px 3px 0 #f5d48c55;
}
.top .nav-black-friday:focus-visible { outline: 2px solid #f5d48c; outline-offset: 5px; }
.top .nav-black-friday[aria-current="page"]::before { border-bottom-width: 3px; }
@media (min-width: 961px) and (max-width: 1320px) {
  .top.wrap { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; padding-block: 10px; }
  .top > .brand { grid-column: 1; grid-row: 1; }
  .top > .header-controls { grid-column: 2; grid-row: 1; }
  .top > nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; }
}
@media (max-width: 960px) { .top a.nav-black-friday { min-height: 42px; padding-inline: 13px; } }

/* Länderbuttons mit integrierter Flagge. */
.rules-page .rules-country-picker a.country-picker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-inline: 15px;
}
.rules-page .country-picker-flag {
  font-size: 1.2rem;
  line-height: 1;
}

