/*
Theme Name: Wanderflow Claude
Author: IT Economy
Description: Frische, verspielte Neugestaltung von wanderflow.ch – fröhliches Alpenblau mit blumigen Akzenten, weiche Formen und Quicksand-Markentypografie. Persönliche Wanderseite von Martina.
Version: 1.0.0
Text Domain: wanderflow-claude
*/

/* ============================================================
   Fonts – Quicksand (selbst gehostet, Markenfont des Logos)
   ============================================================ */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/quicksand-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/quicksand-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* Fröhliches Alpenblau */
  --blue: #1668b8;          /* primäre Aktion (AA auf Weiss) */
  --blue-bright: #2e90e0;   /* helleres Akzentblau */
  --blue-deep: #0f4f93;     /* Hover / kräftig */
  --blue-ink: #0c2f55;
  --blue-100: #e7f2fc;
  --blue-50: #f3f9fe;

  /* Blumige Akzente */
  --bloom: #e85d8b;         /* Alpenrose – Dekoration */
  --bloom-text: #c12f66;    /* Alpenrose – lesbarer Link */
  --bloom-deep: #a82455;    /* Link-Hover */
  --violet: #7a5ce0;        /* Enzian-Violett */
  --sun: #f6b53d;           /* Hahnenfuss-Gelb */
  --meadow: #2faa6a;        /* Wiesengrün */

  /* Neutrale Töne */
  --ink: #173653;
  --ink-strong: #0c2740;
  --muted: #5b7185;
  --paper: #ffffff;
  --cream: #f6fbff;
  --line: #dde9f3;
  --soft: #eef6fd;

  --shadow: 0 24px 55px -22px rgba(15, 79, 147, 0.40);
  --shadow-soft: 0 16px 36px -18px rgba(15, 79, 147, 0.28);
  --shadow-sm: 0 6px 18px -8px rgba(15, 79, 147, 0.26);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* Sanfte Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 320ms;
  --t-slow: 640ms;

  --font-display: "Quicksand", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --icon-arrow: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12h13.5'/><path d='M12.5 6l6 6-6 6'/></svg>");
  --icon-flower: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'><circle cx='12' cy='5.1' r='2.9'/><circle cx='18.8' cy='9.9' r='2.9'/><circle cx='16.2' cy='18' r='2.9'/><circle cx='7.8' cy='18' r='2.9'/><circle cx='5.2' cy='9.9' r='2.9'/><circle cx='12' cy='11.6' r='2.4'/></svg>");
  --icon-leaf: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'><path d='M20 4C9 4 4 9 4 18c0 0 .5 2 2 2 9 0 14-5 14-16Z'/></svg>");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Solider Grundton als Leinwand – verhindert das kurze (weisse) Aufblitzen
     zwischen den Seiten-Snapshots beim Überblenden. */
  background-color: #edf8e9;
}

/* Sanftes Überblenden beim Seitenwechsel (z. B. zu den Wanderungen) */
@view-transition {
  navigation: auto;
}

@keyframes wf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wf-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

::view-transition-old(root) {
  animation: wf-fade-out 320ms var(--ease) both;
}

::view-transition-new(root) {
  animation: wf-fade-in 320ms var(--ease) both;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 100% -4%, rgba(47, 170, 106, 0.18), transparent 60%),
    radial-gradient(900px 540px at -8% 3%, rgba(154, 211, 136, 0.30), transparent 55%),
    linear-gradient(180deg, #fbfff9 0%, #eff9eb 48%, #dff0d8 100%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

::selection {
  background: rgba(46, 144, 224, 0.22);
}

/* ============================================================
   Layout-Container
   ============================================================ */
.site-header-inner,
.section,
.footer-inner,
.content-page,
.archive-intro,
.tour-detail {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 79, 147, 0.10);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 154px;
  padding-block: 6px;
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.site-brand img,
.brand-logo {
  width: 204px;
  max-height: 67px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: inline-block;
}

body.admin-bar {
  scroll-padding-top: 116px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t) var(--ease), background-color var(--t) var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bloom), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-deep);
  background: var(--blue-50);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-pill);
  background: var(--blue-50);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::before {
  content: "";
  width: 18px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><rect width='24' height='2.6' rx='1.3'/><rect y='7.7' width='24' height='2.6' rx='1.3'/><rect y='15.4' width='24' height='2.6' rx='1.3'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><rect width='24' height='2.6' rx='1.3'/><rect y='7.7' width='24' height='2.6' rx='1.3'/><rect y='15.4' width='24' height='2.6' rx='1.3'/></svg>") center/contain no-repeat;
}

