/* ============================================================
   Die Grenze geht mit — statische Website (nur HTML + CSS)
   Eine Foto-Ausstellung von Jolanda Roskosch
   ============================================================ */

/* ---- Design-Tokens ---------------------------------------- */
:root {
  --accent:   #ff2d87;          /* Magenta-Akzent           */
  --ink:      #1a1a1a;          /* Haupttext / Schwarz      */
  --muted:    #6a6a6a;          /* Sekundärtext             */
  --faint:    #9a9a9a;          /* Hinweise                 */
  --line:     #e5e5e5;          /* Trennlinien              */
  --paper:    #ffffff;          /* Standard-Hintergrund     */
  --paper-2:  #f4f4f4;          /* abgesetzte Sektionen     */
  --fill:     #ededed;          /* Bild-Flächen             */

  --serif: "Playfair Display", "Newsreader", Georgia, serif;  /* nur Headlines */
  --body:  "Roboto Slab", Georgia, serif;                     /* alles übrige  */

  --maxw: 1280px;
}

/* ---- Reset / Basis ---------------------------------------- */
* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ---- Wiederkehrende Bausteine ----------------------------- */
.wrap        { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.wrap--text  { max-width: 1100px; }

.section      { padding: 100px 0; }
.section--alt { background: var(--paper-2); }
.section--dark{ background: var(--ink); color: var(--paper-2); }

/* Mono-artige Auszeichnungszeile (Eyebrow / Labels) */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.label--ink   { color: var(--ink); }
.label--accent{ color: var(--accent); font-weight: 600; }

.arrow { color: var(--accent); }   /* das → in Routen */

/* Foto-Platzhalter: diagonale Streifen + Hinweis */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg,
      #e3e3e3 0 6px, var(--fill) 6px 14px);
  border: 1px dashed #b8b8b8;
  color: var(--faint);
  text-align: center;
}
.ph__inner    { padding: 24px; }
.ph__inner b  { display: block; color: var(--ink); margin-top: 4px; }
.ph__inner span { opacity: 0.7; }

/* =============================================================
   Navigation
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav__brand { font-weight: 600; text-decoration: none; color: var(--ink); text-transform: none; letter-spacing: 0.02em; font-size: 14px; white-space: nowrap; }
.nav__brand b { color: var(--accent); font-weight: 600; }
.nav__links { display: flex; gap: 24px; font-size: 11px; }
.nav__links a { text-decoration: none; color: var(--ink); white-space: nowrap; }

/* =============================================================
   Hero
   ============================================================= */
.hero { padding: 80px 28px 60px; max-width: var(--maxw); margin: 0 auto; }

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}
.hero__meta .label { color: var(--muted); letter-spacing: 0.3em; }

.hero h1 {
  margin-top: 40px;
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  white-space: nowrap;        /* einzeilig … */
}
.hero__br { display: none; }  /* … Umbruch erst < 700 px */

.hero__sub {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.hero__lead {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero__lead p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  max-width: 720px;
}
.hero__date { text-align: right; letter-spacing: 0.15em; }
.hero__date .label { color: var(--ink); letter-spacing: 0.15em; }
.hero__date b { color: var(--accent); }
.hero__date span { display: block; opacity: 0.65; margin-top: 4px; }
.hero__date-note { text-transform: none; letter-spacing: 0.02em; font-style: italic; opacity: 0.55; margin-bottom: 10px; }

/* =============================================================
   Teaser-Karussell (JS)
   ============================================================= */
.teaser { padding-bottom: 80px; }
.carousel {
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 16px 0;
}
.carousel__track {
  display: flex;
  gap: 22px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.carousel__track figure {
  margin: 0;
  flex: 0 0 auto;
}
.carousel__track .frame img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 3px 1px rgba(0,0,0,.12), 3px 3px 4px 1px rgba(0,0,0,.3);
}
.carousel__track figcaption { margin-top: 16px; line-height: 1.5; }
.carousel__track figcaption b { display: block; }

.carousel__nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.carousel__nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.carousel__nav:disabled { opacity: 0.3; cursor: default; }
.carousel__nav:disabled:hover { background: var(--paper); color: var(--ink); border-color: var(--line); }

/* Pagination-Punkte — aktiver wird zum Strich */
.carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 26px auto 0;
}
.carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #cfcfcf;
  cursor: pointer;
  transition: width 0.4s cubic-bezier(0.45, 0, 0.2, 1), background 0.3s;
}
.carousel__dots button:hover { background: var(--muted); }
.carousel__dots button.is-active {
  width: 30px;
  background: var(--accent);
}

.teaser__note {
  max-width: var(--maxw);
  margin: 20px auto 0;
  padding: 0 28px;
  color: var(--faint);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 10.5px;
}

/* =============================================================
   Allgemeine Sektions-Headlines
   ============================================================= */
.section h2 {
  margin: 10px 0 36px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  max-width: 880px;
}
.section h2 em,
.em-accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}

/* Konzept-Headline + kleinere Subline */
.konzept__head { margin-bottom: 10px; }
.konzept__sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
  margin: 0 0 38px;
}

/* Konzept-Fließtext */
.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
}
.prose p { margin: 0; }
.prose .em-accent--up { color: var(--accent); font-weight: 600; }

