/* ═══════════════════════════════════════════════
   TSI Audit – Shared Stylesheet
   Stand: Juni 2026 · CI-Update
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── CUSTOM PROPERTIES ─────────────────────── */
:root {
  --navy:      #1B2A4A;
  --navy-dark: #1B2A4A;
  --blue:      #2E6CA8;
  --gold:      #C9A84C;
  --gold-lt:   #D9BB72;
  --white:     #FFFFFF;
  --offwhite:  #F7F9FC;
  --gray:      #3D3D3D;
  --gray-lt:   #8A9AB0;
  --border:    rgba(255,255,255,0.12);

  --ff-serif:  'Libre Baskerville', Georgia, serif;
  --ff-sans:   'Source Sans 3', 'Helvetica Neue', sans-serif;

  --nav-h:     64px;
  --max-w:     860px;
  --max-w-wide:1140px;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 19px; }

body {
  font-family: var(--ff-sans);
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAVIGATION ────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(21,33,59,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-logo .nav-mark {
  height: 26px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.2rem 0;
  border-bottom: 1.5px solid transparent;
}

.nav-links a:hover { color: rgba(255,255,255,0.9); }
.nav-links a.active {
  color: rgba(255,255,255,0.95);
  border-bottom-color: var(--gold);
}

/* ── MAIN WRAPPER ──────────────────────────── */
main {
  flex: 1;
  padding-top: var(--nav-h);
}

/* ── HERO ──────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(46,108,168,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-logo {
  margin-bottom: 2.8rem;
  animation: fadeUp 0.8s ease both;
}

.hero-logo img,
.hero-logo svg {
  display: block;
  width: clamp(320px, 52vw, 640px);
  height: auto;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-headline {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.38;
  color: #fff;
  max-width: 640px;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.8s 0.18s ease both;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.4rem;
  animation: fadeUp 0.8s 0.26s ease both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s 0.34s ease both;
}

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.4rem;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  border-radius: 0;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.85);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ── INNER PAGES ───────────────────────────── */
.page-header {
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.page-header h1 {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.page-header .subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

.inner-wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  width: 100%;
}

/* ── SECTION TITLES ────────────────────────── */
.section-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

h2.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.8rem;
}

/* ── PROSE ─────────────────────────────────── */
.prose p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.prose p:last-child { margin-bottom: 0; }

/* ── CARD GRID ─────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  margin: 3rem 0;
}

.card {
  background: rgba(255,255,255,0.04);
  padding: 2.2rem 2rem;
  transition: background 0.2s;
}

.card:hover { background: rgba(255,255,255,0.07); }

.card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  display: block;
}

.card h3 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.card p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}

/* ── DIVIDER ───────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ── HIGHLIGHT BOX ─────────────────────────── */
.highlight-box {
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.06);
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
}

.highlight-box p {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
}

/* ── LEGAL CONTENT ─────────────────────────── */
.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type { border-bottom: none; }

.legal-section h2 {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.9rem;
}

.legal-section p,
.legal-section ul {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
  margin-bottom: 0.7rem;
}

.legal-section ul { padding-left: 1.4rem; }

.legal-section a {
  color: rgba(255,255,255,0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand .footer-mark {
  height: 38px;
  width: auto;
  display: block;
}

.footer-brand .fb-name {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

.footer-brand .fb-claim {
  font-family: var(--ff-serif);
  font-size: 0.92rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ── HAMBURGER ─────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  transition: all 0.25s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ────────────────────────────────── */
@media (max-width: 720px) {
  nav { padding: 0 1.5rem; }

  .nav-toggle { display: flex; }

  /* Logo auf Mobile: Claim-Span ausblenden, Piktogramm kleiner */
  .nav-logo span { display: none; }
  .nav-logo .nav-mark { height: 20px; }
  .nav-logo { font-size: 0.9rem; gap: 0.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(21,33,59,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }

  .nav-links.open { display: flex; }

  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: none;
    color: rgba(255,255,255,0.65);
  }

  .nav-links a.active {
    color: var(--gold);
    border-bottom: none;
  }

  .hero { padding: 4rem 1.5rem 3rem; }
  .inner, .inner-wide { padding: 3rem 1.5rem 4rem; }
  .page-header { padding: 3rem 1.5rem 2rem; }
  footer { padding: 2.5rem 1.5rem; gap: 1.4rem; }
  .footer-links { gap: 1.4rem; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
}
