/* ─────────────────────────────────────────
   RESET & TOKENS
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:    #FAF5EC;
  --orange:   #E85D26;
  --pink:     #E8477A;
  --blue:     #2B4FBF;
  --ink:      #0D0D0D;
  --muted:    #8A806E;
  --border:   rgba(13,13,13,.1);
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --ease:     cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────
   STAR / SPARK CURSOR
───────────────────────────────────────── */
.spark {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: sparkLife .7s var(--ease) forwards;
  user-select: none;
  font-size: 1.1rem;
}
@keyframes sparkLife {
  0%   { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3) rotate(var(--rot)); }
}

/* ─────────────────────────────────────────
   SCROLL REVEAL
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 3rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250,245,236,.85);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
}

nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1.5px;
  background: var(--orange);
  transition: right .35s var(--ease);
}
nav ul a:hover { color: var(--ink); }
nav ul a:hover::after { right: 0; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100svh;
  padding: 0 3rem;
  background: linear-gradient(135deg, #FAECD6 0%, #FAD9E3 35%, #D6E0FA 70%, #FAF5EC 100%);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

/* Floating blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
}
.blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #E85D26 0%, transparent 70%);
  top: -120px; right: -80px;
  animation: float 9s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #E8477A 0%, transparent 70%);
  bottom: 80px; left: -100px;
  animation: float 12s ease-in-out infinite reverse;
}
.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #2B4FBF 0%, transparent 70%);
  top: 50%; right: 25%;
  animation: float 8s ease-in-out infinite 2s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 4rem;
  padding-top: 9rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1.5px;
  background: var(--orange);
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3.8rem, 10vw, 9rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--ink);
}
.hero-name .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}

.hero-badges {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}
.badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1.5px solid;
}
.badge-orange { border-color: var(--orange); color: var(--orange); background: rgba(232,93,38,.08); }
.badge-pink   { border-color: var(--pink);   color: var(--pink);   background: rgba(232,71,122,.08); }
.badge-blue   { border-color: var(--blue);   color: var(--blue);   background: rgba(43,79,191,.08); }

.hero-rule { width: 100%; height: 1px; background: rgba(13,13,13,.12); }

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.hero-sub {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: rgba(13,13,13,.6);
  max-width: 440px;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(13,13,13,.3);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: rgba(13,13,13,.15);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity:.3; }
  50%      { transform: scaleY(.4); opacity:1; }
}

/* ─────────────────────────────────────────
   MARQUEE STRIP
───────────────────────────────────────── */
.marquee-strip {
  background: var(--ink);
  overflow: hidden;
  padding: .75rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}
.marquee-track span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0 2rem;
}
.marquee-track .dot { color: var(--orange); padding: 0 .3rem; font-size: .8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────
   SHARED
───────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 3rem;
}
.section-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

/* ─────────────────────────────────────────
   ÜBER MICH
───────────────────────────────────────── */
#ueber { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.about-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.about-headline em { font-style: italic; font-weight: 400; color: var(--pink); }

.about-awards {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.award-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
  width: fit-content;
}
.award-chip-orange { background: rgba(232,93,38,.1); color: var(--orange); }
.award-chip-blue   { background: rgba(43,79,191,.1); color: var(--blue); }
.award-chip .star  { font-size: .9rem; }

.about-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #3D3830;
  margin-bottom: 1.3rem;
}
.about-text p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   PROJEKTE
───────────────────────────────────────── */
#projekte {
  background: linear-gradient(160deg, #0D0D0D 0%, #1A1010 100%);
  color: var(--cream);
}
#projekte .section-label { color: var(--orange); }
#projekte .section-label::after { background: rgba(250,245,236,.1); }

.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(250,245,236,.1);
  transition: border-color .4s;
}
.project-feature:hover { border-color: rgba(250,245,236,.25); }