/* =============================================================
   Besuch — zwei Karten
   ============================================================= */
.besuch__lead {
  max-width: 760px;
  margin: 18px 0 6px;
  font-size: 19px;
  line-height: 1.55;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
  margin-top: 38px;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}
.card__tag {
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 6px 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}
.card__tag--dark { background: var(--ink); }
.card h3 {
  margin: 44px 0 4px;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.card h3 .em-accent { font-size: 26px; }
.card__title--nowrap { white-space: normal; text-wrap: balance; }
.card p { font-size: 17px; line-height: 1.5; margin: 20px 0; }
.card__facts {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  line-height: 1.7;
}
.card__facts b { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn--accent { background: var(--accent); padding: 16px 26px; font-size: 13px; letter-spacing: 0.22em; font-weight: 600; }

/* =============================================================
   Wanderpass
   ============================================================= */
.pass {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.1fr);
  gap: 56px;
  align-items: center;
}
.pass__media { margin: 0; }
.pass__media .frame img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0 3px 1px rgba(0,0,0,.12), 3px 3px 12px 2px rgba(0,0,0,.28);
}
.pass__text .eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
}
.pass__cap {
  margin: 16px 0 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.pass__text h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; margin: 10px 0 22px; }
.pass__text p { font-size: 18px; line-height: 1.6; margin: 0 0 18px; max-width: 56ch; }
.pass__text strong { color: var(--ink); font-weight: 600; }
.pass__text .pass__facts {
  margin: 28px 0 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (min-width: 720px) {
  .pass__text .pass__facts { white-space: nowrap; }
}
@media (max-width: 860px) {
  .pass { grid-template-columns: 1fr; gap: 32px; }
  .pass__media { grid-row: 1; }
}

/* =============================================================
   Galerie — Raster der neun Wege
   ============================================================= */
.gallery-intro p { max-width: 720px; margin: 0 0 12px; }
.gallery-intro .label { line-height: 1.6; letter-spacing: 0.1em; }
.gallery-intro h2 { max-width: none; }
@media (min-width: 720px) {
  .gallery-intro h2 { white-space: nowrap; }
}

/* Map-Aufmacher + Legende der neun Wege */
.routes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px 64px;
  align-items: start;
}
.routes__map {
  margin: 0;
  position: sticky;
  top: 40px;
}
.routes__map img {
  width: 100%;
  height: auto;
}
.routes__map figcaption {
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.18em;
}

.routes__legend {
  display: grid;
  gap: 0;
}
.route {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.route:first-child {
  border-top: none;
  padding-top: 0;
}
.route h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.route h3::before {
  content: "";
  flex: none;
  width: 30px;
  height: 8px;
  border-radius: 4px;
  background: var(--c, var(--accent));
}
.route__meta {
  line-height: 1.5;
  margin-bottom: 8px;
  max-width: 46ch;
}
.route__km {
  white-space: nowrap;
}
.route__meta b {
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.route__meta .arrow { color: var(--faint); }
.route p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.route p + p {
  margin-top: 1em;
}

@media (max-width: 920px) {
  .routes {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .routes__map {
    position: static;
    max-width: 560px;
    margin: 0 auto;
  }
  .routes__legend {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   Über mich
   ============================================================= */
.about {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.4fr);
  gap: 60px;
  align-items: start;
  margin-top: 24px;
}
.about .frame { }
.about .frame.ph { width: 100%; height: 100%; }
.about .frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 0 3px 1px rgba(0,0,0,.12), 3px 3px 4px 1px rgba(0,0,0,.3);
}
.about h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1; margin-bottom: 8px; }
.about__name { font-size: 36px; line-height: 1.05; white-space: nowrap; }
.about__origin { color: var(--accent); letter-spacing: 0.2em; margin-bottom: 24px; }
.about__text { font-size: 19px; line-height: 1.55; }
.about__text p { margin: 0 0 18px; }
.about__text a { color: var(--accent); }

/* =============================================================
   Spenden (dunkel)
   ============================================================= */
.donate__eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.donate h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; max-width: 880px; margin-bottom: 22px; }
.donate p { font-size: 18px; line-height: 1.55; max-width: 680px; margin: 0 0 30px; color: var(--ink); }
.donate__col { display: inline-flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.donate__qr {
  margin: 0;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  width: 200px;
  height: 200px;
}
.donate__qr img { width: 100%; height: 100%; display: block; }
.donate__note { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--ink);
  color: rgba(245,245,245,.7);
  border-top: 1px solid rgba(245,245,245,.1);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer a { color: var(--accent); }
.footer__brand { color: inherit; text-decoration: none; text-transform: none; letter-spacing: 0.02em; }
.footer__brand b { color: var(--accent); font-weight: 600; }
.footer__brand:hover { color: var(--accent); }
.footer__brand:hover b { color: var(--accent); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 860px) {
  .hero__lead { grid-template-columns: 1fr; gap: 24px; }
  .hero__date { text-align: left; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero h1 { white-space: normal; }
  .hero__br { display: inline; }
  .section { padding: 72px 0; }
  .nav__links { display: none; }
}