.mobile-menu .site-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  display: grid;
  min-width: 220px;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu .site-nav a {
  padding: 11px 14px;
  border-radius: 12px;
}

.mobile-menu .site-nav a::after {
  display: none;
}

/* ============================================================
   Typografie
   ============================================================ */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--blue-ink);
  line-height: 1.07;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.hero-copy p,
.archive-intro p,
.contact-section p,
.about-section p,
.tour-hero p {
  max-width: 60ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.button,
.wf-button,
.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(22, 104, 184, 0.75);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), filter var(--t) var(--ease);
}

.button:hover,
.button:focus-visible,
.wf-button:hover,
.wf-button:focus-visible,
.comment-form .submit:hover,
.comment-form .submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -12px rgba(22, 104, 184, 0.7);
  filter: saturate(112%);
}

.button:active,
.wf-button:active,
.comment-form .submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px -10px rgba(22, 104, 184, 0.7);
}

.button:focus-visible,
.wf-button:focus-visible,
.comment-form .submit:focus-visible,
.button-secondary:focus-visible,
.text-link:focus-visible,
.contact-button:focus-visible,
.tour-card-image:focus-visible,
.site-brand:focus-visible {
  outline: 3px solid rgba(46, 144, 224, 0.5);
  outline-offset: 3px;
}

/* Pfeil nur an primären Link-CTAs */
.button:not(.button-secondary)::after {
  content: "";
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}

.button:not(.button-secondary):hover::after,
.button:not(.button-secondary):focus-visible::after {
  transform: translateX(4px);
}

.button-secondary {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1.6px var(--blue-100), var(--shadow-sm);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1.6px rgba(46, 144, 224, 0.45), var(--shadow-soft);
  filter: none;
}

.button-row {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.button-row .button {
  width: 100%;
}

/* ============================================================
   Text-Links mit feinem Pfeil-Akzent
   ============================================================ */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--bloom-text);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(transparent 90%, rgba(232, 93, 139, 0.35) 0);
  transition: color var(--t) var(--ease);
}

.text-link::after {
  content: "";
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--bloom-deep);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.wf-menu-anchor {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 120px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero-simple {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  padding: 44px 0 60px;
}

.hero-simple::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(46, 144, 224, 0.20), transparent 68%);
  pointer-events: none;
}

.hero-simple::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(232, 93, 139, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-simple > .wp-block-group__inner-container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  gap: 30px;
}

.hero-copy {
  align-self: center;
}

.hero-copy .button:not(.button-secondary) {
  background: linear-gradient(135deg, #b8deeb 0%, #d4ead4 100%);
  color: var(--blue-deep);
  box-shadow: 0 14px 28px -16px rgba(42, 98, 132, 0.48);
}

.hero-copy .button:not(.button-secondary):hover,
.hero-copy .button:not(.button-secondary):focus-visible {
  box-shadow: 0 18px 32px -16px rgba(42, 98, 132, 0.52);
  filter: saturate(106%);
}

.hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* Hero-Slider (überblendende Galerie) */
.wf-hero-slider {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.wf-hero-slider.is-dragging {
  cursor: grabbing;
}

.wf-hero-slides {
  position: relative;
  aspect-ratio: 16 / 11;
}

.wf-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1000ms var(--ease);
}

.wf-hero-slide.is-active {
  opacity: 1;
}

.wf-hero-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Hover-Pfeile zum manuellen Klicken */
.wf-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.85);
  transition: opacity 0s linear, transform 0s linear, background-color var(--t) var(--ease);
}

.wf-hero-prev {
  left: 14px;
}

.wf-hero-next {
  right: 14px;
}

.wf-hero-slider:hover .wf-hero-arrow,
.wf-hero-slider:focus-within .wf-hero-arrow {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), background-color var(--t) var(--ease);
}

.wf-hero-arrow:hover {
  background: #fff;
  color: var(--blue);
}

.wf-hero-arrow:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  outline: 3px solid rgba(46, 144, 224, 0.6);
  outline-offset: 2px;
}

.wf-hero-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Auf Touch-Geräten (kein Hover) sind die Pfeile ausgeblendet – dort wird gewischt. */
@media (hover: none) {
  .wf-hero-arrow {
    display: none;
  }
}

.wf-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1px;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0;
}

.wf-hero-dot {
  width: 2px;
  height: 2px;
  padding: 2px;
  box-sizing: content-box;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.74);
  background-clip: content-box;
  filter: drop-shadow(0 1px 2px rgba(8, 31, 55, 0.55));
  cursor: pointer;
  transition: width var(--t) var(--ease), background-color var(--t) var(--ease);
}

