/* siteface.css: gemeinsames Stylesheet der neuen Website.
   Media Queries immer mit "screen and" schreiben, die Kurzform entfernt Siteface. */
@font-face { font-family: "Outfit"; src: url("/media/CMS/71/Navi/Outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/media/CMS/71/Navi/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #070f1f;
  --night-2: #0e1a30;
  --night-3: #16253f;
  --night-line: #26364f;
  --night-text: #aebbd0;
  --paper: #f3f4f6;
  --white: #ffffff;
  --ink: #0b1526;
  --ink-soft: #4b586b;
  --line: #d8dce3;
  --blue: #2f6fed;
  --blue-dark: #1f56c4;
  --cyan: #22d3ee;
  --wrap: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 17px/1.65 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: "Outfit", "Inter", sans-serif; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(3.3rem, 13vw, 9.6rem); letter-spacing: -0.045em; line-height: .95; font-weight: 600; }
h1 em { font-style: normal; color: var(--acc, var(--cyan)); }
h1.long { font-size: clamp(2.05rem, 8.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); letter-spacing: -0.035em; }
h3 { font-size: 1.32rem; line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 20; background: #0b1526; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font: 700 1.5rem/1 "Outfit", sans-serif; letter-spacing: -0.03em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav-label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: .95rem; font-weight: 500; cursor: pointer; }
#nav-toggle:focus-visible + .nav-label { outline: 3px solid var(--cyan); outline-offset: 3px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); overflow-y: auto; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px var(--gutter) 24px; }
#nav-toggle:checked ~ .nav { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 13px 0; color: #fff; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--night-line); }
.nav li a[aria-current="page"] { color: var(--cyan); }
.nav .btn { margin-top: 18px; }

/* Schaltflächen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
button.btn { font: 600 1rem/1 "Inter", sans-serif; cursor: pointer; }
.btn:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn.ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dunkler Einstieg */
.hero { position: relative; z-index: 1; background: var(--night); color: #fff; }
.hero > * { position: relative; }
.hero-main { padding-top: 60px; }
.place { display: block; margin-bottom: 20px; color: var(--night-text); font-weight: 500; font-size: .98rem; }
.hero-sub { display: grid; gap: 26px; margin-top: 30px; }
.lead { font-size: clamp(1.14rem, 2.1vw, 1.38rem); line-height: 1.5; color: var(--night-text); max-width: 620px; }


/* Einstieg mit Schichten-Grafik auf Leistungsseiten */
.crumb-bar { background: var(--night); }
.crumbs { padding-top: 20px; font-size: .92rem; color: var(--night-text); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--night-text); }
.zeile-bar { display: none; background: #0b1526; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.zeile { display: flex; gap: 28px; }
.zeile a { display: flex; align-items: center; min-height: 46px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--night-text); font-size: .92rem; font-weight: 500; text-decoration: none; transition: color .2s; }
.zeile a:hover { color: #fff; }
.zeile a[aria-current] { border-bottom-color: var(--cyan); color: #fff; }
.kontakt-person { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.kontakt-person img { flex: none; width: 64px; height: 64px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; object-fit: cover; }
.kontakt-person p { margin: 0; color: #eaf2ff; font-size: .95rem; line-height: 1.4; }
.kontakt-person b { display: block; color: #fff; font-size: 1.05rem; }
.inhaber { display: grid; gap: 32px; align-items: center; }
.inhaber > img { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 20px; }
.inhaber h2 { margin-bottom: 20px; }
.inhaber p + p { margin-top: 14px; }
.inhaber .btn-row { margin-top: 26px; }
.btn.hell { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.hell:hover { background: var(--night); border-color: var(--night); color: #fff; }
.inhaber .btn:not(.hell):hover { background: var(--night); border-color: var(--night); color: #fff; }
.referenzen { display: grid; gap: 24px; }
.referenzen a { display: block; color: var(--ink); text-decoration: none; }
.referenzen img { display: block; width: 100%; height: auto; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 14px; transition: transform .35s var(--ease); }
.referenzen a:hover img { transform: translateY(-4px); }
.referenzen a:hover h3 { color: var(--blue-dark); }
.referenzen small { display: block; margin: 2px 0 8px; color: var(--ink-soft); font-size: .9rem; }
.referenzen p { margin: 0; color: var(--ink-soft); }
.fotos img { aspect-ratio: 475 / 303; height: auto; object-fit: cover; object-position: center 70%; }
.hero-foto { height: auto; border-radius: 18px; }
.jahresringe { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.jahresringe .ringe > circle { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 300px 300px; animation: ring-zieh 1.1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .28s); }
.jahresringe .ringe > circle.heute { stroke: var(--cyan); stroke-width: 2; }
.jahresringe .marke { opacity: 0; animation: ring-zeig .6s ease forwards; animation-delay: calc(.9s + var(--i) * .28s); }
.jahresringe .marke circle { fill: #fff; }
.jahresringe text { font: 500 22px "Inter", sans-serif; fill: #c2cede; }
.jahresringe .kern circle { fill: var(--blue); animation: ring-puls 3.2s ease-in-out infinite; transform-origin: 300px 300px; }
.jahresringe .kern text { font: 600 26px "Outfit", sans-serif; fill: #fff; text-anchor: middle; }
.jahresringe .lauf { fill: var(--cyan); opacity: 0; transform-origin: 300px 300px; animation: ring-zeig .5s ease 2.6s forwards, ring-lauf 24s linear 2.6s infinite; }
/* Symbolische Motive der Leistungsseiten, gleiche Bildsprache wie die Jahresringe */
.motiv { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; overflow: visible; }
.motiv text { font: 500 19px "Inter", sans-serif; fill: #c2cede; }
.motiv .hell { font: 600 24px "Outfit", sans-serif; fill: #fff; }
.motiv .url { font-size: 15px; fill: var(--cyan); }
.motiv .k { fill: #16213a; stroke: #2a3750; stroke-width: 2; }
.motiv .k.uns { stroke: var(--cyan); }
.motiv .k2 { fill: #1b2a45; }
.motiv .b { fill: var(--blue); }
.motiv .b2 { fill: var(--blue-dark); }
.motiv .a { fill: var(--cyan); }
.motiv .l { fill: none; stroke: #2a3750; stroke-width: 2; }
.motiv-software .l { stroke: var(--blue); stroke-opacity: .6; }
.motiv .hl { fill: #c2cede; }
.motiv .hl2 { fill: #3a4a66; }
.motiv .hl3 { fill: #8a98ad; }
.motiv .pkt { fill: #2a3750; }
.motiv .berg { fill: var(--blue); }
.motiv .zieh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring-zieh 1s var(--ease) var(--d, 0s) forwards; }
.motiv .auf { transform-box: fill-box; transform-origin: center; animation: motiv-auf .6s var(--ease) var(--d, 0s) both; }
.motiv .ein { animation: motiv-ein .5s ease var(--d, 0s) both; }
.motiv .welle { fill: none; stroke: var(--cyan); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: motiv-welle 3s ease-out var(--d, 0s) infinite; }
.motiv-seo .welle, .motiv-webdesign .welle, .motiv-relaunch .welle { animation-name: motiv-welle-klein; }
.motiv .ordnen { fill: var(--f); transform-box: fill-box; transform-origin: center; animation: motiv-ordnen 1.3s var(--ease) var(--d, 0s) both; }
.motiv .tippen { fill: #fff; clip-path: inset(0 100% 0 0); animation: seo-tippen 1.1s steps(26) .2s forwards; }
.motiv-seo .runter { animation: motiv-auf .6s var(--ease) var(--d, 0s) both, seo-runter 1.2s var(--ease) 2.8s forwards; }
.motiv-seo .hoch { animation: motiv-auf .6s var(--ease) var(--d, 0s) both, seo-hoch 1.2s var(--ease) 2.8s forwards; }
@keyframes motiv-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes motiv-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes motiv-welle { 0% { opacity: .55; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.22); } }
@keyframes motiv-welle-klein { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.4); } }
@keyframes motiv-ordnen { from { opacity: .6; fill: #2a3750; transform: translate(var(--x), var(--y)) rotate(var(--r)); } to { opacity: 1; fill: var(--f); transform: translate(0, 0) rotate(0); } }
@keyframes seo-tippen { to { clip-path: inset(0 0 0 0); } }
@keyframes seo-runter { from { transform: translateY(0); } to { transform: translateY(86px); } }
@keyframes seo-hoch { from { transform: translateY(0); } to { transform: translateY(-258px); } }
@keyframes ring-zieh { to { stroke-dashoffset: 0; } }
@keyframes ring-zeig { to { opacity: 1; } }
@keyframes ring-puls { 50% { transform: scale(1.06); } }
@keyframes ring-lauf { to { transform: rotate(360deg); } }
.zeitleiste { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.zeitleiste li { padding: 18px 0 24px; border-top: 1px solid var(--line); }
.zeitleiste strong { display: block; margin-bottom: 6px; font: 600 1.7rem/1.1 "Outfit", sans-serif; letter-spacing: -0.02em; color: var(--blue-dark); }
.zeitleiste p { margin: 0; color: var(--ink-soft); }
.standort-foto { display: block; width: 100%; max-width: 520px; height: auto; margin-top: 28px; border-radius: 16px; }
.rechtstext { color: var(--ink-soft); overflow-wrap: anywhere; }
.rechtstext > * { max-width: 820px; }
.rechtstext h1 { margin-bottom: 32px; color: var(--ink); font-size: clamp(2.4rem, 5vw, 3.4rem); }
.rechtstext h2 { margin: 40px 0 12px; color: var(--ink); font-size: 1.6rem; }
.rechtstext h3 { margin: 28px 0 8px; color: var(--ink); font-size: 1.2rem; }
.rechtstext p, .rechtstext ul { margin-bottom: 14px; }
.preis-hinweis { display: grid; gap: 20px; justify-items: start; margin-top: 16px; padding: 28px; border-radius: 18px; background: var(--white); }
.preis-hinweis p { margin-top: 8px; color: var(--ink-soft); }
.preis-hinweis .btn:hover { border-color: var(--night); background: var(--night); color: #fff; }
.hero-split { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 64px; align-items: center; }
.hero-split .lead { margin: 24px 0 30px; }
.hero-split .stack { max-width: 430px; margin: 0 auto; width: 100%; }

/* Abschnitte */
.section { padding: 84px 0; }
.section.white { background: var(--white); }
.section.dark { background: var(--night); color: #fff; }
/* Jahresringe als wiederkehrendes Markenzeichen, gleiches Motiv wie auf /unternehmen */
.section.dark, .contact-box::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23fff' stroke-opacity='.08' stroke-width='1.5'%3E%3Ccircle cx='300' cy='300' r='56'/%3E%3Ccircle cx='300' cy='300' r='96'/%3E%3Ccircle cx='300' cy='300' r='136'/%3E%3Ccircle cx='300' cy='300' r='176'/%3E%3Ccircle cx='300' cy='300' r='216'/%3E%3Ccircle cx='300' cy='300' r='256'/%3E%3Ccircle cx='300' cy='300' r='296' stroke='%2322d3ee' stroke-opacity='.32'/%3E%3Ccircle cx='509' cy='91' r='5' fill='%2322d3ee' fill-opacity='.7' stroke='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; }
.section.dark { background-size: 420px; background-position: calc(100% + 230px) 36px; }
.contact-box::after { content: ""; position: absolute; top: -190px; right: -190px; width: 480px; height: 480px; background-size: contain; pointer-events: none; }
.contact-box > * { position: relative; z-index: 1; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 1.13rem; }
.dark .section-head p, .dark p { color: var(--night-text); }
.dark a { color: #fff; }
.dark a:hover { color: var(--cyan); }

/* Schichten */
.layers { display: grid; gap: 44px; align-items: center; }
.stack { width: 100%; max-width: 540px; margin: 0 auto; }
.ly { transition: transform 1.1s var(--ease), opacity .25s; }
.js .stack:not(.in) .ly1 { transform: translateY(90px); }
.js .stack:not(.in) .ly2 { transform: translateY(30px); }
.js .stack:not(.in) .ly3 { transform: translateY(-30px); }
.js .stack:not(.in) .ly4 { transform: translateY(-90px); }
.stack.has-active .ly:not(.active) { opacity: .28; }
.layer-list { list-style: none; margin: 34px 0 0; padding: 0; }
.layer-list li { padding: 18px 0; border-top: 1px solid var(--night-line); transition: padding .25s var(--ease); }
.layer-list li:last-child { border-bottom: 1px solid var(--night-line); }
.layer-list h3 { color: #fff; font-size: 1.18rem; }
.layer-list p { margin-top: 3px; font-size: 1rem; }

/* Produktkacheln */
.bento { display: grid; gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 26px; border-radius: 20px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .35s var(--ease); }
a.tile:hover { transform: translateY(-5px); }
.tile h3 { font-size: 1.7rem; letter-spacing: -0.025em; }
.tile p { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
.tile .art { margin-top: auto; padding-top: 22px; }
.tile .art svg { width: 100%; height: auto; }
.tile .art.handys { display: flex; align-items: flex-start; justify-content: center; gap: 10px; height: 190px; margin-bottom: -26px; overflow: hidden; }
.tile .art.handys img { flex: none; width: 44%; max-width: 132px; height: auto; border-radius: 0; box-shadow: none; }
.tile .art img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 30px rgba(11, 21, 38, .22); }
.t-lyria { background: var(--night-2); color: #fff; }
.t-lyria p { color: var(--night-text); }
.t-lyria img { margin-top: 26px; width: 100%; max-width: none; }
.t-cms { background: #cfeffd; }
.t-bmi { background: #d6f5e3; }
.t-body { background: #e8f7bf; }
.t-love { background: #eadfff; }
.t-book { background: #f0ecff; }
.t-book img { margin-top: 22px; width: 100%; max-width: 280px; border-radius: 14px; }
.tag { align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .82rem; font-weight: 600; }
.go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; transition: transform .3s var(--ease); }
a.tile:hover .go { transform: rotate(-45deg); }
.go svg { width: 18px; height: 18px; }

/* Leistungen */
.service-list { border-top: 1px solid var(--night-line); }
.service { position: relative; display: block; padding: 28px 54px 28px 0; border-bottom: 1px solid var(--night-line); color: #fff; text-decoration: none; transition: padding .3s var(--ease); }
.service h3 { font-size: clamp(1.7rem, 4.2vw, 3rem); letter-spacing: -0.03em; transition: color .2s; }
.service p { margin-top: 8px; max-width: 560px; }
.service .arrow { position: absolute; right: 0; top: 34px; width: 34px; height: 34px; color: var(--cyan); transition: transform .3s var(--ease); }
.service:hover { padding-left: 14px; color: #fff; }
.service:hover h3 { color: var(--cyan); }
.service:hover .arrow { transform: translateX(6px); }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 34px 62px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 1.05rem/1 "Outfit", sans-serif; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { padding-top: 8px; font-size: 1.45rem; }
.steps p { margin-top: 8px; color: var(--ink-soft); }

/* Karten */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cards li { padding: 26px; border-radius: 18px; background: var(--white); }
.white .cards li { background: var(--paper); }
.cards h3 { margin-bottom: 8px; }
.cards p { color: var(--ink-soft); }
.cards .bei-uns { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); }
.cards .bei-uns b { color: var(--blue-dark); }
.cards .num { display: block; margin-bottom: 26px; font: 600 2.4rem/1 "Outfit", sans-serif; letter-spacing: -0.03em; color: var(--blue); }

/* Zwei Spalten mit Liste */
.split { display: grid; gap: 40px; }
.split p + p { margin-top: 16px; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 15px 0; border-top: 1px solid var(--night-line); color: #fff; font-weight: 500; }
.facts li:last-child { border-bottom: 1px solid var(--night-line); }

/* Fragen */
.faq-grid { display: grid; gap: 32px; }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 21px 0; cursor: pointer; font: 600 1.2rem/1.3 "Outfit", sans-serif; letter-spacing: -0.01em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.7rem; font-weight: 400; color: var(--blue); flex: none; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-soft); }

/* Kontakt */
.contact { background: var(--night); padding: 24px 0 0; }
.contact-box { position: relative; overflow: hidden; padding: 52px 28px; border-radius: 26px; background: var(--blue-dark); color: #fff; }
.contact-box h2 { max-width: 860px; font-size: clamp(2.3rem, 6.4vw, 5rem); }
.contact-box > p { margin-top: 18px; max-width: 620px; color: #eaf2ff; font-size: 1.13rem; }
.contact-box .btn { margin-top: 28px; background: #fff; border-color: #fff; color: var(--ink); }
.contact-box .btn:hover { background: var(--night); border-color: var(--night); color: #fff; }
.contact-data { display: grid; gap: 18px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .3); }
.contact-data p { margin: 0; color: #fff; overflow-wrap: anywhere; }
.contact-data a { color: #fff; font-weight: 600; }
.contact-data span { display: block; color: #dce9ff; font-size: .9rem; }

/* Fuß */
.site-foot { background: var(--night); color: var(--night-text); padding: 60px 0 30px; font-size: .97rem; }
.foot-grid { display: grid; gap: 30px; }
.foot-title { font-weight: 600; color: #fff; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { padding: 4px 0; }
.site-foot a { color: var(--night-text); }
.site-foot a:hover { color: #fff; }
.site-foot .brand { color: #fff; text-decoration: none; }
.foot-claim { margin-top: 14px; max-width: 300px; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--night-line); overflow-wrap: anywhere; }

/* Produktbilder im Einstieg */
.shots { position: relative; display: flex; justify-content: center; }
.shots .phone { width: min(62vw, 260px); border-radius: 26px; border: 7px solid #1c2c47; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); background: #fff; }
.shots .phone.back { width: min(48vw, 260px); transform: rotate(5deg) translateX(8%); }
.shots .phone.front { position: relative; width: min(44vw, 230px); margin-left: -14%; margin-top: 44px; align-self: flex-start; transform: rotate(-4deg); }
.shots .phone-free { width: min(70vw, 300px); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
.shots .shot { width: 100%; border-radius: 16px; border: 1px solid var(--night-line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.note { margin-top: 30px; font-size: .92rem; }

/* Fotos auf der Unternehmensseite: Originale sind nur rund 470 Pixel breit */
.fotos { display: grid; gap: 14px; margin-top: 44px; justify-content: start; }
.fotos img { width: 100%; max-width: 475px; border-radius: 16px; }

/* Produkte-Menü in der Navigation */
.has-sub > a svg { width: 11px; height: 8px; margin-left: 7px; display: inline-block; vertical-align: 1px; transition: transform .2s; }
.sub { padding: 4px 0 8px 12px; }
.sub-col > p { margin: 14px 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--night-text); }
.nav .sub a { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border: 0; font-weight: 400; }
.sub b { display: block; font-weight: 600; }
.sub small { display: block; font-size: .86rem; color: var(--night-text); }
.nav .sub a.sub-all { margin-top: 6px; color: var(--cyan); font-weight: 600; }


/* Eigene Grafiken der Leistungsseiten */
.netz .linien path { stroke-dasharray: 8 8; animation: fluss 2.6s linear infinite; }
@keyframes fluss { to { stroke-dashoffset: -32; } }
.fit .teil { transition: transform 1.2s var(--ease); }
.js .fit:not(.in) .teil { transform: translate(70px, -60px); }

/* Produktseiten: Farbe je Produkt */
.produkt h1 em, .produkt .place { color: var(--acc); }
.produkt .btn { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.produkt .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.produkt .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.produkt .btn.ghost:hover { background: #fff; color: var(--ink); }
.produkt .white .cards li { background: var(--tint); }
.produkt .contact-box { background: var(--box1); }
.produkt .contact-box .btn { background: #fff; border-color: #fff; color: var(--ink); }
.produkt .contact-box .btn:hover { background: var(--night); border-color: var(--night); color: #fff; }
.zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; padding: 26px 0 40px; border-top: 1px solid var(--night-line); }
.zahlen strong { display: block; font: 600 clamp(1.9rem, 4.6vw, 3rem)/1.05 "Outfit", sans-serif; letter-spacing: -0.03em; color: var(--acc); }
.zahlen span { display: block; margin-top: 6px; font-size: .92rem; line-height: 1.4; color: var(--night-text); }
.shots .devices { width: 100%; }
.fuer { display: grid; gap: 14px; margin-top: 44px; }
.fuer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.fuer li { padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: .95rem; font-weight: 500; }

/* Galerie mit App-Screens */
.gallery { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x proximity; }
.gallery figure { flex: 0 0 min(62vw, 250px); margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.gallery-phones img { border: 0; border-radius: 0; background: none; filter: drop-shadow(0 14px 22px rgba(11, 21, 38, .24)); }
.gallery figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-soft); }
.gallery figure:has(img[width="1400"]) { flex-basis: min(90vw, 900px); }

/* Nutzerstimmen */
.voices-section { background: var(--tint); }
.voices { display: grid; gap: 14px; }
.voice { display: flex; flex-direction: column; margin: 0; padding: 26px; border-radius: 18px; background: var(--white); }
.stars { color: #f5a524; letter-spacing: 2px; }
.voice blockquote { margin: 12px 0 18px; font: 500 1.14rem/1.4 "Outfit", sans-serif; letter-spacing: -0.01em; }
.voice figcaption { margin-top: auto; font-size: .92rem; color: var(--ink-soft); }
.voice figcaption strong { display: block; color: var(--ink); }
.note-dark { margin-top: 26px; font-size: .88rem; color: var(--ink-soft); }
.dark .note-dark { color: var(--night-text); }

/* Hinter den Kulissen */
.story { display: grid; gap: 28px; }
.story > div { padding-top: 18px; border-top: 2px solid var(--acc, var(--blue)); }
.story h3 { color: #fff; margin-bottom: 10px; }
.weiter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 52px; }
.weiter span { width: 100%; margin-bottom: 4px; font-size: .9rem; color: var(--night-text); }
.weiter a { padding: 7px 14px; border: 1px solid var(--night-line); border-radius: 999px; font-size: .95rem; text-decoration: none; }
.weiter a:hover { border-color: var(--acc); color: var(--acc); }

/* Kacheln der Produktübersicht: Text oben, Bild läuft unten aus der Kachel */
.showcase { display: grid; gap: 16px; }
.show { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 28px 24px 0; border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
a.show:hover { color: var(--ink); transform: translateY(-5px); }
.show h3 { padding-right: 56px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.show p { max-width: 430px; margin-top: 8px; padding-right: 8px; line-height: 1.5; }
a.show:hover .go { transform: rotate(-45deg); }
.show-vis { display: flex; justify-content: center; align-items: flex-start; gap: 14px; height: 200px; margin-top: auto; padding-top: 26px; overflow: hidden; }
.show-vis > * { flex: none; transition: transform .45s var(--ease); }
a.show:hover .show-vis > * { transform: translateY(-8px); }
.show:hover { box-shadow: 0 18px 44px rgba(11, 21, 38, .14); }
.show-devices { width: 100%; max-width: 520px; }
.s-book .show-browser img { height: 340px; object-fit: cover; object-position: 0 0; }
.show-browser { width: 100%; max-width: 520px; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 18px 44px rgba(11, 21, 38, .22); }
.show-browser i { display: block; height: 22px; background: radial-gradient(circle 4px at 14px 11px, #c9ced8 98%, transparent), radial-gradient(circle 4px at 28px 11px, #c9ced8 98%, transparent), radial-gradient(circle 4px at 42px 11px, #c9ced8 98%, transparent), #f3f4f6; }
.show-browser img { width: 100%; }
.show-phone, .show-store { width: 44%; max-width: 205px; box-shadow: 0 18px 40px rgba(11, 21, 38, .24); }
.show-phone { border: 5px solid #15233c; border-bottom: 0; border-radius: 20px 20px 0 0; background: #fff; }
.show-store { border-radius: 26px 26px 0 0; }
.show-frei { width: 44%; max-width: 205px; height: auto; }
.s-lyria { background: var(--night-2); color: #fff; }
a.s-lyria:hover { color: #fff; }
.s-lyria p { color: var(--night-text); }
.s-cms { background: #d3f0fb; }
.s-love { background: #fbe0ee; }
.s-book { background: #e9e3ff; }
.s-bmi { background: #cff3df; }
.s-body { background: #e4f6b4; }

/* Technik-Tabelle */
.tech { margin: 0; border-top: 2px solid var(--ink); }
.tech-row { display: grid; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tech dt { font: 600 1.08rem/1.3 "Outfit", sans-serif; }
.tech dd { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tech span { padding: 5px 12px; border-radius: 8px; background: var(--paper); font-size: .93rem; font-weight: 500; }
.section:not(.white) .tech span { background: var(--white); }
.why { margin-top: 28px; }
.examples .ex-tag { display: inline-block; margin-bottom: 14px; padding: 3px 10px; border-radius: 999px; background: #e4ecfd; color: var(--blue-dark); font-size: .82rem; font-weight: 600; text-decoration: none; }
.sub-head { margin: 44px 0 18px; font-size: 1.5rem; }

/* Aufwandstabelle */
.table-wrap { overflow-x: auto; }
.aufwand { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; }
.aufwand th { padding: 14px 18px; background: var(--night); color: #fff; text-align: left; font-size: .92rem; font-weight: 600; }
.aufwand td { padding: 15px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.aufwand td:last-child { color: var(--ink-soft); }
.aufwand td:first-child { font-weight: 600; }
.aufwand b { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .85rem; white-space: nowrap; }
.a1 { background: #d6f5e3; color: #0a5f43; }
.a2 { background: #fdf0c8; color: #6b4e00; }
.a3 { background: #fde0dc; color: #8c2a1d; }

/* Checkliste */
.check { list-style: none; counter-reset: pkt; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.check li { counter-increment: pkt; position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.check li::before { content: counter(pkt); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 .92rem/1 "Outfit", sans-serif; }
.check b { display: block; margin-bottom: 2px; color: var(--ink); font: 600 1.1rem/1.3 "Outfit", sans-serif; }

/* Große Einstiegsbilder */
.hero-scene { display: block; width: 100%; max-width: 620px; margin: 0 auto; }
.shots { display: block; }
.shots .devices { width: 100%; }

/* Kachelbilder */
.t-lyria img.ly-geraete { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
.tile-shot { width: 100%; border-radius: 12px; }

/* Grafik im Einstieg */
.hero-art { width: 100%; max-width: 430px; margin: 0 auto; }

/* Vergleich */
.compare { display: grid; gap: 14px; }
.compare-col { padding: 28px; border-radius: 18px; background: var(--paper); }
.compare-col.strong { background: var(--night); color: #fff; }
.compare-col ul { list-style: none; margin: 16px 0 0; padding: 0; }
.compare-col li { padding: 11px 0; border-top: 1px solid var(--line); }
.compare-col.strong li { border-color: var(--night-line); }

/* Ablauf und Punkte auf dunklem Grund */
.steps.on-dark p { color: var(--night-text); }
.steps.on-dark li::after { background: var(--night-line); }
.dark-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dark-points li { padding: 22px 0; border-top: 1px solid var(--night-line); }
.dark-points h3 { color: #fff; margin-bottom: 8px; }

/* Kleine Produktzeile */
.book { position: relative; display: block; margin-top: 14px; padding: 26px 76px 26px 26px; border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; }
.book h3 { font-size: 1.45rem; }
.book p { margin-top: 6px; color: var(--ink-soft); }
.book .arrow { position: absolute; right: 26px; top: 50%; margin-top: -15px; width: 30px; height: 30px; color: var(--blue); transition: transform .3s var(--ease); }
.book:hover .arrow { transform: translateX(5px); }

/* Firmendaten */
.fdata { margin: 0; }
.fdata div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--night-line); }
.fdata div:last-child { border-bottom: 1px solid var(--night-line); }
.fdata dt { color: var(--night-text); font-size: .92rem; }
.fdata dd { margin: 0; color: #fff; font-weight: 500; overflow-wrap: anywhere; }
.fdata a { color: #fff; }
.fdata a:hover { color: var(--cyan); }
.contact-page .fdata { margin-top: 8px; }

/* Anfrageformular */
.form-card { padding: 26px; border-radius: 22px; background: var(--white); color: var(--ink); }
.form-card form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; }
.form-card input:not([type="checkbox"]), .form-card select, .form-card textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9c1ce; border-radius: 10px; background: var(--white); color: var(--ink); font: 400 1rem/1.4 "Inter", sans-serif; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-card textarea { resize: vertical; }
.form-card label.check { grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.form-card .check input { width: 20px; height: 20px; margin: 1px 0 0; }
.form-card .btn:hover { background: var(--night); border-color: var(--night); color: #fff; }
.form-note { padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-note.ok { background: #dcf5e5; color: #0d5b34; }
.form-note.fehler { background: #fde3e3; color: #8c1d1d; }
.hero-split.solo { padding-bottom: 76px; }
.hero-split.solo .lead { max-width: 720px; }

/* Einblenden beim Scrollen, ohne JavaScript bleibt alles sichtbar */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Platzhalter, nur in der Vorschau */
.stub { padding: 100px var(--gutter); }
.stub h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
.stub p { margin-top: 18px; color: var(--ink-soft); }

.stapel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; width: 100%; max-width: 460px; margin: 0 auto; }
.stapel > div { display: flex; flex-direction: column; gap: 2px; }
.stapel span { display: flex; align-items: center; justify-content: center; height: 38px; border: 1px solid #2a3750; border-radius: 2px; background: #16213a; color: #c7d2e5; font-size: 13px; font-weight: 600; animation: stapel-an .35s ease calc(.3s + var(--n) * .1s) both; }
.stapel .k { border-color: #22d3ee; background: #22d3ee; color: #06122b; }
.stapel .n { border-color: #2f6fed; background: #2f6fed; color: #fff; }
.stapel b { min-height: 2.8em; margin-top: 8px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; }
.stapel p { grid-column: 1 / -1; margin: 0; color: #a9b6cc; font-size: 14px; text-align: center; }
@keyframes stapel-an { from { opacity: 0; } to { opacity: 1; } }

.raster { --g: 7px; --leer: #16213a; --rand: #2a3750; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--g); width: 100%; max-width: 340px; margin: 0 auto; }
.raster i { position: relative; display: block; aspect-ratio: 1; border: 1px solid var(--rand); border-radius: 18%; background: var(--leer); }
.raster .lose { animation: raster-los 1.1s ease .5s both; }
.raster .s-teil { --v: calc(.9s + var(--n) * .14s); animation: raster-an .4s ease var(--v) both, raster-puls 7s linear calc(3.4s + var(--n) * .09s) infinite; }
.raster .s-teil::after { position: absolute; z-index: 2; border-radius: 2px; background: #fff; animation: raster-steg .25s linear calc(var(--v) + .16s) both; }
.raster .st-l::after, .raster .st-r::after { content: ""; top: 50%; width: calc(var(--g) + 2px); height: 3px; margin-top: -1.5px; }
.raster .st-l::after { left: calc(-1 * var(--g) - 2px); }
.raster .st-r::after { right: calc(-1 * var(--g) - 2px); }
.raster .st-d::after { content: ""; left: 50%; bottom: calc(-1 * var(--g) - 2px); width: 3px; height: calc(var(--g) + 2px); margin-left: -1.5px; }
@keyframes raster-los { from { background: var(--f); border-color: var(--f); } to { background: var(--leer); border-color: var(--rand); } }
@keyframes raster-an { from { background: var(--leer); border-color: var(--rand); } to { background: var(--f); border-color: var(--f); } }
@keyframes raster-steg { from { opacity: 0; } to { opacity: 1; } }
@keyframes raster-puls { 0%, 7%, 100% { filter: brightness(1); } 3% { filter: brightness(1.4); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: 0 0; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
  .js .stack:not(.in) .ly { transform: none; }
  .netz .linien path { animation: none; }
  .jahresringe .kern circle { animation: none; }
}

@media screen and (min-width: 700px) {
  .gallery-phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; overflow: visible; }
  .gallery-phones figure { min-width: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile { grid-column: span 3; }
  .t-lyria { grid-column: span 6; }
  .contact-box { padding: 72px 56px; }
  .contact-box::after { top: -240px; right: -200px; width: 640px; height: 640px; }
  .section.dark { background-size: 640px; background-position: calc(100% + 260px) 50%; }
  .compare { grid-template-columns: 1fr 1fr; }
  .tech-row { grid-template-columns: 190px 1fr; gap: 20px; align-items: baseline; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .show { min-height: 500px; padding: 32px 32px 0; }
  .show-vis { height: 320px; }
  .voices { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .zahlen { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .story { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .fuer { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .fotos { grid-template-columns: repeat(2, minmax(0, 475px)); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 36px; }
  .fdata div { grid-template-columns: 150px 1fr; gap: 16px; }
  .dark-points { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .contact-data { grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .steps li { padding: 62px 0 0; }
  .steps li::after { left: 42px; right: -26px; top: 20px; bottom: auto; width: auto; height: 2px; }
  .steps li:last-child::after { display: block; right: 0; }
  .steps li:last-child { padding-bottom: 0; }
  .steps h3 { padding-top: 0; }
}

/* Mobiles Menü */
.nav-label .wenn-auf { display: none; }
#nav-toggle:checked + .nav-label .wenn-zu { display: none; }
#nav-toggle:checked + .nav-label .wenn-auf { display: inline; }
@keyframes nav-auf { from { opacity: 0; } to { opacity: 1; } }

@media screen and (max-width: 999.98px) {
  html:has(#nav-toggle:checked) { overflow: hidden; }
  .nav { position: fixed; top: 73px; bottom: 0; max-height: none; flex-direction: column; overflow: hidden; padding: 0; border: 0; animation: nav-auf .18s ease; }
  #nav-toggle:checked ~ .nav { display: flex; }
  .nav > ul { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 4px var(--gutter) 20px; }
  .nav > ul::-webkit-scrollbar { display: none; }
  .nav > ul > li { border-bottom: 1px solid var(--night-line); }
  .nav > ul > li:last-child { border-bottom: 0; }
  .nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0; border: 0; font: 600 1.4rem/1.2 "Outfit", sans-serif; letter-spacing: -.02em; }
  .has-sub > a svg { width: 14px; height: 10px; margin: 0; color: var(--night-text); }
  .has-sub.auf > a svg { transform: rotate(180deg); }
  .js .has-sub:not(.auf) .sub { display: none; }
  .sub { padding: 0 0 14px; }
  .sub-col > p { margin: 12px 0 4px; font-size: .74rem; }
  .sub-col:first-child > p { margin-top: 0; }
  .nav .sub a { padding: 9px 12px; margin: 0 -12px; border-radius: 10px; }
  .nav .sub a[aria-current="page"] { background: var(--night-3); }
  .sub small { margin-top: 1px; font-size: .84rem; }
  .nav-fuss { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--night-line); background: var(--night-2); }
  .nav .nav-fuss .btn { min-height: 50px; margin: 0; padding: 0 8px; font-size: .95rem; white-space: nowrap; }
}

@media screen and (min-width: 640px) and (max-width: 999.98px) {
  .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .sub-col > p, .sub-col:first-child > p { margin-top: 0; }
  .sub.eins { grid-template-columns: 1fr; }
}

@media screen and (min-width: 1000px) {
  :root { --gutter: 40px; }
  .section { padding: 120px 0; }
  .nav-label { display: none; }
  .nav-fuss .ghost { display: none; }
  .zeile-bar { display: block; }
  .inhaber { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; }
  .referenzen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; }
  .preis-hinweis { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 32px 36px; }
  .crumb-bar { display: none; }
  .sub.eins { grid-template-columns: 1fr; width: 310px; padding-top: 14px; }
  .nav .sub a[aria-current="page"] { color: var(--blue-dark); }
  .nav { display: flex !important; position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; align-items: center; gap: 28px; }
  .nav ul { display: flex; gap: 26px; }
  .nav li a { padding: 6px 0; border: 0; font-size: .97rem; color: #dbe3ef; }
  .nav li a:hover { color: var(--cyan); }
  .nav .btn { margin: 0; min-height: 44px; padding: 0 20px; font-size: .95rem; }
  .has-sub { position: relative; }
  .has-sub:hover > a svg, .has-sub:focus-within > a svg { transform: rotate(180deg); }
  .sub { position: absolute; left: 50%; top: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; width: 560px; margin-top: 14px; padding: 12px 26px 22px; border-radius: 16px; background: var(--white); color: var(--ink); box-shadow: 0 26px 70px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .sub-col > p { color: var(--ink-soft); }
  .nav .sub a { color: var(--ink); padding: 9px 8px; margin: 0 -8px; border-radius: 10px; }
  .nav .sub a:hover { color: var(--ink); background: var(--paper); }
  .sub small { color: var(--ink-soft); }
  .nav .sub a.sub-all { display: block; color: var(--blue-dark); }
  .hero-main { padding-top: 84px; }
  .hero-sub { grid-template-columns: 1fr auto; align-items: end; gap: 60px; margin-top: 40px; }
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; padding-top: 48px; padding-bottom: 72px; }
  .hero-split > .hero-scene, .hero-split .shots { width: 112%; max-width: none; margin: 0; }
  .hero-split .shots .hero-scene { max-width: none; }
  .hero-split > .hero-foto { width: 100%; }
  h1.long { font-size: clamp(2.6rem, 4.6vw, 4.5rem); }
  .hero-split h1:not(.long) { font-size: clamp(4rem, 7.4vw, 6.6rem); }
  .hero-split .lead { max-width: 520px; }
  .hero-split.solo { grid-template-columns: 1fr; padding-bottom: 104px; }
  .contact-page { grid-template-columns: 1fr 1fr; align-items: start; gap: 72px; }
  .layers { grid-template-columns: 1fr 1fr; gap: 80px; }
  .bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .tile { grid-column: span 4; padding: 32px; min-height: 400px; }
  .tile .art.handys { margin-bottom: -32px; }
  .t-lyria { grid-column: span 8; display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: center; }
  .t-lyria img { margin: 44px 0 0; width: 100%; }
  .t-cms { grid-column: span 4; }
  .t-book { grid-column: span 8; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
  .t-book img { margin: 0; }
  .duo .tile { grid-column: span 6; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .service { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 38px 64px 38px 0; }
  .service p { margin-top: 0; }
  .service .arrow { top: 50%; margin-top: -17px; }
  .faq-grid { grid-template-columns: 1fr 1.7fr; gap: 72px; }
  .faq-grid h2 { position: sticky; top: 110px; align-self: start; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
}
