/* HENKY Photography – 2027 Refresh. Monochrom wie das Original, mit mehr Luft, Typo und Bewegung. */
:root {
  --ink: #0b0b0c;
  --ink-2: #161618;
  --paper: #f4f2ee;
  --paper-2: #e9e6e0;
  --text: #1b1b1d;
  --muted: #6d6b67;
  --line: rgba(11, 11, 12, .12);
  --lead: #3d3c39;
  --card: #fff;
  --light: #f4f2ee;
  --light-muted: rgba(244, 242, 238, .66);
  --radius: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Montserrat", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --head: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.04; margin: 0; font-weight: 400; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--light); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.wrap.wide { width: min(1500px, 100% - 2 * var(--gutter)); }
.center { text-align: center; }
section { position: relative; }

/* ---------- Typo-Bausteine ---------- */
.kicker { font: 600 12px/1 var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.kicker a { text-decoration: none; }
.kicker a:hover { color: var(--text); }
.kicker.light { color: var(--light-muted); }
.display { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.015em; margin-bottom: 26px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--lead); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.s-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.s-head h2 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -.015em; }
.s-head .lead { margin-top: 18px; color: var(--muted); }
.text-link { font: 600 14px/1 var(--display); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  padding: 16px 26px; border: 1.5px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--text); color: var(--paper); border-color: var(--text); transform: translateY(-2px); }
.btn.solid { background: var(--text); color: var(--paper); border-color: var(--text); }
.btn.solid:hover { background: transparent; color: var(--text); }
.btn.ghost { color: var(--light); border-color: rgba(244, 242, 238, .6); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: var(--light); color: var(--ink); border-color: var(--light); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter); padding-top: max(18px, env(safe-area-inset-top)); color: var(--light); transition: background .4s var(--ease), padding .4s var(--ease), color .4s; }
.nav { background: #000; }
.nav.solid, body:not(.home) .nav { padding-block: 12px; }
.nav-right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.lang-switch { position: relative; z-index: 2; font: 600 12px/1 var(--display); letter-spacing: .2em; text-decoration: none; opacity: .78; padding: 8px 2px; transition: opacity .3s; }
.lang-switch:hover { opacity: 1; }
.theme-toggle + .lang-switch { margin-left: calc(6px - clamp(16px, 2.4vw, 34px)); }
.theme-toggle { position: relative; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; opacity: .78; transition: opacity .3s, transform .4s var(--ease); flex: none; }
.theme-toggle:hover { opacity: 1; transform: rotate(-12deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
.dark .theme-toggle .i-sun { display: block; }
.dark .theme-toggle .i-moon { display: none; }
.brand { text-decoration: none; display: block; }
.brand img { height: 20px; width: auto; }
.brand-mark { font: 800 22px/1 var(--display); letter-spacing: .14em; }
.brand-mark.big { font-size: clamp(34px, 6vw, 56px); text-decoration: none; display: inline-block; }
.menu { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.menu a { font: 600 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; opacity: .78; padding: 8px 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.menu a:hover, .menu a[aria-current] { opacity: 1; }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded=true] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded=true] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--light); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -4%; background: var(--bg) center / cover no-repeat; z-index: -2; animation: drift 28s ease-in-out infinite alternate; filter: contrast(1.08) brightness(.9); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 50% 40%, transparent 30%, rgba(0,0,0,.65) 100%); }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero-inner { padding: 120px var(--gutter) 80px; }
.hero-title { display: flex; justify-content: center; margin: 0 0 42px; }
.hero-title img { width: min(640px, 78vw); height: auto; animation: rise 1.4s var(--ease) both; filter: drop-shadow(0 10px 40px rgba(0,0,0,.5)); }
.hero-claim { font: 600 12px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--light-muted); margin-bottom: 40px; animation: rise 1.2s .3s var(--ease) both; }
.hero .btn { animation: rise 1.2s .45s var(--ease) both; }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 56px; background: linear-gradient(var(--light), transparent); opacity: .5; animation: scrollcue 2.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes scrollcue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- Intro ---------- */
.intro { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); text-align: center; }

