/* 27 Elf – Fotografie · Entwurf Seetalwebsites
   Idee: «Focus on the good» – die Fotos stellen scharf. Die feine Linie kommt aus dem Logo. */

:root {
  --papier: #F7F4EE;
  --papier-2: #EFEAE1;
  --tinte: #2A2824;
  --taupe: #B8AB98;
  --akzent: #C2923A;
  --t1: rgba(42, 40, 36, .92);
  --t2: rgba(42, 40, 36, .68);
  --t3: rgba(42, 40, 36, .48);
  --h1: rgba(247, 244, 238, .92);
  --h2: rgba(247, 244, 238, .68);
  --h3: rgba(247, 244, 238, .48);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --rand: 20px;
  --luft: 64px;
}
@media (min-width: 960px) {
  :root { --rand: 40px; --luft: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--t1);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

.innen { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }

/* Kleine gesperrte Versalien wie im Logo */
.nav a, .menu-knopf, figcaption, .filter button, .zettel-kopf, legend, .feld > span, .daten dt, .l-preis {
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- Angebots-Zeile ---------- */
.zeile {
  display: block; padding: 8px var(--rand);
  background: var(--tinte); color: var(--h1);
  font-size: 13px; text-align: center; text-decoration: none; line-height: 1.4;
}
.zeile:hover { color: #fbf8f2; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--papier); border-bottom: 1px solid transparent; transition: border-color 150ms ease-out; }
.kopf.gescrollt { border-bottom-color: rgba(184, 171, 152, .45); }
.kopf-innen { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 56px; width: auto; mix-blend-mode: multiply; }
.nav { display: none; gap: 40px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--t2); transition: color 150ms ease-out; }
.nav a:hover { color: var(--tinte); }
.kopf .knopf-klein { display: none; }
.menu-knopf { margin-left: auto; min-height: 44px; padding: 0 0 0 16px; }
.menu { padding: 8px var(--rand) 24px; border-bottom: 1px solid rgba(184, 171, 152, .45); }
.menu a { display: block; padding: 8px 0; font: 500 32px/1.2 var(--serif); text-decoration: none; }
@media (min-width: 960px) {
  .kopf-innen { height: 96px; }
  .logo img { height: 76px; }
  .nav { display: flex; }
  .kopf .knopf-klein { display: inline-flex; }
  .menu-knopf, .menu { display: none !important; }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--akzent); color: var(--tinte);
  font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.knopf:hover { background: #cf9f47; }
.knopf:active { transform: scale(.98); }
.knopf-klein { min-height: 40px; padding: 0 16px; font-size: 14px; }
.textlink {
  font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 6px;
  text-decoration-color: var(--taupe); transition: text-decoration-color 150ms ease-out;
}
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Titel aus der Maske ---------- */
.z { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.z > span { display: block; transform: translateY(105%); transition: transform 1000ms var(--expo); }
.z + .z > span { transition-delay: 90ms; }
.da .z > span, .z.da > span { transform: none; }

/* ---------- Schärfe ---------- */
.fokus .rahmen { position: relative; overflow: hidden; background: var(--papier-2); }
.fokus img {
  width: 100%; height: 100%; object-fit: cover;
  filter: blur(16px); transform: scale(1.08);
  transition: filter 1400ms var(--expo), transform 1800ms var(--expo);
}
.fokus.scharf img { filter: blur(0); transform: scale(1); }

/* ---------- Einstieg ---------- */
.hero { display: grid; gap: 24px; padding-top: 24px; padding-bottom: var(--luft); }
.titel {
  margin: 0; font: 500 52px/1 var(--serif); letter-spacing: -.02em; color: var(--tinte);
}
.hero-lead { margin-top: 16px; max-width: 34ch; color: var(--t2); }
.hero-aktion { display: flex; align-items: center; gap: 24px; margin-top: 24px; }
.hero-bild { position: relative; margin-left: 24px; }
.hero-bild::before { /* die Linie aus dem Logo */
  content: ""; position: absolute; left: -24px; top: 0; bottom: 40px; width: 1px; background: var(--taupe);
}
.hero-bild .rahmen { aspect-ratio: 4 / 5; }
.hero-bild img { object-position: 60% 78%; }
figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; color: var(--t3); }
.hero-zweit { display: none; }

/* Sucher: der eine Akzent, fasst das Gesicht wie der Autofokus */
.sucher { position: absolute; left: 62%; top: 52%; width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 0; transform: scale(1.7); }
.sucher i { position: absolute; width: 16px; height: 16px; border: 1.5px solid var(--akzent); }
.sucher i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.sucher i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.sucher i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.sucher i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.scharf .sucher { animation: sucher 2400ms var(--expo) forwards; }
@keyframes sucher {
  0% { opacity: 0; transform: scale(1.7); }
  25% { opacity: 1; transform: scale(1); }
  70% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 5fr 2fr 5fr; gap: 40px; align-items: end;
    min-height: calc(100svh - 120px); padding-top: 40px;
  }
  .titel { font-size: clamp(88px, 9vw, 124px); }
  .hero-text { padding-bottom: 64px; }
  .hero-lead { margin-top: 24px; font-size: 18px; }
  .hero-aktion { margin-top: 40px; }
  .hero-bild { grid-column: 3; margin: 0; }
  .hero-bild::before { left: -40px; bottom: 0; top: 104px; }
  .hero-bild .rahmen { aspect-ratio: 3 / 4; max-height: calc(100svh - 200px); }
  .hero-bild img { object-position: 60% 50%; }
  .hero-zweit { display: block; grid-column: 2; grid-row: 1; align-self: start; margin-top: 64px; }
  .hero-zweit .rahmen { aspect-ratio: 4 / 5; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--luft) 0; }
.kopfzeile { display: grid; gap: 16px; margin-bottom: 40px; padding-left: 24px; border-left: 1px solid var(--taupe); }
.h2 { margin: 0; font: 500 44px/1 var(--serif); letter-spacing: -.015em; color: var(--tinte); }
.h2.hell { color: var(--papier); }
.einleitung { max-width: 52ch; color: var(--t2); }
@media (min-width: 960px) {
  .kopfzeile { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 64px; }
  .h2 { font-size: 72px; }
  .einleitung { justify-self: end; }
}

/* ---------- Portfolio ---------- */
.filter {
  display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--rand) * -1) 40px; padding: 0 var(--rand);
}
.filter::-webkit-scrollbar { display: none; }
.filter button { flex: none; padding: 16px 0 8px; color: var(--t3); border-bottom: 1px solid transparent; transition: color 150ms ease-out, border-color 150ms ease-out; }
.filter button:hover { color: var(--tinte); }
.filter button.aktiv { color: var(--tinte); border-bottom-color: var(--akzent); }

