/* =========================================================
   Global Reisen — Design-System v3
   Editorial, bildgetrieben. Ivory-Paper + Ink-Navy + Gold.
   ========================================================= */

/* Lokal gehostete Schriften (kein externer Google-Fonts-Aufruf mehr) */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-v38-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:         #14202b;
  --ink-2:       #1c2f3f;
  --paper:       #f7f4ee;
  --paper-2:     #ffffff;
  --gold:        #cc9a3e;
  --gold-light:  #e6bd6a;
  --teal:        #2f6f65;
  --text:        #23303a;
  --text-muted:  #5c6b76;
  --border:      #e2ddd0;
  --max-width:   1240px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover, a:focus { color: var(--gold); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.9rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 300;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Navigation ---------- */

.site-nav {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.05;
}
.brand:hover, .brand:focus { color: var(--ink); text-decoration: none; }

.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.brand-logo {
  height: 2.1rem;
  width: auto;
  display: block;
}

.brand .brand-tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 3px;
}

.nav-links a:hover, .nav-links a:focus {
  color: var(--ink);
  background: rgba(20,32,43,0.06);
}

.nav-links a.active {
  color: var(--ink);
  background: var(--gold-light);
  font-weight: 600;
}

/* ---------- Hero (Startseite, Vollbild-Foto) ---------- */

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,43,0.15) 0%, rgba(20,32,43,0.35) 55%, rgba(20,32,43,0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.5rem;
  width: 100%;
}

.hero-content .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 0.4em;
}

.hero .lede {
  color: #ecebe6;
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-credit {
  position: absolute;
  bottom: 0.6rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Seiten-Banner (Unterseiten, kleineres Foto) ---------- */

.page-banner {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.page-banner img.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.9);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,43,0.25) 0%, rgba(20,32,43,0.55) 65%, rgba(20,32,43,0.92) 100%);
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2.25rem;
}

.page-banner .eyebrow { color: var(--gold-light); }
.page-banner h1 { color: #fff; margin-bottom: 0.2em; }
.page-banner p.lede { color: #e4e2db; max-width: 50ch; margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-light); color: var(--ink); }

.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover, .btn-outline:focus {
  border-color: #fff; background: rgba(255,255,255,0.1); color: #fff;
}

.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover, .btn-outline-ink:focus { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.prose { max-width: 68ch; }

hr.divider { border: none; border-top: 1px solid var(--border); margin: 2.25rem 0; }

/* ---------- Werte / Value Props ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card .icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.value-card h3 { margin-bottom: 0.4rem; }
.value-card p { color: var(--text-muted); margin-bottom: 0; }

/* ---------- Reiseziel-Galerie ---------- */

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.destination-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover img { transform: scale(1.06); }

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,43,0) 45%, rgba(20,32,43,0.85) 100%);
}

.destination-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.25rem;
  color: #fff;
}

.destination-caption .eyebrow { color: var(--gold-light); margin-bottom: 0.2rem; }
.destination-caption h3 { color: #fff; margin: 0; }

/* ---------- Abflugtafel (Signatur-Element) ---------- */

.board {
  background: var(--ink);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
}

.board-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.board-title::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.board-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(255,255,255,0.15);
  color: #f1efe9;
}
.board-row:first-of-type { border-top: none; }
.board-row .day { color: #cfcbc0; letter-spacing: 0.03em; }
.board-row .time { color: var(--gold-light); font-weight: 600; }

.board-note {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(255,255,255,0.15);
  color: #b7b2a5;
  font-size: 0.88rem;
  font-family: var(--font-body);
}

/* ---------- Split Layout mit Foto ---------- */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.split img.split-photo {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- Foto-Rahmen für Team-Fotos (Platzhalter-fähig) ---------- */

.photo-frame {
  border: 1px solid var(--border);
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.photo-frame.is-broken img { display: none; }

/* Variante für Querformat-Fotos (z. B. Gruppenfotos wie Team1.jpg) */
.photo-frame.is-landscape img { aspect-ratio: 1.45 / 1; }
.photo-frame.is-landscape .placeholder { aspect-ratio: 1.45 / 1; }

.photo-frame .placeholder {
  display: none;
  aspect-ratio: 4/5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  background:
    repeating-linear-gradient(135deg, rgba(20,32,43,0.04) 0 10px, transparent 10px 20px);
}
.photo-frame.is-broken .placeholder { display: flex; }

.photo-frame .placeholder .icon { width: 40px; height: 40px; color: var(--teal); }

.photo-frame .placeholder .filename {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  color: var(--ink-2);
}

/* ---------- Info-Karten / Kontakt ---------- */

.card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.85rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-line {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}

.contact-line .icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.15rem;
}

/* ---------- Formular ---------- */

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .required { color: #b3412f; }
.contact-form button { margin-top: 1.4rem; }

.form-status { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 4px; font-size: 0.92rem; }
.form-status.success { background: #e6f4ea; border: 1px solid #6fb583; color: #205530; }
.form-status.error { background: #fbeae7; border: 1px solid #d98d7d; color: #7a2c1c; }

/* ---------- Impressum / Datenschutz ---------- */

.legal-toc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--gold); text-decoration: underline; }
.legal-toc ol { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.legal-toc li { margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #cfd3d6; padding: 3rem 0 2rem; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; }

.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.7rem; font-family: var(--font-body); }
.site-footer a { color: #d9dce0; }
.site-footer a:hover { color: var(--gold-light); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: #8c939a;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .destination-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-photo { max-width: 340px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .destination-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 0.1rem; }
  .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.85rem; }
  .hero { min-height: 78vh; }
  .board-row { flex-direction: column; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .destination-card img { transition: none; }
}
