/* Murer Photography – gemeinsame Gestaltung für alle Seiten */

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

:root {
  --bg: #0e0e0d;
  --bg-2: #161614;
  --text: #ece8e1;
  --muted: #a6a197;
  --line: #2c2b28;
  --accent: #c8a46a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --rand: 5vw;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
  accent-color: var(--accent);
  scrollbar-color: #3a3833 var(--bg);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; font-size: .9rem; }
.skip:focus { top: 16px; }

/* Kopfzeile */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--rand); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.kopf.fest { background: rgba(14, 14, 13, .94); border-color: var(--line); }
.logo { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; line-height: 1; padding: 8px 0; }
.logo span { color: var(--accent); font-style: italic; }
.menu { display: flex; gap: .4rem; }
.menu a { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; transition: color .3s; }
.menu a:hover { color: var(--text); }
.menu-knopf { display: none; background: none; border: 0; color: var(--text); font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0 12px 12px; cursor: pointer; }

/* Titelbild */
.titel { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg-2); }
.titel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heranzoomen 16s var(--ease) forwards; }
@keyframes heranzoomen { to { transform: scale(1); } }
.titel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 35%, rgba(14,14,13,.55) 70%, var(--bg) 100%); }
.titel-text { position: absolute; z-index: 2; left: var(--rand); right: var(--rand); bottom: 12vh; }
.titel h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7.5vw, 6rem); line-height: 1; letter-spacing: -.01em; max-width: 12ch; text-wrap: balance; }
.titel p { margin-top: 1.2rem; max-width: 40ch; color: #d8d3ca; font-size: 1.1rem; }

.knopf { display: inline-block; margin-top: 2rem; padding: 15px 32px; border: 1px solid var(--text); background: none; color: var(--text); font: inherit; font-size: .8rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.knopf:hover { background: var(--text); color: var(--bg); }

/* Abschnitte */
main > section { padding: 128px var(--rand); }
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }

/* Portfolio */
.filter { display: flex; gap: .2rem 1.4rem; flex-wrap: wrap; }
.filter button { background: none; border: 0; color: var(--muted); font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 0 8px; border-bottom: 1px solid transparent; cursor: pointer; transition: color .3s, border-color .3s; }
.filter button:hover { color: var(--text); }
.filter button[aria-pressed="true"] { color: var(--text); border-color: var(--accent); }
.galerie { columns: 3 300px; column-gap: 14px; }
.galerie .bild { display: block; break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.galerie .bild[hidden] { display: none; }
.galerie img { width: 100%; transition: transform 1s var(--ease); }
.galerie .bild:hover img { transform: scale(1.03); }
.galerie .bild span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.72)); font-size: .95rem; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.galerie .bild:hover span, .galerie .bild:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .galerie .bild span { opacity: 1; transform: none; } }

/* Über mich */
.ueber { background: var(--bg-2); display: grid; grid-template-columns: 1fr; gap: 6vw; align-items: center; }
.ueber.mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.ueber-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ueber-text { max-width: 62ch; }
.ueber-text p { color: var(--muted); margin-top: 1.3rem; }
.ueber-text h2 + p { margin-top: 1.8rem; }

/* Angebot */
.angebot { list-style: none; border-top: 1px solid var(--line); }
.angebot li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem 4rem; padding: 44px 0; border-bottom: 1px solid var(--line); }
.angebot h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; }
.angebot p { color: var(--muted); max-width: 56ch; align-self: center; }

/* Equipment */
.ausruestung { background: var(--bg-2); }
.geraete { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.5rem 3rem; }
.geraete div { font-family: var(--serif); font-size: 1.4rem; line-height: 1.45; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.geraete h3 { font-family: var(--sans); font-weight: 400; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; }
.kontakt-text p { color: var(--muted); margin-top: 1.8rem; max-width: 46ch; }
.direkt { margin-top: 2rem; display: grid; gap: .2rem; max-width: 26rem; }
.direkt a { border-bottom: 1px solid var(--line); padding: .7rem 0; transition: color .3s, border-color .3s; }
.direkt a:hover { color: var(--accent); border-color: var(--accent); }
form { display: grid; gap: 1.6rem; align-content: start; }
label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; gap: .3rem; }
input, select, textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); font: inherit; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; padding: .6rem 0; transition: border-color .3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
select option { background: var(--bg); }
textarea { resize: vertical; min-height: 120px; }
form .knopf { justify-self: start; margin-top: .4rem; }
.hinweis { font-size: .9rem; color: var(--muted); margin-top: -.6rem; }

/* Fusszeile */
.fuss { padding: 40px var(--rand); border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-size: .9rem; color: var(--muted); }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss a { padding: 6px 0; transition: color .3s; }
.fuss a:hover { color: var(--text); }

