/* ==========================================================================
   Pascal Tsering One-Pager · «Platin · Saphir»
   ========================================================================== */

@font-face { font-family: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }

:root {
	--bg: #0C0D0F;
	--bg2: #111214;
	--sf: #17191C;
	--tx: #ECECE8;
	--mu: #9A9C9F;
	--pl: #D6D6D0;
	--line: rgba(214, 214, 208, .14);
	--accent: #5B86FF;
	--pad: clamp(20px, 4vw, 64px);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Basis ---------- */
html.ptop { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.ptop-body {
	margin: 0; background: var(--bg); color: var(--tx);
	font-family: "Jost", system-ui, sans-serif; font-weight: 300; font-size: 17px; line-height: 1.7;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.ptop-body *, .ptop-body *::before, .ptop-body *::after { box-sizing: border-box; }
.ptop-body img { display: block; max-width: 100%; height: auto; }
.ptop-body a { color: inherit; }
.ptop-body a:hover { color: #FFFFFF; }
.ptop-body ::selection { background: var(--accent); color: var(--bg); }
.ptop-body :focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.cz { font-family: "Cinzel", Georgia, serif; font-weight: 400; letter-spacing: .12em; }
.caps { font-family: "Jost", sans-serif; font-weight: 400; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; }
.ac { color: var(--accent); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { margin: 0 0 16px; color: var(--accent); }
.h2 { margin: 0; font-size: clamp(30px, 5vw, 76px); line-height: 1.1; text-transform: uppercase; }
/* Lange Wörter (z. B. LEIDENSCHAFT) dürfen nie über den Rand ragen – auch bei vergrösserter Handy-Schrift. */
.h2, .h3, .hero-title, .manifest p, .lead, .tl-y, .tl-t, .spec dd { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.h3 { margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.lead { margin: 0; max-width: 380px; color: var(--mu); font-size: 16px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Anker-Sprünge landen unter dem fixierten Header, nicht dahinter. */
.ptop-body section[id] { scroll-margin-top: 90px; }

.ptop-noimg { display: block; width: 100%; height: 100%; background: var(--sf) repeating-linear-gradient(135deg, rgba(214,214,208,.045) 0 1px, transparent 1px 16px); }

/* ---------- Header ---------- */
.hd {
	position: fixed; z-index: 50; top: 0; left: 0; right: 0;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 26px var(--pad); border-bottom: 1px solid transparent;
	transition: padding .5s var(--ease), background .5s, border-color .5s;
}
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
.hd.is-scrolled { padding-top: 14px; padding-bottom: 14px; background: rgba(12, 13, 15, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.hd-brand { font-size: 17px; letter-spacing: .3em; text-decoration: none; text-transform: uppercase; }
.hd-nav { display: flex; align-items: center; gap: 36px; font-size: 10px; }
.hd-nav a { text-decoration: none; position: relative; padding: 6px 0; }
.hd-nav a:not(.hd-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hd-nav a:not(.hd-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.hd-cta { border: 1px solid var(--accent); color: var(--accent) !important; padding: 13px 22px !important; transition: background .4s, color .4s; }
.hd-cta:hover { background: var(--accent); color: var(--bg) !important; }
.hd-burger { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line); cursor: pointer; position: relative; }
.hd-burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--tx); transition: transform .4s var(--ease), top .4s var(--ease); }
.hd-burger span:first-child { top: 19px; }
.hd-burger span:last-child { top: 27px; }
.hd.is-open .hd-burger span:first-child { top: 23px; transform: rotate(45deg); }
.hd.is-open .hd-burger span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 820px) {
	.hd-burger { display: block; }
	.hd-nav {
		position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 30px;
		background: rgba(12, 13, 15, .97); font-size: 13px;
		opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
	}
	.hd.is-open .hd-nav { opacity: 1; visibility: visible; }
}

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.js .reveal.in, .js .in .reveal { clip-path: inset(0 0 0 0); }

/* ---------- Hero / Zifferblatt ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 150px 20px 120px; }
.dial-wrap { --d: min(640px, 84vw); position: relative; width: var(--d); height: var(--d); margin-top: 40px; perspective: 1400px; }
.dial-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.glow { position: absolute; inset: -14%; border-radius: 50%; background: var(--accent); filter: blur(70px); opacity: .16; animation: ptop-breathe 6s ease-in-out infinite; }
.dial {
	position: absolute; inset: 0; border-radius: 50%;
	background:
		repeating-conic-gradient(from 0deg, rgba(214,214,208,.10) 0deg .6deg, transparent .6deg 3deg),
		repeating-radial-gradient(circle, rgba(214,214,208,.07) 0 1px, transparent 1px 7px),
		radial-gradient(circle, #1C1E22 0%, #0F1012 70%);
	animation: ptop-turn 120s linear infinite;
}
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ring-outer { inset: 0; border: 1px solid rgba(214,214,208,.35); }
.ring-inner { inset: 3.4%; border: 1px solid rgba(214,214,208,.15); }
.arc { position: absolute; inset: -2.2%; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--accent); border-right-color: var(--accent); animation: ptop-turn 14s linear infinite; }
.idx-wrap { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.idx { --w: 2px; --h: calc(var(--d) * .024); position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h); background: var(--mu); transform: rotate(var(--a)) translateY(calc(var(--d) / -2 + var(--d) * .045)); }
.idx.major { --w: 3px; --h: calc(var(--d) * .038); background: var(--tx); }
.idx.twelve { --w: 5px; --h: calc(var(--d) * .05); background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.sec { position: absolute; inset: 0; animation: ptop-turn 60s linear infinite; }
.sec span { position: absolute; left: 50%; top: 1.2%; width: 4px; height: calc(var(--d) * .055); margin-left: -2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.photo { position: absolute; inset: 17%; border-radius: 50%; overflow: hidden; background: var(--sf); box-shadow: 0 0 0 1px rgba(214,214,208,.4), 0 0 0 10px var(--bg), 0 0 0 11px rgba(214,214,208,.2); }
.photo img { width: 100%; height: 100%; object-fit: cover; animation: ptop-kb 24s ease-in-out infinite alternate; }

.hero-title { margin: 64px 0 0; font-size: clamp(30px, 6.4vw, 104px); line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; }
.hero-loc { display: flex; align-items: center; gap: 22px; margin-top: 26px; color: var(--mu); }
.hero-loc > span:not(.caps) { width: 60px; height: 1px; background: rgba(214,214,208,.4); }

/* ---------- Manifest ---------- */
.manifest { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(70px, 9vw, 120px) 24px; text-align: center; }
.manifest p { margin: 0 auto; max-width: 1100px; font-size: clamp(22px, 3vw, 44px); line-height: 1.45; letter-spacing: .06em; }
.manifest em { font-style: normal; }
.ul { border-bottom: 1px solid var(--accent); }
.js .split .w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .split.in .w { opacity: 1; transform: none; filter: none; }

/* ---------- Kollektion ---------- */
.kollektion { padding-top: clamp(90px, 10vw, 140px); padding-bottom: clamp(90px, 10vw, 140px); }
.sec-head > * { min-width: 0; max-width: 100%; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 64px; }
.ref { display: flex; flex-wrap: wrap; align-items: center; text-decoration: none; border-top: 1px solid rgba(214,214,208,.2); color: var(--tx); }
.ref:last-child { border-bottom: 1px solid rgba(214,214,208,.2); }
.ref-rev { flex-direction: row-reverse; }
.ref-media { flex: 999 1 min(560px, 100%); min-width: 0; height: clamp(260px, 32vw, 460px); margin: 40px 0; overflow: hidden; position: relative; background: var(--sf); }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.85); }
.ref:hover .ref-media img { transform: scale(1.1); filter: saturate(1); }
.ref-body { flex: 1 1 min(360px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px 0 40px clamp(0px, 4vw, 64px); }
.ref-rev .ref-body { padding: 40px clamp(0px, 4vw, 64px) 40px 0; }
.spec { margin: 0; font-size: 15px; border-top: 1px solid rgba(214,214,208,.15); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(214,214,208,.15); }
.spec dt { color: var(--mu); }
.spec dd { margin: 0; text-align: right; }
.more { display: inline-flex; align-items: center; gap: 14px; font-size: 10px; }
.more .ac { display: inline-flex; transition: transform .6s var(--ease); }
.ref:hover .more .ac { transform: translateX(10px); }
.ref:hover .h3 { color: #FFFFFF; }

/* ---------- Werdegang ---------- */
.werdegang { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(90px, 10vw, 140px) 0; }
.wg-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); }
.wg-left { flex: 1 1 min(420px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.wg-portrait { height: clamp(360px, 40vw, 520px); overflow: hidden; background: var(--sf); }
.wg-portrait img { width: 100%; height: 100%; object-fit: cover; }
.wg-right { flex: 1 1 min(500px, 100%); min-width: 0; color: #C4C5C2; line-height: 1.85; }
.wg-right p { margin: 0 0 22px; }
.wg-right a { color: var(--tx); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.tl { list-style: none; margin: 36px 0 0; padding: 0 0 0 36px; position: relative; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: rgba(214,214,208,.25); }
.tl li { position: relative; display: flex; flex-direction: column; padding-bottom: 26px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -36px; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--tx); background: var(--bg2); transition: background .6s, border-color .6s; }
.tl-y { font-size: 26px; color: #FFFFFF; line-height: 1.4; }
.tl-t { font-size: 15px; color: var(--mu); line-height: 1.6; }
.tl li.is-hl::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(255,255,255,.06), 0 0 16px var(--accent); }
.tl li.is-hl .tl-y { color: var(--accent); }

/* ---------- Galerie ---------- */
.galerie { padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; }
.gal-ctrl { display: flex; align-items: center; gap: 16px; }
.gal-count { font-size: 18px; margin-right: 6px; color: var(--mu); }
.gal-btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(214,214,208,.4); background: transparent; color: var(--tx); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.gal-btn:hover { border-color: var(--accent); color: var(--accent); }
.gal-next { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.gal-next:hover { color: var(--bg); transform: translateX(4px); }
.gal-btn:disabled { opacity: .35; cursor: default; transform: none; }
.gal-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 0 var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track::after { content: ""; flex: 0 0 1px; }
.gal-item { flex: 0 0 min(820px, 85vw); height: clamp(320px, 40vw, 560px); margin: 0; scroll-snap-align: start; opacity: .4; transition: opacity .8s var(--ease); }
.gal-item.is-active { opacity: 1; }
.gal-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sf); cursor: zoom-in; overflow: hidden; position: relative; }
.gal-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gal-open:hover img { transform: scale(1.04); }
.gal-progress { height: 1px; margin-top: 40px; background: rgba(214,214,208,.2); }
.gal-progress span { display: block; height: 2px; margin-top: -.5px; width: 4%; background: var(--accent); transition: width .6s var(--ease); }

/* ---------- Lightbox ---------- */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 9, 10, .96); color: var(--tx); }
.lb::backdrop { background: rgba(8, 9, 10, .9); }
.lb[open] { display: flex; align-items: center; justify-content: center; animation: ptop-fade .5s var(--ease); }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 70px 90px; }
.lb-fig img { max-width: min(1400px, 86vw); max-height: 80vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.lb-fig figcaption { font-size: 14px; color: var(--mu); }
.lb-close, .lb-nav { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(214,214,208,.35); background: rgba(12,13,15,.6); color: var(--tx); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .3s, color .3s; }
.lb-close:hover, .lb-nav:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; margin-top: -28px; }
.lb-next { right: 24px; top: 50%; margin-top: -28px; }
@media (max-width: 760px) { .lb-fig { padding: 70px 12px; } .lb-nav { top: auto; bottom: 24px; margin-top: 0; } }

/* ---------- Kontakt ---------- */
.kontakt { border-top: 1px solid var(--line); }
.kontakt-inner { max-width: 900px; margin: 0 auto; padding: clamp(90px, 10vw, 140px) 24px; text-align: center; }
.kontakt .lead { max-width: none; margin: 18px 0 56px; font-size: 17px; }
.cf { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.cf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cf label { display: flex; flex-direction: column; gap: 10px; font-size: 10px; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--mu); }
.cf input[type=text], .cf input[type=email], .cf textarea {
	width: 100%; background: #121316; border: 1px solid rgba(214,214,208,.18); color: var(--tx);
	font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none; padding: 16px 18px; border-radius: 0;
	transition: border-color .4s, box-shadow .4s;
}
.cf textarea { resize: vertical; min-height: 140px; }
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cf .is-invalid { border-color: #F0475A !important; }
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf .cf-consent { flex-direction: row; align-items: flex-start; gap: 14px; font-size: 14px; letter-spacing: 0; text-transform: none; color: #C4C5C2; line-height: 1.6; cursor: pointer; }
.cf-consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 18px; accent-color: var(--accent); }
.cf-consent a { color: var(--tx); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cf-submit { position: relative; min-height: 60px; margin-top: 14px; border: 0; background: var(--accent); color: var(--bg); font-size: 11px; cursor: pointer; transition: filter .4s, transform .4s var(--ease); }
.cf-submit:hover { filter: brightness(1.12); }
.cf-submit:disabled { opacity: .6; cursor: wait; }
.cf-msg { min-height: 1.6em; margin: 6px 0 0; text-align: center; font-size: 15px; }
.cf-msg.ok { color: var(--accent); }
.cf-msg.err { color: #F0475A; }

/* ---------- Footer ---------- */
.ft { border-top: 1px solid var(--line); padding: 34px var(--pad); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.ft .caps { font-size: 10px; color: var(--mu); }
.ft a { color: var(--tx); text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ---------- Glanz ---------- */
.sheen { overflow: hidden; }
.sheen::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 26%; left: -40%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); animation: ptop-sheen 6s ease-in-out infinite; pointer-events: none; }
.cf-submit.sheen::after { animation-duration: 4s; }

/* ---------- Keyframes ---------- */
@keyframes ptop-turn { to { transform: rotate(360deg); } }
@keyframes ptop-breathe { 0%, 100% { opacity: .10; } 50% { opacity: .24; } }
@keyframes ptop-sheen { 0%, 60% { left: -40%; } 100% { left: 140%; } }
@keyframes ptop-kb { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes ptop-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Ohne Animation ---------- */
.ptop-still *, .ptop-still *::before, .ptop-still *::after { animation: none !important; }
.ptop-still .rv, .ptop-still .split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
.ptop-still .reveal { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
	html.ptop { scroll-behavior: auto; }
	.ptop-body *, .ptop-body *::before, .ptop-body *::after { animation: none !important; transition-duration: .01ms !important; }
	.js .rv, .js .split .w { opacity: 1; transform: none; filter: none; }
	.js .reveal { clip-path: none; }
}

@media (max-width: 600px) {
	.ptop-body { font-size: 16px; }
	.h2 { font-size: clamp(22px, 7.4vw, 40px); letter-spacing: .06em; }
	.h3 { font-size: clamp(20px, 6.8vw, 34px); letter-spacing: .05em; }
	.hero-title { font-size: clamp(24px, 8vw, 44px); }
	.kontakt-inner { padding-left: 20px; padding-right: 20px; }
	.hero { padding-top: 120px; }
	.hero-title { letter-spacing: .08em; }
	.ref-body, .ref-rev .ref-body { padding: 0 0 40px; }
	.ref-media { margin: 32px 0 28px; }
	.gal-btn { width: 48px; height: 48px; }
}