.wf-hero-dot:hover {
  background-color: rgba(255, 255, 255, 0.95);
}

.wf-hero-dot.is-active {
  width: 7px;
  background-color: #fff;
}

.wf-hero-dot:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

@media (min-width: 720px) {
  .wf-hero-dots {
    gap: 2px;
  }

  .wf-hero-dot {
    width: 3px;
    height: 3px;
  }

  .wf-hero-dot.is-active {
    width: 10px;
  }
}

@media (max-width: 919px) {
  .hero-simple > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-copy,
  .hero-copy > .wp-block-group__inner-container {
    display: contents;
  }

  .hero-copy h1 {
    order: 1;
  }

  .hero-copy p {
    order: 2;
  }

  .hero-image {
    order: 3;
    margin-top: 28px;
  }

  .hero-copy .button-row {
    order: 4;
    margin-top: 24px;
  }
}

/* ============================================================
   Sektionen
   ============================================================ */
.section {
  padding: clamp(50px, 7vw, 84px) 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.section-heading h2 {
  position: relative;
}

.section-heading h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--meadow), #19784d);
  -webkit-mask: var(--icon-flower) center / contain no-repeat;
          mask: var(--icon-flower) center / contain no-repeat;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin-inline: auto;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal-page h2 {
  margin-top: 32px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-page p {
  max-width: 72ch;
  margin-top: 12px;
  color: var(--muted);
}

/* Abstand vor einer Folge-Sektion (z. B. „Nächste Schneeschuhtouren“) */
.wf-heading-spaced {
  margin-top: clamp(48px, 7vw, 72px);
}

/* ============================================================
   Tourenliste & Karten
   ============================================================ */
.tour-list {
  display: grid;
  gap: 22px;
}

.past-tour-reports {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.past-tour-reports h2 {
  margin-bottom: 28px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
}

.wf-tour-carousel {
  position: relative;
}

.wf-tour-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 4px 4px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.wf-tour-carousel .tour-card {
  flex: 0 0 min(82vw, 348px);
  scroll-snap-align: start;
}

.wf-carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  color: var(--blue-deep);
  cursor: pointer;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}

.wf-carousel-arrow:hover,
.wf-carousel-arrow:focus-visible {
  border-color: rgba(46, 144, 224, 0.55);
  color: var(--blue);
  transform: scale(1.06);
}

.wf-carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.wf-carousel-prev {
  left: -14px;
}

.wf-carousel-next {
  right: -14px;
}

.tour-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.tour-card:hover {
  border-color: rgba(46, 144, 224, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

/* Ganze Karte klickbar (stretched link auf dem Titel) */
.tour-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tour-card-image {
  position: relative;
  display: block;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.tour-card-image img[src*="wanderflow-steinbock-logo"] {
  padding: clamp(32px, 8vw, 62px);
  background: #fff;
  object-fit: contain;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.05);
}

.tour-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.tour-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bloom-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-date::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--bloom);
  -webkit-mask: var(--icon-leaf) center / contain no-repeat;
          mask: var(--icon-leaf) center / contain no-repeat;
}

.tour-card h3 a {
  color: var(--blue-ink);
  text-decoration: none;
}

.tour-card h3 a:hover,
.tour-card h3 a:focus-visible {
  color: var(--blue);
}

.tour-card p {
  color: var(--muted);
}

.tour-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

/* damit nur der Aktionslink, nicht die ganze Aktionszeile, klickbar wirkt */
.tour-card-actions .tour-status {
  pointer-events: none;
}

/* Elegantes "Ausgebucht"-Label statt gelbem Fleck */
.tour-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 9px;
  border-radius: var(--radius-pill);
  background: rgba(232, 93, 139, 0.12);
  box-shadow: inset 0 0 0 1px rgba(232, 93, 139, 0.28);
  color: var(--bloom-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.tour-status-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
}

.tour-status-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   Empty State
   ============================================================ */
.empty-state {
  display: grid;
  gap: 6px;
  padding: 30px;
  border: 1px dashed rgba(46, 144, 224, 0.35);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f3faef, #fbfff9);
}

.empty-state h3 {
  color: var(--blue-ink);
}

.empty-state p {
  margin: 8px 0 18px;
  color: var(--muted);
}

/* ============================================================
   About – sanftes vollflächiges Band
   ============================================================ */
.about-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(47, 170, 106, 0.16), transparent 60%),
    linear-gradient(180deg, #edf8e9, #fbfff9);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section > .wp-block-group__inner-container {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  gap: 30px;
  align-items: center;
}