.galerie { display: flex; gap: 16px; align-items: flex-start; }
.spalte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.spalte:nth-child(2) { margin-top: 64px; }
.galerie figure .rahmen { aspect-ratio: 4 / 5; }
.galerie figure { opacity: 1; transition: opacity 400ms var(--expo); }
.galerie.wechselt figure { opacity: 0; }
@media (min-width: 960px) {
  .galerie, .spalte { gap: 40px; }
  .spalte:nth-child(2) { margin-top: 104px; }
  .spalte:nth-child(3) { margin-top: 40px; }
}

/* ---------- Shootings ---------- */
.liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(184, 171, 152, .6); }
.liste a {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 8px; align-items: center;
  padding: 16px 0; border-top: 1px solid rgba(184, 171, 152, .6); text-decoration: none;
  transition: opacity 150ms ease-out;
}
.mini { grid-row: 1 / span 3; width: 56px; aspect-ratio: 4 / 5; object-fit: cover; }
.l-name { font: 500 30px/1.05 var(--serif); color: var(--tinte); }
.l-info { color: var(--t2); font-size: 15px; }
.l-preis { color: var(--tinte); font-variant-numeric: tabular-nums; }
.hinweis { margin-top: 24px; font-size: 14px; color: var(--t3); max-width: 65ch; }
.folgt { display: none; }

