/* ==========================================================================
   Krüger Trail — Design-System (split-stage · Western-Material)
   Besley 800 (Display) · Libre Franklin 400/600 (Text)
   Palette: Sand-Papier · Leder-Kohle · Sattel-Ocker
   Haus-Regeln: keine Verläufe, keine Ruhe-Schatten, keine Eyebrows,
   kein Monospace, keine Zierlinien außer in Tabellen/Formularen.
   ========================================================================== */

:root {
  /* Farbe — Western-Material */
  --paper:      #F3ECDF;   /* warmes Sand-Papier, Hauptgrund */
  --paper-2:    #E9DFCB;   /* tieferes Panel / Feld */
  --ink:        #221A11;   /* tiefes Leder-Braunschwarz, Text */
  --muted:      #6A5D49;   /* warmes Braungrau, sekundär */
  --accent:     #A85E22;   /* Sattel-Ocker (Aktion/Flächen) */
  --accent-2:   #C47B34;   /* helleres Ocker (dekorativ) */
  --link:       #8A4A18;   /* dunkleres Ocker für Inline-Links */
  --night:      #15110C;   /* Leder-Nachtschwarz, dunkle Felder */
  --night-ink:  #EFE6D4;   /* Papier-Typo auf Nacht */
  --night-muted:#A3937A;
  --line:       #D4C7AC;   /* Haarlinie — nur in Tabellen/Formular */

  /* Typo-Stufen */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body:  clamp(1.0625rem, 1.0rem + 0.28vw, 1.1875rem);
  --step-lead:  clamp(1.2rem, 1.06rem + 0.6vw, 1.55rem);
  --step-head:  clamp(2rem, 1.3rem + 3.2vw, 3.75rem);

  /* Geometrie */
  --radius: 14px;
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --measure: 46ch;

  --font-display: "Besley", Georgia, "Times New Roman", serif;
  --font-text: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img, svg, video { display: block; max-width: 100%; }
strong, b { font-weight: 600; }

::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* --------------------------------------------------------------- Header */
.ann {
  background: var(--night); color: var(--night-ink);
  font-size: var(--step-small); letter-spacing: 0.01em;
}
.ann .wrap { display: flex; align-items: center; gap: 14px; min-height: 40px; padding-block: 8px; }
.ann .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); flex: none; }
.ann .claim { font-weight: 600; }
.ann .tel { margin-left: auto; }
.ann .tel a { color: var(--night-ink); font-weight: 600; text-decoration: none; }
.ann .tel a:hover { color: var(--accent-2); }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
}
.masthead .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .logo { height: 44px; width: auto; }
.brand:hover { color: var(--ink); }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.975rem;
  padding: 9px 14px; border-radius: 9px; letter-spacing: 0.005em;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.active { color: var(--accent); }

.callbtn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--accent); color: var(--paper); font-weight: 600; font-size: 0.95rem;
  padding: 11px 18px; border-radius: 999px;
}
.callbtn:hover { background: var(--accent-2); color: var(--paper); }
.callbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid color-mix(in srgb,var(--ink) 20%,transparent);
  border-radius: 10px; background: transparent; cursor: pointer; padding: 0; }
.burger i { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: .25s; }

.navov { position: fixed; inset: 0; z-index: 150; background: var(--paper); transform: translateY(-100%);
  transition: transform .34s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; padding: 22px var(--gutter); }
