/* ==========================================================================
   Goldlicht Fotografie — Valerie Böttcher
   Statische Seite: Hinweis auf die Überarbeitung des Fotoblogs
   ========================================================================== */

/* --- Schriften (lokal gehostet, keine externen Requests) ------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Grundwerte ---------------------------------------------------------- */
:root {
  --paper: #fbf8f2;
  --paper-deep: #f5efe2;
  --ink: #16150f;
  --ink-soft: #2a2720;
  --muted: #736e5f;
  --gold: #8a672a;
  --yellow: #f9fb94;
  --yellow-soft: #fbfccf;
  --line: rgba(22, 21, 15, 0.14);
  --line-soft: rgba(22, 21, 15, 0.08);

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1160px;
  --gutter: clamp(1.35rem, 5vw, 3.5rem);
  --measure: 36rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 350;
  font-size: clamp(1.02rem, 0.97rem + 0.2vw, 1.1rem);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4rem, 9vw, 8.5rem); }

/* Kleine Auszeichnungsschrift */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85em;
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--gold { color: var(--gold); }

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 99;
  font-size: 0.85rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- Kopfband mit Logo --------------------------------------------------- */
.brandband {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(1.1rem, 2.2vw, 1.7rem);
}

.brandband__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 0.95rem);
}

.brandband__logo {
  width: clamp(7rem, 15vw, 9.25rem);
  height: auto;
}

.brandband__tagline {
  font-size: 0.594rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(27rem, calc(100svh - 10.5rem), 52rem);
  overflow: hidden;
  background: #1a1610;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero__media img {
  transform: scale(1.02);
  animation: heroDrift 26s ease-out both;
}

@keyframes heroDrift {
  from { transform: scale(1.07); }
  to { transform: scale(1.02); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(20, 16, 10, 0.5) 0%,
      rgba(20, 16, 10, 0.06) 26%,
      rgba(20, 16, 10, 0.12) 50%,
      rgba(20, 16, 10, 0.66) 78%,
      rgba(18, 14, 9, 0.9) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(30, 22, 12, 0.45) 0%, rgba(30, 22, 12, 0) 60%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.75rem, 6.5vw, 5.5rem);
  color: #fdfbf4;
}

.hero .eyebrow {
  color: rgba(253, 251, 244, 0.82);
  margin-bottom: clamp(1.1rem, 2.6vw, 1.9rem);
}

.hero h1 {
  color: #fdfbf4;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  max-width: 19ch;
  text-shadow: 0 1px 28px rgba(14, 10, 6, 0.35);
}

.hero__meta {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(253, 251, 244, 0.72);
}

/* --- Brief --------------------------------------------------------------- */
.letter { background: var(--paper); }

.letter__inner {
  max-width: var(--measure);
  margin-inline: auto;
}

.letter .lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  line-height: 1.38;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.letter p + p {
  margin-top: 1.35em;
  font-size: 1.03em;
  line-height: 1.9;
}

.letter__inner p:not(.lead) {
  font-weight: 400;
  color: var(--ink-soft);
}

.letter__rule {
  width: 3.25rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 0 clamp(1.6rem, 3.5vw, 2.4rem);
}

/* --- Bildstrecke --------------------------------------------------------- */
.gallery {
  background: var(--paper-deep);
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.gallery__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.portrait {
  position: relative;
  margin: 0;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: -1.6rem -1.6rem 1.6rem 1.6rem;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.75;
  z-index: 0;
}

.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.98);
}

.gallery__shot {
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 26px 60px -34px rgba(38, 28, 12, 0.55);
}

.gallery__shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* --- Kontakt ------------------------------------------------------------- */
.contact {
  background: var(--yellow-soft);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.contact__inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.85rem, 4.1vw, 3rem);
  max-width: 26ch;
  margin-inline: auto;
}

.contact__text {
  margin-top: clamp(1.15rem, 2.4vw, 1.6rem);
  color: #45412f;
}

.contact__cta { margin-top: clamp(2rem, 4.4vw, 2.9rem); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 1.02em 1.85em;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: 0.015em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 34px -18px rgba(22, 21, 15, 0.7);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  opacity: 0.85;
}

.btn:hover {
  background: #262418;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -18px rgba(22, 21, 15, 0.75);
}

.contact__note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #6a6552;
}

/* --- Abschluss / Signatur ------------------------------------------------ */
.closing {
  background: var(--paper);
  padding-block: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.closing__logo {
  width: clamp(8rem, 15vw, 10.5rem);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.closing__words {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--muted);
}

.closing__brand {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  margin: clamp(0.55rem, 1.5vw, 0.9rem) 0 clamp(1rem, 2.4vw, 1.4rem);
}

/* --- Fußzeile ------------------------------------------------------------ */
.site-foot {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.62);
  padding-block: clamp(2.25rem, 4vw, 3rem);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.site-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-foot a {
  color: rgba(251, 248, 242, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(251, 248, 242, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-foot a:hover {
  color: var(--yellow);
  border-color: rgba(249, 251, 148, 0.5);
}

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

/* --- Rechtstexte --------------------------------------------------------- */
.legal {
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
}

.legal__inner {
  max-width: 40rem;
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
}

.legal h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin: clamp(2rem, 4vw, 2.75rem) 0 0.6rem;
}

.legal p + p { margin-top: 0.9em; }

.legal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 124, 58, 0.4);
}

.legal a:hover { border-color: var(--gold); }

.legal__back {
  display: inline-block;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

/* --- Reveal (nur mit JS) -------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* --- Responsiv ----------------------------------------------------------- */
@media (max-width: 760px) {
  .gallery__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 8vw, 3rem);
  }

  .portrait { max-width: 20rem; margin-inline: auto; }

  .hero { min-height: clamp(28rem, 76svh, 40rem); }
  .hero__media img { object-position: 52% 22%; }

  .site-foot__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brandband__tagline { letter-spacing: 0.3em; }
  .btn { width: 100%; justify-content: center; }
}

/* --- Bewegung reduzieren ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* --- Druck --------------------------------------------------------------- */
@media print {
  .hero { min-height: auto; }
  .hero__scrim { display: none; }
  .hero__inner, .hero .eyebrow, .hero h1, .hero__meta { color: #000; }
  .brandband, .site-foot { border-color: #ccc; }
  .contact { background: #fff; }
}
