/* 110 – Leporello · ein Faltbuch im Zickzack: Naturkarton, Tiefblau, Kupfer */
:root {
  --table: #e6e0d4;
  --card: #f4eddf;
  --blue: #1d2f5e;
  --blue-d: #142246;
  --ink: #1d2f5e;
  --mute: #3f4b6c;
  --copper: #b8693a;
  --copper-t: #904619;
  --copper-l: #e3a271;
  --cream: #f3ead8;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --foil: linear-gradient(100deg, #c77a45 0%, #f0c194 28%, #b5602d 52%, #eab284 78%, #a9562a 100%);
  --fiber: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='5' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .22  1.1 0 0 0 -.5'/></filter><rect width='100%25' height='100%25' filter='url(%23f)'/></svg>");
  --cloth:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.07), transparent 60%);
  --pad: clamp(16px, 4vw, 56px);
  --W: 620px; --H: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden;
  background: var(--table) var(--fiber);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
svg { fill: currentColor; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--copper-t); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 80; background: var(--blue); color: var(--cream); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.top { position: relative; z-index: 40; }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; max-width: 1340px; margin-inline: auto; padding-inline: var(--pad); }
.logo { flex: none; display: block; }
.logo img { width: 62px; }
.nav { flex: 1; display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.nav__list a { display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 0; font: 500 15px/1 var(--sans); text-decoration: none; border-bottom: 1px solid transparent; }
.nav__list a:hover, .nav__list a:focus-visible { border-color: var(--copper); }
.nav__no { font: italic 400 13px/1 var(--serif); color: var(--copper-t); }
.nav__list a.is-here { border-color: var(--copper); }
.nav__end { display: flex; align-items: center; gap: 18px; }
.tel { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); text-decoration: none; padding: 8px 0; }
.tel svg { width: 18px; height: 18px; color: var(--copper-t); }
.tel:hover { color: var(--copper-t); }
.lang { display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .1em; color: var(--cream); background-color: var(--blue); background-image: var(--cloth); border-radius: 2px; box-shadow: 0 2px 0 var(--blue-d); }
.lang:hover { background-color: var(--copper-t); }
.menu { display: none; }

/* ---------- Leporello: Grundfassung (senkrecht – mobil, ohne JS, reduzierte Bewegung) ---------- */
.lep { padding: 24px 16px 96px; }
.strip { max-width: 880px; margin-inline: auto; filter: drop-shadow(0 22px 28px rgba(40,30,10,.18)); }
.sec { display: block; }
.panel {
  position: relative; display: block; margin: 0;
  padding: clamp(30px, 5.5vw, 64px) clamp(22px, 6vw, 72px) clamp(54px, 6vw, 76px);
  background: var(--card) var(--fiber);
}
.panel::before { /* Seitenzahl */
  content: attr(data-folio); position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font: italic 400 13px/1 var(--serif); color: var(--copper-t); letter-spacing: .1em;
}
.panel::after { /* Licht und Schatten des Knicks */
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.fold-a::after { background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 40%, rgba(80,55,20,.07)); }
.fold-b::after { background: linear-gradient(180deg, rgba(80,55,20,.09), transparent 45%, rgba(255,255,255,.25)); }
.sec + .sec .panel:first-child, .panel + .panel { border-top: 1px solid rgba(80,55,20,.16); }
.panel--cover { background-color: var(--blue); background-image: var(--cloth); color: var(--cream); border-radius: 3px; }
.panel--cover::before { color: var(--copper-l); }
.panel--cover::after { background: none; }

/* Typografie in den Paneelen */
.label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-t); }
.folio-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--copper); font: italic 400 14px/1 var(--serif); letter-spacing: 0; text-transform: none; }
.panel h2 { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.012em; text-wrap: balance; font-variation-settings: 'opsz' 72; }
.intro, .body { margin-top: 16px; color: var(--mute); font-size: 16.5px; line-height: 1.6; hyphens: auto; }

