    /* ============================================================
       PHILIPPS WELT — GEMEINSAMES DESIGN-SYSTEM (LIQUID GLASS, DARK MODE)
       Von allen Seiten (index.html, reisen.html, reise-detail.html)
       gemeinsam genutztes Stylesheet — eine Änderung hier wirkt überall.
       ============================================================ */

    :root {
      --bg-gradient: linear-gradient(135deg, #09090b 0%, #1e1b4b 100%);
      --surface-overlay: rgba(9, 9, 11, 0.55);
      --surface-overlay-strong: rgba(9, 9, 11, 0.92);
      --glass-bg: rgba(255, 255, 255, 0.03);
      --glass-border-light: rgba(255, 255, 255, 0.12);
      --glass-border-dark: rgba(255, 255, 255, 0.02);
      --glass-blur: blur(24px);
      --glass-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);

      --text-primary: #f8fafc;
      --text-secondary: #94a3b8;
      --accent-cyan: #22d3ee;
      --accent-purple: #c084fc;
      /* Gleiche Farben als "r, g, b"-Komponenten — nötig, um sie in
         rgba(var(--accent-cyan-rgb), X) einzusetzen (z.B. in Keyframes),
         wo eine Hex-Variable direkt nicht funktioniert. */
      --accent-cyan-rgb: 34, 211, 238;
      --accent-purple-rgb: 192, 132, 252;

      /* Weltkarte: Ozean-Grund + Land-Einfärbung im Dunkel-Modus (siehe
         renderCountryGlow()) — zieht mit den Themen mit. */
      --map-ocean: #0b0b12;
      --map-land: rgba(255, 255, 255, 0.045);
      --map-land-border: rgba(255, 255, 255, 0.16);

      --radius: 20px;
      --nav-height: 76px;
    }

    /* ---------------------------------------------------------- */
    /* Easter-Egg-Farbthemen — Klick auf das Logo oben links       */
    /* rotiert durch: Standard → Beige/Braun → Rot/Rubin → Weiß →   */
    /* Standard. Jedes Thema definiert nur dieselben Variablen neu  */
    /* (siehe :root oben), der Rest des CSS bleibt unverändert —    */
    /* Variablennamen (--accent-cyan/--accent-purple) sind bewusst  */
    /* stabile IDs, nicht Farbbeschreibungen. Die Weltkarte (Ozean/  */
    /* Land/Pins) liest --map-*/--accent-*-rgb zur Laufzeit per JS   */
    /* aus (siehe renderCountryGlow()/getPinColors()) und zieht damit */
    /* ebenfalls mit. Bewusst weiterhin NICHT themed: Scrims/Overlays */
    /* (Modal, Hero-Video-Abdunklung, Leaflet-Popups) — die bleiben   */
    /* überall dunkel, genau wie ein Modal-Backdrop auch in hellen    */
    /* Apps üblicherweise dunkel bleibt. */
    :root[data-theme="beige"] {
      --bg-gradient: linear-gradient(135deg, #1b1410 0%, #3d2a1a 100%);
      --surface-overlay: rgba(20, 14, 10, 0.55);
      --surface-overlay-strong: rgba(20, 14, 10, 0.92);
      --glass-bg: rgba(255, 245, 230, 0.05);
      --glass-border-light: rgba(255, 235, 210, 0.14);
      --glass-border-dark: rgba(0, 0, 0, 0.08);
      --glass-shadow: 0 30px 60px rgba(20, 10, 0, 0.5);
      --text-primary: #f5e9d8;
      --text-secondary: #c2a582;
      --accent-cyan: #d9a441;
      --accent-purple: #a9673a;
      --accent-cyan-rgb: 217, 164, 65;
      --accent-purple-rgb: 169, 103, 58;
      --map-ocean: #150f0b;
      --map-land: rgba(255, 235, 210, 0.05);
      --map-land-border: rgba(255, 225, 195, 0.18);
    }

    :root[data-theme="ruby"] {
      --bg-gradient: linear-gradient(135deg, #1a0508 0%, #4a0e1f 100%);
      --surface-overlay: rgba(20, 4, 8, 0.55);
      --surface-overlay-strong: rgba(20, 4, 8, 0.92);
      --glass-bg: rgba(255, 230, 235, 0.04);
      --glass-border-light: rgba(255, 210, 220, 0.14);
      --glass-border-dark: rgba(0, 0, 0, 0.08);
      --glass-shadow: 0 30px 60px rgba(20, 0, 5, 0.55);
      --text-primary: #fdf1f3;
      --text-secondary: #d99aa8;
      --accent-cyan: #e11d48;
      --accent-purple: #fb7185;
      --accent-cyan-rgb: 225, 29, 72;
      --accent-purple-rgb: 251, 113, 133;
      --map-ocean: #130308;
      --map-land: rgba(255, 220, 225, 0.045);
      --map-land-border: rgba(255, 200, 210, 0.16);
    }

    :root[data-theme="white"] {
      --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e5e9f5 100%);
      --surface-overlay: rgba(255, 255, 255, 0.7);
      --surface-overlay-strong: rgba(255, 255, 255, 0.94);
      --glass-bg: rgba(15, 23, 42, 0.035);
      --glass-border-light: rgba(15, 23, 42, 0.1);
      --glass-border-dark: rgba(15, 23, 42, 0.04);
      --glass-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
      --text-primary: #0f172a;
      --text-secondary: #475569;
      --accent-cyan: #2563eb;
      --accent-purple: #9333ea;
      --accent-cyan-rgb: 37, 99, 235;
      --accent-purple-rgb: 147, 51, 234;
      --map-ocean: #eef1f8;
      --map-land: rgba(15, 23, 42, 0.05);
      --map-land-border: rgba(15, 23, 42, 0.18);
    }

    /* ---------------------------------------------------------- */
    /* Reset & Grundlagen                                          */
    /* ---------------------------------------------------------- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    /* Muss vor allen anderen Regeln stehen bzw. mit !important gelten:
       ohne das gewinnt z.B. ".modal-overlay { display: flex }" gegen die
       Browser-Standardregel "[hidden]{display:none}", weil beide dieselbe
       Spezifität haben und Autor-Styles Browser-Styles sonst überstimmen —
       Elemente mit [hidden] blieben dadurch sichtbar. */
    [hidden] {
      display: none !important;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
      background: var(--bg-gradient);
      color: var(--text-primary);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    }

    /* Schwebende "Aurora"-Blobs hinter allem — geben dem Glas Tiefe & Farbe */
    body::before,
    body::after {
      content: "";
      position: fixed;
      z-index: -1;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0.35;
      pointer-events: none;
    }

    body::before {
      width: 45vw;
      height: 45vw;
      top: -10%;
      left: -10%;
      background: var(--accent-purple);
      animation: float-a 22s ease-in-out infinite alternate;
    }

    body::after {
      width: 40vw;
      height: 40vw;
      bottom: -15%;
      right: -10%;
      background: var(--accent-cyan);
      animation: float-b 26s ease-in-out infinite alternate;
    }

    @keyframes float-a {
      0%   { transform: translate(0, 0) scale(1); }
      100% { transform: translate(8vw, 10vh) scale(1.15); }
    }

    @keyframes float-b {
      0%   { transform: translate(0, 0) scale(1); }
      100% { transform: translate(-6vw, -8vh) scale(1.1); }
    }

    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    img, video { max-width: 100%; display: block; }

    .section {
      padding: 120px 6vw;
      max-width: 1280px;
      margin: 0 auto;
      position: relative;
      /* Ohne das landet die Sektions-Überschrift + der Button beim
         Klick auf einen Nav-Link (#stack/#map/...) exakt unter der
         fixierten Navbar und wird von ihr verdeckt — nur der Inhalt
         darunter (z.B. die Karte) bleibt sichtbar. */
      scroll-margin-top: calc(var(--nav-height) + 16px);
    }

    .section-header {
      margin-bottom: 48px;
      text-align: center;
    }

    .section-label {
      display: inline-block;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent-cyan);
      margin-bottom: 12px;
    }

    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 700;
      letter-spacing: -0.01em;
    }

    .section-subtitle {
      color: var(--text-secondary);
      margin-top: 10px;
      font-size: 1rem;
    }

    /* ---------------------------------------------------------- */
    /* Liquid Glass — Basiskomponente                              */
    /* ---------------------------------------------------------- */
    .glass-card {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border-radius: var(--radius);
      border-top: 1px solid var(--glass-border-light);
      border-left: 1px solid var(--glass-border-light);
      border-bottom: 1px solid var(--glass-border-dark);
      border-right: 1px solid var(--glass-border-dark);
      box-shadow: var(--glass-shadow);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .glass-card:hover {
      transform: translateY(-5px) scale(1.01);
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    }

    /* ---------------------------------------------------------- */
    /* Navigation                                                   */
    /* ---------------------------------------------------------- */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--nav-height);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 6vw;
      background: var(--surface-overlay);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--glass-border-light);
    }

    .navbar__logo {
      font-weight: 700;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .navbar__logo span {
      color: var(--accent-cyan);
    }

    /* Logo-Mark: "PK"-Monogramm (Philipp Kleemeyer) mit gemeinsamem
       vertikalem Strich für P und K. Der umgebende Ring ist meistens ein
       geschlossener Kreis; periodisch drehen sich die Buchstaben einmal
       komplett, während der Ring sich zu einem rotierenden Ladebalken-
       Segment zusammenzieht — und schließt sich danach wieder zum vollen
       Kreis, sobald die Buchstaben wieder aufrecht stehen. Zieht die
       Theme-Farben automatisch über var() mit. Verstecktes Easter Egg:
       Klick rotiert das Farbthema durch (siehe initThemeToggle() im
       Skript) — bewusst ohne optischen Hinweis, dass hier ein Button sitzt. */
    .logo-mark {
      width: 30px;
      height: 30px;
      cursor: pointer;
      overflow: visible;
    }

    .logo-mark__letters {
      transform-box: fill-box;
      transform-origin: 50% 50%;
      animation: logo-letters-spin 8s ease-in-out infinite;
    }

    .logo-mark__ring {
      /* Umfang bei r=14: 2·π·14 ≈ 88 — auf diese Zahl sind die
         stroke-dasharray-Werte unten abgestimmt. */
      animation: logo-ring-cycle 8s ease-in-out infinite;
    }

    @keyframes logo-letters-spin {
      0%, 28%  { transform: rotate(0deg); }
      72%      { transform: rotate(360deg); }
      100%     { transform: rotate(360deg); }
    }

    @keyframes logo-ring-cycle {
      0%, 22%  { stroke-dasharray: 88 0;  stroke-dashoffset: 0; }
      30%      { stroke-dasharray: 20 68; stroke-dashoffset: 0; }
      70%      { stroke-dasharray: 20 68; stroke-dashoffset: -176; }
      78%, 100% { stroke-dasharray: 88 0; stroke-dashoffset: -176; }
    }

    @media (prefers-reduced-motion: reduce) {
      .logo-mark__letters,
      .logo-mark__ring {
        animation: none;
      }
    }

    .navbar__links {
      display: flex;
      gap: 32px;
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    /* Liquid-Glass-Hover statt Unterstrich: ein zartes Glas-Pill hinter
       dem Wort, mit Blur + Cyan-Glow — passt zur restlichen Glass-Optik. */
    .navbar__links a {
      display: inline-flex;
      align-items: center;
      padding: 7px 16px;
      border-radius: 999px;
      border: 1px solid transparent;
      transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease,
        box-shadow 0.25s ease;
    }

    .navbar__links a:hover {
      color: var(--text-primary);
      background: rgba(255, 255, 255, 0.06);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-color: var(--glass-border-light);
      box-shadow: 0 0 16px rgba(var(--accent-cyan-rgb), 0.25);
    }

    .navbar__toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
    }

    .navbar__toggle span {
      width: 24px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
    }


    /* ---------------------------------------------------------- */
    /* Hero                                                          */
    /* ---------------------------------------------------------- */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }

    .hero__media {
      position: absolute;
      inset: 0;
      z-index: -2;
    }

    .hero__video,
    .hero__poster {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .hero__poster {
      background: radial-gradient(circle at 30% 20%, rgba(var(--accent-purple-rgb), 0.25), transparent 55%),
                  radial-gradient(circle at 75% 75%, rgba(var(--accent-cyan-rgb), 0.22), transparent 55%),
                  var(--bg-gradient);
    }

    .hero__overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(9, 9, 11, 0.35) 0%, rgba(9, 9, 11, 0.85) 100%);
      z-index: -1;
    }

    .hero__content {
      padding: 0 24px;
      max-width: 720px;
    }

    .hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 0.78rem;
      letter-spacing: 0.05em;
      margin-bottom: 28px;
      color: var(--text-primary);
    }

    .hero__badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 12px var(--accent-cyan);
    }

    .hero__title {
      font-size: clamp(2.4rem, 6vw, 4.2rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.05;
      background: linear-gradient(120deg, var(--text-primary) 40%, var(--accent-cyan) 70%, var(--accent-purple) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 18px;
    }

    .hero__subtitle {
      font-size: clamp(1rem, 2vw, 1.25rem);
      color: var(--text-secondary);
      margin-bottom: 36px;
    }

    .hero__subtitle strong {
      color: var(--text-primary);
      font-weight: 600;
    }

    .hero__scroll {
      position: absolute;
      bottom: 36px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      color: var(--text-secondary);
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      animation: bounce 2.4s ease-in-out infinite;
    }

    .hero__scroll-line {
      width: 1px;
      height: 32px;
      background: linear-gradient(180deg, var(--accent-cyan), transparent);
    }

    @keyframes bounce {
      0%, 100% { transform: translate(-50%, 0); }
      50%      { transform: translate(-50%, 8px); }
    }

    /* ---------------------------------------------------------- */
    /* Tech Stack — Glass Grid                                       */
    /* ---------------------------------------------------------- */
    .stack-groups {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
    }

    .stack-group {
      padding: 32px;
    }

    .stack-group__title {
      font-size: 1rem;
      color: var(--text-secondary);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .stack-group__title .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .stack-group--automation .dot { background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
    .stack-group--infra .dot      { background: var(--accent-purple); box-shadow: 0 0 10px var(--accent-purple); }
    .stack-group--creative .dot   { background: #fb7185; box-shadow: 0 0 10px #fb7185; }
    .stack-group--demos .dot      { background: #e8cd93; box-shadow: 0 0 10px #e8cd93; }
    .stack-group--demos .badge    { cursor: pointer; }
    .stack-group--demos .badge:hover {
      border-color: #e8cd93;
      box-shadow: 0 0 18px rgba(232, 205, 147, 0.45), 0 0 36px rgba(232, 205, 147, 0.15);
      color: #e8cd93;
    }

    .badge-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border-light);
      font-size: 0.88rem;
      color: var(--text-primary);
      cursor: default;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .badge__icon { font-size: 1rem; line-height: 1; }

    .badge:hover {
      transform: translateY(-3px);
      border-color: var(--accent-cyan);
      box-shadow: 0 0 18px rgba(var(--accent-cyan-rgb), 0.45), 0 0 36px rgba(var(--accent-cyan-rgb), 0.15);
      color: var(--accent-cyan);
    }

    .stack-group--creative .badge:hover {
      border-color: var(--accent-purple);
      box-shadow: 0 0 18px rgba(var(--accent-purple-rgb), 0.45), 0 0 36px rgba(var(--accent-purple-rgb), 0.15);
      color: var(--accent-purple);
    }


    /* ---------------------------------------------------------- */
    /* Weltkarte / Leaflet                                          */
    /* ---------------------------------------------------------- */

    /* Wiederverwendbares Status-Pill (Reise-Status auf Zeitleiste,       */
    /* Kacheln & Detailseite). */
    .trip-status {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 999px;
      font-size: 0.68rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .trip-status--aktiv     { background: rgba(var(--accent-cyan-rgb), 0.15); color: var(--accent-cyan); }
    .trip-status--geplant   { background: rgba(var(--accent-purple-rgb), 0.15); color: var(--accent-purple); }
    .trip-status--abgeschlossen { background: rgba(148, 163, 184, 0.15); color: var(--text-secondary); }

    /* Karte bewusst NICHT mit voller .glass-card-Ausstattung (kein
       backdrop-filter-Blur, keine doppelte Hell/Dunkel-Randkante) — bei
       einer großen, satten Kartenfläche wirkt das schnell wie ein dicker
       Rahmen. Stattdessen: ein schlanker, einheitlicher Rand, sauber
       abgerundet, gleiche Formsprache wie die übrigen Fenster.
       Standardhöhe passt für die Dashboard-Seite (reisen.html); die
       Startseiten-Vorschau und die Detailseiten-Karte sind kleiner. */
    .map-container {
      height: 520px;
      overflow: hidden;
      border-radius: var(--radius);
      border: 1px solid var(--glass-border-light);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
      transition: filter 0.3s ease;
    }

    .map-container--preview { height: 420px; }
    .map-container--detail { height: 340px; }

    /* Leaflet nutzt intern CSS-Transforms (translate3d) fürs Kacheln-
       Pannen/Zoomen — dadurch läuft die Karte in einer eigenen GPU-
       Compositing-Ebene, die "backdrop-filter" auf dem Modal-Overlay in
       vielen Browsern NICHT mitblurrt (bekannte Einschränkung, kein Bug
       in unserem CSS). Fix: Statt uns auf backdrop-filter zu verlassen,
       bekommt die Karte selbst einen direkten filter:blur(), sobald das
       "Neue Reise"-Modal offen ist (siehe initAddTripUi()/openTripModal()
       im Skript weiter unten). */
    .map-container--blurred {
      filter: blur(14px);
    }

    #leaflet-map,
    .leaflet-container {
      width: 100%;
      height: 100%;
      background: var(--map-ocean);
      border-radius: var(--radius);
    }

    /* Leaflet Popup im Glass-Look */
    .leaflet-popup-content-wrapper {
      background: rgba(15, 15, 20, 0.85) !important;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      color: var(--text-primary) !important;
      border: 1px solid var(--glass-border-light);
      border-radius: 14px !important;
    }

    .leaflet-popup-tip {
      background: rgba(15, 15, 20, 0.85) !important;
    }

    .leaflet-popup-content b { color: var(--accent-cyan); }

    .map-popup__title { font-weight: 700; margin-bottom: 4px; }
    .map-popup__meta { font-size: 0.78rem; color: var(--text-secondary); }

    /* Liquid-Glass-Pinnadel (SVG divIcon): schlanke Tropfenform mit
       diagonalem Glas-Glanz, facettiertem Kern (Ring + Radial-Glanz) und
       farbigem Glow — Farbe kommt pro Marker über die CSS-Variable
       --glow-color aus dem JS-Aufruf. Nur der Startort einer Reise
       bekommt diese große Pinnadel, weitere Stopps die kleine
       .glass-waypoint (siehe unten). */
    .glass-pin-wrap {
      filter: drop-shadow(0 0 8px var(--glow-color)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
      animation: pin-float 2.6s ease-in-out infinite;
      transform-origin: bottom center;
    }

    @keyframes pin-float {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-3px); }
    }

    .glass-pin-wrap--draft {
      animation: pin-float 1s ease-in-out infinite;
    }

    /* Kleine Wegpunkt-Pinnadel für weitere Stopps einer Mehr-Orte-Reise
       (alles außer dem Startort) — ruhiger Punkt statt Tropfen, damit der
       Startort visuell klar hervorsticht. */
    .glass-waypoint {
      filter: drop-shadow(0 0 5px var(--glow-color)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }

    /* Länder-Grenzen (GeoJSON): besuchte Länder leuchten, der Rest bleibt
       nahezu unsichtbar und stört die Basiskarte nicht. */
    /* Weicher Glow statt scharfer Polygon-Kante: blur() rundet die
       eigentlich eckige Landesgrenze zu einem "leuchtenden" Umriss ab. */
    .country-visited {
      animation: country-pulse 3.2s ease-in-out infinite;
    }

    @keyframes country-pulse {
      0%, 100% {
        filter: blur(2.5px)
                drop-shadow(0 0 6px rgba(var(--accent-cyan-rgb), 0.6))
                drop-shadow(0 0 16px rgba(var(--accent-cyan-rgb), 0.35));
      }
      50% {
        filter: blur(3.5px)
                drop-shadow(0 0 14px rgba(var(--accent-cyan-rgb), 1))
                drop-shadow(0 0 30px rgba(var(--accent-cyan-rgb), 0.6));
      }
    }

    /* ---------------------------------------------------------- */
    /* "Neue Reise"-Button, Platzierungs-Hinweis & Formular-Modal   */
    /* ---------------------------------------------------------- */
    .section-header--row {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      text-align: left;
      flex-wrap: wrap;
    }

    .section-header--row .section-header-text { text-align: left; }

    .btn-primary,
    .btn-ghost {
      display: inline-block;
      font: inherit;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      border-radius: 12px;
      padding: 11px 20px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap;
    }

    .btn-primary {
      background: rgba(var(--accent-cyan-rgb), 0.12);
      border: 1px solid var(--accent-cyan);
      color: var(--accent-cyan);
    }

    .btn-primary:hover {
      background: rgba(var(--accent-cyan-rgb), 0.2);
      box-shadow: 0 0 18px rgba(var(--accent-cyan-rgb), 0.45), 0 0 36px rgba(var(--accent-cyan-rgb), 0.15);
      transform: translateY(-2px);
    }

    .btn-ghost {
      background: transparent;
      border: 1px solid var(--glass-border-light);
      color: var(--text-secondary);
    }

    .btn-ghost:hover {
      color: var(--text-primary);
      border-color: var(--text-secondary);
    }

    /* Für destruktive Aktionen (z.B. "Reise löschen" bestätigen) — gleiche
       Form wie .btn-primary, nur in Warnrot statt Cyan. */
    .btn-danger {
      display: inline-block;
      font: inherit;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      border-radius: 12px;
      padding: 11px 20px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap;
      background: rgba(251, 113, 133, 0.12);
      border: 1px solid #fb7185;
      color: #fb7185;
    }

    .btn-danger:hover {
      background: rgba(251, 113, 133, 0.2);
      box-shadow: 0 0 18px rgba(251, 113, 133, 0.45), 0 0 36px rgba(251, 113, 133, 0.15);
      transform: translateY(-2px);
    }

    .btn-danger:disabled {
      opacity: 0.6;
      cursor: default;
      transform: none;
      box-shadow: none;
    }

    /* Kleiner "Löschen"-Button auf der Reise-Detailseite — dezent, bis er
       gehovert wird (dann klar erkennbar als destruktive Aktion). */
    .trip-detail__delete {
      flex-shrink: 0;
    }

    .trip-detail__delete:hover {
      color: #fb7185;
      border-color: #fb7185;
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(9, 9, 11, 0.68);
      /* -webkit-Präfix nicht vergessen: ohne ihn bleibt der Blur auf
         manchen (v.a. WebKit-basierten) Browsern komplett wirkungslos —
         das war der eigentliche Bug, durch den die Karte im Hintergrund
         unscharf-los "durchschien". */
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .modal-card {
      width: 100%;
      max-width: 480px;
      max-height: 88vh;
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow: hidden;
    }

    /* Nur die Felder scrollen — Titel und Speichern/Abbrechen-Buttons
       bleiben immer sichtbar, egal wie lang das Formular ist. */
    .modal-fields {
      display: flex;
      flex-direction: column;
      gap: 16px;
      overflow-y: auto;
      min-height: 0;
      padding-right: 4px;
    }

    .modal-card:hover {
      transform: none;
    }

    .modal-card h3 {
      font-size: 1.3rem;
      margin-bottom: 4px;
    }

    .modal-card label {
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 0.82rem;
      color: var(--text-secondary);
    }

    .modal-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .modal-card input,
    .modal-card select,
    .modal-card textarea {
      font: inherit;
      font-size: 0.9rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border-light);
      border-radius: 10px;
      padding: 10px 12px;
      color: var(--text-primary);
      resize: vertical;
    }

    .modal-card input:focus,
    .modal-card select:focus,
    .modal-card textarea:focus {
      outline: none;
      border-color: var(--accent-cyan);
      box-shadow: 0 0 0 3px rgba(var(--accent-cyan-rgb), 0.18);
    }

    .modal-card input::placeholder,
    .modal-card textarea::placeholder {
      color: rgba(148, 163, 184, 0.55);
    }

    .modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--glass-border-light);
      flex-shrink: 0;
    }

    .modal-error {
      font-size: 0.82rem;
      color: #fb7185;
    }

    .modal-hint {
      font-size: 0.76rem;
      color: var(--text-secondary);
    }

    /* Ort-Suche (Nominatim-Autocomplete) */
    .place-field {
      position: relative;
    }

    .place-results {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      z-index: 10;
      max-height: 220px;
      overflow-y: auto;
      background: rgba(15, 15, 20, 0.96);
      border: 1px solid var(--glass-border-light);
      border-radius: 12px;
      box-shadow: var(--glass-shadow);
    }

    .place-result {
      padding: 10px 14px;
      font-size: 0.85rem;
      color: var(--text-primary);
      cursor: pointer;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .place-result:last-child { border-bottom: none; }

    .place-result:hover {
      background: rgba(var(--accent-cyan-rgb), 0.1);
      color: var(--accent-cyan);
    }

    .place-result small {
      display: block;
      color: var(--text-secondary);
      font-size: 0.72rem;
      margin-top: 2px;
    }

    /* Mehrere Orte pro Reise: Startort (große Pinnadel) + beliebig viele
       Wegpunkte (kleine Pinnadeln), per "+"-Button hinzugefügt und optisch
       über gestrichelte Verbindungslinien-Punkte im Formular angedeutet —
       spiegelt die gestrichelte Route auf der Karte. */
    .destinations-field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .destinations-field__label {
      font-size: 0.82rem;
      color: var(--text-secondary);
    }

    .destination-rows {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .destination-row {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .destination-row .place-field {
      flex: 1;
      min-width: 0;
    }

    .destination-row__dot {
      position: relative;
      flex-shrink: 0;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 6px rgba(var(--accent-cyan-rgb), 0.7);
    }

    .destination-row__dot--stop {
      width: 6px;
      height: 6px;
      margin-left: 2px;
      background: rgba(var(--accent-cyan-rgb), 0.85);
    }

    /* Gestrichelter Verbinder zwischen zwei Orts-Zeilen — visuelles Echo
       der gestrichelten Route auf der Karte. */
    .destination-row:not(:first-child) .destination-row__dot::before {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 100%;
      width: 0;
      height: 20px;
      border-left: 2px dashed rgba(var(--accent-cyan-rgb), 0.45);
      transform: translateX(-50%);
    }

    .destination-row__remove {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border-light);
      color: var(--text-secondary);
      font-size: 1rem;
      line-height: 1;
      cursor: pointer;
    }

    .destination-row__remove:hover {
      color: #fb7185;
      border-color: #fb7185;
    }

    .btn-add-destination {
      align-self: flex-start;
      background: rgba(var(--accent-cyan-rgb), 0.08);
      border: 1px dashed var(--glass-border-light);
      border-radius: 10px;
      padding: 8px 14px;
      font-size: 0.82rem;
      font-family: inherit;
      color: var(--accent-cyan);
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s;
    }

    .btn-add-destination:hover {
      background: rgba(var(--accent-cyan-rgb), 0.14);
      border-color: var(--accent-cyan);
    }

    /* Breitere Modal-Variante fürs Profil-Formular (Lebenslauf hat deutlich
       mehr Felder als Titel/Datum/Ort einer Reise). */
    .modal-card--wide {
      max-width: 720px;
    }

    /* Wiederverwendbare Formular-Zeile mit "×"-Entfernen-Button — Basis für
       Werdegang-/Schul-Stationen, Sprachen/IT-Tags und Freizeit-Einträge im
       Profil-Formular (ähnliches Muster wie .destination-row, nur mit
       beliebigen Feldern statt nur einem Ort-Input). */
    .edit-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 0;
      border-bottom: 1px solid var(--glass-border-light);
    }

    .edit-row:last-child {
      border-bottom: none;
    }

    .edit-row__fields {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .edit-row__fields .modal-row {
      gap: 8px;
    }

    /* ---------------------------------------------------------- */
    /* Leaflet-Steuerelemente im Glass-Look (Ebenen-Umschalter,     */
    /* Zoom-Buttons, Attribution)                                    */
    /* ---------------------------------------------------------- */
    .leaflet-control-layers {
      background: rgba(15, 15, 20, 0.92) !important;
      color: var(--text-primary) !important;
      border: 1px solid var(--glass-border-light) !important;
      border-radius: 12px !important;
      box-shadow: var(--glass-shadow);
    }

    .leaflet-control-layers-toggle {
      filter: invert(1) brightness(1.7);
    }

    .leaflet-control-layers-expanded {
      padding: 10px 14px;
    }

    .leaflet-control-layers label {
      font-size: 0.85rem;
      margin-bottom: 6px;
    }

    .leaflet-control-layers-separator {
      border-top: 1px solid var(--glass-border-light);
    }

    .leaflet-bar a {
      background: rgba(15, 15, 20, 0.9) !important;
      color: var(--text-primary) !important;
      border-bottom: 1px solid var(--glass-border-light) !important;
    }

    .leaflet-bar a:hover {
      background: rgba(var(--accent-cyan-rgb), 0.15) !important;
      color: var(--accent-cyan) !important;
    }

    .leaflet-bar {
      border: 1px solid var(--glass-border-light) !important;
    }

    .leaflet-control-attribution {
      background: rgba(15, 15, 20, 0.75) !important;
      color: var(--text-secondary) !important;
    }

    .leaflet-control-attribution a { color: var(--accent-cyan) !important; }



    /* ---------------------------------------------------------- */
    /* Freizeit & Ausgleich                                          */
    /* ---------------------------------------------------------- */
    .freizeit-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 24px;
    }

    .freizeit-card {
      padding: 28px;
      text-align: center;
    }

    .freizeit-card__icon {
      font-size: 2rem;
      margin-bottom: 14px;
    }

    .freizeit-card__title {
      font-weight: 600;
      margin-bottom: 8px;
    }

    .freizeit-card__list {
      font-size: 0.82rem;
      color: var(--text-secondary);
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: center;
    }

    .freizeit-card__list span {
      padding: 4px 10px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border-light);
    }

    /* Klickbare Freizeit-Kachel (aktuell nur "Gym-Training" -> sport.html) */
    .freizeit-card--link {
      display: block;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
      border-radius: var(--radius);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .freizeit-card--link:hover {
      transform: translateY(-4px);
      box-shadow: 0 0 18px rgba(var(--accent-cyan-rgb), 0.25);
      border: 1px solid var(--accent-cyan);
    }

    .freizeit-card__hint {
      margin-top: 10px;
      font-size: 0.74rem;
      color: var(--accent-cyan);
    }

    /* ---------------------------------------------------------- */
    /* System Status (Pi 5 Live Dashboard)                          */
    /* ---------------------------------------------------------- */
    .status-panel {
      padding: 28px 32px;
      display: flex;
      flex-wrap: wrap;
      gap: 28px;
      align-items: center;
      justify-content: space-between;
    }

    .status-panel__title {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.95rem;
      color: var(--text-secondary);
    }

    .status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #4ade80;
      box-shadow: 0 0 10px #4ade80;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50%      { opacity: 0.4; }
    }

    .status-metrics {
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
    }

    .status-metric {
      text-align: center;
      min-width: 90px;
    }

    .status-metric__value {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--accent-cyan);
    }

    .status-metric__label {
      font-size: 0.72rem;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      margin-top: 4px;
    }


    /* ---------------------------------------------------------- */
    /* Footer                                                        */
    /* ---------------------------------------------------------- */
    .footer {
      padding: 48px 6vw 32px;
      text-align: center;
      color: var(--text-secondary);
      font-size: 0.82rem;
      border-top: 1px solid var(--glass-border-light);
    }

    .footer a { color: var(--accent-cyan); }

    /* ---------------------------------------------------------- */
    /* Responsive                                                    */
    /* ---------------------------------------------------------- */
    @media (max-width: 860px) {
      .map-container { height: 420px; }
      .trip-detail__grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 720px) {
      .section { padding: 90px 6vw; }

      .navbar__links {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: var(--surface-overlay-strong);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        padding: 12px 6vw 24px;
        transform: translateY(-110%);
        transition: transform 0.35s ease;
      }

      .navbar__links.is-open {
        transform: translateY(0);
      }

      .navbar__links a {
        padding: 14px 0;
        border-bottom: 1px solid var(--glass-border-light);
        width: 100%;
      }

      .navbar__toggle { display: flex; }

      .status-panel { flex-direction: column; align-items: flex-start; }

      .section-header--row { flex-direction: column; align-items: flex-start; }
      .modal-row { grid-template-columns: 1fr; }
    }

    /* ---------------------------------------------------------- */
    /* Zeitleiste (Reisen chronologisch, horizontal scrollbar)      */
    /* ---------------------------------------------------------- */
    .timeline {
      padding: 22px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .timeline-nav__btn {
      flex-shrink: 0;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border-light);
      color: var(--text-primary);
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .timeline-nav__btn:hover {
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
    }

    .timeline-scroll {
      flex: 1;
      min-width: 0;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      scroll-behavior: smooth;
    }

    .timeline-scroll::-webkit-scrollbar { height: 6px; }
    .timeline-scroll::-webkit-scrollbar-thumb { background: var(--glass-border-light); border-radius: 4px; }

    .timeline-track {
      position: relative;
      display: flex;
      min-width: max-content;
      padding: 10px 12px;
    }

    .timeline-track::before {
      content: "";
      position: absolute;
      left: 12px;
      right: 12px;
      top: 21px;
      height: 2px;
      background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
      opacity: 0.3;
    }

    .timeline-item {
      flex: 0 0 auto;
      width: 168px;
      padding: 0 14px;
      text-align: center;
      cursor: pointer;
    }

    .timeline-item__dot {
      position: relative;
      width: 12px;
      height: 12px;
      margin: 0 auto 12px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.8);
      transition: transform 0.25s ease;
    }

    .timeline-item--geplant .timeline-item__dot {
      background: var(--accent-purple);
      box-shadow: 0 0 10px rgba(var(--accent-purple-rgb), 0.8);
    }

    .timeline-item--wohnen .timeline-item__dot {
      background: #4ade80;
      box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
    }

    .timeline-item:hover .timeline-item__dot {
      transform: scale(1.3);
    }

    .timeline-item__date {
      font-size: 0.7rem;
      color: var(--text-secondary);
      margin-bottom: 4px;
      white-space: nowrap;
    }

    .timeline-item__title {
      font-size: 0.85rem;
      font-weight: 600;
      transition: color 0.2s ease;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .timeline-item:hover .timeline-item__title {
      color: var(--accent-cyan);
    }

    /* ---------------------------------------------------------- */
    /* Reise-Kacheln (Übersicht aller Reisen als Grid)               */
    /* ---------------------------------------------------------- */
    .trip-tiles {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 20px;
    }

    .trip-tile {
      padding: 22px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      cursor: pointer;
    }

    .trip-tile__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
    }

    .trip-tile__title {
      font-weight: 700;
      font-size: 1.02rem;
      line-height: 1.3;
    }

    .trip-tile__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .trip-tile__chip {
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--glass-border-light);
      font-size: 0.72rem;
      color: var(--text-secondary);
      white-space: nowrap;
    }

    .trip-tile__route {
      font-size: 0.78rem;
      color: var(--accent-cyan);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .trip-tile__notes {
      font-size: 0.82rem;
      color: var(--text-secondary);
      line-height: 1.5;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .trip-tile--placeholder {
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text-secondary);
      cursor: default;
      min-height: 140px;
    }

    .trip-tile--placeholder .trip-tile__title {
      font-size: 1.4rem;
      margin-bottom: 4px;
    }

    /* ---------------------------------------------------------- */
    /* Reise-Detailseite (reise-detail.html) — eine Vorlage für     */
    /* alle Reisen.                                                  */
    /* ---------------------------------------------------------- */
    .trip-detail__header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .trip-detail__title {
      font-size: clamp(1.6rem, 3.5vw, 2.4rem);
      font-weight: 700;
      letter-spacing: -0.01em;
      margin: 10px 0 12px;
    }

    .trip-detail__grid {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 24px;
      align-items: stretch;
      margin-bottom: 32px;
    }

    .trip-detail__info {
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .trip-detail__field {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .trip-detail__field-label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-secondary);
    }

    .trip-detail__field-value {
      font-size: 0.95rem;
    }

    .trip-detail__extra {
      margin-top: 8px;
    }

    .trip-detail__empty {
      text-align: center;
      padding: 80px 20px;
      color: var(--text-secondary);
    }

    /* ---------------------------------------------------------- */
    /* Person-Seite (person.html) — Info-Kacheln (Freizeit,        */
    /* Lebenslauf, ...)                                              */
    /* ---------------------------------------------------------- */
    .info-tiles {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
      align-items: start;
    }

    .info-tile {
      padding: 32px;
    }

    /* Nimmt die volle Zeilenbreite ein — für Kacheln mit viel Inhalt
       (z.B. den Lebenslauf) statt sie in eine schmale Spalte zu quetschen. */
    .info-tile--wide {
      grid-column: 1 / -1;
    }

    .info-tile__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .info-tile__title {
      font-size: 1.15rem;
      font-weight: 700;
    }

    /* Lebenslauf: Abschnitte (Persönliche Daten, Werdegang, ...) mit
       eigener Überschrift + vertikaler Zeitleiste pro Eintrag. */
    .cv-section {
      margin-top: 28px;
    }

    .cv-section:first-child {
      margin-top: 0;
    }

    .cv-section__title {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--accent-cyan);
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--glass-border-light);
    }

    .cv-fact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
    }

    .cv-timeline {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .cv-entry {
      position: relative;
      padding-left: 20px;
      border-left: 2px solid rgba(var(--accent-cyan-rgb), 0.3);
    }

    .cv-entry::before {
      content: "";
      position: absolute;
      left: -5px;
      top: 4px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 6px rgba(var(--accent-cyan-rgb), 0.7);
    }

    .cv-entry__period {
      font-size: 0.72rem;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
    }

    .cv-entry__title {
      font-weight: 700;
      font-size: 0.95rem;
    }

    .cv-entry__org {
      font-size: 0.82rem;
      color: var(--accent-purple);
      margin: 2px 0 6px;
    }

    .cv-entry__desc {
      font-size: 0.85rem;
      color: var(--text-secondary);
      line-height: 1.55;
    }

    .cv-knowledge-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 24px;
    }

    .cv-knowledge__label {
      font-size: 0.8rem;
      color: var(--text-secondary);
      margin-bottom: 10px;
    }

    @media (max-width: 640px) {
      .info-tile--wide { grid-column: auto; }
    }

    /* ============================================================ */
    /* AUTH — Login-Button in der Navbar + Login/Passwort-Modals      */
    /* (Markup wird von /assets/auth.js zur Laufzeit eingehängt,      */
    /* gilt für alle Seiten: index/reisen/reise-detail/person)         */
    /* ============================================================ */
    .navbar__auth {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Elemente, die nur eingeloggt bedienbar sein sollen (Reise anlegen,
       Profil bearbeiten, Reise löschen). Eigene Regel statt uns auf das
       [hidden]-Attribut allein zu verlassen: .btn-primary/.btn-ghost setzen
       bereits "display", was die UA-Default-Regel für [hidden] sonst
       überstimmen würde. */
    .auth-only[hidden] {
      display: none !important;
    }

    .auth-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 6vw;
      z-index: 150;
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 8px;
      min-width: 200px;
    }

    .auth-menu button {
      font: inherit;
      font-size: 0.85rem;
      text-align: left;
      background: transparent;
      border: none;
      color: var(--text-secondary);
      padding: 9px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .auth-menu button:hover {
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-primary);
    }

    /* 👁-Button zum Ein-/Ausblenden des Passwort-Klartexts in den
       Login-/Passwort-ändern-Feldern. */
    .password-field {
      position: relative;
    }

    .password-field input {
      width: 100%;
      padding-right: 42px !important;
    }

    .password-toggle {
      position: absolute;
      top: 50%;
      right: 4px;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
      padding: 6px;
      color: var(--text-secondary);
      border-radius: 6px;
    }

    .password-toggle:hover {
      color: var(--text-primary);
    }

    @media (max-width: 720px) {
      .navbar__auth { font-size: 0.8rem; padding: 8px 12px; }
      .auth-menu { right: 6vw; left: 6vw; min-width: 0; }
    }

    /* ============================================================ */
    /* SPORT — Kalender, Kategorie-Kacheln, Trainingsplan             */
    /* ============================================================ */
    .sport-calendar {
      padding: 28px;
      margin-top: 24px;
    }

    .sport-calendar__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px;
    }

    .sport-calendar__header h3 {
      font-size: 1.05rem;
      font-weight: 700;
      text-transform: capitalize;
    }

    .sport-calendar__weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      font-size: 0.72rem;
      color: var(--text-secondary);
      text-align: center;
      margin-bottom: 8px;
    }

    .sport-calendar__grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
    }

    .cal-day {
      aspect-ratio: 1;
      border-radius: 10px;
      border: 1px solid var(--glass-border-light);
      background: rgba(255, 255, 255, 0.02);
      color: var(--text-primary);
      font: inherit;
      font-size: 0.82rem;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .cal-day:hover {
      border-color: var(--accent-cyan);
      transform: translateY(-2px);
    }

    .cal-day--outside {
      opacity: 0.32;
    }

    .cal-day--today {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 0 1px var(--accent-cyan) inset;
    }

    .cal-day__icons {
      font-size: 0.68rem;
      line-height: 1;
    }

    .sport-tiles {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 16px;
      margin-top: 24px;
    }

    .sport-tile {
      align-items: center;
      text-align: center;
      gap: 8px;
    }

    .sport-tile__icon {
      font-size: 1.8rem;
    }

    .sport-tile__label {
      font-weight: 700;
    }

    .sport-tile__count {
      font-size: 0.76rem;
      color: var(--text-secondary);
    }

    .sport-tile--active {
      border-color: var(--accent-cyan) !important;
      box-shadow: 0 0 18px rgba(var(--accent-cyan-rgb), 0.3);
    }

    .sport-plan {
      padding: 28px;
      margin-top: 24px;
    }

    .sport-exercise-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 16px;
    }

    .sport-exercise {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--glass-border-light);
      flex-wrap: wrap;
    }

    .sport-exercise__name {
      font-weight: 600;
      margin-right: 10px;
    }

    .sport-exercise__meta {
      font-size: 0.8rem;
      color: var(--text-secondary);
    }

    .sport-exercise__weight {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 600;
      color: var(--accent-cyan);
      white-space: nowrap;
    }

    .sport-exercise__plus {
      padding: 6px 12px;
      font-size: 0.76rem;
    }

    .sport-exercise__empty {
      color: var(--text-secondary);
      font-size: 0.85rem;
    }

    .day-modal-entry {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--glass-border-light);
      margin-bottom: 8px;
      font-size: 0.85rem;
    }

    @media (max-width: 640px) {
      .sport-calendar { padding: 20px; }
      .cal-day { font-size: 0.72rem; }
    }