@media (min-width: 960px) {
  .liste a { grid-template-columns: 4fr 6fr 2fr; column-gap: 40px; padding: 24px 0; }
  .mini { display: none; }
  .l-name { font-size: 48px; }
  .l-info { font-size: 16px; }
  .l-preis { justify-self: end; font-size: 13px; }
  .liste:hover a { opacity: .4; }
  .liste:hover a:hover { opacity: 1; }
  .folgt {
    display: block; position: fixed; left: 0; top: 0; z-index: 15; width: 220px; aspect-ratio: 4 / 5;
    pointer-events: none; overflow: hidden; opacity: 0; transform: translate3d(-999px, 0, 0);
    transition: opacity 300ms var(--expo);
  }
  .folgt.an { opacity: 1; }
  .folgt img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Über mich ---------- */
.ueber { background: var(--papier-2); }
.ueber-innen { display: grid; gap: 40px; }
.ueber-bild { max-width: 320px; }
.ueber-bild .rahmen { aspect-ratio: 4 / 5; }
.ueber-bild img { object-position: 50% 20%; }
.ueber-text { display: grid; gap: 24px; max-width: 60ch; }
.ueber-text .h2 { padding-left: 24px; border-left: 1px solid var(--taupe); }
.gross { font: 500 30px/1.15 var(--serif); color: var(--tinte); }
.ueber-text p:not(.gross) { color: var(--t2); }
.ueber-text em { font-style: normal; color: var(--tinte); font-weight: 500; }
.platzhalter { padding: 16px; border: 1px dashed var(--taupe); font-size: 14px; color: var(--t3) !important; }
@media (min-width: 960px) {
  .ueber-innen { grid-template-columns: 5fr 7fr; gap: 104px; align-items: center; }
  .ueber-bild { max-width: 420px; }
  .gross { font-size: 44px; }
}

/* ---------- Kontakt ---------- */
.kontakt { background: var(--tinte); color: var(--h1); padding: var(--luft) 0; }
.kontakt-innen { display: grid; gap: 64px; }
.kontakt .h2 { padding-left: 24px; border-left: 1px solid rgba(184, 171, 152, .6); }
.kontakt-lead { margin-top: 24px; max-width: 42ch; color: var(--h2); }
.daten { margin: 40px 0 0; display: grid; gap: 16px; }
.daten div { display: grid; gap: 4px; }
.daten dt { color: var(--h3); }
.daten dd { margin: 0; font-size: 18px; }
.daten a { text-decoration: none; border-bottom: 1px solid rgba(184, 171, 152, .5); }
.daten a:hover { border-bottom-color: var(--papier); }
.daten small { margin-left: 8px; font-size: 12px; color: var(--h3); }

.anfrage { display: grid; gap: 24px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 16px; color: var(--h3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(247, 244, 238, .28); color: var(--h1); font-size: 15px;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.chips button:hover { border-color: var(--h2); }
.chips button[aria-pressed="true"] { background: var(--papier); color: var(--tinte); border-color: var(--papier); }
.felder { display: grid; gap: 24px; }
.feld { display: grid; gap: 8px; }
.feld > span { color: var(--h3); }
.feld input, .feld textarea {
  width: 100%; padding: 8px 0; background: transparent; color: var(--papier);
  border: 0; border-bottom: 1px solid rgba(247, 244, 238, .28); border-radius: 0;
  font: 400 18px/1.4 var(--sans); resize: vertical; transition: border-color 150ms ease-out;
}
.feld input::placeholder, .feld textarea::placeholder { color: rgba(247, 244, 238, .34); }
.feld input:focus, .feld textarea:focus { outline: 0; border-bottom-color: var(--akzent); }
.zettel { padding: 24px; background: var(--papier); color: var(--tinte); border-radius: 2px; transform: rotate(-.6deg); }
.zettel-kopf { color: var(--t3); margin-bottom: 8px; }
.zettel-text { font: 500 22px/1.35 var(--serif); white-space: pre-line; min-height: 3em; }
.senden { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.textlink.hell { color: var(--h1); }
.demo { font-size: 14px; color: var(--h3); }
@media (min-width: 960px) {
  .kontakt-innen { grid-template-columns: 5fr 7fr; gap: 104px; }
  .felder { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---------- Fuss ---------- */
.fuss { padding: var(--luft) 0 40px; }
.fuss-innen { display: grid; gap: 40px; }
.fuss-logo { width: 150px; height: auto; mix-blend-mode: multiply; }
.fuss-spalten { display: grid; gap: 24px; color: var(--t2); font-size: 15px; }
.offen { color: var(--t3); }
.entwurf { padding-top: 24px; border-top: 1px solid rgba(184, 171, 152, .45); font-size: 13px; color: var(--t3); }
@media (min-width: 960px) {
  .fuss-innen { grid-template-columns: 1fr 2fr; align-items: start; }
  .fuss-spalten { grid-template-columns: 1fr 1fr; }
  .entwurf { grid-column: 1 / -1; }
}

/* ---------- Ohne Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .z > span { transform: none !important; transition: none !important; }
  .fokus img { filter: none !important; transform: none !important; transition: none !important; }
  .sucher { display: none; }
  .galerie figure, .folgt { transition: none; }
  html { scroll-behavior: auto; }
}