.navov.open { transform: none; }
.navov .ovtop { display: flex; align-items: center; justify-content: space-between; min-height: 54px; }
.navov .ovclose { font-size: 34px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
.navov nav { display: flex; flex-direction: column; margin-top: 18px; }
.navov nav a { font-family: var(--font-display); font-size: clamp(2rem,9vw,3rem); text-decoration: none; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); }
.navov .ovcall { margin-top: auto; padding-top: 24px; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--solid { background: var(--accent); color: var(--paper); }
.btn--solid:hover { background: var(--accent-2); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb,var(--ink) 30%,transparent); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--paper-2); color: var(--ink); }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- Hero (split-stage) */
.hero { padding: 12px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

.hero-sheet {
  background: var(--paper-2); border-radius: var(--radius);
  min-height: calc(100svh - 24px);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 4vw, 64px);
}
.hero-sheet .topline { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: absolute; top: clamp(28px,4vw,56px); left: clamp(28px,4vw,64px); right: clamp(28px,4vw,64px); }
.hero-sheet { position: relative; }
.hero-eyebrowless { max-width: 19ch; }
.hero h1 {
  font-size: clamp(2.6rem, 2.2rem + 3.6vw, 4.6rem);
  color: var(--ink); margin-bottom: 22px;
}
.hero h1 .ocker { color: var(--accent); }
.hero .lede { font-size: var(--step-lead); color: var(--muted); max-width: 34ch; margin-bottom: 30px; line-height: 1.45; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .cred { margin-top: 30px; font-size: var(--step-small); color: var(--muted); max-width: 40ch; }

.hero-stage {
  position: sticky; top: 12px; height: calc(100svh - 24px);
  border-radius: var(--radius); overflow: hidden; background: var(--night);
}
.hero-stage .frame { position: absolute; inset: 0; }
.hero-stage .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage .fade { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-stage .fade.show { opacity: 1; }
.hero-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 54px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 18px; font-size: 0.9rem; color: var(--ink); backdrop-filter: blur(4px);
}
.hero-bar b { font-weight: 600; }
.hero-bar .r { text-align: right; color: var(--muted); }

/* --------------------------------------------------------------- Section scaffolding */
.sec { padding-block: clamp(70px, 10vw, 150px); }
.sec-tight { padding-block: clamp(48px, 7vw, 96px); }
.sec h2 { font-size: var(--step-head); margin-bottom: 20px; }
.sec .kicker-line { font-size: var(--step-lead); color: var(--muted); max-width: 52ch; line-height: 1.45; }
.ground-2 { background: var(--paper-2); }
.ground-night { background: var(--night); color: var(--night-ink); }
.ground-night h2, .ground-night h3 { color: var(--night-ink); }
.ground-night p { color: var(--night-muted); }

/* --- Founder's letter --- */
.letter { max-width: 560px; margin-inline: auto; padding-block: clamp(30px,6vw,90px); }
.letter .portrait { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--paper-2); margin-bottom: 26px; }
.letter p { font-size: clamp(1.06rem,1.0rem+0.3vw,1.22rem); line-height: 1.62; margin-bottom: 18px; color: var(--ink); }
.letter .mark { background: var(--accent-2); color: var(--night); padding: 0 .25em; }
.letter .sign { font-family: var(--font-display); font-size: 1.5rem; margin-top: 30px; color: var(--ink); }
.letter .role { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }

/* --- Capabilities menu (printed card) --- */
.menucard {
  max-width: 600px; margin-inline: auto; background: var(--paper);
  padding: clamp(28px,4vw,52px) clamp(24px,4vw,56px);
  box-shadow: 0 1px 0 color-mix(in srgb,var(--ink) 8%,transparent);
}
.ground-night .menucard { background: var(--paper); color: var(--ink); }
.ground-night .menucard h3 { color: var(--ink); }
.menucard h2 { text-align: center; margin-bottom: 8px; }
.menucard .sub { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 36px; }
.menu-group { margin-bottom: 38px; }
.menu-group:last-child { margin-bottom: 0; }
.menu-group > h3 { font-family: var(--font-text); font-weight: 600; font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.menu-item { padding: 12px 0; }
.menu-item .row { display: flex; align-items: baseline; gap: 10px; }
.menu-item .nm { font-size: 1.12rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-item .lead { flex: 1; border-bottom: 3px dotted color-mix(in srgb,var(--ink) 28%,transparent); transform: translateY(-4px); }
.menu-item .val { font-size: 1rem; color: var(--muted); white-space: nowrap; }
.menu-item .desc { font-size: 0.92rem; color: var(--muted); max-width: 42ch; margin-top: 5px; line-height: 1.45; }

/* --- Parcours explorer (interaktiv · Live-Element) --- */
.parcours { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,5vw,72px); align-items: start; }
.parcours .intro h2 { margin-bottom: 18px; }
.parcours .intro .kicker-line { margin-bottom: 26px; }
.parc-count { font-size: 0.9rem; color: var(--night-muted); letter-spacing: 0.04em; }
.parc-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.parc-chip {
  font-family: var(--font-text); font-size: 0.92rem; font-weight: 600;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  background: color-mix(in srgb,var(--night-ink) 12%,transparent); color: var(--night-ink);
  border: 1.5px solid transparent; transition: .2s;
}
.parc-chip:hover { border-color: var(--accent-2); }
.parc-chip[aria-selected="true"] { background: var(--accent); color: var(--paper); }
.parc-stage {
  background: color-mix(in srgb,var(--night-ink) 7%,transparent);
  border-radius: var(--radius); padding: clamp(24px,3vw,38px); min-height: 340px;
}
.parc-stage .pnum { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent-2); line-height: 1; }
.parc-stage h3 { font-size: 1.7rem; margin: 12px 0 14px; color: var(--night-ink); }
.parc-stage .learn { color: var(--night-ink); font-size: 1.05rem; line-height: 1.55; }
.parc-stage .learn b { color: var(--accent-2); }
.parc-stage .tag { display: inline-block; margin-top: 20px; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--night-muted); }

/* --- Gallery drag row --- */
.galhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.galhead .count { color: var(--muted); font-size: 0.9rem; }
.galrow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity;
  padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-bottom: 8px;
  scrollbar-width: none; cursor: grab; }
.galrow::-webkit-scrollbar { display: none; }
.galrow.drag { cursor: grabbing; }
.galrow .mod { flex: none; height: 64svh; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--paper-2); }
.galrow .mod img { width: 100%; height: 100%; object-fit: cover; }
.galrow .mod--tall { aspect-ratio: 3/4; }
.galrow .mod--wide { aspect-ratio: 16/10; }
.galrow .mod--pair { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 3/4; background: transparent; }
.galrow .mod--pair > span { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }

/* --- How it works · itinerary slip --- */
.itin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: start; }
.itin .lead h2 { margin-bottom: 18px; }
.slip { background: var(--paper); padding: clamp(24px,3vw,40px); max-width: 460px;
  clip-path: polygon(0 0,100% 0,100% calc(100% - 12px),92% 100%,84% calc(100% - 12px),76% 100%,68% calc(100% - 12px),60% 100%,52% calc(100% - 12px),44% 100%,36% calc(100% - 12px),28% 100%,20% calc(100% - 12px),12% 100%,4% calc(100% - 12px),0 100%);
  box-shadow: 0 1px 0 color-mix(in srgb,var(--ink) 8%,transparent); }
.ground-night .slip { color: var(--ink); }
.slip .stage { margin-bottom: 24px; }
.slip h4 { font-family: var(--font-text); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.slip .ir { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 1rem; color: var(--ink); }
.slip .ir .ld { flex: 1; border-bottom: 3px dotted color-mix(in srgb,var(--ink) 25%,transparent); transform: translateY(-4px); }
.slip .ir .rv { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.slip .final { background: var(--ink); color: var(--paper); margin: 18px -4px 0; padding: 13px 16px;
  display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }

/* --- CTA full-bleed --- */
.cta-bleed { position: relative; min-height: 86svh; display: grid; }
.cta-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); }
.cta-bleed .inner { position: relative; align-self: end; justify-self: end; max-width: 46ch;
  padding: clamp(40px,6vw,90px) var(--gutter); color: var(--paper); text-align: left; }
.cta-bleed h2 { color: var(--paper); font-size: clamp(2.2rem,1.8rem+2.4vw,3.4rem); margin-bottom: 16px; }
.cta-bleed p { color: color-mix(in srgb,var(--paper) 86%,transparent); margin-bottom: 26px; font-size: var(--step-lead); }

