:root {
  --paper: #faf8f3; --ink: #1c1a17; --muted: #8a7f6c; --hair: #e6e1d6;
  --accent: #a08a2e; --dark: #141210;
  --serif: "Fraunces", Georgia, serif; --sans: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.site-head { text-align: center; padding: 64px 24px 40px; border-bottom: 1px solid var(--hair); }
.site-head__name { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 60px); margin: 0; letter-spacing: 0.5px; }
.site-head__kicker { margin: 14px 0 0; font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); }

.aktuell { max-width: 980px; margin: 0 auto; padding: 16px 24px; display: flex; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--hair); }
.aktuell__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.aktuell__text { font-family: var(--serif); font-size: 18px; }

.showreel { max-width: 980px; margin: 0 auto; padding: 48px 24px 12px; }
.showreel__frame { position: relative; background: var(--dark); border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 9; }
.showreel__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.showreel__play { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border: 0; border-radius: 50%; background: rgba(250,248,243,0.92); cursor: pointer; }
.showreel__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-left: 22px solid var(--dark); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.showreel__play.is-hidden { display: none; }

.showreel__timeline { position: relative; height: 34px; margin: 20px 10px 0; }
.showreel__timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: var(--hair); }
.marker { position: absolute; top: 8px; left: 0; transform: translateX(-50%); width: 18px; height: 18px; padding: 0; border: 0; background: none; cursor: pointer; }
.marker::after { content: ""; display: block; width: 11px; height: 11px; margin: 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--paper); transition: transform .15s ease; }
.marker:hover::after, .marker:focus-visible::after { transform: scale(1.4); }
.marker__tip { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 240px; max-width: 70vw; background: var(--dark); color: #e8e2d4; padding: 9px 11px; border-radius: 6px; text-align: left; opacity: 0; visibility: hidden; transition: opacity .15s ease; pointer-events: none; z-index: 6; }
.marker:hover .marker__tip, .marker:focus-visible .marker__tip, .marker.is-open .marker__tip { opacity: 1; visibility: visible; }
.marker.tip-left .marker__tip { left: 0; transform: none; }
.marker.tip-right .marker__tip { left: auto; right: 0; transform: none; }
.marker__time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; margin-right: 8px; }
.marker__titel { font-family: var(--serif); font-size: 14px; }
.marker__detail { display: block; font-size: 12px; color: #b7ae9c; margin-top: 3px; line-height: 1.45; }
.showreel__hint { text-align: center; font-size: 12px; letter-spacing: 1px; color: var(--muted); margin: 12px 0 0; }

.work { max-width: 980px; margin: 0 auto; padding: 40px 24px 8px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery__ph { aspect-ratio: 3/4; background: repeating-linear-gradient(45deg,#eae4d6,#eae4d6 10px,#e3dccb 10px,#e3dccb 20px); border-radius: 3px; }
.gallery__item { margin: 0; }
.gallery__item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; display: block; }

.resume__title { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 20px; }
.resume__block { margin-bottom: 26px; }
.resume__label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); font-weight: 500; margin: 0 0 10px; }
.resume__merkmale { margin: 0; font-size: 15px; }
.resume__list { margin: 0; }
.resume__row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 4px 0; font-size: 15px; }
.resume__row dt { color: var(--muted); font-variant-numeric: tabular-nums; }
.resume__row dd { margin: 0; }

.impressum { max-width: 980px; margin: 40px auto 0; padding: 28px 24px 56px; border-top: 1px solid var(--hair); text-align: center; color: var(--muted); font-size: 13px; }
.impressum__title { font-family: var(--serif); font-weight: 400; font-size: 16px; color: var(--ink); margin: 0 0 10px; }
.impressum a { color: var(--muted); }

@media (max-width: 720px) {
  .work { grid-template-columns: 1fr; gap: 28px; }
  .marker__tip { width: 200px; }
}

.admin { max-width: 860px; margin: 0 auto; padding: 24px; }
.admin__head { display: flex; gap: 20px; align-items: baseline; border-bottom: 1px solid var(--hair); padding-bottom: 12px; margin-bottom: 20px; }
.admin__head h1 { font-family: var(--serif); font-weight: 400; margin: 0; flex: 1; }
.admin-card { background: #fff; border: 1px solid var(--hair); border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.admin-card h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 14px; font-size: 20px; }
.admin-card label { display: block; margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.admin-card input, .admin-card textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid var(--hair); border-radius: 6px; font: inherit; color: var(--ink); background: var(--paper); }
.admin-check { display: flex !important; align-items: center; gap: 8px; }
.admin-check input { width: auto; margin: 0; }
.admin-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.admin-row input { margin-top: 0; }
.admin-sektion { border: 1px solid var(--hair); border-radius: 6px; padding: 12px; margin-bottom: 12px; }
.admin-sektion-titel { font-family: var(--serif); }
.admin-card button { padding: 8px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 6px; cursor: pointer; font: inherit; margin-right: 8px; }
.admin-card button.row-del, .admin-fotos button { background: none; color: var(--ink); border-color: var(--hair); }
.admin-fotos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.admin-foto { width: 120px; }
.admin-foto img { width: 120px; height: 160px; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 6px; }
.admin-foto form { display: inline; }
.admin-login { max-width: 320px; margin: 12vh auto; text-align: center; font-family: var(--sans); }
.admin-login h1 { font-family: var(--serif); font-weight: 400; }
.admin-login input, .admin-login button { display: block; width: 100%; padding: 10px; margin: 8px 0; border: 1px solid var(--hair); border-radius: 6px; font: inherit; }
.admin-login button { background: var(--ink); color: var(--paper); cursor: pointer; }
.admin-error { color: #a3392e; }
.admin-notice { background: #f0ead6; border: 1px solid var(--accent); color: #5a4e1e; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