.project-visual {
  min-height: 380px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.project-big-letter {
  font-family: var(--serif);
  font-size: 13rem;
  font-weight: 700;
  color: rgba(250,245,236,.18);
  line-height: 1;
  letter-spacing: -.05em;
  transition: transform .6s var(--ease);
}
.project-feature:hover .project-big-letter { transform: scale(1.1) rotate(-3deg); }

.project-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.project-kicker {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.project-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.project-desc {
  font-size: .97rem;
  line-height: 1.8;
  color: rgba(250,245,236,.55);
  margin-bottom: 2.5rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(250,245,236,.2);
  padding-bottom: .3rem;
  width: fit-content;
  transition: gap .3s var(--ease), border-color .3s, color .2s;
}
.project-link:hover { gap: 1.3rem; border-color: var(--orange); color: var(--orange); }

/* ─────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────── */
#portfolio { background: var(--cream); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.article-card {
  background: var(--cream);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  text-decoration: none;
  color: var(--ink);
  transition: background .25s;
  position: relative;
  overflow: hidden;
}
.article-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.article-card:nth-child(1)::before,
.article-card:nth-child(4)::before { background: var(--orange); }
.article-card:nth-child(2)::before,
.article-card:nth-child(5)::before { background: var(--pink); }
.article-card:nth-child(3)::before,
.article-card:nth-child(6)::before { background: var(--blue); }

.article-card:hover { background: #F2EBE0; }
.article-card:hover::before { transform: scaleX(1); }

.card-tag {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.article-card:nth-child(1) .card-tag,
.article-card:nth-child(4) .card-tag { color: var(--orange); }
.article-card:nth-child(2) .card-tag,
.article-card:nth-child(5) .card-tag { color: var(--pink); }
.article-card:nth-child(3) .card-tag,
.article-card:nth-child(6) .card-tag { color: var(--blue); }

.article-card h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}
.card-meta {
  font-size: .73rem;
  color: var(--muted);
}
.card-arrow {
  font-size: .9rem;
  color: var(--muted);
  transition: transform .3s var(--ease), color .2s;
  width: fit-content;
}
.article-card:hover .card-arrow { transform: translate(4px,-4px); color: var(--orange); }

/* ─────────────────────────────────────────
   KONTAKT
───────────────────────────────────────── */
#kontakt {
  background: linear-gradient(135deg, #FAECD6 0%, #FAD9E3 50%, #D6E0FA 100%);
}
#kontakt .section-label { color: var(--blue); }
#kontakt .section-label::after { background: rgba(13,13,13,.12); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.contact-headline {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--ink);
}
.contact-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
}
.contact-sub {
  margin-top: 1.4rem;
  font-size: .97rem;
  line-height: 1.75;
  color: rgba(13,13,13,.55);
}

.contact-items { display: flex; flex-direction: column; }
.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(13,13,13,.1);
  text-decoration: none;
  color: var(--ink);
  transition: padding-left .3s var(--ease);
}
.contact-item:first-child { border-top: 1px solid rgba(13,13,13,.1); }
.contact-item:hover { padding-left: .5rem; }
.contact-item-left { display: flex; flex-direction: column; gap: .2rem; }
.contact-item-type {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item-value { font-size: .97rem; font-weight: 500; }
.contact-item-arrow {
  color: var(--muted);
  transition: transform .3s var(--ease), color .2s;
}
.contact-item:hover .contact-item-arrow { transform: translate(4px,-4px); color: var(--orange); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--ink);
  padding: 1.8rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(250,245,236,.25);
  font-size: .73rem;
  letter-spacing: .06em;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .section-inner { padding: 5rem 1.5rem; }
  #hero { padding: 0 1.5rem; }
  footer { padding: 1.5rem; flex-direction: column; gap: .5rem; text-align: center; }
  .about-grid, .project-feature, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-visual { min-height: 220px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  nav ul { gap: 1.4rem; }
}
@media (max-width: 580px) {
  nav ul { gap: .8rem; }
  nav ul a { font-size: .68rem; letter-spacing: .06em; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}
