/* ══════════════════════════════════════════════════════
       CSS CUSTOM PROPERTIES (Design-Tokens)
       Alle Farben, Abstände und Typografie zentral definiert.
       Änderungen hier wirken sich auf die gesamte Seite aus.
    ══════════════════════════════════════════════════════ */
    :root {
      /* Farben */
      --white:      #ffffff;
      --off-white:  #f7f7f5;       /* Hintergrund Sektionen */
      --ink:        #111110;       /* Haupttextfarbe */
      --ink-light:  #6b6b65;       /* Sekundärtext / Labels */
      --ink-faint:  #c8c8c2;       /* Trennlinien, Borders */
      --accent:     #2b5ce6;       /* Blau – Akzentfarbe */
      --accent-bg:  #eef2fd;       /* Sehr helles Blau für Tags */

      /* Typografie */
      --font-serif: 'DM Serif Display', Georgia, serif;
      --font-sans:  'DM Sans', system-ui, sans-serif;

      /* Abstände */
      --space-xs:   0.5rem;
      --space-sm:   1rem;
      --space-md:   2rem;
      --space-lg:   4rem;
      --space-xl:   7rem;

      /* Layout */
      --max-width:  1100px;
      --radius-sm:  6px;
      --radius-md:  12px;
    }

    /* ══════════════════════════════════════════════════════
       RESET & BASE
       Konsistente Darstellung über alle Browser.
    ══════════════════════════════════════════════════════ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;          /* Sanftes Scrollen bei Anker-Links */
      -webkit-text-size-adjust: 100%;   /* Verhindert Auto-Zoom auf iOS */
    }

    body {
      background-color: var(--white);
      color: var(--ink);
      font-family: var(--font-sans);
      font-size: 18px;        /* bumped from 16px for better desktop readability */
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    /* ══════════════════════════════════════════════════════
       UTILITY KLASSEN
    ══════════════════════════════════════════════════════ */

    /* Seitenbreite zentrieren */
    .container {
      max-width: var(--max-width);
      margin-inline: auto;
      padding-inline: var(--space-md);
    }

    /* Dezente Trennlinie zwischen Sektionen */
    .divider {
      border: none;
      border-top: 1px solid var(--ink-faint);
      margin: 0;
    }

    /* Oberer Label-Text über Sektionsüberschriften */
    .section-label {
      font-size: 0.8rem;        /* was 0.7rem */
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--ink-light);
      margin-bottom: var(--space-xs);
    }

    /* Sektionsüberschrift H2 */
    h2 {
      font-family: var(--font-serif),serif;
      font-size: clamp(2.1rem, 4vw, 3rem);   /* was clamp(1.9rem, 4vw, 2.6rem) */
      font-weight: 400;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: var(--space-md);
    }

    /* Scroll-Reveal: Elemente starten unsichtbar, JS fügt .visible hinzu */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    /* Klasse .visible wird per JS (IntersectionObserver) gesetzt */
    /*noinspection CssUnusedSymbol*/
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ══════════════════════════════════════════════════════
       NAVIGATION
       Fixiert am oberen Rand, mit Blur-Effekt beim Scrollen.
       Klasse .scrolled wird per JS gesetzt.
    ══════════════════════════════════════════════════════ */
    #nav {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 100;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s;
    }

    /* Rahmen sichtbar sobald gescrollt – Klasse wird per JS gesetzt */
    /*noinspection CssUnusedSymbol*/
    #nav.scrolled {
      border-color: var(--ink-faint);
    }

    .nav-inner {
      max-width: var(--max-width);
      margin-inline: auto;
      padding: 1.1rem var(--space-md);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    /* Logo / Name links in der Nav */
    .nav-logo {
      font-family: var(--font-serif),serif;
      font-size: 1.1rem;
      color: var(--ink);
      letter-spacing: -0.01em;
    }

    /* Desktop-Links rechts */
    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--ink-light);
      transition: color 0.2s;
      position: relative;
    }
    .nav-links a:hover {
      color: var(--ink);
    }

    /* Active nav link – highlighted while user is in that section.
       Class .active is toggled by IntersectionObserver in JS. */
    /*noinspection CssUnusedSymbol*/
    .nav-links a.active {
      color: var(--accent);
    }
    /* Small dot indicator below the active link */
    /*noinspection CssUnusedSymbol*/
    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
    }

    /* ══════════════════════════════════════════════════════
       NEXT-SECTION SCROLL BUTTON
       A small round arrow pinned to the bottom-right of
       every section. Clicking scrolls to the next section.
       Sections need position:relative (added via .section-wrap).
    ══════════════════════════════════════════════════════ */
    .section-wrap {
      position: relative;  /* anchor for absolute .next-btn */
    }

    .next-btn {
      position: absolute;
      bottom: 1.5rem;
      right: 1.5rem;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--white);
      border: 1px solid var(--ink-faint);
      color: var(--ink-light);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
      text-decoration: none;
      transition: border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
      z-index: 10;
    }
    .next-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(43,92,230,0.12);
    }
    /* Slightly different background on tinted sections */
    .section--alt .next-btn {
      background: var(--off-white);
    }

    /* Hamburger-Button – nur sichtbar auf Mobile */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      transition: opacity 0.2s;
    }

    /* ══════════════════════════════════════════════════════
       HERO-SEKTION
       Grosser Einstiegsbereich mit Name, Berufswunsch & CTA.
    ══════════════════════════════════════════════════════ */
    #hero {
      min-height: 100svh;           /* svh = safe viewport height (iOS-fix) */
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: var(--space-xl) var(--space-md) var(--space-lg);
      border-bottom: 1px solid var(--ink-faint);
      /* Feines diagonales Linienmuster als Hintergrundtextur */
      background-image: repeating-linear-gradient(
              135deg,
              transparent,
              transparent 40px,
              rgba(0,0,0,0.018) 40px,
              rgba(0,0,0,0.018) 41px
      );
    }

    .hero-content {
      max-width: var(--max-width);
      margin-inline: auto;
      width: 100%;
      /* Two columns: text left, photo right */
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 3rem;
      align-items: center;
    }

    /* Left column: all text content */
    .hero-text { /* no extra styles needed, grid child */ }

    /* Right column: photo container */
    .hero-photo {
      position: relative;
    }

    /* The portrait image itself.
       object-fit: cover keeps the face centred
       regardless of the image's original dimensions. */
    .hero-photo img {
      width: 100%;
      height: auto;              /* overrides the HTML height attr (presentation hint) so aspect-ratio governs the box */
      aspect-ratio: 3 / 4;       /* portrait proportion */
      object-fit: cover;
      object-position: center top; /* favour the face */
      border-radius: var(--radius-md);
      border: 1px solid var(--ink-faint);
      display: block;
    }

    /* Subtle decorative frame offset behind the photo */
    .hero-photo::before {
      content: '';
      position: absolute;
      inset: 10px -10px -10px 10px;
      border: 1px solid var(--ink-faint);
      border-radius: var(--radius-md);
      z-index: -1;
    }

    /* Kleines Badge oben */
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      border: 1px solid var(--ink-faint);
      border-radius: 100px;
      padding: 5px 14px 5px 10px;
      font-size: 0.78rem;
      color: var(--ink-light);
      margin-bottom: 1.75rem;
      animation: fadeUp 0.5s ease both;
    }

    /* Pulsierender grüner Punkt im Badge */
    .hero-badge-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #22c55e;
      animation: pulse 2.2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(0.85); }
    }

    /* Hauptüberschrift */
    .hero-title {
      font-family: var(--font-serif),serif;
      font-size: clamp(3rem, 9vw, 6.5rem);
      line-height: 1.0;
      letter-spacing: -0.03em;
      font-weight: 400;
      animation: fadeUp 0.5s 0.08s ease both;
    }

    /* Kursiver, farbiger Unterteil des Titels */
    .hero-title em {
      font-style: italic;
      color: var(--accent);
    }

    /* Beschreibungstext unter dem Titel */
    .hero-desc {
      margin-top: 1.5rem;
      max-width: 520px;
      color: var(--ink-light);
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.7;
      animation: fadeUp 0.5s 0.16s ease both;
    }

    /* Aktions-Buttons */
    .hero-actions {
      margin-top: 2.25rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      animation: fadeUp 0.5s 0.24s ease both;
    }

    /* Primärer Button (gefüllt) */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0.7rem 1.4rem;
      border-radius: 100px;
      font-family: var(--font-sans);
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid transparent;
      transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
      text-decoration: none;
    }

    .btn-primary {
      background: var(--ink);
      color: var(--white);
      border-color: var(--ink);
    }
    .btn-primary:hover {
      background: #333;
    }

    /* Sekundärer Button (umrandet) */
    .btn-outline {
      background: transparent;
      color: var(--ink);
      border-color: var(--ink-faint);
    }
    .btn-outline:hover {
      border-color: var(--ink-light);
    }

    /* Einblend-Animation von unten */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ══════════════════════════════════════════════════════
       ALLGEMEINE SEKTION
    ══════════════════════════════════════════════════════ */
    .section {
      padding: var(--space-lg) var(--space-md);
    }

    /* Hellgrauer Hintergrund für alternierte Sektionen */
    .section--alt {
      background: var(--off-white);
    }

    /* ══════════════════════════════════════════════════════
       ABOUT-SEKTION
       Zweispaltig: Beschreibung links, Stärken-Grid rechts.
    ══════════════════════════════════════════════════════ */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: start;
    }

    .about-text p {
      color: var(--ink-light);
      font-size: 0.95rem;
      line-height: 1.75;
      margin-bottom: 1rem;
    }

    /* Karten für Stärken */
    .strength-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .strength-item {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
      padding: 1rem 1.1rem;
      border: 1px solid var(--ink-faint);
      border-radius: var(--radius-md);
      background: var(--white);
      transition: border-color 0.2s;
    }
    .strength-item:hover {
      border-color: var(--accent);
    }

    .strength-icon {
      font-size: 1.2rem;
      line-height: 1;
      margin-top: 1px;
    }

    .strength-title {
      font-size: 0.88rem;
      font-weight: 600;
      margin-bottom: 2px;
    }
    .strength-desc {
      font-size: 0.82rem;
      color: var(--ink-light);
    }

    /* Hochzaehlende Zahlen im "Zielstrebig"-Eintrag (script.js Modul 5) */
    .strength-desc .count-up {
      font-weight: 600;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
    }

    /* ══════════════════════════════════════════════════════
       TIMELINE
       Vertikale Zeitleiste für Ausbildung & Erfahrung.
       ::before erzeugt die senkrechte Linie.
    ══════════════════════════════════════════════════════ */
    .timeline {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    /* Vertikale Linie */
    .timeline::before {
      content: '';
      position: absolute;
      left: 5px;         /* Mittig unter dem Punkt */
      top: 10px;
      bottom: 10px;
      width: 1px;
      background: var(--ink-faint);
    }

    .tl-item {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: 1rem;
      padding-bottom: 2.25rem;
    }

    /* Runder Punkt auf der Timeline-Linie */
    .tl-dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--ink-faint);
      margin-top: 5px;
      position: relative;
      z-index: 1;
      transition: border-color 0.2s, background 0.2s;
    }
    .tl-item:hover .tl-dot {
      border-color: var(--accent);
      background: var(--accent);
    }

    .tl-date {
      font-size: 0.75rem;
      color: var(--ink-light);
      font-weight: 500;
      margin-bottom: 0.2rem;
      letter-spacing: 0.02em;
    }

    .tl-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.2rem;
    }

    .tl-sub {
      font-size: 0.84rem;
      color: var(--ink-light);
    }

    /* ══════════════════════════════════════════════════════
       AUSBILDUNG & ERFAHRUNG (kombiniert, zweispaltig)
       Ausbildungs-Timeline links, Berufserfahrungs-Timeline rechts.
    ══════════════════════════════════════════════════════ */
    .edu-exp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: start;
    }

    .exp-col-title {
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--ink-light);
      margin-bottom: 1.5rem;
    }

    /* ══════════════════════════════════════════════════════
       BERUFSERKUNDUNGEN
       Zweispaltiges Karten-Raster mit "upcoming"-Akzent für
       geplante Schnuppertage. Liste in zwei Gruppen geteilt:
       "Bisher absolviert" und "Geplant" mit eigenen Labels.
    ══════════════════════════════════════════════════════ */

    /* Subheading vor jeder Gruppe (Absolviert / Geplant) */
    .exploration-list-label {
      font-family: var(--font-sans);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink-light);
      margin: 0.4rem 0 0.85rem;
    }
    /* "Geplant"-Label etwas mehr Abstand + feine Trennlinie für klare Sektion */
    .exploration-list-label--upcoming {
      margin-top: 2.2rem;
      padding-top: 1.2rem;
      border-top: 1px dashed var(--ink-faint);
    }

    .explorations-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.85rem;
    }

    /* Schnupper-Karten optisch hervorheben — Schnuppertage sind die wichtigsten
       Berufserkundungen (mehrtägig, praxisnah). Linker Akzent-Border subtle,
       wirkt sowohl auf absolviert als auch upcoming. */
    .exploration-card[data-type="schnupper"] {
      border-left: 3px solid var(--accent);
      padding-left: calc(1.1rem - 2px); /* total padding bleibt konstant */
    }
    .exploration-card--upcoming[data-type="schnupper"] {
      /* upcoming hat bereits accent-bg + transparent border;
         linker border bleibt accent für klare Schnupper-Kennzeichnung */
      border-left-color: var(--accent);
    }

    .exploration-card {
      display: flex;
      flex-direction: column;
      padding: 1rem 1.1rem;
      border: 1px solid var(--ink-faint);
      border-radius: var(--radius-md);
      background: var(--white);
      transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .exploration-card:hover {
      border-color: var(--accent);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(43,92,230,0.08);
    }

    /* Geplante (kommende) Erkundungen – farblich abgehoben */
    .exploration-card--upcoming {
      background: var(--accent-bg);
      border-color: transparent;
    }
    .exploration-card--upcoming .exploration-date {
      color: var(--accent);
      font-weight: 600;
    }

    .exploration-date {
      font-size: 0.75rem;
      color: var(--ink-light);
      font-weight: 500;
      margin-bottom: 0.3rem;
      letter-spacing: 0.02em;
    }

    .exploration-badge {
      display: inline-block;
      margin-left: 0.4rem;
      padding: 1px 7px;
      border-radius: 100px;
      background: var(--accent);
      color: var(--white);
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      vertical-align: middle;
    }

    .exploration-title {
      font-size: 0.92rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
      line-height: 1.35;
    }
    .exploration-title a {
      color: inherit;
      text-decoration: none;
      border-bottom: 1px dotted var(--ink-faint);
      transition: border-color 0.2s, color 0.2s;
    }
    .exploration-title a:hover {
      color: var(--accent);
      border-color: var(--accent);
    }

    .exploration-sub {
      font-size: 0.82rem;
      color: var(--ink-light);
    }

    /* ══════════════════════════════════════════════════════
       BERICHT-KARTE & MODAL
       Eine exploration-card kann als <button> ausgeführt werden
       und ein <dialog> mit ausführlichem Schnupperbericht öffnen.
    ══════════════════════════════════════════════════════ */
    /* Wrapper traegt role="listitem", soll aber Layout nicht beeinflussen:
       display:contents macht den Wrapper grid-/flex-transparent. */
    .exploration-listitem-contents {
      display: contents;
    }

    .exploration-card--report {
      /* Button-Defaults zurücksetzen, Card-Stil erben */
      font: inherit;
      text-align: left;
      cursor: pointer;
      color: inherit;
      width: 100%;
    }
    .exploration-card--report:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .exploration-report-hint {
      display: block;
      margin-top: 0.45rem;
      font-size: 0.7rem;
      color: var(--accent);
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    /* Native <dialog>-Modal */
    .report-modal {
      /* Explizite Zentrierung: UA-Default (inset:0 + margin:auto) wird hier
         wegen unserer max-height/width-Kombination nicht immer korrekt geerbt. */
      position: fixed;
      inset: 0;
      margin: auto;
      width: min(640px, 92vw);
      max-height: min(90vh, 720px);
      padding: 0;
      border: none;
      border-radius: var(--radius-md);
      background: var(--white);
      color: var(--ink);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
      overflow: hidden;
    }
    .report-modal::backdrop {
      background: rgba(17, 17, 16, 0.55);
      backdrop-filter: blur(3px);
    }
    .report-modal article {
      /* Scrollbarer Bereich. Padding-right etwas größer, damit der Inhalt
         nicht direkt an der Scrollbar klebt. */
      padding: 2.2rem 1.4rem 2rem 2rem;
      max-height: inherit;
      overflow-y: auto;
      overscroll-behavior: contain;
      /* Firefox + modernes Chromium */
      scrollbar-width: thin;
      scrollbar-color: var(--ink-faint) transparent;
      /* sanftes Scroll-Padding-top, damit Eyebrow nicht am Rand klebt */
      scroll-padding-top: 1rem;
    }
    /* WebKit/Blink-Fallback fuer aeltere Safari/Chrome */
    .report-modal article::-webkit-scrollbar {
      width: 10px;
    }
    .report-modal article::-webkit-scrollbar-track {
      background: transparent;
    }
    .report-modal article::-webkit-scrollbar-thumb {
      background: var(--ink-faint);
      border-radius: 100px;
      /* 2px transparent border laesst Thumb optisch schlanker wirken */
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    .report-modal article::-webkit-scrollbar-thumb:hover {
      background: var(--ink-light);
      background-clip: padding-box;
      border: 2px solid transparent;
    }
    .report-modal-close {
      position: absolute;
      top: 0.5rem;
      right: 0.5rem;
      width: 38px;
      height: 38px;
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 1.6rem;
      line-height: 1;
      color: var(--ink-light);
      border-radius: 50%;
      transition: background 0.18s, color 0.18s;
    }
    .report-modal-close:hover {
      background: var(--off-white);
      color: var(--ink);
    }
    .report-modal-close:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .report-modal-eyebrow {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }
    .report-modal h3 {
      font-family: var(--font-serif);
      font-size: 1.6rem;
      font-weight: 400;
      margin: 0 0 1.3rem;
      line-height: 1.2;
    }
    .report-highlights {
      list-style: none;
      padding: 0;
      margin: 0 0 1.4rem;
      display: grid;
      gap: 0.45rem;
    }
    .report-highlights li {
      position: relative;
      padding-left: 1.5rem;
      font-size: 0.95rem;
    }
    .report-highlights li::before {
      content: "✦";
      position: absolute;
      left: 0;
      top: 0.05em;
      color: var(--accent);
      font-size: 0.9rem;
    }
    .report-description {
      font-size: 0.95rem;
      line-height: 1.65;
      color: var(--ink);
      margin: 0 0 1.4rem;
    }
    .report-description a {
      color: var(--accent);
      border-bottom: 1px dotted var(--accent);
      transition: opacity 0.18s;
    }
    .report-description a:hover {
      opacity: 0.7;
    }
    .report-figure {
      margin: 0 0 1.4rem;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: var(--off-white);
    }
    .report-figure img {
      display: block;
      width: 100%;
      height: auto;
    }
    .report-modal-link {
      display: inline-block;
      font-size: 0.85rem;
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px dotted var(--accent);
      transition: opacity 0.18s;
    }
    .report-modal-link:hover {
      opacity: 0.7;
    }

    /* ══════════════════════════════════════════════════════
       PROJEKTE-SEKTION
       Zwei Karten nebeneinander mit Beschreibung, Tech-Tags
       und Links (Live-Demo + GitHub).
    ══════════════════════════════════════════════════════ */
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      align-items: stretch;
    }

    .project-card {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--ink-faint);
      border-radius: var(--radius-md);
      background: var(--white);
      overflow: hidden;
      transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    }
    .project-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: 0 14px 32px rgba(43,92,230,0.12);
    }

    /* Vorschau-Bild oben: Browser-Mockup-Look mit Hover-Zoom & Overlay */
    .project-media {
      position: relative;
      display: block;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: var(--off-white);
      border-bottom: 1px solid var(--ink-faint);
    }
    .project-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      transition: transform 0.5s ease;
    }
    .project-card:hover .project-media img {
      transform: scale(1.04);
    }
    .project-media-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(17,17,16,0.55);
      color: var(--white);
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      opacity: 0;
      transition: opacity 0.25s ease;
    }
    .project-card:hover .project-media-overlay {
      opacity: 1;
    }

    /* Inhalt unterhalb des Vorschau-Bildes */
    .project-body {
      display: flex;
      flex-direction: column;
      padding: 1.5rem;
      flex: 1;
    }

    .project-head {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.5rem;
    }

    .project-icon {
      font-size: 1.6rem;
      line-height: 1;
    }

    .project-title {
      font-family: var(--font-serif),serif;
      font-size: 1.4rem;
      line-height: 1.2;
    }

    .project-desc {
      font-size: 0.88rem;
      color: var(--ink-light);
      line-height: 1.6;
      margin-bottom: 1rem;
      flex-grow: 1;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 1.25rem;
    }

    /* Tech-Badges: farbig nach Marken-Logo, mit kleinem SVG-Icon */
    .tech-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 10px 4px 8px;
      border-radius: 100px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      border: 1px solid transparent;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .tech-badge:hover {
      transform: translateY(-1px);
    }
    .tech-badge svg {
      width: 13px;
      height: 13px;
      flex-shrink: 0;
    }
    .tech-badge--html {
      background: #fff1ea;
      color: #c2410c;
      border-color: #fcd9c4;
    }
    .tech-badge--html svg { fill: #e34f26; }
    .tech-badge--css {
      background: #e7f0ff;
      color: #1d4ed8;
      border-color: #c7dbff;
    }
    .tech-badge--css svg { fill: #1572b6; }
    .tech-badge--js {
      background: #fff8d6;
      color: #854d0e;
      border-color: #fce98a;
    }
    .tech-badge--js svg { fill: #f7df1e; stroke: #b8a700; stroke-width: 0.3; }

    .project-links {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0.5rem 1rem;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 500;
      border: 1px solid var(--ink-faint);
      color: var(--ink);
      background: var(--white);
      transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }
    .project-link:hover {
      border-color: var(--accent);
      color: var(--accent);
    }
    .project-link--primary {
      background: var(--ink);
      color: var(--white);
      border-color: var(--ink);
    }
    .project-link--primary:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--white);
    }

    /* GitHub-Profilkarte: ruhiger Abschluss unter dem Projekte-Raster */
    .github-cta {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      margin-top: 2rem;
      padding: 1.5rem 1.75rem;
      border: 1px solid var(--ink-faint);
      border-radius: var(--radius-md);
      background: var(--white);
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    .github-cta:hover {
      border-color: var(--accent);
      box-shadow: 0 14px 32px rgba(43,92,230,0.12);
    }
    .github-cta-mark {
      width: 34px;
      height: 34px;
      flex-shrink: 0;
      color: var(--ink);
    }
    .github-cta-text {
      flex: 1;
      min-width: 0;
    }
    .github-cta-title {
      font-weight: 600;
      font-size: 1rem;
      color: var(--ink);
    }
    .github-cta-desc {
      font-size: 0.85rem;
      color: var(--ink-light);
      margin-top: 0.15rem;
    }
    .github-cta-btn {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      padding: 0.55rem 1.15rem;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 500;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--white);
      transition: background 0.18s ease, border-color 0.18s ease;
    }
    .github-cta-btn:hover {
      background: var(--accent);
      border-color: var(--accent);
    }

    /* ══════════════════════════════════════════════════════
       SKILLS-SEKTION
       Drei Blöcke: Sprachen, IT-Tools, Interessen/Hobbys.
    ══════════════════════════════════════════════════════ */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
      align-items: start;
    }

    .skill-block-title {
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--ink-light);
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--ink-faint);
    }

    /* Sprach-Einträge mit Level-Balken */
    .lang-entry {
      margin-bottom: 1.1rem;
    }

    .lang-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 0.35rem;
    }

    .lang-name {
      font-size: 0.88rem;
      font-weight: 500;
    }

    .lang-level {
      font-size: 0.75rem;
      color: var(--ink-light);
    }

    /* Fortschrittsbalken für Sprachniveau */
    .lang-bar-track {
      height: 3px;
      background: var(--ink-faint);
      border-radius: 100px;
      overflow: hidden;
    }

    .lang-bar-fill {
      height: 100%;
      background: var(--ink);
      border-radius: 100px;
      /* Animation: Balken fährt beim Einblenden ein */
      transform-origin: left;
      transform: scaleX(0);
      transition: transform 0.7s ease 0.3s;
    }
    .reveal.visible .lang-bar-fill {
      transform: scaleX(1);
    }

    /* Pill-Tags für IT-Kenntnisse und Hobbys */
    .tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .tag {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 100px;
      font-size: 0.8rem;
      font-weight: 500;
      border: 1px solid var(--ink-faint);
      color: var(--ink);
      background: var(--white);
      transition: border-color 0.2s, color 0.2s;
    }
    .tag:hover {
      border-color: var(--ink-light);
    }

    /* Blauer Akzent-Tag (z.B. für Favoriten) */
    .tag--accent {
      background: var(--accent-bg);
      border-color: transparent;
      color: var(--accent);
    }

    /* Kleines Fahrausweis-Badge */
    .licence-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 1rem;
      padding: 5px 12px;
      border-radius: var(--radius-sm);
      background: var(--off-white);
      border: 1px solid var(--ink-faint);
      font-size: 0.8rem;
      color: var(--ink-light);
    }

    /* ══════════════════════════════════════════════════════
       KONTAKT-SEKTION
       Bewusst minimalistisch: nur E-Mail-Button, keine
       privaten Kontaktdaten auf der öffentlichen Seite.
    ══════════════════════════════════════════════════════ */
    #contact {
      text-align: center;
      padding: var(--space-lg) var(--space-md);
    }

    .contact-intro {
      max-width: 480px;
      margin-inline: auto;
      color: var(--ink-light);
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }

    /* Grosser E-Mail-Button */
    .btn-contact {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 0.9rem 2rem;
      border-radius: 100px;
      background: var(--accent);
      color: var(--white);
      font-family: var(--font-sans);
      font-size: 0.9rem;
      font-weight: 500;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.18s, transform 0.18s;
    }
    .btn-contact:hover {
      background: #1e4ad4;
      transform: translateY(-2px);
    }

    /* Sekundärer Aktions-Button neben dem E-Mail-Button:
       gleiche Pill-Form, aber Outline-Optik statt Akzentfarbe. */
    .btn-pdf {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 0.9rem 2rem;
      border-radius: 100px;
      background: transparent;
      color: var(--ink);
      font-family: var(--font-sans), serif;
      font-size: 0.9rem;
      font-weight: 500;
      border: 1px solid var(--ink-faint);
      cursor: pointer;
      margin-left: 0.6rem;
      transition: border-color 0.18s, color 0.18s, transform 0.18s;
    }
    .btn-pdf:hover {
      border-color: var(--ink-light);
      transform: translateY(-2px);
    }

    /* Hinweistext unter dem Button */
    .contact-note {
      margin-top: 1rem;
      font-size: 0.78rem;
      color: var(--ink-faint);
    }

    /* ══════════════════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════════════════ */
    footer {
      padding: 1.5rem var(--space-md);
      border-top: 1px solid var(--ink-faint);
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }

    /* Obere Zeile: Copyright links, GitHub-Link rechts */
    .footer-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    /* KI-Transparenz-Hinweis, mittig unter der Footer-Zeile */
    .footer-note {
      font-size: 0.72rem;
      color: var(--ink-faint);
      text-align: center;
      line-height: 1.5;
    }
    .footer-note a {
      color: var(--ink-light);
      text-decoration: underline;
      text-decoration-color: var(--ink-faint);
      text-underline-offset: 2px;
      transition: color 0.2s;
    }
    .footer-note a:hover {
      color: var(--accent);
    }

    .footer-text {
      font-size: 0.78rem;
      color: var(--ink-faint);
    }

    .footer-link {
      font-size: 0.78rem;
      color: var(--ink-light);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 0.4rem 0.85rem;
      border: 1px solid var(--ink-faint);
      border-radius: 100px;
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }
    .footer-link:hover {
      color: var(--accent);
      border-color: var(--accent);
      background: var(--accent-bg);
    }

    /* ══════════════════════════════════════════════════════
       RESPONSIVE / MOBILE
       Breakpoint: 700px
       - Navigation: Hamburger-Menü
       - Zweispaltige Grids → einspaltlg
    ══════════════════════════════════════════════════════ */
    @media (max-width: 700px) {
      /* Hamburger-Button einblenden, Desktop-Links ausblenden */
      .hamburger { display: flex; }

      .nav-links {
        display: none;                 /* Standardmässig verborgen */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--ink-faint);
        flex-direction: column;
        padding: 1.25rem var(--space-md);
        gap: 1rem;
      }

      /* Klasse .open wird per JS gesetzt beim Klick auf Hamburger */
      /*noinspection CssUnusedSymbol*/
      .nav-links.open { display: flex; }

      /* Grids auf eine Spalte reduzieren */
      .about-grid,
      .edu-exp-grid,
      .explorations-grid,
      .projects-grid,
      .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .explorations-grid { gap: 0.85rem; }

      /* GitHub-Profilkarte: vertikal stapeln, zentriert */
      .github-cta {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
      }
      .github-cta-btn { width: 100%; justify-content: center; }

      /* Hero: stack text above photo on mobile */
      .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      /* Show photo before text on mobile for visual impact */
      .hero-photo {
        order: -1;
        max-width: 240px;
        margin-inline: auto;
      }
      .hero-photo img {
        aspect-ratio: 4 / 5;
        object-position: center 20%;
      }
      .hero-photo::before { display: none; }

      body { font-size: 16px; } /* slightly smaller on mobile is fine */

      .section { padding: 3rem 1.25rem; }

      #hero { padding: 6rem 1.25rem 3rem; }
    }

    /* ══════════════════════════════════════════════════════
       DRUCK-STYLESHEET (@media print)
       Optimiert die Seite für Papier-Ausdruck oder PDF-Export.
       Lehrbetriebe drucken Bewerbungsseiten oft aus, daher:
         - Navigation, "Weiter ↓"-Buttons & Hintergrundmuster aus
         - Karten mit dünnen Rahmen statt Hover-Schatten
         - E-Mail-Adresse als Text statt nur als Button
         - Externe Links: URL in Klammern hinter Linktext
         - Animationen und Reveal-Effekte abgeschaltet
    ══════════════════════════════════════════════════════ */
    @media print {
      /* Reset: alles schwarz auf weiss, keine Schatten/Verläufe */
      *, *::before, *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
      }

      body { font-size: 11pt; line-height: 1.4; }

      /* Bildschirm-only Elemente ausblenden */
      #nav,
      .hamburger,
      .next-btn,
      .hero-badge-dot,
      .hero-actions,
      .exploration-badge,
      .exploration-report-hint,
      .report-modal-close,
      .btn-pdf,
      .github-cta,
      .contact-note {
        display: none !important;
      }

      /* Bericht-Card im Druck als normale Card darstellen */
      .exploration-card--report {
        background: var(--white);
        border: 1px solid var(--ink-faint);
      }

      /* Modal-Inhalt im Druck inline anzeigen (statt versteckt im top-layer) */
      .report-modal {
        display: block !important;
        position: static !important;
        width: 100%;
        max-width: none;
        max-height: none;
        border: 1px solid #999;
        border-radius: 4px;
        margin-top: 0.4cm;
        padding: 0;
        box-shadow: none;
        background: #fff;
        page-break-inside: avoid;
      }
      .report-modal::backdrop { display: none; }
      .report-modal article {
        padding: 0.4cm 0.5cm;
        max-height: none;
        overflow: visible;
      }
      .report-modal h3 {
        font-size: 14pt;
        margin-bottom: 0.3cm;
      }
      .report-modal-eyebrow { font-size: 8pt; color: #333; }
      .report-highlights li { font-size: 10pt; }
      .report-description { font-size: 10pt; }
      .report-figure img {
        max-height: 6cm;
        width: auto;
        margin: 0.3cm auto;
        display: block;
      }

      /* Hero kompakter, ohne Diagonalmuster */
      #hero {
        min-height: auto;
        padding: 0 0 0.6cm;
        border-bottom: 1px solid #999;
        page-break-after: avoid;
        background-image: none !important;
      }
      .hero-content {
        display: grid;
        grid-template-columns: 1fr 3.5cm;
        gap: 1cm;
      }
      /* Mobile-Regel (max-width: 700px) greift im Druck wegen schmaler
         Druckbreite mit — Foto-Override hier wieder geraderücken. */
      .hero-photo {
        max-width: 3.5cm !important;
        margin-inline: 0 !important;
        order: initial !important;
      }
      .hero-photo::before { display: none; }
      .hero-photo img {
        border: 1px solid #ccc;
        border-radius: 4px;
      }
      .hero-title { font-size: 32pt; line-height: 1.0; }
      .hero-desc  { font-size: 11pt; margin-top: 0.4cm; }

      /* Status-Badge im Druck als wichtige Info beibehalten */
      .hero-badge {
        display: inline-block !important;
        border: 1px solid #888 !important;
        padding: 0.06cm 0.3cm;
        font-size: 9pt;
        font-weight: 600;
        margin-bottom: 0.3cm;
        border-radius: 100px;
      }

      /* Sektionen: enger; Umbruchregeln auf Karten/Items statt ganze Sektion,
         damit Inhalt natürlich über Seiten fliesst statt Lücken zu lassen.
         Kontakt-Block ist klein → wieder zusammenhalten, sonst zerreisst der Button. */
      .section {
        padding: 0.5cm 0;
      }
      #contact {
        padding: 0.5cm 0;
        page-break-inside: avoid;
      }
      .tl-item {
        page-break-inside: avoid;
      }
      .section--alt { background: none !important; }

      h2 {
        font-size: 18pt;
        margin-bottom: 0.4cm;
        page-break-after: avoid;
      }
      .section-label,
      .skill-block-title,
      .exp-col-title { color: #555 !important; }

      /* Karten: dünne graue Rahmen, kein Hover-Lift */
      .strength-item,
      .exploration-card,
      .exploration-card--upcoming,
      .project-card,
      .licence-badge {
        border: 1px solid #bbb !important;
        background: none !important;
        transform: none !important;
        page-break-inside: avoid;
      }
      /* Tags & Pills: schlicht */
      .tag, .tag--accent, .tech-badge {
        border: 1px solid #999 !important;
        background: none !important;
        color: #000 !important;
      }
      .tech-badge svg { fill: #000 !important; }

      /* Projekt-Vorschau-Bilder & Overlay im Druck ausblenden */
      .project-media { display: none !important; }

      /* Sprach-Fortschrittsbalken: einfach grau gefüllt */
      .lang-bar-track {
        background: #ddd !important;
        height: 4px !important;
      }
      .lang-bar-fill {
        background: #333 !important;
        transform: scaleX(1) !important;
      }

      /* Reveal-Animationen: immer eingeblendet im Druck */
      .reveal {
        opacity: 1 !important;
        transform: none !important;
      }

      /* Kontakt-Button: keine Pille, dafür echte E-Mail-Adresse.
         inline-block + avoid verhindert ✉-Icon-Waisenkind oben auf Folgeseite. */
      .btn-contact {
        background: none !important;
        color: #000 !important;
        padding: 0;
        font-weight: 600;
        text-decoration: underline;
        display: inline-block;
        page-break-inside: avoid;
      }
      .btn-contact::after {
        content: " – jaron.sommer.ch@icloud.com";
        font-weight: 400;
      }

      /* Schnuppertag-Titel: URL als eigene, dezente Zeile darunter.
         display: inline-block + page-break-inside: avoid verhindert,
         dass der ↗-Pfeil verwaist oben auf der Folgeseite landet. */
      .exploration-title a[href^="http"] {
        display: inline-block;
        page-break-inside: avoid;
      }
      .exploration-title a[href^="http"]::after {
        content: attr(href);
        display: block;
        font-size: 8pt;
        font-weight: 400;
        color: #555 !important;
        word-break: break-all;
        margin-top: 0.05cm;
      }

      /* Projekt-Links: Pill-Optik raus, URL klein dahinter */
      .project-link {
        border: none !important;
        padding: 0 !important;
        margin: 0 0.6cm 0.15cm 0;
        display: inline-block;
        page-break-inside: avoid;
      }
      .project-link[href^="http"]::after {
        content: " " attr(href);
        font-size: 8pt;
        font-weight: 400;
        color: #555 !important;
        word-break: break-all;
      }

      /* Footer: dezent, kein Seitenumbruch davor */
      footer {
        border-top: 1px solid #ccc;
        page-break-before: avoid;
        padding-top: 0.4cm;
      }
      .footer-row { display: block; }
      .footer-text, .footer-link, .footer-note {
        font-size: 9pt;
        color: #555 !important;
      }
      /* Footer-Link im Druck ohne Pill-Rahmen (am Bildschirm ein Button) */
      .footer-link {
        border: none;
        padding: 0;
        background: none;
      }

      /* Trennlinien-Margen reduzieren */
      .divider { margin: 0; }

      /* Verhindert, dass URLs überlaufen */
      a { word-wrap: break-word; }
    }