/* Deckel */
.cover__in { position: relative; z-index: 1; max-width: 560px; }
.kicker { display: inline-block; font: 600 12.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(100deg, #f3c9a0, #dd9b66 45%, #f6d6b2 75%, #e3a271); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid rgba(227,162,113,.5); }
.panel--cover h1 { font-size: clamp(38px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -.018em; font-weight: 350; font-variation-settings: 'opsz' 144; text-wrap: balance; }
.lead { margin-top: 26px; font-size: 16.5px; line-height: 1.62; color: rgba(243,234,216,.86); hyphens: auto; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 24px; font: 600 15px/1.1 var(--sans); text-decoration: none; border-radius: 2px; transition: transform .2s, box-shadow .2s; }
.btn--copper { background: var(--foil); color: var(--blue-d); box-shadow: 0 2px 0 #7d3b14, inset 0 1px 0 rgba(255,255,255,.4); }
.btn--copper:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #7d3b14, inset 0 1px 0 rgba(255,255,255,.4); }
.btn--line { color: var(--cream); box-shadow: inset 0 0 0 1px rgba(243,234,216,.6); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--copper-l); color: var(--copper-l); }
.panel--cover :focus-visible { outline-color: var(--copper-l); }
.avail { margin-top: 26px; font: 500 13px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(243,234,216,.72); }
.avail::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--copper-l); vertical-align: 1px; }
.emboss {
  position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(40px, 5vw, 56px); width: clamp(110px, 13vw, 160px);
  filter: brightness(0) invert(1) drop-shadow(-1.5px -1.5px 0 rgba(0,0,0,.9)) drop-shadow(1px 1px 0 rgba(255,255,255,.9));
  opacity: .075; pointer-events: none;
}
.cover__hint { display: none; }

/* Schwerpunkt */
.stats { margin-top: 30px; border-top: 1px solid rgba(29,47,94,.18); }
.stats li { display: grid; grid-template-columns: 150px 1fr; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(29,47,94,.18); }
.stats b { font: 300 46px/1 var(--serif); color: var(--copper-t); letter-spacing: -.02em; font-variation-settings: 'opsz' 144; }
.stats span { font-size: 15px; color: var(--mute); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 8px; }
.cases li { padding-top: 14px; border-top: 1px solid rgba(29,47,94,.18); }
.cases__no { display: block; font: italic 300 24px/1 var(--serif); color: var(--copper); margin-bottom: 8px; }
.cases h3 { font-size: 19px; line-height: 1.2; font-weight: 500; margin-bottom: 6px; }
.cases p { font-size: 15px; line-height: 1.5; color: var(--mute); hyphens: auto; }
.route__head { font: italic 350 26px/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.route__map { display: block; width: 100%; height: auto; margin: 18px 0 14px; }
.route__grid path { fill: none; stroke: rgba(29,47,94,.12); stroke-width: 1; }
.route__arc { fill: none; stroke: var(--copper); stroke-width: 2.5; stroke-linecap: round; }
.route__arc--car { stroke-dasharray: 3 6; stroke: var(--blue); }
.route__pts circle { fill: var(--card); stroke: var(--blue); stroke-width: 2.5; }
.route__codes text { font: 600 15px var(--sans); letter-spacing: .1em; fill: var(--blue); }
.route__car { font: italic 400 15px var(--serif); fill: var(--copper-t); }
.panel--route figcaption { font-size: 15.5px; color: var(--mute); }
.route__codes-txt { font: 500 18px/1.3 var(--serif); color: var(--ink); letter-spacing: .04em; margin-bottom: 6px; }
.route__note { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(29,47,94,.18); font-style: italic; font-family: var(--serif); color: var(--copper-t); }

/* Leistungen */
.svcs { margin-top: 24px; display: grid; gap: 22px; }
.svcs li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(29,47,94,.18); }
.svcs svg { width: 42px; height: 42px; color: var(--copper); }
.svcs h3 { font-size: 20px; line-height: 1.2; font-weight: 500; margin-bottom: 6px; }
.svcs p { font-size: 15.5px; line-height: 1.5; color: var(--mute); hyphens: auto; }
.svcs--grid { margin-top: 0; grid-template-columns: 1fr 1fr; gap: 30px 30px; }
.svcs--grid li { grid-template-columns: 1fr; gap: 12px; }

/* Ablauf */
.steps { margin-top: 30px; display: grid; gap: 4px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(29,47,94,.18); }
.steps__no { font: italic 300 56px/.85 var(--serif); color: var(--copper); font-variation-settings: 'opsz' 144; }
.steps h3 { font-size: 21px; font-weight: 500; margin-bottom: 4px; }
.steps p { font-size: 15.5px; color: var(--mute); }

/* Über uns */
.photo { margin: 0 0 24px; padding: 8px; background: #fffaf0; box-shadow: 0 1px 2px rgba(60,40,10,.2), 0 8px 18px -10px rgba(60,40,10,.4); }
.photo img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; object-position: 50% 28%; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 20px; }
.feats li { position: relative; padding-left: 20px; font-size: 15px; font-weight: 500; }
.feats li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--copper); transform: rotate(45deg); }