/* --- Contact · email as display --- */
.contact { background: var(--night); color: var(--night-ink); min-height: 92svh; display: flex; flex-direction: column;
  justify-content: space-between; padding: clamp(40px,6vw,84px) var(--gutter); }
.contact .top { font-size: clamp(1.1rem,1rem+0.5vw,1.4rem); color: var(--night-ink); max-width: 30ch; }
.contact .mail { display: block; font-family: var(--font-display); color: var(--night-ink);
  font-size: clamp(2rem,8.5vw,6rem); letter-spacing: -0.03em; text-decoration: none; line-height: 1; word-break: break-word; }
.contact .mail:hover { color: var(--accent-2); }
.contact .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.contact .foot .l { font-size: 0.95rem; color: var(--night-muted); }
.contact .foot .l a { color: var(--night-ink); text-decoration: none; }
.contact .foot .soc a { color: var(--night-ink); text-decoration: none; margin-left: 16px; font-weight: 600; }
.contact .foot .soc a:hover { color: var(--accent-2); }

/* --- Footer · name across photograph --- */
.site-foot { position: relative; min-height: 94svh; display: grid; }
.site-foot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.site-foot .layer { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 32px var(--gutter); color: var(--paper); }
.site-foot .frow { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.95rem; }
.site-foot .frow a { color: var(--paper); text-decoration: none; display: block; padding: 3px 0; }
.site-foot .frow a:hover { color: var(--accent-2); }
.site-foot .frow .lab { color: color-mix(in srgb,var(--paper) 62%,transparent); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.site-foot .wm { font-family: var(--font-display); color: var(--paper); font-size: clamp(2.4rem,13vw,10rem);
  line-height: 0.9; letter-spacing: -0.03em; }
.site-foot .legal { font-size: 0.8rem; color: color-mix(in srgb,var(--paper) 66%,transparent); margin-top: 12px; }
.site-foot .legal a { color: color-mix(in srgb,var(--paper) 80%,transparent); }

/* --------------------------------------------------------------- Prose / legal / forms */
.prose { max-width: 70ch; margin-inline: auto; }
.prose h1 { font-size: var(--step-head); margin-bottom: 24px; }
.prose h2 { font-size: clamp(1.4rem,1.2rem+1vw,2rem); margin: 38px 0 14px; }
.prose p, .prose li { font-size: var(--step-body); line-height: 1.65; margin-bottom: 14px; color: var(--ink); }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose a { color: var(--link); }

.pagehead { padding-block: clamp(56px,8vw,110px) clamp(10px,3vw,40px); }
.pagehead h1 { font-size: var(--step-head); max-width: 20ch; }
.pagehead .lede { font-size: var(--step-lead); color: var(--muted); max-width: 54ch; margin-top: 18px; line-height: 1.45; }

.form { max-width: 560px; }
.form .fld { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; font-family: var(--font-text); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form .ok { background: color-mix(in srgb,var(--accent) 14%,var(--paper)); border-radius: 10px; padding: 14px 16px; color: var(--ink); }

/* Split two-col on content pages */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,72px); align-items: start; }
.feature-photo { border-radius: var(--radius); overflow: hidden; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* --------------------------------------------------------------- Motion */
.reveal.in { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-stage .fade { transition: none; }
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .nav, .callbtn { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 10px; }
  .hero-stage { position: sticky; top: 10px; height: 58svh; order: -1; }
  .hero-sheet { min-height: auto; padding: 34px 24px 10px; }
  .hero-sheet .topline { position: static; margin-bottom: 26px; }
  .parcours, .itin, .split2 { grid-template-columns: 1fr; }
  .galrow .mod { height: 58svh; }
}
@media (max-width: 560px) {
  .galrow .mod--tall { width: 72vw; }
  .galrow .mod--pair { width: 64vw; }
  .galrow .mod--wide { width: 88vw; }
  .contact .foot { flex-direction: column; align-items: flex-start; }
}
