/* Hertlein (werk.lein, 12.11.2026) */
@font-face { font-family: "Abel"; src: url("schrift/abel.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--gold: #BEAB5E;
	--text: #fff;
	--grund: #000;
	--rand: 10px;
	--breite: 1140px;
	--fuss-h: 64px;
	--abel: "Abel", sans-serif;
	--system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--system); font-size: 15px; line-height: 1.63; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Startseite ---------- */
body.home { overflow: hidden; }
.hl-start {
	position: relative; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand);
	height: 100vh; height: 100svh; min-height: 640px;
	display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); overflow: visible;
}
.hl-start-text { display: flex; flex-direction: column; justify-content: center; padding-top: 14.2vh; font-family: var(--abel); position: relative; z-index: 1; }
.hl-start h1 { margin: 0; font-size: 50px; line-height: 70px; font-weight: 600; }
.hl-unter { margin: 0; font-family: var(--abel); font-size: 30px; line-height: 39px; color: var(--gold); }
.hl-kontakt { margin: 60px 0 0; font-size: 25px; line-height: 1; display: grid; grid-template-columns: 3.45em auto; justify-content: start; }
.hl-kontakt dt, .hl-kontakt dd { margin: 0; }
.hl-kontakt a { text-decoration: none; }
.hl-kontakt a:hover { color: var(--gold); }
.hl-start-bild { padding-top: 13.3vh; min-height: 0; }
.hl-start-link { display: block; width: 68%; margin-left: 14.5%; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.hl-start-bild img { width: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }

/* ---------- Fußzeile ---------- */
.hl-fuss { font-family: var(--abel); font-size: 16px; line-height: 21px; }
.hl-fuss a { text-decoration: none; }
.hl-fuss a:hover { color: var(--gold); }
.hl-fuss p { margin: 0; }
.hl-insta { display: block; width: 36px; height: 36px; color: #fff; }
.hl-insta svg { display: block; }

/* auf der Startseite wie bisher: Links unten links, Instagram unter dem Glas */
body.home .hl-fuss {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 2;
	max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand) 26px;
	display: grid; grid-template-columns: 1fr 1fr; align-items: start;
}
body.home .hl-insta { justify-self: center; transform: translateX(3px); }

/* auf allen anderen Seiten: Kontakt immer sichtbar, fest am unteren Rand */
body:not(.home) { padding-bottom: var(--fuss-h); }
body:not(.home) .hl-fuss {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: var(--fuss-h);
	background: var(--grund); border-top: 1px solid #262626;
	display: flex; align-items: center; gap: 28px;
	padding: 0 max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand)));
}
.hl-fuss-kontakt { display: flex; align-items: baseline; gap: 22px; font-size: 18px; flex: 1 1 auto; min-width: 0; }
.hl-fuss-name { color: var(--gold); }
body:not(.home) .hl-insta { width: 28px; height: 28px; }
body:not(.home) .hl-insta svg { width: 28px; height: 28px; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.hl-text { max-width: var(--breite); margin: 0 auto; padding: 72px var(--rand) 80px; }
.hl-text > *:first-child { margin-top: 0; }
.hl-text h1, .hl-text h2, .hl-text h3, .hl-text h4 { font-size: 15px; line-height: 1.63; margin: 1.63em 0 0; }
.hl-text p { margin: 0 0 1.63em; }
.hl-text a { color: var(--gold); }
.hl-text ul, .hl-text ol { margin: 0 0 1.63em; padding-left: 1.4em; }

/* ---------- Katalog ---------- */
.hl-katalog-seite { min-height: calc(100vh - var(--fuss-h)); min-height: calc(100svh - var(--fuss-h)); display: flex; }
.hl-katalog-leer { margin: auto; font-family: var(--abel); font-size: 22px; padding: 0 var(--rand); text-align: center; }

.hl-pw { margin: auto; width: min(420px, 100% - 2 * var(--rand)); font-family: var(--abel); padding: 40px 0; }
.hl-pw h1 { margin: 0; font-size: 50px; line-height: 70px; font-weight: 600; }
.hl-pw .hl-unter { font-size: 24px; line-height: 32px; margin-bottom: 32px; }
.hl-pw-feld span { display: block; font-size: 16px; margin-bottom: 6px; color: #bbb; }
.hl-pw input { width: 100%; font: 20px/1.2 var(--abel); color: #fff; background: #111; border: 1px solid #555; border-radius: 0; padding: 12px 14px; }
.hl-pw input:focus { border-color: var(--gold); outline: none; }
.hl-pw button { margin-top: 18px; width: 100%; font: 20px/1 var(--abel); color: #000; background: var(--gold); border: 0; padding: 15px 20px; cursor: pointer; }
.hl-pw button:hover { background: #d1bf74; }
.hl-pw-meldung { margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--gold); color: var(--gold); font-size: 18px; }

.hl-buch { position: relative; flex: 1 1 auto; height: calc(100vh - var(--fuss-h)); height: calc(100svh - var(--fuss-h)); padding: 28px 84px 60px; background: radial-gradient(ellipse 60% 55% at 50% 46%, #1b1a17 0%, #0b0b0a 55%, #000 100%); }
.hl-buch-buehne { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hl-buch-huelle { margin: 0 auto; }
/* page-flip setzt touch-action: pan-y, das sperrt das Zoomen mit zwei Fingern */
.hl-buch .stf__parent { touch-action: manipulation; }
.hl-seite { background: #fbfaf7; overflow: hidden; }
.hl-seite img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; display: block; }
/* Falz am Buchrücken (nur Doppelseite, nicht auf den Deckeln) */
.hl-seite.--soft::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hl-seite.--soft.--right::after { background: linear-gradient(to right, rgba(0,0,0,.18), rgba(0,0,0,.06) 2.5%, rgba(0,0,0,0) 7%); }
.hl-seite.--soft.--left::after { background: linear-gradient(to left, rgba(0,0,0,.18), rgba(0,0,0,.06) 2.5%, rgba(0,0,0,0) 7%); }
.hl-seite.--hard { background: #1d1a14; }
.hl-seitenwahl { display: inline-flex; align-items: baseline; gap: 6px; pointer-events: auto; }
.hl-seitenwahl input { font: inherit; color: #fff; background: transparent; border: 0; border-bottom: 1px solid #444; padding: 2px; text-align: center; min-width: 3ch; transition: border-color .2s; }
.hl-seitenwahl input:hover { border-bottom-color: #888; }
.hl-seitenwahl input:focus { outline: none; border-bottom-color: var(--gold); }
.hl-seitenwahl input::placeholder { color: #777; }
.hl-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl-buch-laden { font-family: var(--abel); font-size: 20px; color: #bbb; margin: 0; }
.hl-pfeil {
	position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; padding: 12px;
	background: transparent; border: 1px solid #333; border-radius: 50%; color: #fff; cursor: pointer;
	transition: border-color .2s, color .2s, opacity .2s;
}
.hl-pfeil svg { width: 100%; height: 100%; display: block; }
.hl-pfeil:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.hl-pfeil:disabled { opacity: .25; cursor: default; }
.hl-pfeil-zurueck { left: 14px; }
.hl-pfeil-weiter { right: 14px; }
.hl-buch-leiste { position: absolute; left: 0; right: 0; bottom: 14px; pointer-events: none; display: flex; justify-content: center; align-items: center; gap: 18px; font-family: var(--abel); font-size: 17px; color: #ccc; }
.hl-vollbild { pointer-events: auto; width: 34px; height: 34px; padding: 6px; background: transparent; border: 0; color: #ccc; cursor: pointer; }
.hl-vollbild:hover { color: var(--gold); }
.hl-vollbild svg { width: 100%; height: 100%; display: block; }
.hl-buch:fullscreen { height: 100vh; padding-bottom: 60px; }
.hl-buch:-webkit-full-screen { height: 100vh; padding-bottom: 60px; }

/* ---------- Handy ---------- */
@media (max-width: 767px) {
	:root { --fuss-h: 84px; }
	body.home { overflow: auto; position: relative; }
	.hl-start { display: block; height: max(100svh, 853px); min-height: 0; padding-top: 80px; overflow: hidden; }
	.hl-start-text { padding-top: 0; display: block; }
	.hl-start-bild { padding-top: 60px; }
	.hl-start-link { width: 66%; margin: 0 auto; }
	.hl-kontakt { line-height: 0.9; }
	body.home .hl-fuss { position: absolute; grid-template-columns: 1fr auto; padding-bottom: 22px; }
	body.home .hl-insta { justify-self: end; transform: none; margin-right: 30px; }

	body:not(.home) .hl-fuss { flex-wrap: wrap; align-content: center; gap: 4px 18px; padding: 8px var(--rand); }
	.hl-fuss-kontakt { flex: 1 1 100%; flex-wrap: wrap; gap: 0 16px; font-size: 17px; line-height: 24px; }
	.hl-fuss-name { display: none; }
	body:not(.home) .hl-fuss-links { flex: 1 1 auto; }
	body:not(.home) .hl-insta, body:not(.home) .hl-insta svg { width: 24px; height: 24px; }

	.hl-text { padding-top: 40px; }
	.hl-buch { padding: 10px var(--rand) 64px; }
	.hl-pfeil { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; padding: 10px; }
	.hl-pfeil-zurueck { left: var(--rand); }
	.hl-pfeil-weiter { right: var(--rand); }
	.hl-buch-leiste { bottom: 18px; }
}

/* ---------- Handy quer (Felix 18.11.2026: Katalog war sehr klein) ---------- */
@media (orientation: landscape) and (max-height: 500px) {
	body:has(.hl-katalog-seite) .hl-fuss { position: static; height: auto; }
	.hl-katalog-seite { min-height: 0; }
	.hl-buch { height: 100vh; height: 100svh; padding: 6px 62px 34px; }
	.hl-pfeil { top: 50%; bottom: auto; transform: translateY(-50%); width: 44px; height: 44px; padding: 10px; }
	.hl-pfeil-zurueck { left: 9px; }
	.hl-pfeil-weiter { right: 9px; }
	.hl-buch-leiste { bottom: 2px; }
}
