/* ==========================================================================
   Ferch Eyewear – Stylesheet
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
  --ivory: #F5F0E8;
  --paper: #EDE5D9;
  --white: #FFFDF9;
  --ink: #1E1914;
  --ink-soft: #4A4038;
  --muted: #6B5F55;
  --horn: #6E4A2C;
  --horn-dark: #553820;
  --brass: #C9A66B;
  --brass-soft: #D9BF91;
  --line: rgba(30, 25, 20, .14);
  --line-strong: rgba(30, 25, 20, .3);
  --dark: #1E1914;
  --dark-2: #2A231D;
  --on-dark: #F1EADF;
  --on-dark-soft: #CFC4B5;
  --error: #A3261B;
  --success: #2E5E3A;
  --focus: #B5781F;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --space-section: clamp(72px, 10vw, 152px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.7; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--horn); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--horn-dark); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

[hidden] { display: none !important; }
.visually-hidden { 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-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: var(--white); padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--white); }

/* --------------------------------------------------------------- Typografie */
.display, .h1, .h2, .h3, h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; color: inherit; }
.display { font-size: clamp(44px, 7vw, 96px); line-height: 1.0; }
.h1 { font-size: clamp(36px, 5vw, 64px); }
.h2 { font-size: clamp(32px, 3.8vw, 52px); }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--horn); }
.section--dark .display em, .section--dark .h1 em, .hero .display em, .cover .display em { color: var(--brass-soft); }
.lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.65; color: var(--ink-soft); max-width: 40em; }
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--horn); margin: 0 0 18px; }
.eyebrow--light { color: var(--brass-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--space-section) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0 var(--space-section); }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .lead, .section--dark p { color: var(--on-dark-soft); }
.section--dark .h1, .section--dark .h2, .section--dark .h3 { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--brass-soft); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h2 { margin-bottom: 0; }
.section-head--center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .h2 { margin-bottom: .4em; }
.section-head--center .lead { margin: 0 auto; }

.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }

.media img { width: 100%; height: 100%; object-fit: cover; }
.media--rounded img { border-radius: var(--radius); }

.img-fallback { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper) 0 12px, #E6DCCD 12px 24px); color: var(--muted); aspect-ratio: 3 / 2; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; width: 100%; }
.img-fallback--video { aspect-ratio: 16 / 9; }

/* ----------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --btn-bg: var(--horn-dark); --btn-bd: var(--horn-dark); color: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); color: var(--white); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-bd: var(--on-dark); }
.btn--light:hover { --btn-bg: var(--brass-soft); --btn-bd: var(--brass-soft); color: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(241, 234, 223, .5); }
.btn--outline-light:hover { --btn-bg: var(--on-dark); --btn-bd: var(--on-dark); color: var(--ink); }
.btn--small { min-height: 42px; padding: 10px 20px; font-size: 12.5px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.link-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link-arrow { font-size: 13.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.link-arrow:hover { color: var(--horn); border-color: var(--horn); }

/* ------------------------------------------------------------------- Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__emblem { width: 46px; height: auto; flex: none; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: .26em; text-transform: uppercase; margin-right: -.26em; }
.logo__sub { font-family: var(--sans); font-weight: 500; font-size: 9.5px; letter-spacing: .62em; text-transform: uppercase; color: var(--horn); margin-top: 5px; }

/* ----------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 240, 232, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.site-header__brand { text-decoration: none; display: inline-flex; padding: 8px 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 10px 0; position: relative; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--horn); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 66px; }
  .logo__emblem { width: 40px; }
  .logo__name { font-size: 21px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); min-height: 44px; padding: 8px 14px; cursor: pointer; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
  .nav-toggle__bars { position: relative; width: 18px; height: 1.5px; background: currentColor; transition: background .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) { display: block; padding: 18px 0; font-size: 15px; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav__cta { border-bottom: 0 !important; padding-top: 24px; }
  .main-nav__cta .btn { width: 100%; min-height: 52px; }
}

/* ------------------------------------------------------------------- Hero */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(201, 166, 107, .16), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 48px; padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.25fr .75fr; gap: clamp(48px, 7vw, 120px); } }
.hero .lead { color: var(--on-dark-soft); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions--center { justify-content: center; }
.hero__portrait { margin: 0; justify-self: center; width: min(100%, 420px); position: relative; }
.hero__portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(201, 166, 107, .45); pointer-events: none; }
.hero__img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; position: relative; }
.hero__portrait figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.hero__portrait figcaption a { color: var(--brass-soft); text-decoration: none; }
.hero__portrait figcaption a:hover { color: var(--on-dark); }
@media (max-width: 899px) { .hero__portrait { width: min(78%, 360px); } }

