/* 39 – Origami · gefaltetes Papier, Low-Poly-Facetten */
:root {
  --paper: #f8f7f3;
  --paper-2: #efede7;
  --crease: #d8d4ca;
  --ink: #1d2422;
  --ink-2: #4a5350;
  --teal: #069d7d;
  --teal-l: #14bf99;
  --teal-d: #057a62;
  --teal-dd: #04594a;
  --sun: #fbc108;
  --sun-l: #ffd95a;
  --sun-d: #d9a200;
  --sun-dd: #b88a00;
  --c1: #14bf99; --c2: #069d7d; --c3: #05644f;
  --font-d: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-t: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 48px);
  --shadow: 0 1px 0 rgba(29, 36, 34, .06), 0 10px 24px -14px rgba(29, 36, 34, .35);
}
*, *::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; background: var(--paper); color: var(--ink);
  font: 300 1.0625rem/1.65 var(--font-t); letter-spacing: -.005em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.muted { color: var(--ink-2); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; max-width: 58ch; color: var(--ink-2); }

/* kleines zweifarbiges Dreieck als Marke */
.tri { display: inline-block; width: 14px; height: 14px; flex: none;
  background: linear-gradient(to top right, var(--sun) 50%, var(--teal) 50%);
  clip-path: polygon(0 0, 100% 0, 0 100%); }
.label, .kicker { display: flex; align-items: center; gap: 10px; font: 500 .8rem/1.3 var(--font-d);
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 18px; }
.label--light { color: #d9f3eb; }

/* Buttons: Papier mit umgeknickter Ecke */
.btn { --bg: var(--teal-d); --flap: var(--teal-l); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 14px 26px 14px 22px; font: 600 .98rem/1.2 var(--font-d); letter-spacing: -.01em;
  color: var(--fg); text-decoration: none;
  background: linear-gradient(225deg, transparent 11px, var(--bg) 11px);
  filter: drop-shadow(0 6px 8px rgba(29, 36, 34, .16)); transition: transform .2s ease, filter .2s ease; }
.btn::after { content: ""; position: absolute; top: 0; right: 0; width: 16px; height: 16px;
  background: linear-gradient(to top right, var(--flap) 50%, transparent 50%); transition: width .2s ease, height .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { width: 22px; height: 22px; }
.btn:hover { background: linear-gradient(225deg, transparent 15px, var(--bg) 15px); }
.btn--paper { --bg: #fff; --flap: var(--crease); --fg: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Kopf ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(248, 247, 243, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--crease); }
.top__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { width: 64px; height: auto; aspect-ratio: 1510 / 1300; }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0; }
.nav ul a { position: relative; display: block; padding: 10px 14px; font: 500 .95rem/1 var(--font-d); text-decoration: none; letter-spacing: -.01em; }
.nav ul a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 8px;
  background: linear-gradient(to top right, var(--teal) 50%, var(--teal-l) 50%); clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform: scaleY(0); transform-origin: bottom; transition: transform .2s ease; }
.nav ul a:hover::before, .nav ul a:focus-visible::before { transform: scaleY(1); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.tel { font: 600 .95rem/1 var(--font-d); text-decoration: none; padding: 12px 14px; letter-spacing: -.01em; }
.tel::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; background: var(--sun); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.lang { display: grid; place-items: center; width: 44px; height: 44px; font: 600 .82rem/1 var(--font-d); text-decoration: none;
  background: linear-gradient(135deg, #fff 50%, var(--paper-2) 50%); border: 1px solid var(--crease); }
.lang:hover { background: linear-gradient(135deg, var(--sun-l) 50%, var(--sun) 50%); border-color: var(--sun-d); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 4.5vh, 56px) 0 clamp(40px, 6vh, 72px); overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23d8d4ca' stroke-width='1' vector-effect='non-scaling-stroke' stroke-dasharray='7 7'%3E%3Cpath d='M0 0L100 100M100 0L0 100M50 0V100M0 50H100' vector-effect='non-scaling-stroke'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6.7fr) minmax(0, 5.3fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3.6vw, 4.1rem); line-height: 1.02; letter-spacing: -.04em; max-width: 15.5ch; }
.hero__text { color: var(--ink-2); max-width: 46ch; margin-bottom: 22px; font-size: 1.02rem; }
.hero__stage { position: relative; margin-top: clamp(26px, 4vh, 48px); }
.lepo { position: relative; margin: 0; width: 78%; height: clamp(210px, 33vh, 330px);
  --a: 18px;
  clip-path: polygon(0 var(--a), 16.666% 0, 33.333% var(--a), 50% 0, 66.666% var(--a), 83.333% 0, 100% var(--a),
    100% 100%, 83.333% calc(100% - var(--a)), 66.666% 100%, 50% calc(100% - var(--a)), 33.333% 100%, 16.666% calc(100% - var(--a)), 0 100%); }
.lepo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(1.08) contrast(1.03); }
.lepo__folds { position: absolute; inset: 0; display: flex; }
.lepo__folds i { flex: 1; }
.lepo__folds i:nth-child(odd) { background: linear-gradient(90deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .02) 85%, rgba(0, 0, 0, .06)); }
.lepo__folds i:nth-child(even) { background: linear-gradient(90deg, rgba(4, 30, 26, .30), rgba(4, 30, 26, .12) 70%, rgba(4, 30, 26, .22)); }
.hero__crane { position: absolute; right: -1%; bottom: 16%; width: 31%; aspect-ratio: 240 / 150; height: auto; filter: drop-shadow(0 18px 14px rgba(29, 36, 34, .18)); }
.hero__note { position: absolute; right: 0; bottom: 0; width: 21%; font: 500 .82rem/1.45 var(--font-d); color: var(--ink-2); }
.hero__note span { display: block; color: var(--teal-d); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; margin-bottom: 2px; }

/* ---------- Schwerpunkt: gefaltete Papierbahn ---------- */
.focus { position: relative; color: #fff; padding: clamp(110px, 12vw, 170px) 0 clamp(110px, 12vw, 170px);
  background: linear-gradient(101deg, rgba(255, 255, 255, .05) 0 57%, rgba(0, 0, 0, .14) 57% 100%), url(facets-teal.svg) center / 100% 100%, var(--teal-d);
  clip-path: polygon(0 70px, 57% 0, 100% 56px, 100% calc(100% - 50px), 57% 100%, 0 calc(100% - 64px)); margin-block: -10px; }
.focus::before { content: ""; position: absolute; top: 0; bottom: 0; left: 57%; width: 1px; background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .08)); transform: skewX(-11deg); }
.focus__intro { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.focus h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.focus .lead { color: #dff3ed; margin-top: 22px; }
.steps6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps6 li { position: relative; padding: 30px 28px 32px; min-height: 196px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13) 0 50%, rgba(255, 255, 255, .055) 50% 100%);
  border-top: 1px solid rgba(255, 255, 255, .35); }
