@font-face {
   font-family:'Coolvetica';
   font-style: normal;
   font-weight: 400;
   src: local('Coolvetica'), local('CoolveticaRg'),
    url('fonts/CoolveticaRg.woff') format('woff'),
    url('fonts/CoolveticaRg.woff2') format('woff2'); 
  }


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

    :root {
      --bg: #181818;
      --ink: #f5f5dc;
      --muted: #ADADA4;
      --accent: #ee7621;
      --accent-dim: rgba(238, 118, 33, 0.18);
      --accent-mid: rgba(238, 118, 33, 0.38);
      --accent-glow: rgba(238, 118, 33, 0.55);
      --line: #434343;
      --card-bg: #0D0D0D;
      --tag-bg: white;
    }

    html { scroll-behavior: smooth; }

   

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: 'DM Mono', monospace;
      font-weight: 300;
      font-size: 13px;
      line-height: 1.7;
      cursor: default;
      align-items: center;
      justify-content: center;
    }

    /* ── Noise grain overlay ── */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      opacity: 0.04;
      pointer-events: none;
      z-index: 10;
    }
 
    /* ── Blob 1 – large slow drift ── */
    .blob {
      position: fixed;
      border-radius: 50%;
      filter: blur(90px);
      pointer-events: none;
      mix-blend-mode: screen;
      will-change: transform, opacity;
    }
 
    .blob-1 {
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
      top: -15%;
      left: -10%;
      animation: drift1 18s ease-in-out infinite alternate;
    }
 
    .blob-2 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, var(--accent-mid) 0%, transparent 70%);
      bottom: -10%;
      right: -5%;
      animation: drift2 22s ease-in-out infinite alternate;
    }
 
    .blob-3 {
      width: 380px;
      height: 380px;
      background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
      top: 40%;
      left: 55%;
      opacity: 0.25;
      filter: blur(60px);
      animation: drift3 15s ease-in-out infinite alternate;
    }

    /* ── Animations ── */
    @keyframes drift1 {
      0%   { transform: translate(0,    0)    scale(1);    }
      33%  { transform: translate(12vw,  -18vw)  scale(1.08); }
      66%  { transform: translate(22vw,  8vw)   scale(0.95); }
      100% { transform: translate(8vw,   25vw)  scale(1.05); }
    }
 
    @keyframes drift2 {
      0%   { transform: translate(0,    0)    scale(1);    }
      40%  { transform: translate(-18vw, -12vw) scale(1.12); }
      70%  { transform: translate(-8vw,  -22vw) scale(0.92); }
      100% { transform: translate(-22vw, -8vw)  scale(1.06); }
    }
 
    @keyframes drift3 {
      0%   { transform: translate(0,   0)   scale(1);    opacity: 0.25; }
      50%  { transform: translate(-15vw, 12vw) scale(1.2); opacity: 0.35; }
      100% { transform: translate(20vw, -10vw) scale(0.9); opacity: 0.2;  }
    }

    /* ── LAYOUT ── */
    .site-wrapper {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 32px;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: black;
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }

    nav .nav-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 32px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-family: 'Coolvetica', serif;
      font-size: 18px;
      font-weight: 400;
      letter-spacing: 0.02em;
      text-decoration: none;
      color: var(--ink);
    }

    .nav-stern {
      position: absolute;
      z-index: -1;
      height: 80%;
      filter: opacity(85%)
    }

    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--muted);
      font-size: 11px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--accent); text-decoration: underline;}

    /* ── HERO ── */
    #about {
      padding: 140px 0 96px;
      border-bottom: 1px solid var(--line);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: end;
    }

    .hero-stern {
      position: absolute;
      height: 30%;
      filter: opacity(10%);
      top: 150px;
    }

    .hero-label {
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 35px;
    }

    .hero-name {
      font-family: 'Coolvetica', serif;
      font-size: clamp(52px, 7vw, 88px);
      font-weight: 300;
      line-height: 0.6;
      letter-spacing: -0.01em;
      margin-bottom: 8px;
    }

    .hero-name em {
      font-style: italic;
      color: var(--accent);
    }

    .hero-tagline {
      font-family: 'Coolvetica', serif;
      font-size: 17px;
      font-weight: 300;
      color: var(--muted);
      margin-top: 35px;
    }

    .hero-bio {
      font-size: 13px;
      line-height: 1.9;
      color: #D1D0C0;
      max-width: 440px;
    }

    .hero-bio p + p { margin-top: 16px; }

    .hero-meta {
      margin-top: 36px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .meta-item {
      display: flex;
      gap: 16px;
      font-size: 11px;
    }

    .meta-label {
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      min-width: 80px;
    }

    .meta-value { color: var(--ink); }

    /* ── SECTION HEADER ── */
    .section-header {
      display: flex;
      align-items: baseline;
      gap: 24px;
      margin-bottom: 48px;
      padding-top: 80px;
    }

    .section-title {
      font-family: 'Coolvetica', serif;
      font-size: 36px;
      font-weight: 300;
      letter-spacing: -0.01em;
    }

    .section-count {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.1em;
    }

    .section-line {
      flex: 1;
      height: 1px;
      background: var(--line);
    }

    /* ── FILTER TABS ── */
    .filter-tabs {
      display: flex;
      gap: 4px;
      margin-bottom: 40px;
    }

    .filter-btn {
      background: none;
      border: 1px solid var(--line);
      padding: 6px 16px;
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-btn:hover, .filter-btn.active {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--bg);
    }

    /* ── PROJECT GRID ── */
    .project-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 4px;
      margin-bottom: 80px;
    }

    .project-card {
      padding: 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      cursor: pointer;

      /* ── Liquid Glass ── */
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(18px) saturate(160%) brightness(1.08);
      -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.08);

      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.10);

      /* Inneres Licht von oben */
      box-shadow:
        inset 0.5px 1px 0 rgba(255, 255, 255, 0.4),   /* Top-Highlight */
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),         /* Bottom-Shadow */
        0 8px 32px rgba(0, 0, 0, 0.6),             /* Äußerer Schatten */
        0 1px 2px rgba(0, 0, 0, 0.5);               /* Feiner Schatten */

      transition: backdrop-filter 0.3s, background 0.3s, box-shadow 0.3s;
    }

    .project-card:hover { 
        background: rgb(245, 245, 220, 0.1); 
        color: var(--ink);
      }

    .project-card:hover .card-desc {
        color: var(--ink);
    }

    .poject-card:hover .card-footer {
        color: #68685E;
    }

    a {
      text-decoration: none;
      color: #f5f5dc;
    }

    a:visited {
      text-decoration: none;
      color: #f5f5dc;
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .card-index {
      font-size: 10px;
      color: var(--muted);
      letter-spacing: 0.1em;
    }

    .card-tag {
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 8px;
      background: var(--tag-bg);
      color: var(--muted);
    }

    .card-tag.studium { background: #1D3751; color: #C0D9FA; }
    .card-tag.privat { background: #522D14; color: #FFCDAE; }

    .card-title {
      font-family: 'Coolvetica', serif;
      font-size: 22px;
      font-weight: 400;
      line-height: 1.2;
    }

    .card-desc {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.7;
      flex: 1;
    }

    .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 12px;
      border-top: 1px solid var(--line);
    }

    .card-tech {
      font-size: 10px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }

    .card-arrow {
      font-size: 14px;
      color: var(--muted);
      transition: transform 0.2s, color 0.2s;
    }

    .project-card:hover .card-arrow {
      transform: translate(3px, -3px);
      color: var(--ink);
    }

    /* ── ART GRID ── */
    #kunst { border-top: 1px solid var(--line); }

    .art-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 12px;
      margin-bottom: 80px;
    }

    .art-card {
      background: var(--card-bg);
      border: 1px solid var(--line);
      overflow: hidden;
      cursor: pointer;
      transition: border-color 0.2s;
      display: flex;          /* ← neu */
      flex-direction: column;
    }

    .art-card:hover { border-color: var(--accent); }

    .art-card:nth-child(1) { grid-column: span 4; }
    .art-card:nth-child(2) { grid-column: span 4; }
    .art-card:nth-child(3) { grid-column: span 4; }
    .art-card:nth-child(4) { grid-column: span 5; }
    .art-card:nth-child(5) { grid-column: span 7; }
    .art-card:nth-child(6) { grid-column: span 12;}
    .art-card:nth-child(7) { grid-column: span 6; }
    .art-card:nth-child(8) { grid-column: span 6; }

    .art-img-placeholder {
      width: 100%;
      aspect-ratio: 3/4;
      background: linear-gradient(135deg, #e8e4de 0%, #d8d0c8 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .art-card:nth-child(5) .art-img-placeholder { aspect-ratio: 16/15.1; }
    .art-card:nth-child(6) .art-img-placeholder { aspect-ratio: 13/6; }

    .art-img-placeholder::after {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(0,0,0,0.03) 20px,
        rgba(0,0,0,0.03) 21px
      );
    }

    .art-img-icon {
      font-size: 24px;
      opacity: 0.2;
    }

    .art-info {
      padding: 16px 20px;
    }

    .art-title {
      font-family: 'Coolvetica', serif;
      font-size: 17px;
      font-weight: 400;
      margin-bottom: 4px;
    }

    .art-meta {
      font-size: 11px;
      color: var(--muted);
      display: flex;
      gap: 16px;
    }

    /* ── CONTACT ── */
    #kontakt {
      border-top: 1px solid var(--line);
      padding: 80px 0 120px;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    .contact-title {
      font-family: 'Coolvetica', serif;
      font-size: 48px;
      font-weight: 300;
      line-height: 1.1;
      margin-bottom: 24px;
    }

    .contact-text {
      font-size: 12px;
      color: #6a6560;
      line-height: 1.9;
      max-width: 360px;
    }

    .contact-links {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: 48px;
    }

    .contact-link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 0;
      border-top: 1px solid var(--line);
      text-decoration: none;
      color: var(--ink);
      font-size: 13px;
      transition: color 0.2s;
    }

    .contact-link:last-child { border-bottom: 1px solid var(--line); }
    .contact-link:hover { color: var(--accent); }

    .contact-link-label {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--line);
      padding: 24px 0;
    }

    footer .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    footer p {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-grid > * {
      animation: fadeUp 0.8s ease both;
    }

    .hero-grid > *:nth-child(2) { animation-delay: 0.15s; }

    .project-card {
      animation: fadeUp 0.5s ease both;
    }

    .project-card:nth-child(1) { animation-delay: 0.05s; }
    .project-card:nth-child(2) { animation-delay: 0.1s; }
    .project-card:nth-child(3) { animation-delay: 0.15s; }
    .project-card:nth-child(4) { animation-delay: 0.2s; }
    .project-card:nth-child(5) { animation-delay: 0.25s; }
    .project-card:nth-child(6) { animation-delay: 0.3s; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .hero-grid { grid-template-columns: 1fr; gap: 48px; }
      .contact-grid { grid-template-columns: 1fr; gap: 48px; }

      .filter-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr;}

      .art-grid { grid-template-columns: 1fr 1fr; }
      .art-card:nth-child(n) { grid-column: span 1; }
      .art-card:nth-child() { grid-column: span 2; }
      .art-card:nth-child(5) { grid-column: span 2; }
      .art-card:nth-child(6) { grid-column: span 2; }
      .nav-links { display: none; }
    }