  :root {
    --bg: #f7f6f3;
    --text: #1a1a1a;
    --text-muted: #888;
    --accent: #5b2d8e;
    --accent-light: #ede6f8;
    --accent-mid: #9b6fcc;
    --border: #e2ddd8;
    --white: #ffffff;
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 60px;
    background: rgba(247,246,243,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
  }
  nav.scrolled { border-bottom-color: var(--border); }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }

  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--accent); }

  .lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0;
    transition: color 0.2s;
  }
  .lang-btn:hover { color: var(--accent); }
  .lang-btn.active {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .lang-divider {
    color: var(--border);
    font-size: 11px;
    user-select: none;
  }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-content {
    max-width: 680px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s ease forwards 0.2s;
  }

  .hero-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 7vw, 88px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--text);
  }
  .hero-title em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 16px;
    font-weight: 300;
    color: #555;
    max-width: 460px;
    margin-bottom: 44px;
    line-height: 1.75;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 14px 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
  }
  .hero-cta:hover { background: #4a2275; transform: translateY(-2px); }
  .hero-cta svg { transition: transform 0.2s; }
  .hero-cta:hover svg { transform: translateX(4px); }

  .hero-decoration {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    pointer-events: none;
  }
  .hero-decoration::before {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px solid var(--accent-mid);
  }
  .hero-decoration::after {
    content: '';
    position: absolute;
    inset: 120px;
    border-radius: 50%;
    background: var(--accent-mid);
    opacity: 0.5;
  }

  .hero-photo {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    justify-self: center;
    z-index: 1;
  }

  /* ── SECTIONS ── */
  section { padding: 100px 60px; }

  .section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 48px;
    color: var(--text);
  }

  /* ── OM MIG ── */
  #om-mig {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
  }

  .about-text p {
    color: #444;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 15.5px;
  }

  .skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .skill-cell {
    background: var(--white);
    padding: 20px 22px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text);
    transition: background 0.2s;
  }
  .skill-cell:hover { background: var(--accent-light); }

  .skill-cell span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  /* ── PROJEKTER ── */
  #projekter { background: var(--bg); }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1100px;
  }

  .project-card {
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(91,45,142,0.1);
  }

  .project-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--accent-light);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
  }

  .project-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .project-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    color: var(--accent-mid);
    opacity: 0.3;
    user-select: none;
  }

  .project-thumb-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
  }

  .project-info {
    padding: 24px 26px 28px;
    border-top: 1px solid var(--border);
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .project-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text);
  }

  .project-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    font-weight: 300;
  }

  .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
  }

  .tag {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-light);
    padding: 3px 10px;
  }

  /* ── KONTAKT ── */
  #kontakt {
    background: var(--text);
    color: var(--white);
    border-top: none;
  }

  #kontakt .section-label { color: var(--accent-mid); }
  #kontakt .section-label::before { background: var(--accent-mid); }

  #kontakt .section-title { color: var(--white); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
  }

  .contact-text {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 40px;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: color 0.2s;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .contact-link:hover { color: #fff; }

  .contact-link-icon {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
  }
  .contact-link:hover .contact-link-icon {
    border-color: var(--accent-mid);
    background: rgba(155,111,204,0.15);
  }

  .contact-available {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-top: 32px;
  }
  .available-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6fcf97;
    animation: pulse 2s ease infinite;
  }

  /* ── FOOTER ── */
  footer {
    background: #111;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  footer span {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-weight: 300;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── RESPONSIVE ── */

  /* Tablet (769px – 1100px) */
  @media (max-width: 1100px) {
    nav { padding: 20px 36px; }
    section { padding: 80px 36px; }
    footer { padding: 20px 36px; }
    #hero {
      grid-template-columns: 1fr;
      padding: 130px 36px 80px;
      min-height: auto;
    }
    .hero-photo { display: none; }
    .hero-decoration { display: none; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
  }
  

  /* Mobile (≤ 768px) */
  @media (max-width: 768px) {
    /* Nav: hide links, keep logo + lang switch */
    nav { padding: 16px 20px; }
    .nav-links { display: none; }

    /* Hero */
    #hero { padding: 100px 20px 60px; }
    .hero-content { max-width: 100%; }

    /* Sections */
    section { padding: 60px 20px; }
    .section-title { margin-bottom: 32px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 36px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Footer */
    footer { padding: 20px; flex-direction: column; gap: 8px; text-align: center; }
  }

  /* Small phones (≤ 480px) */
  @media (max-width: 480px) {
    .skills-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
  }