/* ===== Grundgerüst – Schmuck-Portfolio ===== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}

:root {
  --bg: #fbfaf8;
  --surface: #f3f1ec;
  --text: #1b1b1b;
  --text-soft: #56544e;
  --line: #e3e0d9;
  --accent-teal: #28afc0;
  --accent-blue: #225d93;
  --accent-deep: #0b243a;
  --nav-h: 76px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Navigation ===== */

.site-nav {
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-nav .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-group {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-group.right { justify-content: flex-end; align-items: center; }

.nav-group a { color: var(--text-soft); transition: color 0.2s ease; position: relative; }
.nav-group a:hover, .nav-group a.active { color: var(--text); }

.nav-group a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: var(--text);
}

.nav-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nav-logo:hover {
  color: var(--text);
}

/* ===== Hero / Masthead ===== */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
  background: var(--accent-deep);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 32%;
  filter: grayscale(1) contrast(1.1) brightness(1.05);
  opacity: 0.7;
  z-index: 0;
}

.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 22% 28%, rgba(40, 175, 192, 0.47), transparent 55%),
    radial-gradient(circle at 78% 18%, rgba(34, 93, 147, 0.51), transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(11, 36, 58, 0.72), transparent 60%),
    linear-gradient(160deg, rgba(10, 31, 49, 0.61) 0%, rgba(16, 57, 78, 0.61) 45%, rgba(22, 71, 90, 0.61) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fdfdfc;
  padding: 0 24px 56px 56px;
  max-width: 760px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 68px);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
  word-spacing: -0.06em;
  white-space: nowrap;
  color: rgba(253, 253, 252, 0.99);
}

.hero p {
  font-weight: 300;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, 0.94);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== Section-Grundgerüst (One-Pager) ===== */

.section {
  scroll-margin-top: var(--nav-h);
  border-top: 1px solid var(--line);
}

.section-header {
  padding: 90px 0 50px;
  max-width: 560px;
}

.section-minor .minor-label {
  padding: 44px 0 20px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.section-minor .simple-list-wrap {
  padding-bottom: 60px;
}

.section-header .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 40px);
  margin: 0;
}

.section-header h2,
.project-row-meta h3,
.section-minor .minor-label {
  background: linear-gradient(120deg, var(--accent-blue), #10394e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 400;
  opacity: 0.86;
}

.project-row-meta h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  margin: 0;
}

/* ===== Projekte: Übersicht mit Hover-Hintergrund (à la Alice Biolo) ===== */

