/* Mimi Plamberger — mimiplamberger.com
   Farben & Typo laut Brand Handout (Oktober 2026) */

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

:root {
  --ivory: #F6F0E8;
  --linen: #EBDCD1;
  --shell: #C9BDB5;
  --golden: #A37A64;
  --cognac: #845C48;
  --adria: #374549;
  --espresso: #2C271E;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --section: clamp(88px, 12vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--linen); }
:focus-visible { outline: 1px solid var(--cognac); outline-offset: 4px; }

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

/* Type */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cognac);
  margin: 0 0 24px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(56px, 9vw, 128px); }
h2 { font-size: clamp(38px, 5.2vw, 72px); }
h3 { font-size: clamp(26px, 2.4vw, 32px); font-style: italic; }
em { font-style: italic; }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; font-weight: 400; }
.muted { color: rgba(44, 39, 30, .66); }

/* Links */
.link {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: color .3s ease, border-color .3s ease;
}
.link:hover { color: var(--cognac); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  transition: background .4s ease, box-shadow .4s ease;
}
.site-header.is-scrolled { background: rgba(246, 240, 232, .94); box-shadow: 0 1px 0 rgba(44, 39, 30, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; transition: color .3s ease; }
.nav a:hover { color: var(--cognac); }

/* Hero */
.hero { padding-top: 76px; min-height: 100svh; display: grid; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; padding-top: 40px; padding-bottom: 64px; }
.hero h1 { margin-bottom: 32px; }
.hero h1 span { display: block; font-style: italic; padding-left: .5em; }
.hero .lead { max-width: 22ch; margin: 0 0 48px; }
.hero-actions { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-media figcaption { position: absolute; left: -1px; bottom: -32px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(44, 39, 30, .55); }

/* Gallery */
.gallery { padding: clamp(40px, 6vw, 96px) 0 var(--section); }
.rule { width: 1px; height: 72px; background: var(--shell); margin: 0 auto clamp(56px, 7vw, 104px); border: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 24px); align-items: start; }
.gallery-grid figure { overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.gallery-grid figure:hover img { transform: scale(1.025); }
.g1 { grid-column: 1 / span 8; aspect-ratio: 3 / 2; }
.g2 { grid-column: 9 / span 4; aspect-ratio: 4 / 5; margin-top: clamp(0px, 8vw, 120px); }
.g3 { grid-column: 1 / span 4; aspect-ratio: 3 / 4; margin-top: clamp(0px, 3vw, 40px); }
.g4 { grid-column: 5 / span 4; aspect-ratio: 3 / 4; margin-top: clamp(0px, 10vw, 150px); }
.g5 { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: clamp(0px, 4vw, 56px); }
.g6 { grid-column: 4 / span 5; aspect-ratio: 4 / 5; margin-top: clamp(0px, 6vw, 96px); }

/* Contact */
.contact { padding: var(--section) 0; text-align: center; }
.contact h2 { margin-bottom: 44px; }
.mail { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.6vw, 48px); border-bottom: 1px solid var(--shell); padding-bottom: 6px; transition: color .3s ease, border-color .3s ease; word-break: break-word; }
.mail:hover { color: var(--cognac); border-color: var(--cognac); }

/* Footer */
.site-footer { border-top: 1px solid rgba(44, 39, 30, .12); padding: 36px 0 44px; font-size: 12px; letter-spacing: .08em; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer a:hover { color: var(--cognac); }

/* Legal pages */
.legal { padding: 156px 0 var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 48px; }
.legal h2 { font-size: 28px; margin: 48px 0 12px; }
.legal p, .legal li { font-size: 15.5px; }
.legal a { border-bottom: 1px solid var(--shell); }
.legal a:hover { color: var(--cognac); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-grid img { transition: none; }
}

/* Responsive */
@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 16px; }
  .hero-media { order: -1; }
  .hero-media figcaption { display: none; }
  .hero h1 span { padding-left: .35em; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid figure { grid-column: auto; margin-top: 0; aspect-ratio: 3 / 4; }
  .gallery-grid .g1, .gallery-grid .g6 { grid-column: 1 / -1; }
  .gallery-grid .g1 { aspect-ratio: 3 / 2; }
  .gallery-grid .g6 { aspect-ratio: 4 / 5; }
  .nav .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .wordmark { font-size: 21px; }
  .nav { gap: 18px; }
}
