/* ============================================================
   transfermonitor.de – Design System
   Erstellt: 2026-04-16
   Inspiration: GreenBuildingz.com
   Enthält: Tokens, Typografie, Nav, Buttons, Cards, Sections, Footer
   ============================================================ */

/* ── 0. Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@700;800&display=swap');


/* ── 1. Design-Tokens ─────────────────────────────────────── */
:root {
  /* Fonts */
  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Hintergründe */
  --bg-page:   #ffffff;
  --bg-card:   #ffffff;
  --bg-dark:   #0f0f0f;
  --bg-nav:    rgba(255, 255, 255, 0.72);

  /* Text */
  --text-primary:   #0a0a0a;
  --text-secondary: #6b7280;
  --text-light:     rgba(255, 255, 255, 0.85);

  /* Akzent */
  --accent:       #e8380d;
  --accent-hover: #c92f0b;

  /* Borders */
  --border:      rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);

  /* Radien */
  --radius-card: 16px;
  --radius-pill: 100px;

  /* Abstände */
  --section-padding: 5rem 2rem;
  --section-max:     1100px;
}


/* ── 2. Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-page);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

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

a {
  color: inherit;
}


/* ── 3. Typografie ────────────────────────────────────────── */
h1, .tm-h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

h2, .tm-h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h3, .tm-h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

h4, .tm-h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Overline / Badge-Label */
.tm-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: block;
}

/* ── 3b. Gradient-Text-Utilities ──────────────────────────── */

/* Orange → Blau */
.tm-grad-ob {
  background: linear-gradient(90deg, #e8380d 0%, #1e1b5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blau → Orange */
.tm-grad-bo {
  background: linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reines Orange */
.tm-grad-o {
  background: linear-gradient(90deg, #e8380d 0%, #ff6b3d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reines Blau */
.tm-grad-b {
  background: linear-gradient(90deg, #1e1b5e 0%, #3d3a9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fließtext-Stile innerhalb von Artikeln */
.tm-prose p { margin-bottom: 1.25rem; }
.tm-prose ul,
.tm-prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.tm-prose li { margin-bottom: 0.4rem; }
.tm-prose strong { font-weight: 600; }
.tm-prose a { color: var(--accent); text-decoration: underline; }


/* ── 4. Navigation (Apple Floating Pill) ──────────────────── */
.tm-nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: max-content;
  max-width: calc(100vw - 2rem);
}

.tm-nav-inner {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 0.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 100px;
  padding: 5px 5px 5px 14px;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07), inset 0 0.5px 0 rgba(255,255,255,0.7);
}

.tm-nav-logo {
  text-decoration: none;
  margin-right: 4px;
  flex-shrink: 0;
}

.tm-nav-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.tm-nav-logo span {
  background: linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tm-nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
}

.tm-nav-links a {
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 500;
  color: #1a1a1a;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.12s;
  line-height: 1;
}

.tm-nav-links a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.tm-nav-links a.tm-nav-cta {
  background: #0a0a0a;
  color: #fff !important;
  padding: 0.35rem 0.85rem;
  font-size: 0.77rem;
  font-weight: 600;
  border-radius: 100px;
  margin-left: 2px;
}

.tm-nav-links a.tm-nav-cta:hover {
  background: #2a2a2a;
}

@media (max-width: 700px) {
  .tm-nav {
    left: 1rem;
    right: 1rem;
    transform: none;
    width: auto;
  }
  .tm-nav-inner {
    padding: 5px 5px 5px 12px;
    justify-content: space-between;
  }
  .tm-nav-links {
    display: none;
  }
}

/* Mobile Dropdown-Menü */
.tm-nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  z-index: 199;
}
.tm-nav-mobile-menu.open { display: block; }
.tm-nav-mobile-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: #1a1a1a;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
}
.tm-nav-mobile-menu a:hover { background: rgba(0,0,0,0.05); }

/* Burger-Button */
.tm-nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 5px 7px;
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  margin-left: 4px;
}
.tm-nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #1a1a1a;
  border-radius: 2px;
}
@media (max-width: 700px) {
  .tm-nav-burger { display: flex; }
}


/* ── 5. Buttons ───────────────────────────────────────────── */

/* Primär (dunkel) */
.tm-btn-p {
  background: var(--text-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.tm-btn-p:hover  { background: #333; }
.tm-btn-p:active { transform: scale(0.98); }

/* Sekundär (Ghost) */
.tm-btn-o {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-image:
    linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  cursor: pointer;
}
.tm-btn-o:hover { background: rgba(255, 255, 255, 0.95); }

/* CTA (Akzent-Rot) */
.tm-btn-cta {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.15s;
  cursor: pointer;
}
.tm-btn-cta:hover { background: var(--accent-hover); }

/* Button-Gruppe */
.tm-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}


/* ── 6. Cards ─────────────────────────────────────────────── */

/* Standard-Card */
.tm-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 1.5rem;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Dunkle Card */
.tm-card-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

/* Stat-Card */
.tm-stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 1.5rem;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.04);
}

.tm-stat-card .tm-stat-num {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.tm-stat-card .tm-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Link-Card (Cluster-Navigation) */
.tm-link-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: box-shadow 0.15s, transform 0.1s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.tm-link-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.tm-link-card .tm-link-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.tm-link-card .tm-link-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}
.tm-link-card .tm-link-card-arrow {
  color: var(--text-secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}


/* ── 7. Grids / Bento ─────────────────────────────────────── */

/* Bento-Grid (auto-fit) */
.tm-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

/* 2-Spalten */
.tm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

/* 4-Spalten */
.tm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .tm-grid-3,
  .tm-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .tm-grid-2,
  .tm-grid-3,
  .tm-grid-4 { grid-template-columns: 1fr; }
}


/* ── 8. Section-Struktur ──────────────────────────────────── */

/* Heller Seiten-Abschnitt */
.tm-section {
  padding: var(--section-padding);
  max-width: var(--section-max);
  margin: 0 auto;
}

/* Dunkler Seiten-Abschnitt (full-width Wrapper) */
.tm-section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--section-padding);
}

