/* Filsglanz – Theme-Styles */
:root {
  --navy: #052C58;
  --navy-deep: #031A36;
  --blue: #0075F8;
  --cyan: #28C8FF;
  --ink: #0A1B30;
  --muted: #64748B;
  --line: #E3E9F1;
  --soft: #F4F7FB;
  --white: #fff;
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }

h1, h2 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.muted { color: #9AA8BA; }
.grad { background: linear-gradient(100deg, var(--cyan), var(--blue) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: .82rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow--light { color: var(--cyan); }

/* ---------- Buttons & Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 117, 248, .7); }
.btn--primary:hover { background: #1a86ff; box-shadow: 0 14px 36px -10px rgba(0, 117, 248, .9); }
.btn--ghost { color: #fff; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--small { padding: 10px 18px; font-size: .9rem; background: var(--blue); color: #fff; }
.btn--small:hover { background: #1a86ff; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover svg, a:hover > .link svg { transform: translateX(5px); }
.link--light { color: var(--cyan); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s; }
.nav__inner { width: min(1180px, 100% - 48px); margin-inline: auto; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { position: relative; display: block; flex: none; }
.nav__logo img { height: 34px; width: auto; transition: opacity .3s; }
.nav__logo .logo-light { position: absolute; inset: 0; }
.nav__logo .logo-dark { opacity: 0; }
.nav__links { display: flex; gap: 30px; font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .82); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: #fff; }
.nav__phone svg { width: 18px; height: 18px; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease), background .3s; }
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

.nav.is-light { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 rgba(5, 44, 88, .08); }
.nav.is-light .logo-light { opacity: 0; }
.nav.is-light .logo-dark { opacity: 1; }
.nav.is-light .nav__links { color: #44566C; }
.nav.is-light .nav__links a:hover { color: var(--ink); }
.nav.is-light .nav__phone { color: var(--navy); }
.nav.is-light .nav__toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: var(--navy-deep); overflow: hidden; touch-action: pan-y; isolation: isolate; -webkit-user-select: none; user-select: none; }
.hero__clean { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(40, 200, 255, .42), transparent 70%),
    radial-gradient(55% 60% at 18% 85%, rgba(0, 117, 248, .55), transparent 70%),
    linear-gradient(160deg, #063468 0%, var(--navy-deep) 70%); }
.hero__glass { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__cursor { position: absolute; left: 0; top: 0; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%); pointer-events: none; opacity: 0; transition: opacity .3s; z-index: -1; will-change: transform; }
.hero.is-wiping .hero__cursor { opacity: 1; }

.sparkle { position: absolute; fill: #fff; pointer-events: none; animation: twinkle 4s ease-in-out infinite; }
.hero .s1 { width: 34px; height: 34px; left: 72%; top: 22%; }
.hero .s2 { width: 18px; height: 18px; left: 84%; top: 44%; animation-delay: -1.2s; }
.hero .s3 { width: 14px; height: 14px; left: 62%; top: 68%; animation-delay: -2.3s; }
.hero .s4 { width: 22px; height: 22px; left: 12%; top: 20%; animation-delay: -3.1s; }
.hero .s5 { width: 12px; height: 12px; left: 38%; top: 82%; animation-delay: -.6s; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); } 50% { opacity: .95; transform: scale(1) rotate(12deg); } }

.hero__content { width: min(1180px, 100% - 48px); margin-inline: auto; padding: 120px 0 150px; }
.hero__content > * { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; }
.hero__content > :nth-child(2) { animation-delay: .1s; }
.hero__content > :nth-child(3) { animation-delay: .22s; }
.hero__content > :nth-child(4) { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 { text-shadow: 0 2px 30px rgba(3, 26, 54, .35); }
.hero__lead { max-width: 34em; margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__foot { position: absolute; left: 0; right: 0; bottom: 34px; width: min(1180px, 100% - 48px); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rating-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; font-size: .9rem; background: rgba(255, 255, 255, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .25s; }
.rating-chip:hover { background: rgba(255, 255, 255, .18); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #FFC53D; }
.stars--lg svg { width: 26px; height: 26px; }
.hero__hint { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255, 255, 255, .75); transition: opacity .6s; }
.hero__hint.is-hidden { opacity: 0; }
.hero__hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(40, 200, 255, .7); } 100% { box-shadow: 0 0 0 14px rgba(40, 200, 255, 0); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section--soft { background: var(--soft); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.services__list { display: flex; flex-direction: column; }
.services__list button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 650; letter-spacing: -.02em; color: #A3B0C0; transition: color .3s, padding-left .4s var(--ease); position: relative; }
.services__list button::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 0; border-radius: 4px; background: linear-gradient(var(--cyan), var(--blue)); transform: translateY(-50%); transition: height .4s var(--ease); }
.services__list button:hover { color: var(--navy); }
.services__list button[aria-selected="true"] { color: var(--ink); padding-left: 20px; }
.services__list button[aria-selected="true"]::before { height: 56%; }
.services__list button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.services__list .num { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--blue); min-width: 1.6em; }

.services__stage { position: sticky; top: 96px; }
.panel { border-radius: var(--radius); background: var(--soft); overflow: hidden; }
.panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.panel__visual { position: relative; height: clamp(190px, 24vw, 280px); display: grid; place-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(80% 120% at 85% 10%, rgba(40, 200, 255, .55), transparent 60%), linear-gradient(135deg, var(--navy) 10%, #0759C4 100%); }
.panel__num { position: absolute; right: 22px; bottom: -34px; font-size: clamp(9rem, 17vw, 14rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: rgba(255, 255, 255, .09); }
.panel__icon { width: clamp(84px, 10vw, 120px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 10px 24px rgba(3, 26, 54, .5)); }
.panel.is-active .panel__icon { animation: iconIn .9s var(--ease); }
@keyframes iconIn { from { opacity: 0; transform: scale(.8) rotate(-6deg); } }
.panel .p1 { width: 26px; height: 26px; left: 24%; top: 24%; }
.panel .p2 { width: 14px; height: 14px; left: 68%; top: 64%; animation-delay: -2s; }
.panel__body { padding: clamp(26px, 3.4vw, 44px); }
.panel__body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel__body > p { margin-top: 10px; color: var(--muted); font-size: 1.08rem; }
.panel__body ul { margin: 24px 0 30px; display: grid; gap: 12px; }
.panel__body li { position: relative; padding-left: 30px; }
.panel__body li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.500l2.600 2.600L13 6.500' fill='none' stroke='%23fff' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; padding: clamp(26px, 3.2vw, 42px); display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(5, 44, 88, .3); }
.tile h3 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
.tile__label { font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.tile__text { color: var(--muted); }
.tile--spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(40, 200, 255, .16), transparent 60%); }
.tile--spot:hover::after { opacity: 1; }

.tile--rating { grid-column: span 5; grid-row: span 2; color: #fff; justify-content: flex-end; min-height: 520px;
  background: radial-gradient(90% 70% at 90% 0%, rgba(40, 200, 255, .5), transparent 60%), linear-gradient(160deg, #06407F, var(--navy-deep)); }
.tile--rating .tile__label { color: var(--cyan); }
.tile--rating .tile__text { color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.tile--rating .link { margin-top: 10px; }
.tile__big { font-size: clamp(6rem, 13vw, 10.5rem); font-weight: 750; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.tile__big small { font-size: .22em; font-weight: 600; letter-spacing: 0; color: rgba(255, 255, 255, .6); margin-left: .35em; }
.tile--rating .t1 { width: 54px; height: 54px; right: 12%; top: 12%; }
.bento > .tile:nth-child(2) { grid-column: span 7; }
.bento > .tile:nth-child(3) { grid-column: span 7; }
.tile--region { grid-column: span 12; flex-direction: row; align-items: center; gap: clamp(24px, 5vw, 64px); min-height: 0; }
.tile--region > div:last-child { display: flex; flex-direction: column; gap: 12px; }

.toggle-demo { margin-top: auto; display: inline-flex; align-self: flex-start; padding: 5px; border-radius: 999px; background: var(--soft); font-size: .9rem; font-weight: 600; color: var(--muted); }
.toggle-demo span { padding: 9px 18px; border-radius: 999px; transition: background .4s, color .4s, box-shadow .4s; }
.toggle-demo .is-on { background: #fff; color: var(--navy); box-shadow: 0 4px 14px -4px rgba(5, 44, 88, .3); }

.pulse { position: relative; flex: none; width: 120px; height: 120px; display: grid; place-items: center; }
.pulse b { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(0, 117, 248, .18); }
.pulse i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--blue); opacity: 0; animation: ring 3.6s ease-out infinite; }
.pulse i:nth-child(2) { animation-delay: 1.2s; }
.pulse i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(.15); opacity: .8; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 34px 30px 38px; border-radius: var(--radius); background: var(--soft); transition: background .4s, transform .5s var(--ease), opacity .9s var(--ease); }
.steps li:hover { background: #EAF2FE; }
.steps li:nth-child(2) { transition-delay: .1s; }
.steps li:nth-child(3) { transition-delay: .2s; }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 26px; font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--blue)); box-shadow: 0 10px 24px -8px rgba(0, 117, 248, .6); }
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { color: #fff; background: radial-gradient(60% 50% at 0% 100%, rgba(0, 117, 248, .45), transparent 70%), radial-gradient(40% 40% at 100% 0%, rgba(40, 200, 255, .22), transparent 70%), var(--navy-deep); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.contact__lead { margin-top: 22px; font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 26em; }
.contact__phone { display: inline-flex; align-items: center; gap: 14px; margin-top: 38px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; transition: color .25s; }
.contact__phone:hover { color: var(--cyan); }
.contact__phone svg { width: .9em; height: .9em; color: var(--cyan); }
.contact__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact__facts dt { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.contact__facts dd { color: rgba(255, 255, 255, .86); }
.contact__facts a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.contact__facts a:hover { text-decoration-color: var(--cyan); }

.form { color: var(--ink); background: #fff; border-radius: 32px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.form__fields { display: grid; gap: 16px; }
.form legend { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 9px 16px; border-radius: 999px; font-size: .92rem; font-weight: 550; background: var(--soft); color: #40536B; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s, transform .2s var(--ease); user-select: none; }
.chips span:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.chips input:checked + span { background: var(--blue); color: #fff; box-shadow: none; transform: scale(1.03); }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border: 0; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; resize: vertical; }
.field textarea { min-height: 130px; display: block; }
.field input:focus, .field textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--blue); }
.form.was-validated .field :invalid { box-shadow: inset 0 0 0 2px #E5484D; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.form__error { font-size: .9rem; color: #C62A2F; }
.form__done { text-align: center; padding: 40px 10px; animation: panelIn .6s var(--ease); }
.form__done h3 { font-size: 1.6rem; margin: 22px 0 6px; }
.form__done p { color: var(--muted); }
.form__note { margin-top: 26px !important; font-size: .84rem; padding: 12px 16px; border-radius: 12px; background: var(--soft); }
.form__check { width: 76px; height: 76px; margin-inline: auto; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw .7s var(--ease) forwards; }
.form__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.footer { padding: 46px 0 40px; font-size: .9rem; color: var(--muted); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 40px; }
.footer img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--navy); }
.footer__copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; }

/* Kontakt-Button (nur mobil): klappt zu „Anrufen“ und „WhatsApp“ auf */
.fab { display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.fab__toggle { position: relative; display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: var(--blue); box-shadow: 0 14px 30px -8px rgba(0, 117, 248, .8); transition: background .3s, transform .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.fab__toggle:active { transform: scale(.94); }
.fab__icon { grid-area: 1 / 1; width: 30px; height: 30px; transition: opacity .25s, transform .35s var(--ease); }
.fab__icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.is-open .fab__toggle { background: var(--navy); }
.fab.is-open .fab__icon--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab.is-open .fab__icon--close { opacity: 1; transform: none; }

.fab__backdrop { position: fixed; inset: 0; background: rgba(3, 26, 54, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fab.is-open .fab__backdrop { opacity: 1; visibility: visible; }

.fab__menu { position: absolute; right: 4px; bottom: 74px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; visibility: hidden; transition: visibility .3s; }
.fab.is-open .fab__menu { visibility: visible; }
.fab__item { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(18px) scale(.85); transform-origin: right bottom; transition: opacity .25s, transform .35s var(--ease); }
.fab.is-open .fab__item { opacity: 1; transform: none; }
.fab.is-open .fab__item--tel { transition-delay: .03s; }
.fab.is-open .fab__item--wa { transition-delay: .09s; }
.fab__label { padding: 9px 16px; border-radius: 999px; font-size: .95rem; font-weight: 600; white-space: nowrap; color: var(--navy); background: #fff; box-shadow: 0 10px 26px -10px rgba(3, 26, 54, .55); }
.fab__circle { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: #fff; box-shadow: 0 12px 26px -10px rgba(3, 26, 54, .7); }
.fab__circle svg { width: 24px; height: 24px; }
.fab__item--tel .fab__circle { background: var(--blue); }
.fab__item--wa .fab__circle { background: #25D366; }
a.fab__toggle { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav__phone span { display: none; }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 24px 24px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--ink) !important; font-size: 1.3rem; font-weight: 600; box-shadow: 0 30px 40px -20px rgba(5, 44, 88, .3); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { background: rgba(255, 255, 255, .97); }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .logo-light { opacity: 0; }
  .nav.is-open .logo-dark { opacity: 1; }
  .nav.is-open .nav__toggle span { background: var(--navy); }
  .nav.is-open .nav__phone { color: var(--navy); }

  .services { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .services__list { flex-direction: row; gap: 8px; overflow-x: auto; margin-inline: -24px; padding: 4px 24px 8px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .services__list::-webkit-scrollbar { display: none; }
  .services__list button { flex: none; padding: 11px 18px !important; border: 0; border-radius: 999px; font-size: .95rem; background: var(--soft); color: #40536B; scroll-snap-align: center; }
  .services__list button::before, .services__list .num { display: none; }
  .services__list button[aria-selected="true"] { background: var(--navy); color: #fff; }
  .services__stage { position: static; }

  .bento > .tile { grid-column: span 12 !important; }
  .tile--rating { min-height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .fab { display: block; }
  .hero__foot { padding-right: 68px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .nav__inner, .hero__content, .hero__foot { width: calc(100% - 40px); }
  .nav .btn--small { display: none; }
  .hero__content { padding: 110px 0 170px; }
  .hero__cta .btn { width: 100%; }
  .hero__foot { bottom: 26px; }
  .rating-chip { font-size: .82rem; }
  .form__row { grid-template-columns: 1fr; }
  .tile--region { flex-direction: column; align-items: flex-start; }
  .pulse { width: 84px; height: 84px; }
  .contact__facts { grid-template-columns: 1fr; }
}
/* ---------- Unterseiten (Impressum, Datenschutz …) ---------- */
.site-page { padding: clamp(120px, 14vw, 180px) 0 clamp(70px, 9vw, 120px); min-height: 70vh; }
.wrap--narrow { width: min(780px, 100% - 48px); }
.entry + .entry { margin-top: 64px; }
.entry__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 36px; }
.entry__title--list { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.2; margin-top: 2em; }
.entry__content h3 { font-size: 1.3rem; margin-top: 1.8em; }
.entry__content h4 { font-size: 1.1rem; margin-top: 1.6em; }
.entry__content ul, .entry__content ol { padding-left: 1.4em; }
.entry__content ul { list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content li + li { margin-top: .4em; }
.entry__content a:not(.btn):not(.wp-block-button__link) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry__content img { height: auto; border-radius: 16px; }
.entry__content blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 4px solid var(--blue); color: var(--muted); }
.entry__content table { width: 100%; border-collapse: collapse; }
.entry__content th, .entry__content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry__content { overflow-wrap: break-word; }
.nav-links { display: flex; gap: 10px; margin-top: 48px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 10px; background: var(--soft); }
.nav-links .current { background: var(--navy); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Honeypot-Feld des Kontaktformulars: für Besucher unsichtbar */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* WordPress-Adminleiste (nur für angemeldete Benutzer) */
.admin-bar .nav { top: 32px; }
.admin-bar .nav__links { top: 96px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } .admin-bar .nav__links { top: 110px; } }
@media (max-width: 600px) { .admin-bar .nav { position: absolute; } .admin-bar .nav__links { position: absolute; top: 64px; } }

@media (hover: none), (pointer: coarse) {
  .hero__hint, .hero__cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__glass, .hero__hint, .hero__cursor { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .sparkle { opacity: .6; }
}
