:root {
    /* Palette inspiriert von successfactor.ch (Theme-Color #003554) */
    --bg-0: #00131e;
    --bg-1: #001a2b;
    --bg-2: #002438;
    --bg-3: #003554;
    --surface: rgba(0, 36, 60, 0.55);
    --surface-strong: rgba(0, 46, 76, 0.75);
    --surface-soft: rgba(255, 255, 255, 0.035);
    --border: rgba(168, 220, 240, 0.09);
    --border-strong: rgba(168, 220, 240, 0.18);
    --text: #ecf2f6;
    --text-dim: #a8c1cf;
    --text-mute: #6f8696;
    --accent-deep: #003554;
    --accent-mid: #006b88;
    --accent-bright: #18a2c4;
    --accent-glow: #5cd4ea;
    --gradient-accent: linear-gradient(135deg, #003554 0%, #006b88 45%, #18a2c4 100%);
    --gradient-bright: linear-gradient(135deg, #18a2c4 0%, #5cd4ea 100%);
    --gradient-card: linear-gradient(160deg, rgba(24, 162, 196, 0.06) 0%, rgba(0, 107, 136, 0.05) 50%, rgba(0, 53, 84, 0.07) 100%);
    --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 40px rgba(24, 162, 196, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container-max: 1320px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html, body {
    height: 100%;
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Kein Element darf die Viewport-Breite ueberschreiten */
  img, svg, video, canvas, iframe, embed, object {
    max-width: 100%;
    height: auto;
  }
  pre, code { white-space: pre-wrap; word-break: break-word; }
  a, p, span, h1, h2, h3, h4, h5, h6, li { overflow-wrap: anywhere; }

  /* Hintergrund mit weichen Verlaufs-Blobs */
  .bg-stage {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(circle at 15% 10%, rgba(0, 53, 84, 0.55), transparent 45%),
      radial-gradient(circle at 85% 20%, rgba(24, 162, 196, 0.18), transparent 55%),
      radial-gradient(circle at 50% 90%, rgba(0, 107, 136, 0.22), transparent 55%),
      linear-gradient(180deg, #00131e 0%, #001a2b 50%, #00131e 100%);
  }
  .bg-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  }

  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  img { max-width: 100%; display: block; }

  /* Layout Wrapper */
  .layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr) 88px;
    gap: 28px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 32px 32px;
    min-height: 100vh;
    align-items: start;
  }

  /* Linke fixe Profilkarte */
  .profile-card {
    position: sticky;
    top: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    padding: 28px 24px 26px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }
  .profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    pointer-events: none;
    opacity: 0.7;
  }
  .profile-card > * { position: relative; }

  .profile-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1.05;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: linear-gradient(160deg, #1a1f3d 0%, #0c0f22 100%);
    margin-bottom: 22px;
    box-shadow: 0 20px 50px -20px rgba(24, 162, 196, 0.3);
  }
  .profile-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  }
  .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(1.02);
  }
  .profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    font-size: 0.85rem;
    text-align: center;
    padding: 16px;
    background:
      radial-gradient(circle at 50% 30%, rgba(0, 107, 136, 0.4), transparent 60%),
      linear-gradient(160deg, #1a1f3d 0%, #0c0f22 100%);
  }
  .profile-placeholder svg { width: 64px; height: 64px; opacity: 0.4; margin-bottom: 8px; }
  .profile-placeholder span { display: block; line-height: 1.3; }

  .profile-name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 4px;
  }
  .profile-role {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  .profile-role .accent {
    color: var(--accent-glow);
    font-weight: 600;
  }

  .social-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.25s ease;
  }
  .social-icon:hover {
    color: var(--text);
    border-color: rgba(24, 162, 196, 0.5);
    background: rgba(24, 162, 196, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(24, 162, 196, 0.5);
  }
  .social-icon svg { width: 18px; height: 18px; }

  .profile-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
  }
  .profile-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
  }
  .profile-meta-row .label {
    color: var(--text-mute);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .profile-meta-row .label svg { width: 14px; height: 14px; }
  .profile-meta-row .value {
    color: var(--text);
    font-weight: 500;
    text-align: right;
  }
  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ade80;
    font-weight: 500;
  }
  .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
    animation: pulse 2.4s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
  }

  .btn-primary {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: var(--accent-bright);
    color: #00131e;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px -10px rgba(24, 162, 196, 0.5);
  }
  .btn-primary:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(24, 162, 196, 0.65);
    filter: brightness(1.05);
  }
  .btn-primary svg { width: 16px; height: 16px; }

  /* Mittlerer Contentbereich */
  .content-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: var(--shadow-soft);
    height: calc(100vh - 64px);
    position: sticky;
    top: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .content-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 56px 56px 80px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
  }
  .content-scroll::-webkit-scrollbar { width: 8px; }
  .content-scroll::-webkit-scrollbar-track { background: transparent; }
  .content-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
  }
  .content-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

  section.block {
    padding: 80px 0 60px;
    scroll-margin-top: 24px;
  }
  section.block:first-child { padding-top: 16px; }
  section.block + section.block { border-top: 1px solid var(--border); }

  .eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
  }
  .eyebrow .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-bright);
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 0 10px var(--accent-bright);
  }

  h1.headline {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .gradient-text {
    color: var(--accent-glow);
    font-weight: 600;
  }

  h2.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .lead {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 28px;
  }

  /* Intro Quickfacts */
  .quickfacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
  }
  .quickfact {
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    transition: border-color 0.25s ease, transform 0.25s ease;
  }
  .quickfact:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .quickfact .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--accent-glow);
    line-height: 1;
    margin-bottom: 6px;
  }
  .quickfact .lbl {
    color: var(--text-mute);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }

  /* About */
  .info-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0 36px;
  }
  .info-list .info-item {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
  }
  .info-item .lbl {
    color: var(--text-mute);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .info-item .val { font-weight: 500; }

  .grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 12px;
  }
  .feature-card {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 162, 196, 0.06), rgba(0, 53, 84, 0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 162, 196, 0.35);
    box-shadow: 0 20px 40px -20px rgba(24, 162, 196, 0.35);
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-card > * { position: relative; }
  .feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(24, 162, 196, 0.15), rgba(0, 53, 84, 0.18));
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--accent-bright);
  }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
  }
  .feature-card p {
    color: var(--text-dim);
    font-size: 0.93rem;
    line-height: 1.55;
  }

  /* Timeline */
  .timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 12px;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: linear-gradient(180deg, rgba(92, 212, 234, 0.5), rgba(0, 107, 136, 0.35), transparent);
  }
  .tl-item {
    position: relative;
    padding: 20px 22px 20px 92px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    margin-bottom: 16px;
    transition: border-color 0.25s ease, transform 0.25s ease;
    min-height: 92px;
  }
  .tl-item:hover { border-color: var(--border-strong); transform: translateX(2px); }
  .tl-item::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 26px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid var(--accent-bright);
    box-shadow: 0 0 0 4px rgba(24, 162, 196, 0.14), 0 0 20px rgba(92, 212, 234, 0.35);
  }
  .tl-logo {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: rgba(0, 53, 84, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.6);
  }
  .tl-logo.bright {
    background: #ffffff;
    padding: 8px;
    border-color: rgba(255, 255, 255, 0.2);
  }
  .tl-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .tl-logo .initials {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: var(--accent-glow);
    text-align: center;
    line-height: 1;
  }
  .tl-logo .initials.small { font-size: 0.78rem; }
  .tl-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
  }
  .tl-head h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .tl-period {
    font-size: 0.8rem;
    color: var(--text-mute);
    background: rgba(24, 162, 196, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(24, 162, 196, 0.22);
    white-space: nowrap;
  }
  .tl-company {
    color: var(--text-dim);
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.95rem;
  }
  .tl-company .dot-sep { color: var(--text-mute); margin: 0 8px; }
  .tl-desc {
    color: var(--text-dim);
    font-size: 0.93rem;
    margin-top: 10px;
  }
  .tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
  }
  .tl-tag {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
  }
  .placeholder-text {
    color: var(--text-mute);
    font-style: italic;
  }

  /* Kontakt */
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
  }
  .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  /* Mail-Karte fuer den Kontaktbereich */
  .mail-card {
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }
  .mail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 162, 196, 0.05), rgba(0, 53, 84, 0.08));
    pointer-events: none;
  }
  .mail-card > * { position: relative; }
  .mail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(24, 162, 196, 0.12);
    border: 1px solid var(--border-strong);
    color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
  }
  .mail-icon svg { width: 24px; height: 24px; }
  .mail-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
  .mail-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 540px;
    line-height: 1.55;
  }
  .mail-address {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px 14px 20px;
    border-radius: 14px;
    background: var(--accent-bright);
    color: #00131e;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px -10px rgba(24, 162, 196, 0.5);
    margin-top: 6px;
  }
  .mail-address:hover {
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(24, 162, 196, 0.65);
  }
  .mail-address-cta {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 19, 30, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
  }
  .mail-address-cta svg { width: 14px; height: 14px; }
  .mail-address:hover .mail-address-cta { transform: translateX(3px); }
  .mail-hint {
    color: var(--text-mute);
    font-size: 0.82rem;
    margin-top: 2px;
  }
  [data-theme="light"] .mail-address {
    background: var(--accent-deep);
    color: #ffffff;
    box-shadow: 0 14px 30px -12px rgba(0, 53, 84, 0.45);
  }
  [data-theme="light"] .mail-address:hover {
    background: var(--accent-mid);
    box-shadow: 0 20px 40px -12px rgba(0, 107, 136, 0.5);
  }
  [data-theme="light"] .mail-address-cta {
    background: rgba(255, 255, 255, 0.15);
  }

  .footer-credit {
    text-align: center;
    color: var(--text-mute);
    font-size: 0.82rem;
    margin-top: 44px;
    letter-spacing: 0.01em;
  }
  .footer-credit a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
  }
  .footer-credit a:hover {
    color: var(--accent-glow);
    border-bottom-color: var(--accent-glow);
  }
  .footer-credit .heart {
    display: inline-block;
    transform: translateY(1px);
    animation: heartBeat 1.8s ease-in-out infinite;
  }
  @keyframes heartBeat {
    0%, 100% { transform: translateY(1px) scale(1); }
    20%      { transform: translateY(1px) scale(1.18); }
    40%      { transform: translateY(1px) scale(0.95); }
    60%      { transform: translateY(1px) scale(1.1); }
  }
  @media (prefers-reduced-motion: reduce) {
    .footer-credit .heart { animation: none; }
  }

  /* Logo wird zum Link */
  .tl-logo-link {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 56px;
    height: 56px;
    display: block;
  }
  .tl-logo-link .tl-logo {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .tl-logo-link:hover .tl-logo {
    transform: scale(1.05);
    box-shadow: 0 14px 30px -10px rgba(24, 162, 196, 0.5);
  }
  @media (max-width: 1180px) {
    .tl-logo-link { width: 50px; height: 50px; left: 18px; }
  }
  @media (max-width: 880px) {
    .tl-logo-link { width: 46px; height: 46px; left: 16px; top: 18px; }
  }

  .contact-info {
    padding: 26px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  }
  .contact-link:hover {
    border-color: rgba(24, 162, 196, 0.4);
    background: rgba(24, 162, 196, 0.1);
    transform: translateX(3px);
  }
  .contact-link svg { width: 18px; height: 18px; color: var(--accent-bright); flex-shrink: 0; }
  .contact-link .meta { display: flex; flex-direction: column; line-height: 1.3; }
  .contact-link .meta .ttl { font-weight: 500; font-size: 0.92rem; }
  .contact-link .meta .sub { color: var(--text-mute); font-size: 0.78rem; }

  /* Rechte Icon-Navigation */
  .side-nav {
    position: sticky;
    top: 32px;
    padding: 14px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .side-nav-item {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    position: relative;
    transition: all 0.25s ease;
  }
  .side-nav-item svg { width: 22px; height: 22px; }
  .side-nav-item:hover {
    color: var(--text);
    background: var(--surface-soft);
  }
  .side-nav-item.active {
    color: var(--text);
    background: rgba(24, 162, 196, 0.18);
    box-shadow: 0 0 30px rgba(24, 162, 196, 0.25), inset 0 0 0 1px rgba(92, 212, 234, 0.4);
  }
  .side-nav-item .tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--bg-2);
    border: 1px solid var(--border-strong);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .side-nav-item:hover .tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  /* Mobile Header */
  .mobile-header {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 14px 18px;
    z-index: 50;
    background: rgba(6, 7, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
  }
  .mobile-header .brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
  }
  .mobile-header .brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    box-shadow: 0 6px 14px -6px rgba(0, 53, 84, 0.5);
  }
  .mobile-header .brand .brand-mark svg { width: 100%; height: 100%; display: block; }
  .mobile-header .brand .brand-name { line-height: 1.1; }
  .mobile-header .brand .accent {
    color: var(--accent-glow);
  }
  .mobile-header .theme-toggle {
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  }
  .mobile-header .theme-toggle:hover {
    color: var(--accent-glow);
    border-color: var(--border-strong);
    background: rgba(24, 162, 196, 0.08);
  }
  .mobile-header .theme-toggle svg { width: 20px; height: 20px; }

  /* Icon-Wechsel je nach Theme */
  .theme-toggle .icon-moon { display: none; }
  .theme-toggle .icon-sun { display: block; }
  [data-theme="light"] .theme-toggle .icon-sun { display: none; }
  [data-theme="light"] .theme-toggle .icon-moon { display: block; }

  /* Trennlinie und Theme-Button in Side-Nav */
  .side-nav-divider {
    width: 32px;
    height: 1px;
    background: var(--border);
    margin: 6px 0;
  }
  .side-nav-item.theme-toggle {
    cursor: pointer;
    font: inherit;
  }

  /* Mobile Bottom Navigation */
  .bottom-nav {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 50;
    padding: 8px;
    border-radius: 22px;
    border: 1px solid var(--border-strong);
    background: rgba(11, 13, 26, 0.88);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
    justify-content: space-around;
    align-items: center;
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    color: var(--text-mute);
    font-size: 0.65rem;
    letter-spacing: 0.02em;
    border-radius: 14px;
    transition: all 0.25s ease;
    text-align: center;
  }
  .bottom-nav-item svg { width: 20px; height: 20px; }
  .bottom-nav-item.active {
    color: var(--text);
    background: rgba(24, 162, 196, 0.18);
  }

  /* Fade-in Animationen */
  .fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .fade-section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    .fade-section { opacity: 1; transform: none; transition: none; }
    .status-dot { animation: none; }
  }

  /* Tablet */
  @media (max-width: 1180px) {
    .layout { grid-template-columns: 300px minmax(0, 1fr) 78px; gap: 20px; padding: 24px; }
    .content-scroll { padding: 48px 40px 70px; }
    .grid-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .quickfacts { grid-template-columns: repeat(3, 1fr); }
    .info-list { grid-template-columns: 1fr 1fr; }
  }

  /* Logo auf Mobile etwas kompakter */
  @media (max-width: 1180px) {
    .tl-item { padding-left: 86px; }
    .tl-logo { width: 50px; height: 50px; left: 18px; }
    .tl-logo .initials { font-size: 0.95rem; }
  }

  /* Mobile */
  @media (max-width: 880px) {
    body { padding-top: 72px; padding-bottom: 96px; }
    .mobile-header { display: flex; }
    .bottom-nav { display: flex; }
    .side-nav { display: none; }

    .layout {
      grid-template-columns: 1fr;
      gap: 18px;
      padding: 16px 14px 16px;
      max-width: 100%;
    }

    .profile-card {
      position: static;
      top: auto;
      padding: 22px 20px;
    }
    /* Profilbild auf Mobile etwas kompakter, damit der Content rasch sichtbar wird */
    .profile-card .profile-image-wrap {
      max-width: 280px;
      margin-left: auto;
      margin-right: auto;
      aspect-ratio: 1 / 1;
    }

    .content-card {
      position: static;
      height: auto;
      top: auto;
    }
    .content-scroll {
      overflow-y: visible;
      padding: 28px 24px 24px;
    }
    section.block { padding: 56px 0 40px; scroll-margin-top: 88px; }
    section.block:first-child { padding-top: 8px; }

    .quickfacts { grid-template-columns: 1fr; }
    .info-list { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }

    h1.headline { font-size: 2rem; }
    h2.section-title { font-size: 1.6rem; }

    .tl-item { padding: 18px 18px 18px 78px; min-height: 80px; }
    .tl-logo { width: 46px; height: 46px; left: 16px; top: 18px; }
    .tl-logo .initials { font-size: 0.85rem; }
    .tl-logo .initials.small { font-size: 0.7rem; }

    .bottom-nav-item { font-size: 0.6rem; }
    .bottom-nav-item span { display: none; }
  }
  @media (max-width: 520px) {
    .bottom-nav-item svg { width: 22px; height: 22px; }
  }

  /* ============ LIGHT MODE ============ */
  :root[data-theme="light"] {
    --bg-0: #eef2f7;
    --bg-1: #ffffff;
    --bg-2: #e6ecf3;
    --bg-3: #d4dee8;
    --surface: rgba(255, 255, 255, 0.75);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --surface-soft: rgba(0, 53, 84, 0.045);
    --border: rgba(0, 53, 84, 0.12);
    --border-strong: rgba(0, 53, 84, 0.22);
    --text: #001a2b;
    --text-dim: #475663;
    --text-mute: #6e7c8a;
    --accent-bright: #006b88;
    --accent-glow: #003554;
  }

  [data-theme="light"] body { background: var(--bg-0); }

  [data-theme="light"] .bg-stage {
    background:
      radial-gradient(circle at 15% 10%, rgba(0, 53, 84, 0.06), transparent 45%),
      radial-gradient(circle at 85% 20%, rgba(24, 162, 196, 0.05), transparent 55%),
      radial-gradient(circle at 50% 90%, rgba(0, 107, 136, 0.07), transparent 55%),
      linear-gradient(180deg, #eef2f7 0%, #ffffff 50%, #eef2f7 100%);
  }
  [data-theme="light"] .bg-stage::after {
    background-image: radial-gradient(rgba(0, 53, 84, 0.06) 1px, transparent 1px);
  }

  [data-theme="light"] .profile-image-wrap {
    background: linear-gradient(160deg, #e6ecf3 0%, #d4dee8 100%);
    box-shadow: 0 18px 40px -20px rgba(0, 53, 84, 0.25);
  }
  [data-theme="light"] .profile-placeholder {
    background:
      radial-gradient(circle at 50% 30%, rgba(0, 107, 136, 0.18), transparent 60%),
      linear-gradient(160deg, #e6ecf3 0%, #d4dee8 100%);
  }
  [data-theme="light"] .profile-image-wrap::after {
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.08) 100%);
  }

  [data-theme="light"] .profile-meta {
    background: rgba(255, 255, 255, 0.55);
  }

  [data-theme="light"] .btn-primary {
    background: var(--accent-deep);
    color: #ffffff;
    border-color: rgba(0, 53, 84, 0.2);
    box-shadow: 0 14px 30px -12px rgba(0, 53, 84, 0.45);
  }
  [data-theme="light"] .btn-primary:hover {
    background: var(--accent-mid);
    box-shadow: 0 20px 40px -12px rgba(0, 107, 136, 0.5);
  }

  [data-theme="light"] .social-icon:hover {
    background: rgba(0, 107, 136, 0.1);
    border-color: rgba(0, 107, 136, 0.35);
    color: var(--accent-deep);
  }

  [data-theme="light"] .tl-logo {
    background: rgba(0, 53, 84, 0.08);
    border-color: var(--border);
  }
  [data-theme="light"] .tl-logo.bright {
    background: #ffffff;
    border-color: rgba(0, 53, 84, 0.12);
  }
  [data-theme="light"] .tl-logo .initials {
    color: var(--accent-deep);
  }
  [data-theme="light"] .tl-period {
    color: var(--accent-deep);
    background: rgba(0, 107, 136, 0.08);
    border-color: rgba(0, 107, 136, 0.18);
  }

  [data-theme="light"] .feature-icon {
    background: rgba(0, 107, 136, 0.1);
    border-color: rgba(0, 53, 84, 0.15);
    color: var(--accent-deep);
  }

  [data-theme="light"] .contact-link {
    background: rgba(255, 255, 255, 0.7);
  }
  [data-theme="light"] .contact-link:hover {
    background: rgba(0, 107, 136, 0.08);
    border-color: rgba(0, 107, 136, 0.3);
  }
  [data-theme="light"] .contact-link svg { color: var(--accent-deep); }

  [data-theme="light"] .mobile-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(0, 53, 84, 0.1);
  }
  [data-theme="light"] .bottom-nav {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 53, 84, 0.18);
    box-shadow: 0 20px 50px -10px rgba(0, 53, 84, 0.18);
  }

  [data-theme="light"] .side-nav-item.active,
  [data-theme="light"] .bottom-nav-item.active {
    background: rgba(0, 107, 136, 0.12);
    color: var(--accent-deep);
    box-shadow: 0 0 24px rgba(0, 107, 136, 0.18), inset 0 0 0 1px rgba(0, 107, 136, 0.35);
  }

  [data-theme="light"] .side-nav-item:hover {
    background: rgba(0, 53, 84, 0.06);
  }
  [data-theme="light"] .side-nav-item .tip {
    background: #ffffff;
    border-color: rgba(0, 53, 84, 0.18);
    color: var(--text);
    box-shadow: 0 8px 20px -8px rgba(0, 53, 84, 0.2);
  }

  [data-theme="light"] .mobile-header .theme-toggle:hover {
    background: rgba(0, 107, 136, 0.1);
    color: var(--accent-deep);
  }

  [data-theme="light"] .content-card,
  [data-theme="light"] .profile-card,
  [data-theme="light"] .side-nav {
    box-shadow: 0 30px 60px -30px rgba(0, 53, 84, 0.22);
  }

  [data-theme="light"] .profile-card::before {
    background: linear-gradient(160deg, rgba(24, 162, 196, 0.06) 0%, rgba(0, 107, 136, 0.04) 50%, rgba(0, 53, 84, 0.05) 100%);
  }

  [data-theme="light"] .content-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 53, 84, 0.15);
  }
  [data-theme="light"] .content-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 53, 84, 0.3);
  }

  /* ============ COOKIE BANNER ============ */
  .cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    max-width: 480px;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: rgba(11, 13, 26, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  .cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
  }
  .cookie-banner .cookie-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(24, 162, 196, 0.16);
    color: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .cookie-banner .cookie-icon svg { width: 18px; height: 18px; }
  .cookie-banner .cookie-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.45;
  }
  .cookie-banner .cookie-text strong { color: var(--text); font-weight: 600; }
  .cookie-banner .cookie-btn {
    padding: 9px 16px;
    border-radius: 10px;
    background: var(--accent-bright);
    color: #00131e;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: background 0.25s ease;
    white-space: nowrap;
  }
  .cookie-banner .cookie-btn:hover { background: var(--accent-glow); }
  [data-theme="light"] .cookie-banner {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 53, 84, 0.18);
    box-shadow: 0 24px 60px -20px rgba(0, 53, 84, 0.22);
  }
  [data-theme="light"] .cookie-banner .cookie-btn {
    background: var(--accent-deep);
    color: #ffffff;
  }
  [data-theme="light"] .cookie-banner .cookie-btn:hover { background: var(--accent-mid); }
  @media (max-width: 880px) {
    .cookie-banner {
      bottom: 90px;
      grid-template-columns: auto 1fr;
    }
    .cookie-banner .cookie-btn {
      grid-column: 1 / -1;
      width: 100%;
    }
  }

  /* Sehr kleine Screens */
  @media (max-width: 420px) {
    .content-scroll { padding: 22px 18px 18px; }
    .profile-card { padding: 18px 16px; }
    .bottom-nav-item { font-size: 0.6rem; }
  }

/* Hilfsklassen fuer ehemalige Inline-Styles */
.is-hidden { display: none !important; }
.subsection-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.15rem;
  margin: 8px 0 18px;
  font-weight: 600;
}
.subsection-title.with-top-spacing { margin-top: 32px; }

/* Sprachumschalter in der Profilkarte */
.lang-switcher {
  display: flex;
  gap: 6px;
  margin: 14px 0 18px;
  justify-content: center;
}
.lang-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.lang-link.lang-active {
  color: var(--accent-glow);
  border-color: rgba(24, 162, 196, 0.45);
  background: rgba(24, 162, 196, 0.1);
}
[data-theme="light"] .lang-link.lang-active {
  color: var(--accent-deep);
  border-color: rgba(0, 53, 84, 0.35);
  background: rgba(0, 53, 84, 0.08);
}