.about-section figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.about-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.about-section p + p {
  margin-top: 14px;
}

.narrow {
  max-width: min(960px, calc(100% - 36px));
}

/* ============================================================
   Instagram
   ============================================================ */
.instagram-box {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(47, 170, 106, 0.16), transparent 60%),
    #f3faef;
}

/* ============================================================
   Kontakt – vollflächiges Alpenblau-Band mit Bergsilhouette
   ============================================================ */
.contact-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(620px 320px at 12% 0%, rgba(46, 144, 224, 0.55), transparent 60%),
    radial-gradient(520px 320px at 100% 100%, rgba(122, 92, 224, 0.40), transparent 60%),
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #1f7ac4 100%);
}

.contact-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'><path fill='%23ffffff' fill-opacity='0.09' d='M0 220V150l190-92 150 86 210-118 190 128 180-92 200 104 170-72 200 96v202z'/></svg>") bottom / cover no-repeat;
  pointer-events: none;
}

.contact-section > .wp-block-group__inner-container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  gap: 26px;
  align-items: center;
}

.contact-section .wp-block-group {
  max-width: 560px;
}

.contact-section h2,
.contact-section p {
  color: #fff;
}

.contact-section h2 {
  max-width: 18ch;
  font-size: clamp(1.95rem, 4vw, 2.9rem);
}

.contact-section h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--sun), var(--bloom));
}

.contact-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   Kontakt-Buttons mit farbigen Icon-Chips
   ============================================================ */
.contact-links,
.wf-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.contact-section .contact-button {
  border-color: transparent;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(46, 144, 224, 0.4);
  box-shadow: var(--shadow-soft);
}

.contact-button:active {
  transform: translateY(0);
}

.contact-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-button-whatsapp .contact-icon {
  background: rgba(47, 170, 106, 0.15);
  color: #1d8a52;
}

.contact-button-phone .contact-icon {
  background: rgba(22, 104, 184, 0.15);
  color: var(--blue-deep);
}

.contact-button-email .contact-icon {
  background: rgba(122, 92, 224, 0.17);
  color: #5a3fc0;
}

/* ============================================================
   Archiv / Einzeltour
   ============================================================ */
.archive-intro {
  padding: 50px 0 16px;
}

.archive-intro h1 {
  max-width: 18ch;
}

.archive-intro h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue), var(--bloom));
}

.tour-detail {
  padding: 30px 0 54px;
}

.tour-hero {
  display: grid;
  gap: 26px;
  align-items: end;
  margin-bottom: 38px;
}

.tour-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.tour-hero img[src*="wanderflow-steinbock-logo"] {
  padding: clamp(54px, 10vw, 118px);
  background: #fff;
  object-fit: contain;
}

.tour-detail-grid {
  display: grid;
  gap: 30px;
}

.tour-content {
  font-size: 1.06rem;
}

.tour-content > * + * {
  margin-top: 18px;
}

.tour-content h2,
.tour-content h3 {
  margin-top: 32px;
}

.tour-content a:not(.button):not(.text-link) {
  color: var(--bloom-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(232, 93, 139, 0.4);
}

.tour-content a:not(.button):not(.text-link):hover {
  color: var(--bloom-deep);
}

.tour-content ol {
  padding-left: 1.3rem;
}

.tour-content ul {
  list-style: none;
  padding-left: 0;
}

.tour-content ul li {
  position: relative;
  padding-left: 1.7rem;
}

.tour-content ul li + li {
  margin-top: 8px;
}

.tour-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  -webkit-mask: var(--icon-leaf) center / contain no-repeat;
          mask: var(--icon-leaf) center / contain no-repeat;
}

.tour-sidebar {
  align-self: start;
}

/* ============================================================
   Anmeldeformular / Hinweise
   ============================================================ */
.wf-registration-form,
.wf-notice {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.wf-registration-form {
  display: grid;
  gap: 16px;
}

.wf-form-grid {
  display: grid;
  gap: 12px;
}

.wf-registration-form label,
.comment-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.wf-registration-form input,
.wf-registration-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--ink);
  font: 1rem/1.5 var(--font-body);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.wf-registration-form input:focus,
.wf-registration-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 144, 224, 0.16);
}

.wf-registration-form textarea,
.comment-form textarea {
  resize: vertical;
}

.wf-registration-form .wf-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.45;
}

.wf-registration-form .wf-terms-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 0.18em;
  padding: 0;
  accent-color: var(--blue);
}

.wf-registration-form .wf-terms-check a {
  color: var(--blue-deep);
  font-weight: 700;
}