.steps6 li::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent calc(50% - .5px), rgba(255, 255, 255, .28) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)); opacity: .6; }
.steps6 .no { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 18px;
  background: #fff; color: var(--teal-dd); font: 700 1rem/1 var(--font-d); }
.steps6 h3 { font-size: 1.22rem; margin-bottom: 8px; }
.steps6 p { color: #e2f4ee; font-size: .98rem; position: relative; z-index: 1; }

.ribbons { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.ribbons li { position: relative; display: flex; align-items: baseline; gap: 16px; color: var(--ink); padding: 22px 26px 22px 30px;
  background: linear-gradient(100deg, var(--sun-l) 0 46%, var(--sun) 46% 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%); }
.ribbons li::before { content: ""; position: absolute; left: 0; top: 100%; width: 18px; height: 14px; }
.ribbons strong { font: 700 clamp(2rem, 1.4rem + 1.6vw, 2.8rem)/1 var(--font-d); letter-spacing: -.04em; white-space: nowrap; }
.ribbons span { font: 500 .95rem/1.3 var(--font-d); letter-spacing: -.01em; }
.ribbons li:nth-child(2) { background: linear-gradient(100deg, var(--sun) 0 38%, var(--sun-l) 38% 100%); }

.route { margin: clamp(56px, 7vw, 88px) 0 0; background: var(--paper); color: var(--ink); position: relative;
  padding: clamp(22px, 3vw, 40px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .55);
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .035) 0 50%, transparent 50%); }
.route::after { content: ""; position: absolute; top: 0; right: 0; width: 46px; height: 46px;
  background: linear-gradient(to top right, var(--crease) 50%, var(--teal-d) 50%); }
.route__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-right: 50px; }
.route__label { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--font-d); text-transform: uppercase; letter-spacing: .14em; color: var(--teal-d); }
.route__codes { font: 600 clamp(1.05rem, .8rem + 1vw, 1.6rem)/1.2 var(--font-d); letter-spacing: .04em; }
.route__map { display: block; width: 100%; height: auto; margin: 10px 0 8px; overflow: visible; }
.route__seg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 8 9; stroke-linecap: round; }
.route__seg--car { stroke: var(--teal); stroke-width: 4; stroke-dasharray: 1 9; }
.route__pts polygon { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }
.route__pts text { font: 700 22px var(--font-d); text-anchor: middle; fill: var(--ink); letter-spacing: .04em; }
.route figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .98rem; border-top: 1px dashed var(--crease); padding-top: 16px; }
.route figcaption em { font-style: normal; color: var(--ink-2); }