.project-cover {
  background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, #eae7e0 12px, #eae7e0 24px);
  border: 1px dashed #cfccc4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-cover:has(img) { border: none; }

.project-cover img,
.project-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Projekte: Liste untereinander, volle Bildschirmbreite (à la "Andreas") ===== */

.projects-list {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.project-tile {
  position: relative;
  overflow: hidden;
  display: block;
}

.project-tile .project-cover {
  position: absolute;
  inset: 0;
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1);
}

.project-tile:hover .project-cover,
.project-tile:focus-visible .project-cover {
  transform: scale(1.07);
}

.project-tile::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(8, 22, 35, 0.38) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.exhibition-year {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: #fdfdfc;
  font-size: 11px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 40px 44px;
  background: linear-gradient(0deg, rgba(8, 22, 35, 0.68) 0%, rgba(8, 22, 35, 0.15) 55%, transparent 80%);
  color: #fdfdfc;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.project-tile:hover .project-overlay,
.project-tile:focus-visible .project-overlay {
  opacity: 1;
}

.project-overlay p {
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: left;
  max-width: 32ch;
  margin: 0;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.project-row:first-of-type { border-top: none; }

.project-row:nth-of-type(even) { grid-template-columns: 420px 1fr; }
.project-row:nth-of-type(even) .project-tile { order: 2; }
.project-row:nth-of-type(even) .project-row-meta { order: 1; }

.project-row .project-tile {
  aspect-ratio: unset;
  height: 86vh;
  min-height: 460px;
  border-radius: 0;
}

.project-row-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 56px;
}

.project-row-meta .project-number {
  display: flex;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* ===== Über mich ===== */

.about-section {
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p { margin: 0 0 20px; color: var(--text-soft); }

.about-text .about-greeting,
.about-text .about-lead {
  background: linear-gradient(120deg, var(--accent-blue), #10394e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-greeting {
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  margin-bottom: 4px !important;
  opacity: 0.86;
}

.about-lead {
  opacity: 0.86;
}

.about-lead {
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
}

.cv-block { margin-top: 36px; }

.cv-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.cv-block .contact-list li { font-size: 14px; padding: 14px 0; gap: 24px; }
.cv-block .contact-list li span:first-child { white-space: nowrap; }
.cv-block .contact-list li span:last-child { text-align: right; }

/* ===== Listen (Ausstellungen / Kontakt) ===== */

.simple-list-wrap { padding-bottom: 130px; max-width: 640px; }

.simple-list-wrap > p { color: var(--text-soft); margin: 0 0 36px; }

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.contact-list li:last-child { border-bottom: 1px solid var(--line); }

.contact-list span:first-child { color: var(--text-soft); }

.contact-list a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-list a:hover { border-bottom-color: var(--text); }

/* ===== Projektseite (Einzelprojekt) ===== */

.page-header {
  position: absolute;
  z-index: 2;
  left: 56px;
  bottom: 56px;
  max-width: 640px;
  color: #fdfdfc;
  text-align: left;
}

.page-header .eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.page-header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0;
  color: rgba(253, 253, 252, 0.99);
}

.page-year {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

.project-row-meta .page-year {
  color: var(--text-soft);
  margin-top: 0;
}

.project-intro {
  padding-top: 50px;
  padding-bottom: 20px;
  text-align: left;
}

.intro-cols {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.intro-col {
  flex: 1;
  min-width: 0;
}

.project-intro p {
  color: var(--text-soft);
  margin: 0 0 20px;
}

.project-intro > p:first-child {
  color: var(--text-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  max-width: 60ch;
}

.project-intro p:last-child { margin-bottom: 0; }

.project-intro > p.emphasis {
  color: var(--text);
  font-weight: 500;
  max-width: 60ch;
}

.project-intro p a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.project-intro p a:hover {
  border-bottom-color: currentColor;
}

.project-hero {
  position: relative;
  width: 100%;
  height: 82vh;
  overflow: hidden;
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 22, 35, 0.68) 0%, rgba(8, 22, 35, 0.18) 45%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 60px 0 130px;
}

.project-grid .project-cover {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.site-footer .footer-links {
  display: flex;
  gap: 16px;
}

/* ===== Responsive ===== */

@media (max-width: 1000px) {
  .project-row,
  .project-row:nth-of-type(even) {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 860px) {
  .hero-content { padding: 0 24px 48px 24px; max-width: 100%; }
  .hero h1 { white-space: normal; letter-spacing: 0.02em; }

  .site-nav .wrap { grid-template-columns: auto 1fr auto; }
  .nav-group.left { display: none; }
  .nav-logo { text-align: left; font-size: 18px; }
  .nav-group.right { gap: 16px; }
  .nav-group.right a { font-size: 11px; white-space: nowrap; }

  .about-section { grid-template-columns: 1fr; }

  .project-hero { height: 60vh; }

  .page-header { left: 24px; bottom: 32px; right: 24px; max-width: none; }

  .project-row,
  .project-row:nth-of-type(even) {
    grid-template-columns: 1fr;
  }
  .project-row:nth-of-type(even) .project-tile { order: initial; }
  .project-row:nth-of-type(even) .project-row-meta { order: initial; }

  .project-row .project-tile { height: 60vh; min-height: 340px; }

  .project-row-meta { padding: 28px 24px; }
}

@media (max-width: 560px) {
  .site-nav .wrap { gap: 12px; padding: 0 20px; }
  .nav-logo { font-size: 17px; }
  .nav-group.right { gap: 12px; }
  .nav-group.right a { letter-spacing: 0.04em; }
  .project-grid { grid-template-columns: 1fr; }
  .intro-cols { flex-direction: column; gap: 0; }
}

@media (max-width: 360px) {
  .site-nav .wrap { gap: 8px; padding: 0 14px; }
  .nav-logo { font-size: 15px; }
  .nav-group.right { gap: 8px; }
  .nav-group.right a { font-size: 10px; letter-spacing: 0.02em; }
}