.wf-form-wide,
.wf-button,
.wf-contact-hint {
  grid-column: 1 / -1;
}

.wf-button {
  width: 100%;
}

.wf-contact-hint {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.wf-contact-hint strong {
  font-family: var(--font-display);
  color: var(--blue-ink);
}

.wf-contact-hint p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.wf-hidden,
.wf-hp {
  position: absolute;
  left: -9999px;
}

.wf-notice {
  color: var(--blue-ink);
  box-shadow: none;
}

.wf-notice-success {
  border-color: rgba(47, 170, 106, 0.45);
  background: rgba(47, 170, 106, 0.10);
}

.wf-notice-error {
  border-color: rgba(232, 93, 139, 0.45);
  background: rgba(232, 93, 139, 0.10);
}

/* ============================================================
   Galerie + Lightbox
   ============================================================ */
.tour-gallery {
  margin-top: 38px;
}

.tour-gallery > div {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.tour-gallery a {
  display: inline-flex;
  flex: 0 1 auto;
  height: clamp(150px, 19vw, 230px);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-50);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}

.tour-gallery a:hover,
.tour-gallery a:focus-visible {
  border-color: rgba(46, 144, 224, 0.4);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.tour-gallery img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

body.wf-lightbox-open {
  overflow: hidden;
}

.wf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 18px;
  background: rgba(8, 31, 55, 0.88);
  backdrop-filter: blur(6px);
}

.wf-lightbox.is-open {
  display: flex;
}

.wf-lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.wf-lightbox button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-deep);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform var(--t) var(--ease);
}

.wf-lightbox button:hover {
  transform: scale(1.06);
}

.wf-lightbox button svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wf-lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
}

.wf-lightbox-arrow {
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
}

.wf-lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.06);
}

.wf-lightbox-prev {
  left: 16px;
}

.wf-lightbox-next {
  right: 16px;
}

/* ============================================================
   Kommentare
   ============================================================ */
.comments-section {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.comment-list {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.comment-body {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comment-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .submit {
  width: auto;
}

/* ============================================================
   Inhaltsseiten
   ============================================================ */
.content-page {
  max-width: 820px;
  padding: 48px 0;
}

.content-page article > * + * {
  margin-top: 18px;
}

.content-page a:not(.button) {
  color: var(--bloom-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 8px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--blue), var(--bloom), var(--violet)) 1;
  background: linear-gradient(180deg, #fbfff9, #edf8e9);
}

.footer-inner {
  display: grid;
  gap: 30px;
  padding: 42px 0;
}

.footer-inner h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-inner p {
  color: var(--muted);
}

.footer-inner .site-brand img {
  width: 216px;
}

.footer-inner .site-nav {
  display: grid;
  gap: 6px;
}

.footer-inner .site-nav a {
  padding: 6px 0;
}

.footer-inner .site-nav a::after {
  left: 0;
  right: auto;
  width: 0;
}

.footer-legal-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
  color: var(--blue);
}

.footer-inner .contact-links-footer {
  margin-top: 1rem;
}

/* ============================================================
   Breakpoints
   ============================================================ */
@media (min-width: 700px) {
  .button-row {
    display: flex;
    flex-wrap: wrap;
  }

  .button-row .button {
    width: auto;
  }

  .section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
  }

  .tour-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-carousel-arrow {
    display: grid;
  }

  .about-section > .wp-block-group__inner-container,
  .contact-section > .wp-block-group__inner-container {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-section .contact-links {
    justify-content: flex-end;
  }

  .wf-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wf-button {
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1.3fr 0.7fr 1fr;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (min-width: 920px) {
  .site-header-inner > .site-nav {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .hero-simple {
    padding: 64px 0 80px;
  }

  .hero-simple > .wp-block-group__inner-container {
    grid-template-columns: 0.94fr 1.06fr;
    min-height: 500px;
    align-items: center;
  }

  .about-section,
  .contact-section {
    padding-block: clamp(64px, 8vw, 100px);
  }

  .tour-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tour-detail-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .tour-sidebar {
    position: sticky;
    top: 96px;
  }
}

/*
   Bewegung: Die Animationen dieses Themes (sanfte Hover-Effekte, weiches
   Scrollen, dezentes Seiten-Überblenden) sind bewusst zurückhaltend und Teil
   des gewünschten Markenerlebnisses. Sie werden daher auch bei aktivierter
   System-Einstellung "Bewegung reduzieren" gezeigt – statt sie wie üblich per
   `prefers-reduced-motion` komplett abzuschalten. Bewusst nur leichte, kurze
   Übergänge ohne Blink-/Parallax-Effekte.
*/