/* Grossansicht */
.gross { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(8, 8, 7, .97); color: var(--text); }
.gross::backdrop { background: rgba(8, 8, 7, .97); }
.gross[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.gross figure { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 72px 0; min-height: 0; }
.gross img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; }
.gross figcaption { padding: 18px 16px 24px; color: var(--muted); font-size: .95rem; text-align: center; }
.gross button { position: absolute; background: none; border: 0; color: var(--text); width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; opacity: .7; transition: opacity .3s; }
.gross button:hover { opacity: 1; }
.gross svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.gross .zu { top: 12px; right: 12px; }
.gross .zurueck { left: 8px; top: 50%; transform: translateY(-50%); }
.gross .weiter { right: 8px; top: 50%; transform: translateY(-50%); }

/* Knöpfe im Titel und in der Kopfzeile */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 2rem; }
.knoepfe .knopf { margin-top: 0; }
.knopf-voll { background: var(--text); color: var(--bg); }
.knopf-voll:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.kopf-rechts { display: flex; align-items: center; gap: 1.2rem; }
.kopf-anfrage { display: none; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); background: var(--text); padding: 10px 16px; transition: background-color .3s; }
.kopf-anfrage:hover { background: var(--accent); }

/* Über mich: Ausrüstung als eine Zeile */
.ausruestung-zeile { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.ausruestung-zeile span { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .3rem; }

/* Ablauf und Fragen */
.ablauf-bereich { background: var(--bg-2); }
.ablauf { list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
.ablauf li { counter-increment: schritt; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.ablauf li::before { content: counter(schritt); font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: .8rem; }
.ablauf h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin-bottom: .4rem; }
.ablauf p { color: var(--muted); }
.fragen { margin-top: 4.5rem; max-width: 820px; }
.fragen-titel { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin-bottom: 1rem; }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 1.1rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--accent); transition: transform .3s; }
.fragen details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fragen details a { border-bottom: 1px solid var(--line); }
.fragen details p { color: var(--muted); padding: 0 0 22px; max-width: 65ch; }

/* Formular: Prüfung und Rückmeldung */
input:user-invalid, textarea:user-invalid { border-color: #c9776b; }
.rueckmeldung { border: 1px solid var(--accent); padding: 22px 24px; display: grid; gap: .8rem; }
.rueckmeldung p { color: var(--muted); }
.rueckmeldung strong { color: var(--text); font-weight: 400; }
.rueck-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.rueck-knoepfe .knopf { margin-top: 0; padding: 12px 20px; }

/* Rechtstexte */
.text-seite { max-width: 760px; margin: 0 auto; padding: 150px var(--rand) 110px; }
.text-seite h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 2.4rem; hyphens: auto; }
.text-seite h2 { font-size: 1.7rem; margin: 2.8rem 0 .7rem; color: var(--accent); }
.text-seite p { color: var(--muted); }
.text-seite p + p { margin-top: .9rem; }
.text-seite ul { padding-left: 1.2rem; margin-top: .6rem; color: var(--muted); }
.text-seite li + li { margin-top: .4rem; }
.text-seite .vorlage { border: 1px solid var(--line); padding: 20px 24px; margin-top: 1rem; }
.text-seite strong { color: var(--text); font-weight: 400; }
.text-seite a { border-bottom: 1px solid var(--line); }
.text-seite a:hover { color: var(--accent); }

@media (max-width: 1100px) and (min-width: 861px) {
  .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --rand: 16px; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .menu.offen { display: flex; }
  .menu a { padding: 16px; border-top: 1px solid var(--line); }
  .menu-knopf { display: block; }
  .kopf-anfrage { display: inline-block; padding: 9px 12px; letter-spacing: .12em; }
  .logo { font-size: 1.3rem; white-space: nowrap; }
  .kopf-rechts { gap: .9rem; }
  .ablauf { grid-template-columns: 1fr; gap: 2rem; }
  .kopf.menu-offen { background: var(--bg); border-color: var(--line); }
  main > section { padding: 88px var(--rand); }
  .titel-text { bottom: 9vh; }
  .ueber.mit-bild, .kontakt { grid-template-columns: 1fr; gap: 3rem; }
  .angebot li { grid-template-columns: 1fr; padding: 32px 0; }
  .gross figure { padding: 60px 0 0; }
  .gross .zurueck, .gross .weiter { top: auto; bottom: 8px; transform: none; }
  .gross figcaption { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .titel img { animation: none; transform: none; }
  .galerie img, .galerie .bild span { transition: opacity .3s; }
  .galerie .bild:hover img { transform: none; }
}

.knopf-text { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 12px 0; transition: color .3s; }
.knopf-text:hover { color: var(--text); }
