/* fqt.world — Design nach der Rechnungsvorlage von Frequent Traveller World:
   blaues Kopf- und Fußband (#006aa3), orangefarbene Tabellenköpfe (#e47509),
   kondensierte Schrift, klare Kästen auf Weiß. Farben aus Invoice FQT-12933 gemessen.
   Schrift Oswald (OFL, selbst gehostet unter fonts/), keine Skripte: die Seite
   lädt nichts von Dritten. */

@font-face {
  font-family: "Oswald";
  src: url("/static/fonts/oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #006aa3;
  --blue-dark: #005384;
  --orange: #e47509;
  --orange-dark: #c3630a;
  --ink: #1d1d1f;
  --muted: #5c6670;
  --paper: #ffffff;
  --panel: #f3f6f8;
  --line: #d9e1e7;
  --radius: 6px;
  --cond: "Oswald", "Avenir Next Condensed", "Helvetica Neue Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--cond); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; color: var(--blue); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--cond); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: .8em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; z-index: 10; }

/* ---- Kopfband (wie die Rechnung: Blau, Name links in kondensierter Schrift) ---- */
.top {
  background: var(--blue); color: #fff;
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--wrap); margin: 0 auto; padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; font-family: var(--cond); font-weight: 600; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.brand img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 4px; padding: 3px; }
.nav { display: flex; gap: 26px; align-items: center; font-family: var(--cond); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.nav a { text-decoration: none; color: #fff; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { padding: 8px 18px; background: var(--orange); border-radius: 4px; opacity: 1 !important; }
.nav-cta:hover { background: var(--orange-dark); text-decoration: none !important; }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 56px;
}
.hero h1 { color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 4px; text-decoration: none; font-family: var(--cond); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; transition: background .15s ease; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { border: 2px solid var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.hero-art { color: var(--blue); }
.hero-art svg { width: 100%; height: auto; display: block; }
.hero-art .label { font-family: var(--cond); font-size: 14px; fill: currentColor; letter-spacing: .06em; text-transform: uppercase; }
.hero-art .label.small { font-size: 10px; }
.hero-art .route { animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) { .hero-art .route { animation: none; } }

/* ---- Bänder ---- */
.band { padding: 64px 0; }
.band + .band { border-top: 1px solid var(--line); }
.band-dark { background: var(--blue); color: #fff; border-top: 0 !important; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-sand { background: var(--panel); border-top: 0 !important; }
.intro { max-width: 42em; color: var(--muted); font-size: 1.08rem; margin-bottom: 2em; }
.sub { margin-top: 2.5em; font-family: var(--cond); font-size: 1.1rem; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }

/* Leistungen als Tabellenkästen: oranger Kopf, weißer Körper (wie die Positionstabelle) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-head { background: var(--orange); color: #fff; padding: 12px 18px; display: flex; align-items: baseline; gap: 12px; }
.card-no { font-family: var(--cond); font-size: .95rem; letter-spacing: .1em; opacity: .9; }
.card h3 { margin: 0; color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; }
.card p { margin: 0; padding: 18px; color: var(--ink); }

.topics { columns: 2; column-gap: 40px; padding-left: 1.2em; margin: 0; }
.topics li { break-inside: avoid; margin-bottom: .5em; }
.topics li::marker { color: var(--orange); }

/* Ablauf: Wegpunkte an einer Linie auf Blau */
.itinerary { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.itinerary::before { content: ""; position: absolute; top: 11px; left: 10px; right: 10px; border-top: 2px dashed rgba(255, 255, 255, .45); }
.itinerary li { position: relative; padding-top: 40px; }
.itinerary .stop { position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 255, 255, .25); }
.itinerary h3 { text-transform: uppercase; letter-spacing: .03em; }
.itinerary p { color: rgba(255, 255, 255, .9); margin: 0; }

.callout { background: var(--panel); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 0 4px 4px 0; font-weight: 600; }
address { font-style: normal; color: var(--muted); }

/* ---- Rechtstexte ---- */
.legal { padding: 48px 24px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--blue); }
.legal h2 { font-size: 1.2rem; margin-top: 2em; text-transform: none; color: var(--ink); border-bottom: 2px solid var(--orange); display: inline-block; padding-bottom: 2px; }
.notfound { min-height: 50vh; }

/* ---- Fußband (wie die Rechnung: Blau, Firma · Adresse) ---- */
.foot { background: var(--blue); color: #fff; padding: 36px 0; font-size: .95rem; }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col strong { font-family: var(--cond); font-size: 1.15rem; letter-spacing: .03em; margin-bottom: 4px; }
.foot-col a { color: #fff; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-meta { text-align: right; opacity: .85; }

/* ---- Schmal ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-art { order: -1; max-width: 420px; }
  .cards, .itinerary, .foot-inner { grid-template-columns: 1fr; }
  .itinerary::before { top: 10px; bottom: 10px; left: 11px; right: auto; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .45); }
  .itinerary li { padding-top: 0; padding-left: 44px; }
  .topics { columns: 1; }
  .foot-meta { text-align: left; }
  .nav { gap: 14px; font-size: .95rem; }
  .nav a:not(.nav-cta) { display: none; }
  .brand { font-size: 1.2rem; }
}

/* E-Mail-Adresse als Button: nicht in Versalien */
.btn[href^="mailto:"] { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 1rem; }

/* ---- Buchungsseite /us-consulting ---- */
.packages { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.packages .card-head { justify-content: space-between; }
.price { font-family: var(--cond); font-size: 1.25rem; font-weight: 600; letter-spacing: .03em; }
.card p.small { padding-top: 0; font-size: .92rem; }
.embed { display: block; width: 100%; height: 1500px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 20px 0 12px; }
@media (max-width: 900px) {
  .packages { grid-template-columns: 1fr; }
  .embed { height: 1900px; }
}