.tm-section-dark .tm-section-inner {
  max-width: var(--section-max);
  margin: 0 auto;
}

/* Akzent-Section (leicht getönter Hintergrund) */
.tm-section-tinted {
  background: #e8edf2;
  padding: var(--section-padding);
}

.tm-section-tinted .tm-section-inner {
  max-width: var(--section-max);
  margin: 0 auto;
}

/* Abschnitts-Header */
.tm-section-header {
  margin-bottom: 2.5rem;
}

.tm-section-header .tm-label {
  margin-bottom: 0.6rem;
}


/* ── 9. Hero ──────────────────────────────────────────────── */

/* Startseiten-Hero: hell, kein farbiger Hintergrund */
.tm-hero {
  background: var(--bg-page);
  padding: 6rem 2rem 3rem; /* 6rem: Platz für floating Nav */
  text-align: center;
}

.tm-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.tm-hero-content h1,
.tm-hero-content .tm-h1 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tm-hero-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats-Leiste: hell, Cards */
.tm-hero-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.tm-hero-stat {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  min-width: 120px;
}

.tm-hero-stat .tm-hero-stat-num {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tm-hero-stat .tm-hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

/* Hero klein (Pillar-/Cluster-Seiten) */
.tm-hero-sm {
  background: var(--bg-page);
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.tm-hero-sm h1,
.tm-hero-sm .tm-h1 {
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.tm-hero-sm p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
}


/* ── 10. Breadcrumb ───────────────────────────────────────── */

.tm-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.75rem 2rem;
  max-width: var(--section-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.tm-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.tm-breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.tm-breadcrumb-sep {
  color: var(--border);
}


/* ── 11. Quickinfo / Info-Box ─────────────────────────────── */

.tm-quickinfo {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tm-quickinfo-title {
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.tm-quickinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.tm-quickinfo-item dt {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.tm-quickinfo-item dd {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}


/* ── 12. CTA-Box (innerhalb Artikeln) ─────────────────────── */

.tm-cta-box {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}

.tm-cta-box h2,
.tm-cta-box .tm-h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 0.75rem;
}

.tm-cta-box p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}


/* ── 13. Autorenbox ───────────────────────────────────────── */

.tm-author-box {
  border-radius: var(--radius-card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(90deg, #1e1b5e 0%, #e8380d 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 3rem 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tm-author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tm-author-box .tm-author-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.tm-author-box .tm-author-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.tm-author-box .tm-author-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ── 14. Quellen / Quellenbox ─────────────────────────────── */

.tm-quellen {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 1.5rem;
  margin: 2rem 0;
}

.tm-quellen-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.tm-quellen ol {
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tm-quellen a {
  color: var(--accent);
  text-decoration: none;
}

.tm-quellen a:hover {
  text-decoration: underline;
}


/* ── 15. Newsletter-Section ───────────────────────────────── */

.tm-newsletter {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.tm-newsletter h2,
.tm-newsletter .tm-h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.tm-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
}

.tm-newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tm-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border 0.15s;
}

.tm-newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.tm-newsletter-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.5);
}


/* ── 16. Footer ───────────────────────────────────────────── */

.tm-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3.5rem 2rem 1.5rem;
}

.tm-footer-inner {
  max-width: var(--section-max);
  margin: 0 auto;
}

.tm-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.tm-footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 280px;
}

.tm-footer-nav h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.tm-footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tm-footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.tm-footer-nav a:hover {
  color: #fff;
}

.tm-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.tm-footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.tm-footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 700px) {
  .tm-footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tm-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ── 17. Bild-Platzhalter ─────────────────────────────────── */

.tm-img-placeholder {
  background: #d1d5db;
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
  min-height: 200px;
}


/* ── 18. Utility-Klassen ──────────────────────────────────── */

.tm-text-secondary { color: var(--text-secondary); }
.tm-text-light     { color: var(--text-light); }
.tm-text-accent    { color: var(--accent); }
.tm-text-center    { text-align: center; }

.tm-mt-sm  { margin-top: 0.75rem; }
.tm-mt-md  { margin-top: 1.5rem; }
.tm-mt-lg  { margin-top: 3rem; }
.tm-mb-sm  { margin-bottom: 0.75rem; }
.tm-mb-md  { margin-bottom: 1.5rem; }
.tm-mb-lg  { margin-bottom: 3rem; }

.tm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Collapsible chip-nav via <details>/<summary> ────────────── */
details.tm-chip-nav {
  /* Inherits all .tm-chip-nav base styles */
}
details.tm-chip-nav > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0;
  user-select: none;
  -webkit-user-select: none;
}
details.tm-chip-nav > summary::-webkit-details-marker { display: none; }
details.tm-chip-nav > summary::marker { display: none; }
details.tm-chip-nav > summary::after {
  content: '▾';
  font-size: 0.72rem;
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
details.tm-chip-nav[open] > summary::after {
  transform: rotate(-180deg);
}
details.tm-chip-nav[open] > summary {
  margin-bottom: 0.6rem;
}
details.tm-chip-nav > .tm-chip-list,
details.tm-chip-nav > .tm-chip-group {
  animation: chipNavIn 0.18s ease;
}
@keyframes chipNavIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Layout-Containment für Elemente außerhalb Haupt-Container ── */
.tm-chip-nav,
.tm-cta,
.tm-cta-box,
.tm-quellen,
.tm-article-footer {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
/* Horizontales Padding auf schmalen Viewports */
@media (max-width: 900px) {
  .tm-chip-nav,
  .tm-cta,
  .tm-cta-box,
  .tm-quellen,
  .tm-article-footer {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* ── Cookie-Banner ────────────────────────────────────────────── */
.tm-cb-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 9998; display: none; }
.tm-cb-overlay.open { display: block; }
.tm-cb { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: calc(100% - 2rem); max-width: 620px; background: rgba(255,255,255,0.88); backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%); z-index: 9999; display: none; font-family: 'Inter', sans-serif; border-radius: 20px; border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 8px 48px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06); }
.tm-cb.open { display: block; }
.tm-cb-inner { max-width: 100%; margin: 0 auto; padding: 1.4rem 1.5rem 1.2rem; }
.tm-cb-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.65rem; }
.tm-cb-logo { height: 26px; width: auto; }
.tm-cb-head h2 { font-size: 0.92rem; font-weight: 700; color: #1e1b5e; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; }
.tm-cb-text { font-size: 0.79rem; color: #6b7280; line-height: 1.6; margin: 0 0 0.9rem; }
.tm-cb-text a { color: #e8380d; font-weight: 600; text-decoration: none; }
.tm-cb-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-bottom: 0.9rem; }
.tm-cb-cat { border: 1px solid rgba(0,0,0,0.07); border-radius: 12px; padding: 0.55rem 0.7rem; background: rgba(255,255,255,0.55); }
.tm-cb-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.15rem; }
.tm-cb-cat-head strong { font-size: 0.77rem; color: #1e1b5e; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.tm-cb-cat p { font-size: 0.71rem; color: #9ca3af; margin: 0; line-height: 1.45; }
.tm-cb-toggle { position: relative; width: 34px; height: 18px; flex-shrink: 0; }
.tm-cb-toggle input { opacity: 0; width: 0; height: 0; }
.tm-cb-toggle-slider { position: absolute; inset: 0; background: #d1d5db; border-radius: 18px; cursor: pointer; transition: .2s; }
.tm-cb-toggle input:checked + .tm-cb-toggle-slider { background: #1e1b5e; }
.tm-cb-toggle-slider:before { content: ""; position: absolute; width: 12px; height: 12px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.tm-cb-toggle input:checked + .tm-cb-toggle-slider:before { transform: translateX(16px); }
.tm-cb-toggle input:disabled + .tm-cb-toggle-slider { opacity: 0.5; cursor: not-allowed; }
.tm-cb-btns { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.tm-cb-btn { padding: 0.48rem 1.1rem; border: none; border-radius: 100px; font-size: 0.81rem; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: opacity 0.15s, transform 0.1s; }
.tm-cb-btn:active { transform: scale(0.97); }
.tm-cb-btn-accept { background: linear-gradient(135deg, #1e1b5e 0%, #2d2a7a 55%, #e8380d 100%); color: #fff; }
.tm-cb-btn-accept:hover { opacity: 0.87; }
.tm-cb-btn-necessary { background: rgba(0,0,0,0.06); color: #374151; border: 1px solid rgba(0,0,0,0.1); }
.tm-cb-btn-necessary:hover { background: rgba(0,0,0,0.1); }
.tm-cb-btn-save { background: rgba(30,27,94,0.07); color: #1e1b5e; border: 1px solid rgba(30,27,94,0.18); }
.tm-cb-btn-save:hover { background: rgba(30,27,94,0.13); }
.tm-cb-link { font-size: 0.74rem; color: #9ca3af; text-decoration: none; cursor: pointer; background: none; border: none; font-family: 'Inter', sans-serif; margin-left: auto; transition: color 0.15s; }
.tm-cb-link:hover { color: #6b7280; }
@media (max-width: 600px) {
  .tm-cb { bottom: 0.75rem; border-radius: 16px; }
  .tm-cb-inner { padding: 1.1rem 1rem 1rem; }
  .tm-cb-cats { grid-template-columns: 1fr; }
  .tm-cb-btns { flex-direction: column; align-items: stretch; }
  .tm-cb-btn, .tm-cb-link { width: 100%; text-align: center; }
  .tm-cb-link { margin-left: 0; }
}