/* ----------------------------------------------------------- Cover (Unterseite) */
.cover { position: relative; min-height: clamp(460px, 78vh, 760px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--dark); }
.cover__img { position: absolute; inset: 0; }
.cover__img img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .25) 0%, rgba(20, 16, 12, .35) 45%, rgba(20, 16, 12, .85) 100%); }
.cover__content { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); }
.cover .lead { color: var(--on-dark); }

/* ------------------------------------------------------------- Startseite */
.statement .h1 { margin-bottom: .6em; }
.band { line-height: 0; }
.band__img img { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; }

.highlights { list-style: none; margin: 0 0 56px; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.highlight__link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--white); padding: 24px 20px 26px; height: 100%; border: 1px solid transparent; transition: border-color .3s var(--ease), transform .4s var(--ease); }
.highlight__link:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-3px); }
.highlight__img { margin-bottom: 18px; }
.highlight__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; mix-blend-mode: multiply; }
.highlight__name { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; }
.highlight__meta { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

.stack { position: relative; padding-bottom: 18%; }
.stack > .media:first-child img { aspect-ratio: 4 / 3; }
.stack__small { position: absolute; right: -4%; bottom: 0; width: 52%; border: 8px solid var(--paper); }
.stack__small img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .stack__small { right: 0; } }
.split__text { padding-top: clamp(0px, 4vw, 48px); }
.split__text .link-arrow { display: inline-block; margin-top: 12px; }

.craft-grid { list-style: none; margin: 0 0 56px; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .craft-grid { grid-template-columns: repeat(3, 1fr); } }
.craft-grid .media img { aspect-ratio: 4 / 5; }
.craft-grid__caption { margin: 16px 0 0; font-family: var(--serif); font-size: 24px; }
.craft-grid__caption span { font-family: var(--sans); font-size: 12.5px; letter-spacing: .18em; color: var(--horn); margin-right: 12px; vertical-align: middle; }

.cta-final .lead { margin-bottom: 36px; }

/* ------------------------------------------------------------- Galerie */
.page-intro { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 72px); }
.page-intro .lead { margin-bottom: 32px; }
.model-index ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.model-index a { display: inline-block; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; letter-spacing: .08em; }
.model-index a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.model-list { display: grid; gap: clamp(24px, 3vw, 40px); }
.model { display: grid; background: var(--white); border: 1px solid var(--line); }
@media (min-width: 900px) { .model { grid-template-columns: 1.35fr 1fr; } }
.model__media { padding: clamp(20px, 3vw, 40px); background: #F7F3ED; display: flex; flex-direction: column; gap: 20px; }
.model__stage { position: relative; }
.model__figure { margin: 0; }
.model__figure[hidden] { display: none; }
.model__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; mix-blend-mode: multiply; }
.model__thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.model__thumb { width: 84px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s; }
.model__thumb:hover { border-color: var(--line-strong); }
.model__thumb[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.model__thumb-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; mix-blend-mode: multiply; }
.model__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.model__title { font-size: clamp(32px, 3vw, 42px); margin-bottom: .35em; }
.model__desc { color: var(--ink-soft); }
.model__variants { margin: 8px 0 20px; width: 100%; }
.model__variants dt { font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.model__variants dd { margin: 0; padding: 9px 0 9px 18px; border-top: 1px solid var(--line); position: relative; font-size: 15px; }
.model__variants dd::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; border: 1px solid var(--line-strong); }
.model__variants dd.is-active::before { background: var(--horn); border-color: var(--horn); }
.model__code { font-weight: 500; letter-spacing: .04em; }
.model__color { color: var(--muted); }
.model__color::before { content: "· "; }
.model__details { font-size: 14.5px; color: var(--muted); font-style: italic; }
.btn--order { margin-top: auto; min-width: 220px; }

/* ----------------------------------------------------------- Herstellung */
.video { margin: 0 auto; max-width: 1080px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: var(--dark); }
.video figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.transcript { max-width: 1080px; margin: 24px auto 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.transcript summary { cursor: pointer; padding: 18px 0; font-weight: 500; letter-spacing: .08em; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--horn); }
.transcript[open] summary::after { content: "–"; }
.transcript__body { padding-bottom: 20px; color: var(--ink-soft); }
.transcript__body ol { margin: 0; }
.transcript__body li { margin-bottom: 6px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(64px, 8vw, 120px); }
.step { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .step { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); }
  .step--reverse { grid-template-columns: 7fr 5fr; }
  .step--reverse .step__text { order: 2; }
}
.step__num { display: block; font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--horn); opacity: .55; margin-bottom: 12px; }
.step__text p { color: var(--ink-soft); }
.step__media { display: grid; gap: 14px; }
.step__media .media img { aspect-ratio: 4 / 3; }
.step__media--2 { grid-template-columns: 1fr 1fr; }
.step__media--2 .media img { aspect-ratio: 3 / 4; }
.step__media--3 { grid-template-columns: 1fr 1fr; }
.step__media--3 .media:first-child { grid-column: 1 / -1; }
.step__media--3 .media:first-child img { aspect-ratio: 16 / 9; }