/* ---------- Slider ---------- */
.slider { position: relative; background: var(--ink); color: var(--light); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; height: min(86svh, 860px); overflow: hidden; text-decoration: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease-out; }
.slide.is-active img { transform: scale(1.05); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6)); }
.slide-cap { position: absolute; left: 0; right: 0; bottom: clamp(70px, 9vw, 110px); text-align: center; z-index: 1; padding: 0 var(--gutter); }
.slide-cap h3 { font: 800 clamp(40px, 7vw, 92px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.slide-cap p { font: 400 clamp(20px, 2.2vw, 28px)/1.3 var(--serif); margin: 10px 0 0; color: var(--light-muted); }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center; gap: 18px; z-index: 2; }
.slider-ui > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,242,238,.4); background: rgba(0,0,0,.25); color: var(--light); font-size: 22px; cursor: pointer; backdrop-filter: blur(8px); }
.dots { display: flex; gap: 8px; }
.dots button { width: 28px; height: 3px; border: 0; border-radius: 3px; background: rgba(244,242,238,.35); cursor: pointer; padding: 0; transition: background .3s, width .3s var(--ease); }
.dots button.on { background: var(--light); width: 44px; }

/* ---------- Portfolio-Karten ---------- */
.portfolio { padding: clamp(90px, 11vw, 150px) 0; background: var(--paper-2); }
.portfolio.pt0 { padding-top: 0; background: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.card { position: relative; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--light); background: var(--ink); aspect-ratio: 4 / 5; }
.card-img, .card-img img { width: 100%; height: 100%; }
.card-img img { object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.9); }
.card:hover .card-img img { transform: scale(1.06); filter: saturate(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
.card-body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; }
.card-body h3 { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.01em; }
.card-body p { margin: 0; font-size: 13px; color: var(--light-muted); }
.moin { display: grid; gap: 6px; margin-top: clamp(24px, 3vw, 36px); padding: 26px 30px; border-radius: var(--radius); background: var(--paper); text-decoration: none; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.moin:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.moin .kicker { margin: 0; }
.moin strong { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--head); }
.moin span:last-child { color: var(--muted); }

/* ---------- CTA-Bänder ---------- */
.cta { padding: clamp(90px, 12vw, 150px) 0; text-align: center; color: var(--light); background: var(--ink) var(--bg) center / cover; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
.cta .wrap { position: relative; }
.cta h2 { font-size: clamp(38px, 5.4vw, 70px); margin-bottom: 34px; font-weight: 400; }

/* ---------- Preise ---------- */
.prices { padding: clamp(90px, 11vw, 150px) 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); margin-bottom: 40px; }
.service { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(0,0,0,.35); }
.service-img { aspect-ratio: 16 / 10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 32px; margin-bottom: 10px; }
.service-body > p { color: var(--muted); font-size: 16px; }
.price { font: 400 32px/1.15 var(--serif); color: var(--text) !important; margin: 4px 0 18px; }
.price.big { font-size: clamp(28px, 3vw, 36px); margin: 28px 0; }
.service ul { list-style: none; padding: 0; margin: 0 0 26px; border-top: 1px solid var(--line); flex: 1; }
.service li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.service li::before { content: "—"; color: var(--muted); }
.service .btn { align-self: flex-start; }

/* ---------- Über mich ---------- */
.about-band { padding: clamp(110px, 14vw, 200px) 0 clamp(130px, 15vw, 210px); text-align: center; color: var(--light); background: var(--ink) var(--bg) center / cover; }
.about-title { font: 800 clamp(40px, 7vw, 96px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.about-sub { font-size: clamp(20px, 2.4vw, 30px); color: var(--light-muted); margin-top: 14px; }
.about-body { text-align: center; padding-bottom: clamp(50px, 7vw, 80px); }
.avatar { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; margin: -90px auto 28px; border: 6px solid var(--paper); position: relative; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); padding-bottom: clamp(90px, 11vw, 150px); }
.step { border-top: 1px solid var(--line); padding-top: 26px; }
.step-n { font: 400 48px/1 var(--serif); color: var(--muted); display: block; margin-bottom: 16px; }
.step h3 { font-size: 30px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Journal ---------- */
.journal-teaser { padding: 0 0 clamp(90px, 11vw, 150px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 44px) clamp(14px, 2vw, 26px); margin-bottom: 40px; }
.post-card { text-decoration: none; display: block; }
.post-img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-meta { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 27px; line-height: 1.12; }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(140px, 16vw, 200px) 0 clamp(30px, 4vw, 50px); }
.page-head .s-head { margin-bottom: 0; }
.post-title { font-size: clamp(36px, 5.4vw, 66px); letter-spacing: -.025em; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.prose { font-size: 18px; padding-bottom: 40px; }
.prose h2 { font-size: 34px; margin: 40px 0 14px; }
.prose h4 { font: 400 26px/1.2 var(--head); margin: 0 0 12px; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.pager { display: flex; justify-content: space-between; gap: 20px; padding: 50px 0 clamp(70px, 9vw, 110px); border-top: 1px solid var(--line); margin-top: 60px; }
.pager a { font: 600 14px/1.3 var(--display); letter-spacing: .04em; text-decoration: none; }
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Galerie + Lightbox ---------- */
.gallery { columns: 3 320px; column-gap: 14px; padding-bottom: 20px; }
.g-item { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--paper-2); aspect-ratio: var(--r); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .6s; }
.g-item:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 9, .96); display: grid; place-items: center; color: var(--light); animation: fade .3s ease; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 92vw; max-height: 88svh; display: grid; justify-items: center; gap: 12px; }
.lb-fig img { max-width: 92vw; max-height: 82svh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-fig figcaption { font-size: 14px; color: var(--light-muted); min-height: 1em; }
.lb button { position: absolute; background: none; border: 0; color: var(--light); font-size: 42px; width: 64px; height: 64px; cursor: pointer; opacity: .7; }
.lb button:hover { opacity: 1; }
.lb-close { top: max(10px, env(safe-area-inset-top)); right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(90px, 11vw, 150px) 0; background: var(--ink); color: var(--light); }
.contact .kicker, .contact .s-head .lead { color: var(--light-muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact-direct { display: grid; gap: 6px; }
.big-link { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid rgba(244,242,238,.14); text-decoration: none; font: 400 clamp(26px, 3vw, 40px)/1.15 var(--head); transition: padding .3s var(--ease); }
.big-link span { font: 600 11px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--light-muted); }
.big-link:hover { padding-left: 10px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--light-muted); }
.form em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.form input, .form textarea { font: 400 16px/1.5 var(--sans); color: var(--light); background: rgba(244,242,238,.06); border: 1px solid rgba(244,242,238,.16); border-radius: 12px; padding: 14px 16px; resize: vertical; transition: border-color .3s, background .3s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--light); background: rgba(244,242,238,.1); }
.form .btn.solid { background: var(--light); color: var(--ink); border-color: var(--light); justify-self: start; }
.form .btn.solid:hover { background: transparent; color: var(--light); }
.form-note { font-size: 13px; color: var(--light-muted); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: var(--light); text-align: center; padding: 70px var(--gutter) calc(50px + env(safe-area-inset-bottom)); }
.footer-logo img { width: 200px; height: auto; margin: 0 auto; opacity: .92; }
.footer-sub { font: 400 20px/1 var(--serif); color: var(--light-muted); margin: 22px 0 28px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a, .footer-legal a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-legal { font-size: 13px; color: var(--light-muted); margin: 0; }

/* ---------- Dark Mode (System-Einstellung oder Button oben rechts) ---------- */
:root.dark {
  --paper: #0e0e0f;
  --paper-2: #151517;
  --text: #ecebe7;
  --muted: #9b9994;
  --lead: #cfcdc8;
  --card: #18181a;
  --line: rgba(244, 242, 238, .12);
  color-scheme: dark;
}
.dark .contact { background: #000; }
.dark .footer { background: #000; border-top: 1px solid var(--line); }
.dark .moin { background: var(--card); }
.dark .avatar { border-color: var(--paper); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .services, .posts { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-right { gap: 8px; }
  .theme-toggle + .lang-switch { margin-left: 0; }
  .menu { position: fixed; inset: 0; background: #000; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
  .menu a { font-size: 18px; }
  .nav.open .menu { opacity: 1; pointer-events: auto; }
  .cards, .services, .posts, .steps { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; }
  .slide { height: 72svh; }
  .slider-ui > button { display: none; }
  .gallery { columns: 2 150px; column-gap: 8px; }
  .g-item { margin-bottom: 8px; border-radius: 8px; }
  .pager { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