/* Kontakt */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 30px; }
.info div { padding-top: 12px; border-top: 1px solid rgba(29,47,94,.18); }
.info dt { font: 600 11.5px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-t); margin-bottom: 6px; }
.info dd { font-size: 16px; line-height: 1.5; }
.info a { text-decoration-color: var(--copper); text-underline-offset: 3px; }
.info a:hover { color: var(--copper-t); }
.dim { color: var(--mute); font-size: 14.5px; }

/* Rückdeckel */
.panel--back { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; min-height: 340px; }
.emboss--back { position: static; width: 190px; opacity: .1; }
.back__brand { font: 400 22px/1.2 var(--serif); letter-spacing: .14em; text-transform: uppercase; background: var(--foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.back__geo { font: 500 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(243,234,216,.6); }
.progress { display: none; }

/* ---------- Fuß ---------- */
.foot { background-color: var(--blue-d); background-image: var(--cloth); color: rgba(243,234,216,.78); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; max-width: 1340px; margin-inline: auto; padding: 50px var(--pad) 44px; }
.foot .logo { background: var(--card); padding: 10px 12px; border-radius: 2px; }
.foot .logo img { width: 58px; }
.foot__brand { font: 500 17px/1.3 var(--serif); color: var(--cream); margin-bottom: 4px; }
.foot__addr p { font-size: 15px; }
.foot__addr a { white-space: nowrap; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__nav a { font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; color: var(--cream); }
.foot__nav a:hover, .foot__nav a:focus-visible { border-color: var(--copper-l); }
.foot :focus-visible { outline-color: var(--copper-l); }
.foot__copy { grid-column: 1 / -1; font-size: 13.5px; padding-top: 20px; border-top: 1px solid rgba(243,234,216,.14); }

/* ---------- Leporello: Faltung im Raum (Desktop, per JS) ---------- */
.lep-on .top { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(180deg, var(--table) 60%, rgba(230,224,212,0)); }
.lep-on .lep { position: relative; padding: 0; }
.lep-on .stage { position: sticky; top: 0; height: 100vh; overflow: clip; perspective: 2600px; perspective-origin: 50% 46%; }
.lep-on .stage::after { /* Tischschatten */
  content: ''; position: absolute; left: 0; right: 0; top: calc(var(--top) + var(--H) + 6px); height: 40px;
  background: radial-gradient(50% 50% at 50% 0, rgba(60,40,10,.18), transparent 70%); pointer-events: none;
}
.lep-on .strip { position: absolute; left: 0; top: var(--top); width: 0; height: var(--H); max-width: none; margin: 0; transform-style: preserve-3d; filter: none; will-change: transform; }
.lep-on .sec { display: contents; }
.lep-on .panel {
  position: absolute; left: 0; top: 0; width: var(--W); height: var(--H); overflow: hidden;
  padding: 46px 50px 56px; transform-origin: 0 50%; backface-visibility: hidden; will-change: transform;
  border-top: 0 !important; border-radius: 0;
  box-shadow: inset 1px 0 0 rgba(80,55,20,.18), inset -1px 0 0 rgba(255,255,255,.4);
}
.lep-on .panel::after { background: linear-gradient(90deg, rgba(40,25,5,var(--a1, 0)), rgba(40,25,5,var(--a2, 0))); }
.lep-on .panel--cover { border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -30px rgba(20,20,40,.5); }
.lep-on .panel--cover::before { display: none; }
.lep-on .panel--cover { padding: 54px 56px 60px; }
.lep-on .cover__hint { display: flex; align-items: center; gap: 12px; position: absolute; left: 56px; bottom: 50px; margin: 0; font: italic 400 15px/1 var(--serif); color: var(--copper-l); }
.lep-on .cover__hint svg { width: 40px; height: 16px; }
.lep-on .panel--back { min-height: 0; }
.lep-on .progress {
  display: flex; align-items: center; gap: 14px; position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0;
  font: italic 400 14px/1 var(--serif); color: var(--copper-t);
}
.progress__zig { display: flex; }
.progress__zig i { width: 12px; height: 14px; background: rgba(29,47,94,.2); transform: skewY(-24deg); }
.progress__zig i:nth-child(even) { transform: skewY(24deg); }
.progress__zig i.on { background: var(--copper); }
@media (prefers-reduced-motion: no-preference) {
  .lep-on .cover__hint svg { animation: nudge 2.4s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 24px 16px 100px; }
.sheet {
  position: relative; max-width: 860px; margin-inline: auto; padding: clamp(30px, 6vw, 72px) clamp(22px, 6vw, 80px) clamp(60px, 7vw, 90px);
  background: var(--card) var(--fiber);
  background-image: repeating-linear-gradient(180deg, transparent 0 719px, rgba(80,55,20,.14) 719px 720px, rgba(255,255,255,.5) 720px 721px, transparent 721px 760px), var(--fiber);
  box-shadow: 0 22px 40px -24px rgba(40,30,10,.35);
}
.sheet__top { background-color: var(--blue); background-image: var(--cloth); color: var(--cream); margin: calc(-1 * clamp(30px, 6vw, 72px)) calc(-1 * clamp(22px, 6vw, 80px)) 44px; padding: clamp(30px, 5vw, 56px) clamp(22px, 6vw, 80px); }
.back { display: inline-flex; gap: 8px; font: 500 14px/1 var(--sans); color: var(--copper-l); text-decoration: none; padding: 8px 0; border-bottom: 1px solid currentColor; margin-bottom: 26px; }
.sheet__top .kicker { margin-bottom: 18px; }
.sheet__top h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; font-weight: 350; letter-spacing: -.015em; overflow-wrap: anywhere; hyphens: auto; }
.sheet__top :focus-visible { outline-color: var(--copper-l); }
.legal-body { max-width: 66ch; font-size: 17px; line-height: 1.68; hyphens: auto; overflow-wrap: break-word; color: #26365f; }
.legal-body h2 { font: 500 23px/1.2 var(--serif); color: var(--ink); margin: 2em 0 .6em; }
.legal-body h2::before { content: ''; display: block; width: 40px; height: 2px; background: var(--copper); margin-bottom: 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body ul { margin: 0 0 1em; }
.legal-body ul { padding-left: 1.2em; list-style: disc; }
.legal-body li::marker { color: var(--copper); }
.legal-body a { color: var(--copper-t); text-underline-offset: 3px; }
.legal-body .legal-note { padding: 14px 18px; background: rgba(29,47,94,.08); border-left: 3px solid var(--copper); font-style: italic; }
.legal-body .legal-address { padding: 14px 18px; border: 1px solid rgba(29,47,94,.2); background: rgba(255,255,255,.4); }

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .tel { font-size: 0; gap: 0; }
  .tel svg { width: 22px; height: 22px; }
}
@media (max-width: 760px) {
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; padding: 11px 16px; border: 0; border-radius: 2px; background-color: var(--blue); background-image: var(--cloth); color: var(--cream); font: 600 14px/1 var(--sans); cursor: pointer; }
  .menu__ico { width: 18px; height: 12px; background: linear-gradient(var(--cream) 0 1.5px, transparent 1.5px 5.25px, var(--cream) 5.25px 6.75px, transparent 6.75px 10.5px, var(--cream) 10.5px 12px); }
  .top.open .menu__ico { background: none; position: relative; }
  .top.open .menu__ico::before, .top.open .menu__ico::after { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 1.5px; background: var(--cream); transform: rotate(45deg); }
  .top.open .menu__ico::after { transform: rotate(-45deg); }
  .top__in { min-height: 68px; }
  .logo img { width: 54px; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 100%; flex-direction: column; align-items: stretch; gap: 22px; padding: 24px 24px 28px; background: var(--card) var(--fiber); box-shadow: 0 18px 30px -12px rgba(40,30,10,.4); }
  .js .top.open .nav { display: flex; }
  html:not(.js) .nav { display: flex; position: static; box-shadow: none; background: none; padding: 0 0 16px; }
  html:not(.js) .top__in { flex-wrap: wrap; }
  .nav__list { flex-direction: column; gap: 2px; margin: 0; }
  .nav__list a { font: 400 26px/1.25 var(--serif); }
  .nav__no { font-size: 16px; }
  .tel { font-size: 16px; gap: 8px; }
  .tel svg { width: 18px; height: 18px; }
  .lep { padding: 10px 10px 70px; }
  .cases, .svcs--grid, .info, .feats { grid-template-columns: 1fr; }
  .stats li { grid-template-columns: 116px 1fr; }
  .stats b { font-size: 34px; white-space: nowrap; }
  .emboss { opacity: .07; }
  .foot__in { grid-template-columns: 1fr; padding-bottom: 90px; }
  .foot .logo { justify-self: start; }
  .legal { padding: 10px 10px 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