.mosaic { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.mosaic .media img { aspect-ratio: 4 / 3; }
.mosaic__a { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto); }
  .mosaic__a { grid-column: 1 / 4; grid-row: span 2; }
  .mosaic__a img { aspect-ratio: auto !important; height: 100%; }
  .mosaic__b { grid-column: 4 / 5; grid-row: span 2; }
  .mosaic__b img, .mosaic__c img { aspect-ratio: auto !important; height: 100%; }
  .mosaic__c { grid-column: 5 / 7; grid-row: span 2; }
  .mosaic__d { grid-column: 1 / 3; }
  .mosaic__e { grid-column: 3 / 5; }
  .mosaic__f { grid-column: 5 / 7; }
}

/* ---------------------------------------------------------------- Porträt */
.portrait__figure { margin: 0; justify-self: center; width: min(100%, 420px); }
.portrait__img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.portrait__figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.quote { margin: 32px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--brass); }
.quote p { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); font-style: italic; line-height: 1.3; color: var(--ink); }
.quote footer { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.values p { color: var(--ink-soft); }

/* -------------------------------------------------------------- Platzhalter */
mark.placeholder { background: #FCE9B6; color: #4A3200; padding: 1px 5px; border-radius: 2px; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section--dark mark.placeholder, .site-footer mark.placeholder { background: #5A4520; color: #FFF1CF; }
.placeholder-block { border: 1px dashed #B88A2E; background: #FBF1D9; color: #4A3200; padding: 18px 22px; margin: 0 0 32px; font-size: 15px; border-radius: var(--radius); }
.placeholder-block p:last-child { margin-bottom: 0; }
.placeholder-block code { font-size: .9em; background: rgba(0, 0, 0, .06); padding: 1px 4px; }

/* ------------------------------------------------------------- Rechtliches */
.legal h2 { margin-top: 2em; }
.legal .h1 { margin-bottom: .7em; }
.legal ul li { margin-bottom: .6em; }
.legal__meta { margin-top: 48px; font-size: 14px; color: var(--muted); }
.toc { border: 1px solid var(--line); padding: 20px 26px; margin-bottom: 24px; background: var(--white); }
.toc__title { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; columns: 2 240px; }
.toc li { margin: 4px 0; }

/* ---------------------------------------------------------------- Formular */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.order-selected { display: flex; align-items: center; gap: 24px; background: var(--white); border: 1px solid var(--line); padding: 16px 24px; margin-bottom: 32px; }
.order-selected__img { flex: none; width: 160px; }
.order-selected__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; mix-blend-mode: multiply; }
.order-selected .eyebrow { margin-bottom: 4px; }
.order-selected__name { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 0; }
.order-selected__desc { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }
.order-selected--compact { padding: 12px 16px; margin-bottom: 20px; }
.order-selected--compact .order-selected__img { width: 120px; }
@media (max-width: 520px) { .order-selected { flex-direction: column; align-items: flex-start; } }

.order-form { display: grid; gap: 28px; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
.form-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-group legend { font-family: var(--serif); font-size: 24px; font-weight: 500; padding: 0; margin-bottom: 16px; }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 500; }
.req { color: var(--error); margin-left: 3px; }
.optional { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231E1914' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(181, 120, 31, .35); }
.field [aria-invalid="true"] { border-color: var(--error) !important; background-color: #FFF8F6 !important; }
.field__error { color: var(--error); font-size: 14px; margin: 0; display: flex; gap: 6px; }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: #fff; font-size: 12px; font-weight: 600; }
.field__error[hidden] { display: none; }
.field__hint { font-size: 13.5px; color: var(--muted); margin: 0; }
.field--narrow input { max-width: 180px; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--ink); cursor: pointer; }
.field--check label { font-weight: 400; cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.form-privacy, .form-process { font-size: 14px; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-width: 260px; }
.form-status { margin: 0; font-size: 14.5px; color: var(--muted); }
.form-summary { border: 1px solid var(--error); border-left-width: 4px; background: #FFF8F6; padding: 16px 20px; color: var(--ink); }
.form-summary ul { margin: 6px 0 0; }
.form-summary a { color: var(--error); }
.form-summary p { margin: 0; }
.notice { padding: 16px 20px; border: 1px solid var(--line); background: var(--white); margin-bottom: 24px; }
.notice--error { border-color: var(--error); border-left-width: 4px; background: #FFF8F6; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.confirmation { text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.confirmation__icon { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--success); }
.confirmation:focus { outline: none; }

.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- Dialoge */
.dialog { padding: 0; border: 0; background: transparent; width: min(100% - 24px, 760px); max-height: calc(100dvh - 24px); color: var(--ink); }
.dialog::backdrop { background: rgba(20, 16, 12, .62); backdrop-filter: blur(2px); }
.dialog__panel { background: var(--ivory); display: flex; flex-direction: column; max-height: calc(100dvh - 24px); margin: 0; }
.dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(20px, 4vw, 36px); border-bottom: 1px solid var(--line); background: var(--ivory); }
.dialog__title { font-size: 30px; margin: 0; }
.dialog__close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.dialog__close svg { width: 20px; height: 20px; }
.dialog__close:hover { border-color: var(--ink); }
.dialog__body { padding: clamp(20px, 4vw, 36px); overflow-y: auto; overscroll-behavior: contain; }
.dialog__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 16px clamp(20px, 4vw, 36px); border-top: 1px solid var(--line); background: var(--ivory); }
.dialog__foot .btn { flex: 1 1 180px; }
body.has-dialog { overflow: hidden; }

/* ----------------------------------------------------------- Cookie-Banner */
.consent-banner { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; background: var(--dark); color: var(--on-dark); box-shadow: 0 18px 48px rgba(0, 0, 0, .28); border: 1px solid rgba(201, 166, 107, .3); }
.consent-banner[hidden] { display: none; }
.consent-banner__inner { display: grid; gap: 20px; padding: 22px clamp(18px, 3vw, 32px); max-width: var(--wrap); margin: 0 auto; }
@media (min-width: 1000px) { .consent-banner__inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; } }
.consent-banner__title { font-size: 24px; margin-bottom: 4px; }
.consent-banner p { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-soft); margin: 0; }
.consent-banner a { color: var(--brass-soft); }
.consent-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-banner__actions .btn { flex: 1 1 160px; min-height: 48px; padding: 12px 18px; }
.consent-list { border: 0; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.consent-item { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; }
.consent-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consent-item__badge { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--success); }
.consent-item__desc { font-size: 14px; color: var(--ink-soft); margin: 8px 0 0; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; position: relative; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.switch__track { width: 44px; height: 26px; border-radius: 13px; background: #B9AE9F; position: relative; transition: background .2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:disabled + .switch__track { background: var(--success); opacity: .75; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--dark); color: var(--on-dark-soft); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 15px; }
.site-footer .logo { color: var(--on-dark); }
.site-footer .logo__sub { color: var(--brass-soft); }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.site-footer__brand a { text-decoration: none; display: inline-block; margin-bottom: 20px; }
.site-footer__title { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a, .site-footer .link-button { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--brass-soft); text-decoration: underline; }
.site-footer .link-button { text-decoration: none; font-size: 15px; text-align: left; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(241, 234, 223, .14); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; }

/* -------------------------------------------------------- Einblend-Effekt */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .consent-banner, .dialog { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------------------ Anmeldung */
.page-login { background: var(--dark); }
.login { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; gap: 24px; }
.login__panel { width: min(100%, 440px); background: var(--ivory); padding: clamp(28px, 6vw, 48px); border-top: 3px solid var(--brass); }
.login__logo { margin-bottom: 32px; }
.login__title { margin-bottom: .3em; }
.login__lead { color: var(--ink-soft); font-size: 15.5px; }
.login__form { display: grid; gap: 20px; margin-top: 8px; }
.login__form .btn { width: 100%; }
.login .form-summary { margin-bottom: 8px; }
.login__legal { font-size: 13.5px; color: var(--on-dark-soft); margin: 0; display: flex; gap: 10px; }
.login__legal a { color: var(--on-dark-soft); }
.login__legal a:hover { color: var(--brass-soft); }

/* ------------------------------------------- Passwortsperre (gate.js) */
.fe-locked body { background: var(--dark); }
.fe-locked body > :not(.gate):not(noscript) { display: none !important; }
.gate-noscript { color: var(--on-dark); text-align: center; padding: 20vh 16px; margin: 0; }
