/* Webkind IT Solutions: gemeinsames Stylesheet.
   Welt: Miura-Faltung. Mattweißes Blatt, Tinte, Goldfolie nur für das Kontaktpaket. */

@font-face { font-family: 'Barlow'; src: url('assets/fonts/Barlow-Regular.woff2') format('woff2'), url('assets/fonts/Barlow-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/Barlow-SemiBold.woff2') format('woff2'), url('assets/fonts/Barlow-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('assets/fonts/Barlow-Bold.woff2') format('woff2'), url('assets/fonts/Barlow-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('assets/fonts/BarlowCondensed-Bold.woff2') format('woff2'), url('assets/fonts/BarlowCondensed-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ground: #F5F5F2;
  --sheet: #FFFFFF;
  --ink: #17181A;
  --ink-2: #44474D;
  --line: #C8C3BA;
  --valley: #A9C0DA;
  --foil: #C9A227;
  --foil-dark: #A98714;
  --spec: #2D5C8A;
  --err: #A3261E;
  --ok: #1F6A33;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --crease: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cpath d='M0 12 30 0 30 40 0 52ZM0 -28 30 -40 30 0 0 12Z' fill='rgba(255,255,255,0.55)'/%3E%3Cpath d='M30 0 60 12 60 52 30 40ZM30 -40 60 -28 60 12 30 0Z' fill='rgba(23,24,26,0.028)'/%3E%3Cpath d='M0 12 30 0 60 12' fill='none' stroke='%23C8C3BA' stroke-width='1'/%3E%3Cpath d='M0 -28V12M0 12V52M30 -40V0M30 0V40M60 -28V12M60 12V52' fill='none' stroke='%23A9C0DA' stroke-width='1'/%3E%3C/svg%3E");
  --crease-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40' viewBox='0 0 60 40'%3E%3Cpath d='M0 12 30 0 30 40 0 52ZM0 -28 30 -40 30 0 0 12Z' fill='rgba(255,255,255,0.8)'/%3E%3Cpath d='M30 0 60 12 60 52 30 40ZM30 -40 60 -28 60 12 30 0Z' fill='rgba(23,24,26,0.07)'/%3E%3Cpath d='M0 12 30 0 60 12' fill='none' stroke='%238F887D' stroke-width='1'/%3E%3Cpath d='M0 -28V12M0 12V52M30 -40V0M30 0V40M60 -28V12M60 12V52' fill='none' stroke='%235F86B5' stroke-width='1'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: 'Barlow', system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[id] { scroll-margin-top: 88px; }
::selection { background: var(--ink); color: var(--ground); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Barlow Condensed', 'Barlow', sans-serif; font-weight: 700; line-height: 1; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 20px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(245, 245, 242, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 90px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; }
.brand svg { flex: none; width: 54px; height: 54px; }
.brand b { font-family: 'Barlow Condensed', sans-serif; font-size: 37px; letter-spacing: 0.01em; line-height: 1; display: block; }
.brand span { display: block; font-size: 18px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.04em; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav a { font-weight: 600; font-size: 15.5px; text-decoration: none; color: var(--ink-2); padding: 8px 2px; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* Schaltflächen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 3px; background: var(--ink); color: var(--ground); font: 700 16px/1.1 'Barlow', sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .15s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover:not(:disabled) { background: var(--sheet); }
.btn-foil { background: var(--ink); color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Faltenfeld (Hero) */
.field { position: relative; background-color: var(--ground); background-image: linear-gradient(90deg, #F5F5F2 0%, rgba(245,245,242,0.94) 38%, rgba(245,245,242,0) 66%), var(--crease); background-size: 100% 100%, 90px 60px; overflow: hidden; }
.field::before { content: ""; position: absolute; inset: 0; background-image: var(--crease-strong); background-size: 90px 60px; -webkit-mask-image: linear-gradient(100deg, transparent 42%, #000 84%); mask-image: linear-gradient(100deg, transparent 42%, #000 84%); pointer-events: none; }
.field > .wrap { position: relative; z-index: 1; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: var(--ink); z-index: 2; clip-path: polygon(0 100%, 0 40%, 4% 100%, 8% 40%, 12% 100%, 16% 40%, 20% 100%, 24% 40%, 28% 100%, 32% 40%, 36% 100%, 40% 40%, 44% 100%, 48% 40%, 52% 100%, 56% 40%, 60% 100%, 64% 40%, 68% 100%, 72% 40%, 76% 100%, 80% 40%, 84% 100%, 88% 40%, 92% 100%, 96% 40%, 100% 100%); }
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.hero h1 { font-size: clamp(3rem, 6vw, 4.6rem); max-width: 22ch; }
.hero .lead { margin-top: var(--s4); max-width: 40ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); line-height: 1.55; }
.fold-art { filter: drop-shadow(0 22px 20px rgba(23, 24, 26, 0.16)); position: absolute; right: 7%; top: 24%; width: min(24vw, 340px); aspect-ratio: 1 / 1.1; pointer-events: none; z-index: 1; }
.fold-art i { position: absolute; inset: 0; display: block; }
.fold-art i { animation: unfold .7s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
.fold-art i:nth-child(1) { transform-origin: 0 50%; animation-delay: .15s; background: var(--foil); clip-path: polygon(0 12%, 33.3% 0, 33.3% 88%, 0 100%); }
.fold-art i:nth-child(2) { transform-origin: 33.3% 50%; animation-delay: .4s; background: var(--foil-dark); clip-path: polygon(33.3% 0, 66.6% 12%, 66.6% 100%, 33.3% 88%); }
.fold-art i:nth-child(3) { transform-origin: 66.6% 50%; animation-delay: .65s; background: var(--foil); clip-path: polygon(66.6% 12%, 100% 0, 100% 88%, 66.6% 100%); }
@keyframes unfold { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 960px) { .fold-art { display: none; } }
.packet { position: relative; margin-top: var(--s6); max-width: 640px; background: var(--foil); color: var(--ink); padding: var(--s6) var(--s6) var(--s6); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.packet::before { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: var(--foil-dark); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.packet h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.packet p { margin-top: var(--s2); font-weight: 600; }
.packet .row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.proof { margin-top: var(--s6); font-size: 15px; color: var(--ink-2); max-width: 62ch; }
.proof a { font-weight: 600; text-underline-offset: 3px; }
.nw { white-space: nowrap; }

/* Abschnitte */
.band { padding-block: clamp(56px, 9vw, 112px); border-top: 1px solid var(--line); }
.band.sheet { background: var(--sheet); }
.band.dark { background: var(--ink); color: var(--ground); border-top: 0; }
.head { max-width: 62ch; margin-bottom: var(--s7); }
.head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.head p { margin-top: var(--s4); color: var(--ink-2); max-width: 58ch; }
.dark .head p { color: #D9D8D3; }

/* Paket-Blatt */
.deploy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tiers { border: 0; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.tiers legend { position: absolute; left: -9999px; }
.tier { position: relative; display: block; border-bottom: 1px solid var(--line); cursor: pointer; }
.tier input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tier .t { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding: var(--s4) var(--s3); min-height: 64px; }
.tier .t b { font: 700 1.55rem/1 'Barlow Condensed', sans-serif; }
.tier .t span { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.tier input:checked + .t { background: var(--ink); color: var(--ground); }
.tier input:checked + .t span { color: #E4E3DE; }
.tier input:focus-visible + .t { outline: 3px solid var(--ink); outline-offset: 3px; }
.sheetview { position: relative; background: var(--ground); background-image: var(--crease); background-size: 90px 60px; border: 1px solid var(--line); padding: var(--s6); min-height: 340px; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; perspective: 900px; }
.cell { position: relative; min-height: 78px; padding: var(--s3) 26px; display: flex; align-items: flex-end; font: 700 1.1rem/1.1 'Barlow Condensed', sans-serif; transform-origin: top center; transition: transform .5s var(--ease), opacity .4s; }
.cell::before { content: ""; position: absolute; inset: 0; background: var(--sheet); border: 1.5px solid var(--ink); transform: skewX(-12deg); z-index: 0; }
.cell > div { position: relative; z-index: 1; }
.cell small { display: block; font: 600 11.5px/1.2 'Barlow', sans-serif; color: var(--ink-2); letter-spacing: 0.03em; margin-bottom: 4px; }
.cell.foil::before { background: var(--foil); }
.js .sheetview[data-level="1"] .cell[data-min="2"], .js .sheetview[data-level="1"] .cell[data-min="3"], .js .sheetview[data-level="1"] .cell[data-min="4"],
.js .sheetview[data-level="2"] .cell[data-min="3"], .js .sheetview[data-level="2"] .cell[data-min="4"],
.js .sheetview[data-level="3"] .cell[data-min="4"] { transform: scaleY(0.12); }
.js .sheetview[data-level="1"] .cell[data-min="2"] > div, .js .sheetview[data-level="1"] .cell[data-min="3"] > div, .js .sheetview[data-level="1"] .cell[data-min="4"] > div,
.js .sheetview[data-level="2"] .cell[data-min="3"] > div, .js .sheetview[data-level="2"] .cell[data-min="4"] > div,
.js .sheetview[data-level="3"] .cell[data-min="4"] > div { opacity: 0; }
.cell > div { transition: opacity .3s; }
.cell::before { transition: background-color .3s, border-color .3s; }
.js .sheetview[data-level="1"] .cell[data-min="2"]::before, .js .sheetview[data-level="1"] .cell[data-min="3"]::before, .js .sheetview[data-level="1"] .cell[data-min="4"]::before,
.js .sheetview[data-level="2"] .cell[data-min="3"]::before, .js .sheetview[data-level="2"] .cell[data-min="4"]::before,
.js .sheetview[data-level="3"] .cell[data-min="4"]::before { background: var(--line); border-color: var(--line); }
.cell:nth-child(2) { transition-delay: .04s; } .cell:nth-child(3) { transition-delay: .08s; } .cell:nth-child(4) { transition-delay: .12s; } .cell:nth-child(5) { transition-delay: .16s; } .cell:nth-child(6) { transition-delay: .2s; } .cell:nth-child(7) { transition-delay: .24s; }
.tierinfo { margin-top: var(--s5); }
.tierinfo h3 { font-size: 1.9rem; }
.tierinfo ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: 6px; }
.tierinfo li { padding-left: 26px; position: relative; }
.tierinfo li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 10px; height: 10px; border: 2px solid var(--ink); transform: rotate(45deg); }
.js .tierinfo [data-panel] { display: none; }
.js .tierinfo [data-panel].on { display: block; }
.tierinfo [data-panel] + [data-panel] { margin-top: var(--s6); }
.js .tierinfo [data-panel] + [data-panel] { margin-top: 0; }
.addon { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
.addon b { color: var(--ink); }
.fine { margin-top: var(--s5); font-size: 15px; color: var(--ink-2); max-width: 58ch; line-height: 1.55; }
.todo { background: #F2E2A6; padding: 0 4px; }

/* Stationen */
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: st; }
.stations li { padding: var(--s5) var(--s5) var(--s5) 0; border-top: 2px solid var(--ink); position: relative; }
.stations li::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; font: 700 14px/1 'Barlow', sans-serif; font-variant-numeric: tabular-nums; color: var(--spec); letter-spacing: 0.08em; margin-bottom: var(--s3); }
.stations li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.stations h3 { font-size: 1.6rem; }
.stations p { margin-top: var(--s2); color: var(--ink-2); font-size: 16px; }
.dark .stations li { border-color: var(--ground); }
.dark .stations li::after { background: var(--ground); }
.dark .stations li::before { color: #A9C7E8; }
.dark .stations p { color: #D9D8D3; }

/* Software */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.split p + p { margin-top: var(--s4); }
.split .body { color: var(--ink-2); }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s6); }
.ref a.shot { display: block; border: 1px solid var(--ink); background: var(--sheet); line-height: 0; transition: transform .2s var(--ease); }
.ref a.shot:hover { transform: translateY(-3px); }
.ref img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ref h3 { font-size: 1.7rem; margin-top: var(--s4); }
.ref h3 a { text-decoration: none; }
.ref h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ref p { margin-top: var(--s2); color: var(--ink-2); font-size: 16px; max-width: 52ch; }
.ref .kind { display: inline-block; margin-top: var(--s3); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--spec); text-transform: uppercase; }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.portrait { position: relative; max-width: 420px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--ink); filter: grayscale(0.85) contrast(1.05); }
.portrait::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 56px; height: 56px; background: var(--foil); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.about h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.about p { margin-top: var(--s4); color: var(--ink-2); max-width: 56ch; }
.langs { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-weight: 700; }

/* Fragen */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s4) var(--s3); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); font: 700 1.4rem/1.15 'Barlow Condensed', sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
@supports (selector(::details-content)) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.faq details p { padding: 0 var(--s3) var(--s5); color: var(--ink-2); max-width: 64ch; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact .packet { margin-top: 0; max-width: none; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.contact .row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.form { background: var(--sheet); border: 1px solid var(--ink); padding: var(--s6); display: grid; gap: var(--s4); }
.form label.l { font-size: 14px; font-weight: 700; display: block; margin-bottom: 6px; }
.form input[type="text"], .form input[type="email"], .form textarea { width: 100%; border: 1.5px solid var(--ink); border-radius: 3px; padding: 12px 14px; font: 500 16px/1.4 'Barlow', sans-serif; color: var(--ink); background: var(--ground); caret-color: var(--spec); }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--ink); outline: 3px solid var(--spec); outline-offset: 2px; }
.form textarea { resize: vertical; min-height: 110px; }
.form ::placeholder { color: #6A6D73; opacity: 1; }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.consent a { text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#wk-status { font-size: 14px; color: var(--ink-2); min-height: 1.5em; transition: color .25s; }

/* Fuß */
.site-foot { background: var(--ink); color: var(--ground); margin-top: auto; }
.site-foot .wrap { padding-block: var(--s7) var(--s6); display: grid; gap: var(--s5); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s5); align-items: flex-start; }
.foot-top .brand b { color: var(--ground); }
.foot-top .brand span { color: #C9C8C3; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.foot-links a { color: var(--ground); font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 0; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-note { font-size: 13.5px; color: #C9C8C3; max-width: 70ch; }
.site-foot :focus-visible { outline-color: var(--ground); }

/* Schnellkontakt (Handy) */
.mbar { display: none; }

/* Rechtstexte / 404 */
.doc { max-width: 760px; margin: 0 auto; padding: var(--s7) var(--gutter) var(--s9); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: var(--s5) 0 var(--s4); }
.doc h2 { font-size: 1.7rem; margin: var(--s6) 0 var(--s2); }
.doc p { color: var(--ink-2); max-width: 54ch; }
.doc .back { font-weight: 700; text-decoration: none; display: inline-block; padding: 8px 0; }
.doc .back:hover { text-decoration: underline; text-underline-offset: 4px; }
.doc .note { border: 1.5px solid var(--ink); background: var(--sheet); padding: var(--s3) var(--s4); font-size: 15px; }
.doc a { text-underline-offset: 3px; }

/* Branchenseiten */
.rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s7); }
.rows li { border-top: 1px solid var(--line); padding: var(--s5) 0; }
.rows h3 { font-size: 1.7rem; }
.rows p { margin-top: var(--s2); color: var(--ink-2); max-width: 46ch; }
.price2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.price2 > div { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.price2 h3 { font-size: 1.9rem; }
.price2 .amount { margin: var(--s2) 0 var(--s3); font: 700 3.2rem/1 'Barlow Condensed', sans-serif; }
.price2 .amount small { font: 600 15px/1 'Barlow', sans-serif; color: var(--ink-2); margin-right: 6px; }
.price2 ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.price2 li { padding-left: 26px; position: relative; }
.price2 li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 10px; height: 10px; border: 2px solid var(--ink); transform: rotate(45deg); }

/* Kleinere Breiten */
@media (max-width: 960px) {
  .deploy, .split, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: var(--s4); }
}
@media (max-width: 720px) {
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; padding-block: 10px; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: var(--s3); padding-bottom: 4px; }
  .nav a { padding: 12px 0; }
  .brand b { font-size: 33px; }
  .site-head .btn-sm { min-height: 44px; }
  .refs, .rows, .price2 { grid-template-columns: minmax(0, 1fr); }
  .stations { grid-template-columns: minmax(0, 1fr); }
  .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheetview { padding: var(--s4); }
  .packet { padding: var(--s5); }
  .packet .row .btn, .contact .row .btn { flex: 1 1 100%; }
  .form { padding: var(--s5); }
  .foot-links a { padding: 12px 0; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: var(--s3); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 245, 242, 0.97); border-top: 1px solid var(--ink); }
  .mbar a { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border: 2px solid var(--ink); border-radius: 3px; }
  .mbar a:first-child { background: var(--foil); color: var(--ink); }
  .mbar a:last-child { background: var(--ink); color: var(--ground); }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .fold-art i { animation: none; }
  .btn, .ref a.shot, .faq summary::after { transition: none; }
  .btn:hover:not(:disabled), .ref a.shot:hover { transform: none; }
  .cell, .cell > div, .cell::before { transition: opacity .2s, background-color .2s, border-color .2s; transition-delay: 0s; }
  .js .sheetview .cell { transform: none !important; }
  .faq details::details-content { transition: none; }
}

/* Rechtstexte und Fehlerseite: Fuß unten halten, auch bei kurzem Inhalt */
body:has(> main.doc) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(> main.doc) > main.doc { flex: 1 0 auto; width: 100%; }

/* Kundenweg und Branchen-Links */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.flow li { position: relative; border-top: 2px solid var(--ink); padding-top: var(--s5); }
.flow li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
.flow svg { display: block; width: 100%; height: auto; max-width: 320px; margin-bottom: var(--s4); background: var(--sheet); border: 1px solid var(--line); }
.flow h3 { font-size: 1.9rem; }
.flow p { margin-top: var(--s2); color: var(--ink-2); max-width: 40ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s7) 0 0; padding: 0; }
.tags a { display: inline-block; border: 2px solid var(--ink); padding: 12px 18px; font: 700 1.2rem/1 'Barlow Condensed', sans-serif; text-decoration: none; }
.tags a:hover { background: var(--ink); color: var(--ground); }
@media (max-width: 720px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* Software-Abschnitt: drei Programme */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); align-items: stretch; }
.app { display: flex; flex-direction: column; border: 2px solid var(--ink); background: var(--sheet); padding: var(--s5); }
.app h3 { font-size: 2rem; margin-top: var(--s3); }
.app > p:not(.tag):not(.app-links) { margin-top: var(--s3); color: var(--ink-2); }
.tag { align-self: flex-start; border: 2px solid var(--ink); padding: 4px 10px; font: 700 13px/1 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.tag-gold { background: var(--foil); }
.app-links { margin-top: auto; padding-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3); }
.app-links .btn { flex: 1 1 auto; text-align: center; }
@media (max-width: 960px) { .apps { grid-template-columns: minmax(0, 1fr); } }

/* Screenshots der Software-Seite */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); align-items: start; }
.shots figure { margin: 0; border: 1px solid var(--line); background: var(--sheet); }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { padding: var(--s3) var(--s4); border-top: 1px solid var(--line); font: 600 15px/1.4 'Barlow', sans-serif; color: var(--ink-2); }
.shots .shot-mobile img { max-width: 260px; margin-inline: auto; }
@media (max-width: 720px) { .shots { grid-template-columns: minmax(0, 1fr); } }
.head p.tag { display: inline-block; margin: 0; max-width: none; color: var(--ink); }
.shots-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .shots-3 { grid-template-columns: minmax(0, 1fr); } }

/* Screenshots: gleich große Blöcke, Klick vergrößert */
.shots-3 { align-items: stretch; }
.shots figure { display: flex; flex-direction: column; }
.shots-3 .zoom { aspect-ratio: 11 / 10; overflow: hidden; }
.shots-3 .zoom img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shots-3 figcaption { flex: 1; min-height: 4.6em; }
.zoom { display: block; cursor: zoom-in; position: relative; }
.zoom::after { content: "Vergrößern"; position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; background: var(--ink); color: var(--sheet); font: 700 12px/1 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.zoom:focus-visible { outline: 3px solid var(--spec); outline-offset: 2px; }
#lightbox { max-width: min(96vw, 1400px); max-height: 94vh; width: auto; padding: var(--s3); border: 2px solid var(--ink); background: var(--sheet); overflow: auto; }
#lightbox::backdrop { background: rgba(23, 24, 26, .78); }
#lightbox img { display: block; max-width: 100%; max-height: calc(94vh - 90px); width: auto; height: auto; margin: 0 auto; }
#lightbox .lb-cap { margin-top: var(--s3); font: 600 15px/1.4 'Barlow', sans-serif; color: var(--ink-2); }
#lightbox form { position: absolute; top: 8px; right: 8px; margin: 0; }
.lb-close { width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--sheet); font: 700 28px/1 'Barlow', sans-serif; cursor: pointer; }

/* Navigation: aktuelle Seite */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.about h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.contact h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Startseite: Preisliste und Kontaktleiste */
.pricelist { list-style: none; margin: 0; padding: 0; max-width: 760px; border-top: 2px solid var(--ink); }
.pricelist li { border-bottom: 1px solid var(--line); }
.pricelist a { display: flex; align-items: baseline; gap: var(--s3); padding: var(--s4) var(--s2); text-decoration: none; }
.pricelist a:hover { background: var(--ground); }
.pricelist b { font: 700 1.8rem/1 'Barlow Condensed', sans-serif; }
.pricelist .dots { flex: 1; border-bottom: 2px dotted var(--ink-2); min-width: 16px; transform: translateY(-4px); }
.pricelist span { font: 700 1.8rem/1 'Barlow Condensed', sans-serif; white-space: nowrap; }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5) var(--s6); }
.strip h2 { font-size: clamp(2rem, 4vw, 3rem); }
.strip p { margin-top: var(--s2); color: #D9D8D3; max-width: 46ch; }
.strip-btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
.dark .btn-line { color: var(--ground); border-color: var(--ground); }
.dark .btn:not(.btn-line) { background: var(--foil); border-color: var(--foil); color: var(--ink); }
.dark .btn-line:hover:not(:disabled) { background: var(--ground); color: var(--ink); }

/* Danke-Fenster nach dem Senden */
#wk-thanks { width: min(92vw, 480px); padding: var(--s6) var(--s5); border: 2px solid var(--ink); background: var(--sheet); text-align: center; }
#wk-thanks::backdrop { background: rgba(23, 24, 26, .72); }
#wk-thanks h2 { font-size: 2.4rem; margin-top: var(--s4); }
#wk-thanks p { margin-top: var(--s3); color: var(--ink-2); }
#wk-thanks form { margin-top: var(--s5); }
.th-art { position: relative; width: 120px; height: 100px; margin: 0 auto; }
.th-art i { position: absolute; inset: 0; display: block; }
.th-art i:nth-child(1) { background: var(--foil); clip-path: polygon(0 12%, 33.3% 0, 33.3% 88%, 0 100%); transform-origin: 0 50%; }
.th-art i:nth-child(2) { background: var(--foil-dark); clip-path: polygon(33.3% 0, 66.6% 12%, 66.6% 100%, 33.3% 88%); transform-origin: 33.3% 50%; }
.th-art i:nth-child(3) { background: var(--foil); clip-path: polygon(66.6% 12%, 100% 0, 100% 88%, 66.6% 100%); transform-origin: 66.6% 50%; }
.th-art svg { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
@media (prefers-reduced-motion: no-preference) {
  #wk-thanks[open] { animation: th-in .35s cubic-bezier(0.16, 1, 0.3, 1); }
  #wk-thanks[open] .th-art i { animation: unfold .7s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  #wk-thanks[open] .th-art i:nth-child(1) { animation-delay: .1s; }
  #wk-thanks[open] .th-art i:nth-child(2) { animation-delay: .3s; }
  #wk-thanks[open] .th-art i:nth-child(3) { animation-delay: .5s; }
  #wk-thanks[open] .th-art path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: th-check .5s .75s ease-out forwards; }
  @keyframes th-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes th-check { to { stroke-dashoffset: 0; } }
}
.wrap > .app-links .btn { flex: 0 1 auto; }
.ref .ref-more { margin-top: var(--s3); font-size: 15px; color: var(--ink-2); }

/* Mobile und Zugänglichkeit (Überarbeitung 11/2026) */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
main.doc, main.doc * { overflow-wrap: anywhere; }
.wrap { padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
html { scroll-padding-top: 100px; }
.tag, .ref .kind { font-size: 14px; }
.foot-note { font-size: 14.5px; }
.zoom::after { font-size: 13px; }
.ref h3 a { display: inline-block; padding-block: 8px; }
.consent a { display: inline-block; padding-block: 6px; }
.dark :focus-visible { outline-color: var(--ground); }
.mbar a:focus-visible { outline: 3px solid var(--spec); outline-offset: 2px; }
.nav a:focus-visible, .foot-links a:focus-visible { outline-offset: 2px; }
@media (max-width: 720px) {
  [id] { scroll-margin-top: 150px; }
  html { scroll-padding-top: 150px; }
  .hero h1[style] { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; }
}
@media (max-width: 400px) {
  .pricelist a { gap: var(--s2); padding-inline: 0; }
  .pricelist b, .pricelist span { font-size: 1.45rem; }
  .btn { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  #wk-thanks .th-art path { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Kopfzeile: ab Tablet-Breite zweizeilig, nicht mitscrollend, damit Inhalt Platz hat */
@media (max-width: 900px) {
  .site-head { position: static; }
  .site-head .wrap { flex-wrap: wrap; row-gap: 0; padding-block: 10px; min-height: 0; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: var(--s3); padding-bottom: 4px; }
  .nav a { padding: 12px 0; white-space: nowrap; }
  .site-head .btn-sm { min-height: 44px; white-space: nowrap; }
  [id] { scroll-margin-top: 24px; }
  html { scroll-padding-top: 24px; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .brand { gap: var(--s2); }
  .brand svg { width: 40px; height: 40px; }
  .brand b { font-size: 28px; }
  .brand span { font-size: 14px; }
  .site-head .btn-sm { padding-inline: 12px; font-size: 14px; }
  .nav { gap: 8px; }
  .nav a { font-size: 14px; }
  .head h2, .split h2, .about h2, .contact h2, .head h1, .about h1, .contact h1 { font-size: clamp(1.7rem, 8.2vw, 2.2rem); }
}

/* Lesbarkeit: Hintergrundmuster hinter Text abschwächen, sobald Text über die ganze Breite läuft */
@media (max-width: 960px) {
  .field { background-image: linear-gradient(rgba(245, 245, 242, 0.93), rgba(245, 245, 242, 0.93)), var(--crease); }
  .field::before { opacity: 0.3; }
}
.ref h2 { font-size: 1.7rem; margin-top: var(--s4); }
.ref h2 a { text-decoration: none; display: inline-block; padding-block: 8px; }
.ref h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tierinfo [data-panel] > h2 { font-size: 1.9rem; }