/* ---------- Leistungen: Kärtchen mit Eselsohr ---------- */
.services { padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 10vw, 140px); background: url(facets-paper.svg) center / 100% 100%, var(--paper-2); }
.services .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.sechead { position: sticky; top: 110px; }
.sechead .lead { margin-top: 20px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { --e: 46px; --back: var(--teal); --back2: var(--teal-l); position: relative; padding: 30px 30px 34px; min-height: 230px;
  background: linear-gradient(225deg, transparent calc(var(--e) * .7071), #fff calc(var(--e) * .7071));
  filter: drop-shadow(0 12px 16px rgba(29, 36, 34, .10)); transition: --e .3s ease; }
.card::after { content: ""; position: absolute; top: 0; right: 0; width: var(--e); height: var(--e);
  background: linear-gradient(to top right, var(--back) 50%, transparent 50%), linear-gradient(to top right, transparent 0, transparent); transition: width .25s ease, height .25s ease; }
.card::before { content: ""; position: absolute; top: 0; right: 0; width: var(--e); height: var(--e);
  background: linear-gradient(to top right, var(--back2) 0 25%, transparent 25%); clip-path: polygon(0 0, 0 100%, 100% 100%); opacity: .7; transition: width .25s ease, height .25s ease; z-index: 1; }
.card--y { --back: var(--sun); --back2: var(--sun-l); --c1: #ffd95a; --c2: #fbc108; --c3: #c99400; }
.card:nth-child(4n+2), .card:nth-child(4n+3) { }
.card .ico { width: 54px; height: 54px; margin-bottom: 22px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .98rem; }
@property --e { syntax: '<length>'; inherits: true; initial-value: 46px; }
.card:hover { --e: 66px; }

/* ---------- Ablauf: Faltanleitung ---------- */
.process { padding: clamp(90px, 10vw, 140px) 0; }
.process__head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.process__head .label { grid-column: 1 / -1; margin-bottom: 0; }
.legend { display: flex; align-items: center; gap: 10px; font: 500 .82rem/1 var(--font-d); color: var(--ink-2); grid-column: 3; flex-wrap: wrap; }
.legend span { display: inline-block; width: 34px; height: 0; border-top: 2px dashed var(--teal); }
.legend .legend__m { margin-left: 14px; border: 0; height: 2px; background: linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 12px, var(--ink) 12px 14px, transparent 14px 17px) 0 0 / 17px 2px repeat-x; }
.diagram { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.diagram li { position: relative; padding: 0 28px 0 0; }
.diagram li + li { padding-left: 28px; border-left: 1px dashed var(--crease); }
.diagram li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 56px; width: 20px; height: 20px; z-index: 1;
  background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); box-shadow: none;
  background: linear-gradient(90deg, var(--teal-d), var(--teal)); }
.diagram svg { display: block; width: 100%; max-width: 170px; height: auto; aspect-ratio: 140 / 120; margin-bottom: 18px; overflow: visible; }
.diagram .pp { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .ps { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .ps2 { fill: #c9eee3; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.diagram .vf { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 6 5; }
.diagram .mf { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 9 3 2 3; }
.diagram .ar { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.diagram .ah { fill: var(--ink); }
.diagram .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%;
  font: 700 .95rem/1 var(--font-d); margin-bottom: 12px; }
.diagram h3 { font-size: 1.3rem; margin-bottom: 8px; }
.diagram p { color: var(--ink-2); font-size: .98rem; }

/* ---------- Über uns: Faltkarte ---------- */
.about { padding: 0 0 clamp(90px, 10vw, 140px); }
.folio { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 30px 50px -30px rgba(29, 36, 34, .45); position: relative; }
.folio::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 60px; transform: translateX(-100%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(29, 36, 34, .08)); }
.folio__photo { padding: clamp(28px, 4vw, 56px); background: linear-gradient(90deg, #f1efe9, #e9e6de); display: grid; place-items: center; }
.corners { position: relative; margin: 0; padding: 0; transform: rotate(-1.6deg); box-shadow: 0 14px 24px -12px rgba(29, 36, 34, .45); background: #fff; border: 10px solid #fff; }
.corners img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.corners .c { position: absolute; width: 54px; height: 54px; }
.corners .c1 { left: -14px; top: -14px; background: linear-gradient(to bottom right, var(--teal) 50%, transparent 50%); }
.corners .c2 { right: -14px; top: -14px; background: linear-gradient(to bottom left, var(--teal-d) 50%, transparent 50%); }
.corners .c3 { left: -14px; bottom: -14px; background: linear-gradient(to top right, var(--sun) 50%, transparent 50%); }
.corners .c4 { right: -14px; bottom: -14px; background: linear-gradient(to top left, var(--sun-d) 50%, transparent 50%); }
.folio__text { padding: clamp(36px, 5vw, 80px); align-self: center; }
.folio__text .lead { margin: 22px 0 28px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.ticks li { position: relative; padding-left: 28px; font: 500 .98rem/1.35 var(--font-d); letter-spacing: -.01em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 16px; height: 16px;
  background: linear-gradient(to top right, var(--teal-d) 50%, var(--teal-l) 50%); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ---------- Kontakt: Origami-Umschlag ---------- */
.contact { padding: clamp(150px, 14vw, 200px) 0 clamp(90px, 10vw, 140px); background: var(--paper-2); }
.envelope { position: relative; background: var(--teal-dd); padding: clamp(28px, 5vw, 72px) clamp(16px, 7vw, 110px) clamp(110px, 12vw, 170px); }
.flap { position: absolute; pointer-events: none; }
.flap--top { left: 0; right: 0; bottom: 100%; height: clamp(70px, 9vw, 130px); background: linear-gradient(100deg, var(--sun-l) 0 50%, var(--sun) 50% 100%); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.flap--l { inset: 0 auto 0 0; width: 50%; background: var(--teal-d); clip-path: polygon(0 0, 100% 58%, 0 100%); }
.flap--r { inset: 0 0 0 auto; width: 50%; background: #066b56; clip-path: polygon(100% 0, 0 58%, 100% 100%); }
.flap--b { inset: auto 0 0 0; height: 62%; background: linear-gradient(100deg, var(--teal) 0 50%, #078a6e 50% 100%); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.letter { position: relative; z-index: 2; background: #fff; padding: clamp(28px, 4vw, 56px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.letter h2 { margin-bottom: 14px; }
.letter .lead { margin-bottom: clamp(26px, 3vw, 40px); }
.info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 32px; border-top: 1px solid var(--crease); }
.info > div { padding: 22px 22px 6px 0; }
.info > div + div { padding-left: 22px; border-left: 1px dashed var(--crease); }
.info h3 { font: 600 .74rem/1.3 var(--font-d); text-transform: uppercase; letter-spacing: .14em; color: var(--teal-d); margin-bottom: 10px; }
.info p { font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.info a { text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info a:hover { color: var(--teal-d); }

/* ---------- Fuß ---------- */
.foot { position: relative; color: #e7ece9; background: url(facets-ink.svg) center / 100% 100%, #1f2a28; padding: 56px 0 64px; overflow: hidden; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; position: relative; }
.logo--foot { background: var(--paper); padding: 10px 12px; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.logo--foot img { width: 70px; }
.foot__addr { font-size: .95rem; }
.foot__geo { font: 500 .8rem/1.4 var(--font-d); letter-spacing: .1em; color: #a9bab4; margin-top: 4px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 .92rem/1.2 var(--font-d); }
.foot__nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .3); }
.foot__nav a:hover { color: var(--sun); border-color: var(--sun); }
.foot__copy { grid-column: 2 / -1; font-size: .85rem; color: #a9bab4; }
.foot__crane { position: absolute; right: var(--pad); top: -40px; width: 120px; height: 75px; opacity: .9; display: none; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 140px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0L100 100M100 0L0 100' fill='none' stroke='%23d8d4ca' stroke-dasharray='7 7' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 100% 100%; }
.sheet { position: relative; max-width: 880px; margin-inline: auto; background: #fff; padding: clamp(28px, 6vw, 80px);
  background-image: linear-gradient(225deg, transparent 39px, #fff 39px); background-color: transparent;
  filter: drop-shadow(0 20px 30px rgba(29, 36, 34, .14)); }
.sheet::after { content: ""; position: absolute; top: 0; right: 0; width: 56px; height: 56px; background: linear-gradient(to top right, var(--sun) 50%, transparent 50%); }
.back { display: inline-flex; gap: 8px; font: 600 .92rem/1 var(--font-d); color: var(--teal-d); text-decoration: none; padding: 10px 0; margin-bottom: 24px; }
.back:hover { text-decoration: underline; }
.sheet h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); margin-bottom: clamp(28px, 4vw, 48px); hyphens: auto; overflow-wrap: break-word; }
.legal-body { max-width: 68ch; }
.legal-body h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); margin: 2.2em 0 .7em; display: flex; gap: 12px; align-items: baseline; }
.legal-body h2::before { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(to top right, var(--sun) 50%, var(--teal) 50%); clip-path: polygon(0 0, 100% 0, 0 100%); }
.legal-body p, .legal-body li { color: #333c39; margin: 0 0 1em; overflow-wrap: break-word; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.legal-body li::marker { color: var(--teal); }
.legal-body a { color: var(--teal-d); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-body .legal-note { background: #fff6d6; border-left: 4px solid var(--sun); padding: 14px 18px; color: var(--ink); }
.legal-body .legal-address { padding: 18px 22px; background: var(--paper-2); font-weight: 400; color: var(--ink); }

/* ---------- Einblenden (nur mit JS & Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .unfold { transform: perspective(900px) rotateX(-14deg); transform-origin: top; opacity: 0; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
  .js .unfold.in { transform: none; opacity: 1; }
  .js .route__seg { stroke-dashoffset: 0; }
  .hero__crane { animation: glide 7s ease-in-out infinite; }
  @keyframes glide { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero h1 { max-width: 18ch; }
  .steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .wrap { grid-template-columns: 1fr; }
  .sechead { position: static; }
  .diagram { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .diagram li:nth-child(3) { padding-left: 0; border-left: 0; }
  .diagram li:nth-child(2)::after { display: none; }
  .info { grid-template-columns: 1fr 1fr; }
  .info > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .top__in { min-height: 66px; }
  .logo img { width: 54px; }
  .menu { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink);
    background: linear-gradient(225deg, transparent 8px, #fff 8px); font: 600 .9rem/1 var(--font-d); color: var(--ink); cursor: pointer; }
  .menu__ico { position: relative; width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; }
  .menu__ico::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
  .menu[aria-expanded="true"] .menu__ico { border-color: transparent; }
  .menu[aria-expanded="true"] .menu__ico::before { top: 3px; transform: rotate(45deg); box-shadow: none; }
  .menu[aria-expanded="true"] .menu__ico::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; transform: rotate(-45deg); }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--crease); padding: 8px var(--pad) 22px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .35); }
  .js .top.open .nav { display: flex; animation: unfoldmenu .35s ease; }
  @keyframes unfoldmenu { from { transform: perspective(700px) rotateX(-40deg); transform-origin: top; opacity: 0; } }
  .nav ul { flex-direction: column; margin: 0; gap: 0; }
  .nav ul a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px dashed var(--crease); }
  .nav ul a::before { display: none; }
  .nav__end { padding-top: 14px; justify-content: space-between; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .top__in { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 2.6rem); }
  .lepo { width: 100%; height: 220px; --a: 12px; }
  .hero__stage { margin-top: 34px; }
  .hero__crane { width: 48%; right: -3%; bottom: -46px; }
  .hero__note { position: static; width: auto; margin-top: 18px; padding-right: 46%; }
  .focus { clip-path: polygon(0 34px, 57% 0, 100% 28px, 100% calc(100% - 26px), 57% 100%, 0 calc(100% - 34px)); padding: 90px 0; }
  .steps6 { grid-template-columns: 1fr; gap: 12px; }
  .steps6 li { min-height: 0; padding: 24px 22px; }
  .ribbons { grid-template-columns: 1fr; gap: 14px; }
  .route { padding: 20px 16px; }
  .route__pts text { font-size: 46px; }
  .route__pts polygon { transform: scale(1.6); stroke-width: 3; }
  .route__map { margin: 26px 0 14px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .process__head { grid-template-columns: 1fr; }
  .legend { grid-column: 1; }
  .diagram { grid-template-columns: 1fr; gap: 36px; }
  .diagram li, .diagram li + li { padding: 0; border: 0; display: grid; grid-template-columns: 110px 1fr; column-gap: 18px; align-items: start; }
  .diagram li svg { grid-row: span 3; margin: 0; }
  .diagram li::after { display: none; }
  .folio { grid-template-columns: 1fr; }
  .folio::after { display: none; }
  .ticks { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .info > div, .info > div + div { padding: 18px 0 4px; border-left: 0; border-bottom: 1px dashed var(--crease); }
  .envelope { padding: 20px 12px 90px; }
  .letter { padding: 26px 20px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__copy { grid-column: auto; }
  .btn { width: 100%; justify-content: center; }
  .letter .btn--paper { font-size: .9rem; }
}
