/* ─────────────────────────────────────────────────────────────────
   VORMA Marketing Template – style.css
   Dunkles SaaS-Landing-Layout, Inter, lila Akzent, animierte Orbs.
   Klassen-Präfix "m-" um Kollision mit anderen VORMA-Templates zu
   vermeiden, da Blocks dieses Templates eigene Markup-Struktur haben.
   ───────────────────────────────────────────────────────────────── */

/* ── Display-Schrift: Optician Sans ──
   Basiert auf der Optotype (Snellen-Augenarzt-Tafel von 1862).
   ANTI Hamar. Open Source. Nur ein Schnitt – Regular 400.
   font-display: swap = Inter rendert sofort, switcht später zu Optician. */
@font-face {
  font-family: 'Optician Sans';
  src: url('/template/fonts/Optician-Sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:smooth;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  /* Section-Titel bleiben beim Anchor-Sprung unter dem Sticky-Nav sichtbar */
  scroll-padding-top:5rem;
}
body{
  font-family:'Inter',system-ui,sans-serif;
  font-weight:400;line-height:1.7;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;min-height:100vh;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
input,select,textarea{font-family:inherit;color:inherit}

:root{
  --bg:#0A0A0C;
  --bg-card:rgba(255,255,255,0.04);
  --bg-card-h:rgba(255,255,255,0.07);
  --border:rgba(255,255,255,0.08);
  --purple:#8B5CF6;
  --purple-dim:rgba(139,92,246,0.15);
  --text:#F0EDE6;
  --text-dim:rgba(240,237,230,0.55);
  --text-faint:rgba(240,237,230,0.28);

  --space-xs:0.5rem; --space-sm:1rem; --space-md:2rem;
  --space-lg:4rem;   --space-xl:8rem;
  --container:1160px;
  --pad:clamp(1.25rem,4vw,3rem);
  --ease:cubic-bezier(0.16,1,0.3,1);
}

/* ── Hintergrund-Akzente (statisch, sehr subtil) ────────────────
   Drei weichgezeichnete Lila-Orbs hinter allen Inhalten.
   Keine Animation – nur stimmungsvoller Akzent.                  */
.m-bg-orbs{
  position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;
  contain:strict;
}
.m-orb{position:absolute;border-radius:50%;filter:blur(70px)}
.m-orb--1{
  width:600px;height:600px;
  background:rgba(139,92,246,.18);
  top:-12%;left:-10%;
}
.m-orb--2{
  width:480px;height:480px;
  background:rgba(167,139,250,.14);
  top:30%;right:-12%;
}
.m-orb--3{
  width:420px;height:420px;
  background:rgba(124,58,237,.12);
  top:60%;left:30%;
}

/* ── Container ─────────────────────────────────────────────────── */
.m-container{
  max-width:var(--container);margin:0 auto;
  padding:0 var(--pad);position:relative;z-index:1;
}

/* ── Typografie & Helfer ───────────────────────────────────────── */
/* Eyebrows & Labels nutzen Optician Sans als kleinen typografischen
   Akzent. Body & Headlines bleiben Inter (humanistisch, lesbar). */
.m-label{
  display:inline-block;
  font-family:'Optician Sans','Inter',system-ui,sans-serif;
  font-size:.78rem;font-weight:400;letter-spacing:.18em;text-transform:uppercase;
  color:var(--purple);
}
.m-h2{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:700;letter-spacing:-.03em;line-height:1.05;
  color:var(--text);
  margin-top:var(--space-sm);margin-bottom:var(--space-md);
}
.m-section__sub{
  font-size:1rem;color:var(--text-dim);max-width:680px;line-height:1.85;
  margin-left:auto;margin-right:auto;
}
.m-section{padding:var(--space-xl) 0;position:relative}

/* ── Helle Sektionen (kühles Hellgrau, Kontrast zum dunklen Grundton) ── */
.m-section--light{
  background:#F3F4F6;          /* neutrales Hellgrau */
  color:#18181B;
  position:relative;z-index:1; /* damit's vor den Orbs liegt */
}
.m-section--light .m-h2{color:#18181B}
.m-section--light .m-section__sub{color:rgba(24,24,27,.65)}
.m-section--light .m-label{color:#6C4DD4}  /* etwas dunkleres Lila für besseren Kontrast auf hell */

/* Glass-Cards auf hell: weiße Karten mit subtilem Schatten */
.m-section--light .m-glass{
  background:#fff;
  border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 30px -10px rgba(0,0,0,.08);
}
.m-section--light .m-glass:hover{
  background:#fff;
  border-color:rgba(139,92,246,.35);
  box-shadow:0 1px 2px rgba(0,0,0,.05),0 18px 40px -12px rgba(139,92,246,.18);
}
.m-section--light .m-card__num{color:#6C4DD4}
.m-section--light .m-card__title{color:#18181B}
.m-section--light .m-card__text{color:rgba(24,24,27,.65)}

/* FAQ auf hell */
.m-section--light .m-faq__item{border-color:rgba(0,0,0,.1)}
.m-section--light .m-faq__item:first-child{border-top-color:rgba(0,0,0,.1)}
.m-section--light .m-faq__item.open{border-color:rgba(139,92,246,.5)}
.m-section--light .m-faq__q{color:#18181B}
.m-section--light .m-faq__icon{color:#6C4DD4}
.m-section--light .m-faq__a-inner{color:rgba(24,24,27,.7)}
.m-section--light .m-faq__a-inner a{color:#6C4DD4}
/* Section-Heads (alle außer Hero) zentriert ausgerichtet */
.m-section__head{
  margin:0 auto var(--space-lg);
  max-width:820px;text-align:center;
}
.m-section__head .m-h2,
.m-section__head .m-label{margin-left:auto;margin-right:auto;display:block}

/* ── Reveal-Animation ──────────────────────────────────────────── */
/* Wirkt nur, wenn JS aktiv ist (js-ready am <html>). Ohne JS sind
   alle Elemente sofort sichtbar – Progressive Enhancement. */
.js-ready .reveal{
  opacity:0;transform:translateY(28px);
  transition:opacity .85s var(--ease),transform .85s var(--ease);
}
.js-ready .reveal.visible{opacity:1;transform:none}

/* ── Stagger via CSS – funktioniert auch ohne JS-Berechnung ────── */
.m-trust__grid > .m-trust__item:nth-child(2){transition-delay:90ms}
.m-trust__grid > .m-trust__item:nth-child(3){transition-delay:180ms}
.m-trust__grid > .m-trust__item:nth-child(4){transition-delay:270ms}

.m-cards-3 > .m-glass:nth-child(2){transition-delay:120ms}
.m-cards-3 > .m-glass:nth-child(3){transition-delay:240ms}

.m-pricing > .m-price:nth-child(2){transition-delay:120ms}
.m-pricing > .m-price:nth-child(3){transition-delay:240ms}

.m-timeline > .m-tl__step:nth-child(2){transition-delay:120ms}
.m-timeline > .m-tl__step:nth-child(3){transition-delay:240ms}
.m-timeline > .m-tl__step:nth-child(4){transition-delay:360ms}

.m-faq > .m-faq__item:nth-child(2){transition-delay:60ms}
.m-faq > .m-faq__item:nth-child(3){transition-delay:120ms}
.m-faq > .m-faq__item:nth-child(4){transition-delay:180ms}
.m-faq > .m-faq__item:nth-child(5){transition-delay:240ms}
.m-faq > .m-faq__item:nth-child(6){transition-delay:300ms}
.m-faq > .m-faq__item:nth-child(7){transition-delay:360ms}
.m-faq > .m-faq__item:nth-child(8){transition-delay:420ms}
.m-faq > .m-faq__item:nth-child(n+9){transition-delay:480ms}

/* Reduced-Motion: Reveals + Übergänge minimal halten */
@media (prefers-reduced-motion: reduce){
  .js-ready .reveal{opacity:1;transform:none;transition:none}
}

/* ── Buttons ───────────────────────────────────────────────────── */
.m-btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.72rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  padding:1rem 2.5rem;min-height:44px;
  transition:opacity .25s ease,box-shadow .25s ease,border-color .25s ease,color .25s ease,transform .3s var(--ease);
}
.m-btn--primary{
  background:var(--purple);color:#fff;
  box-shadow:0 0 40px rgba(139,92,246,.4),0 0 80px rgba(139,92,246,.15);
}
.m-btn--primary:hover,.m-btn--primary:focus-visible{
  opacity:.88;
  box-shadow:0 0 50px rgba(139,92,246,.55),0 0 110px rgba(139,92,246,.25);
}
.m-btn--ghost{
  background:transparent;border:1px solid rgba(255,255,255,.15);color:var(--text-dim);
  padding:1rem 2.2rem;
}
.m-btn--ghost:hover,.m-btn--ghost:focus-visible{
  border-color:rgba(255,255,255,.4);color:var(--text);
}

/* ── Navigation ────────────────────────────────────────────────── */
.m-nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  padding:1.1rem 0;
  transition:background .3s ease,backdrop-filter .3s ease,border-color .3s ease;
  border-bottom:1px solid transparent;
}
.m-nav.scrolled{
  background:rgba(10,10,12,.92);
  backdrop-filter:blur(20px) saturate(140%);
  -webkit-backdrop-filter:blur(20px) saturate(140%);
  border-bottom-color:var(--border);
}
.m-nav__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md)}
.m-brand{font-size:1.05rem;font-weight:700;letter-spacing:.05em;color:var(--text);display:inline-flex;align-items:center}
.m-nav__links{display:flex;gap:2.2rem;align-items:center}
.m-nav__links a{
  font-size:.78rem;font-weight:400;color:var(--text-dim);
  transition:color .2s ease;padding:.4rem 0;
}
.m-nav__links a:hover,.m-nav__links a:focus-visible{color:var(--text)}
.m-nav__cta{
  background:var(--purple);color:#fff;
  padding:.6rem 1.2rem;
  font-size:.65rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;
  transition:opacity .2s ease,box-shadow .2s ease;
  box-shadow:0 0 24px rgba(139,92,246,.3);
  min-height:36px;display:inline-flex;align-items:center;
}
.m-nav__cta:hover,.m-nav__cta:focus-visible{opacity:.88;box-shadow:0 0 32px rgba(139,92,246,.5)}

/* Hamburger */
.m-hamburger{display:none;width:40px;height:40px;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.m-hamburger span{display:block;width:18px;height:1.5px;background:var(--text);transition:transform .3s ease,opacity .3s ease}

/* Mobile-Overlay */
.m-mobile{
  position:fixed;inset:0;z-index:60;
  background:rgba(10,10,12,.97);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.m-mobile.open{opacity:1;pointer-events:auto}
.m-mobile a{font-size:1.4rem;font-weight:500;color:var(--text);letter-spacing:-.02em}
.m-mobile__close{
  position:absolute;top:1.3rem;right:1.3rem;width:44px;height:44px;
  color:var(--text);font-size:1.8rem;line-height:1;
}

/* ── Marketing-Hero ────────────────────────────────────────────── */
.m-hero{
  min-height:100vh;display:flex;align-items:center;
  padding-top:8rem;padding-bottom:5rem;position:relative;
}
.m-hero__grid{
  display:grid;grid-template-columns:1fr;
  gap:3.5rem;align-items:center;width:100%;
}
.m-hero--with-image .m-hero__grid{
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:5rem;
}
.m-hero__text{max-width:560px}
.m-eyebrow{
  display:block;
  font-family:'Optician Sans','Inter',system-ui,sans-serif;
  font-size:.75rem;font-weight:400;letter-spacing:.2em;text-transform:uppercase;
  color:var(--purple);margin-bottom:2rem;
}
.m-hero__title{
  font-size:clamp(2.75rem,7vw,5.5rem);
  font-weight:700;letter-spacing:-.04em;line-height:1.0;
  color:var(--text);
}
.m-hero--with-image .m-hero__title{font-size:clamp(2.5rem,5.2vw,4.5rem)}
.m-hero__sub{
  margin-top:1.6rem;
  font-size:1.05rem;color:var(--text-dim);max-width:520px;line-height:1.7;
}
.m-hero__ctas{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2.5rem}

.m-hero__image{
  position:relative;
  border:1px solid var(--border);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  padding:.7rem;
  box-shadow:
    0 0 0 1px rgba(139,92,246,.08),
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 80px rgba(139,92,246,.15);
}
.m-hero__image img{
  display:block;width:100%;height:auto;
  border:1px solid rgba(255,255,255,.06);
}
.m-hero__image::before{
  /* Browser-Bar Imitat oben */
  content:"";display:block;
  height:10px;margin:-.3rem -.3rem .55rem;
  background:
    radial-gradient(circle at 14px center,#FF5F57 0 4px,transparent 4.5px),
    radial-gradient(circle at 30px center,#FEBC2E 0 4px,transparent 4.5px),
    radial-gradient(circle at 46px center,#28C840 0 4px,transparent 4.5px);
  background-color:rgba(255,255,255,.03);
  background-repeat:no-repeat;
  border-bottom:1px solid rgba(255,255,255,.05);
}

.m-hero__scroll{
  position:absolute;bottom:1.8rem;left:50%;transform:translateX(-50%);
  opacity:.3;color:var(--text);
  animation:m-bounce 2.4s ease-in-out infinite;
}
@keyframes m-bounce{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,8px)}}

/* ── Trust-Bar ─────────────────────────────────────────────────── */
.m-trust{
  background:rgba(255,255,255,.02);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:var(--space-lg) 0;
}
.m-trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.m-trust__item{
  padding:1rem 1.6rem;position:relative;
  display:flex;flex-direction:column;gap:.55rem;
}
.m-trust__item + .m-trust__item::before{
  content:"";position:absolute;left:0;top:10%;bottom:10%;width:1px;background:var(--border);
}
.m-trust__icon{font-size:1.1rem;color:var(--purple);margin-bottom:.4rem;width:24px;height:24px}
.m-trust__icon svg{width:100%;height:100%}
.m-trust__title{font-size:.78rem;font-weight:600;color:var(--text);letter-spacing:-.005em}
.m-trust__text{font-size:.78rem;color:var(--text-dim);line-height:1.6;font-weight:400}

/* ── Glass-Cards (Why-VORMA) ───────────────────────────────────── */
/* backdrop-filter entfernt: bei 6+ Cards gleichzeitig sehr teuer.
   Stattdessen leicht aufgehellter Solid-Background.                  */
.m-cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.m-glass{
  background:var(--bg-card);
  border:1px solid var(--border);
  padding:2.4rem 2rem;
  transition:background .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease);
}
.m-glass:hover{background:var(--bg-card-h);border-color:rgba(139,92,246,.35);transform:translateY(-3px)}
.m-card__num{
  font-size:.65rem;font-weight:500;letter-spacing:.22em;color:var(--purple);
  margin-bottom:1.5rem;display:block;
}
.m-card__title{
  font-size:1.35rem;font-weight:600;letter-spacing:-.02em;color:var(--text);
  margin-bottom:.9rem;
}
.m-card__text{font-size:.92rem;color:var(--text-dim);line-height:1.8;font-weight:400}

/* ── Pricing ───────────────────────────────────────────────────── */
.m-pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;align-items:stretch}
.m-price{
  position:relative;
  background:var(--bg-card);
  border:1px solid var(--border);
  padding:2.4rem 2rem;
  display:flex;flex-direction:column;
  transition:background .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease);
}
.m-price:hover{background:var(--bg-card-h);transform:translateY(-3px)}
.m-price--featured{
  border-color:rgba(139,92,246,.5);
  box-shadow:0 0 60px rgba(139,92,246,.18),inset 0 0 60px rgba(139,92,246,.04);
}
.m-price--featured:hover{border-color:rgba(139,92,246,.7)}
.m-price__badge{
  position:absolute;top:-12px;left:24px;
  background:var(--purple);color:#fff;
  padding:.35rem 1rem;
  font-size:.58rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
}
.m-price__name{
  font-size:.72rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;
  color:var(--text-dim);margin-bottom:1.4rem;
}
.m-price__amount{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.4rem}
.m-price__value{font-size:2.6rem;font-weight:700;letter-spacing:-.03em;color:var(--text);line-height:1}
.m-price__period{font-size:.85rem;color:var(--text-dim);font-weight:400}
.m-price__setup{font-size:.78rem;color:var(--text-faint);margin-bottom:1.3rem;font-weight:400;min-height:1.4em}
.m-price__desc{font-size:.88rem;color:var(--text-dim);line-height:1.75;margin-bottom:1.6rem;font-weight:400}

.m-features{list-style:none;display:flex;flex-direction:column;gap:.55rem;margin-bottom:1.8rem}
.m-features li{
  display:flex;align-items:flex-start;gap:.7rem;
  font-size:.85rem;color:var(--text);font-weight:400;line-height:1.55;
}
.m-features li svg{width:14px;height:14px;margin-top:.28rem;flex-shrink:0}
.m-features__yes svg{color:var(--purple)}
.m-features__no{color:var(--text-faint)}
.m-features__no svg{color:rgba(240,237,230,.18)}

.m-price__cta{
  margin-top:auto;text-align:center;
  display:inline-flex;align-items:center;justify-content:center;
  padding:.95rem 1.4rem;min-height:44px;
  font-size:.68rem;font-weight:500;letter-spacing:.16em;text-transform:uppercase;
  transition:all .25s ease;
}
.m-price__cta--outline{background:transparent;border:1px solid rgba(255,255,255,.15);color:var(--text-dim)}
.m-price__cta--outline:hover,.m-price__cta--outline:focus-visible{border-color:rgba(255,255,255,.4);color:var(--text)}
.m-price__cta--solid{background:var(--purple);color:#fff;box-shadow:0 0 30px rgba(139,92,246,.35)}
.m-price__cta--solid:hover,.m-price__cta--solid:focus-visible{opacity:.88;box-shadow:0 0 42px rgba(139,92,246,.55)}

.m-price__hint{font-size:.7rem;color:var(--text-faint);margin-top:.9rem;text-align:center;line-height:1.55}
.m-pricing__foot{
  margin:2.4rem auto 0;
  font-size:.78rem;color:var(--text-faint);line-height:1.8;max-width:820px;
  text-align:center;
}

/* ── Timeline (Prozess) ────────────────────────────────────────── */
.m-timeline{position:relative;max-width:520px;margin:0 auto;padding-left:3rem}
.m-timeline::before{
  content:"";position:absolute;left:.65rem;top:.5rem;bottom:.5rem;
  width:2px;background:rgba(139,92,246,.3);
}
.m-tl__step{position:relative;padding-bottom:3.2rem}
.m-tl__step:last-child{padding-bottom:0}
.m-tl__dot{
  position:absolute;left:-3rem;top:.35rem;
  width:1rem;height:1rem;background:var(--purple);
  box-shadow:0 0 24px rgba(139,92,246,.6);
  transform:scale(0);
  transition:transform .6s var(--ease) .2s;
}
.reveal.visible .m-tl__dot{transform:scale(1)}
.m-tl__num{
  font-size:.62rem;font-weight:500;letter-spacing:.22em;color:var(--purple);
  display:block;margin-bottom:.5rem;
}
.m-tl__title{
  font-size:1.4rem;font-weight:600;letter-spacing:-.02em;color:var(--text);
  margin-bottom:.6rem;line-height:1.2;
}
.m-tl__text{font-size:.95rem;color:var(--text-dim);line-height:1.8;max-width:520px;font-weight:400}

/* ── FAQ ───────────────────────────────────────────────────────── */
.m-faq{max-width:820px;margin:0 auto}
.m-faq__item{border-bottom:1px solid var(--border);transition:border-color .25s ease}
.m-faq__item:first-child{border-top:1px solid var(--border)}
.m-faq__item.open{border-color:rgba(139,92,246,.4)}
.m-faq__q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:2rem;
  padding:1.5rem 0;text-align:left;min-height:44px;
  font-size:1rem;font-weight:500;letter-spacing:-.005em;color:var(--text);
}
.m-faq__icon{
  color:var(--purple);transition:transform .35s var(--ease);
  width:18px;height:18px;display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.m-faq__icon svg{width:100%;height:100%}
.m-faq__item.open .m-faq__icon{transform:rotate(45deg)}
.m-faq__a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.m-faq__a-inner{
  padding-bottom:1.5rem;padding-right:2rem;
  font-size:.92rem;color:var(--text-dim);line-height:1.85;font-weight:400;
}
.m-faq__a-inner p{margin-bottom:.6rem}
.m-faq__a-inner p:last-child{margin-bottom:0}

/* ── Kontakt ───────────────────────────────────────────────────── */
.m-contact{text-align:center}
.m-contact__head{
  font-size:clamp(2.5rem,6vw,5rem);
  font-weight:700;letter-spacing:-.04em;line-height:1.0;
  color:var(--text);margin-bottom:1.4rem;
}
.m-contact__sub{
  font-size:1rem;color:var(--text-dim);max-width:680px;line-height:1.85;
  margin:0 auto .6rem;
}
.m-contact__mail{color:var(--purple);font-weight:400;transition:opacity .2s ease}
.m-contact__mail:hover{opacity:.75}
.m-contact__success{
  margin:2rem auto 0;padding:1.6rem 1.8rem;
  background:rgba(134,239,172,.06);border:1px solid rgba(134,239,172,.18);
  max-width:520px;text-align:left;
}
.m-contact__success-h{font-size:1.1rem;font-weight:600;color:#86efac;margin-bottom:.4rem}
.m-contact__success-t{font-size:.92rem;color:var(--text-dim)}

/* ── Form ──────────────────────────────────────────────────────── */
.m-form{max-width:640px;margin:3rem auto 0;text-align:left}
.m-form__err{
  margin-bottom:1.2rem;padding:.85rem 1rem;
  background:rgba(252,165,165,.08);border:1px solid rgba(252,165,165,.22);
  color:#fca5a5;font-size:.85rem;
}
.m-form__row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.25rem}
.m-form__field{display:flex;flex-direction:column;margin-bottom:1.25rem}
.m-form__field label{
  font-size:.6rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  color:rgba(255,255,255,.38);margin-bottom:.4rem;
}
.m-form__field input,
.m-form__field select,
.m-form__field textarea{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);color:var(--text);
  padding:.9rem 1.1rem;
  font-size:.9rem;font-weight:400;
  outline:none;border-radius:0;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.m-form__field input::placeholder,
.m-form__field textarea::placeholder{color:rgba(255,255,255,.22)}
.m-form__field input:focus,
.m-form__field select:focus,
.m-form__field textarea:focus{
  border-color:rgba(139,92,246,.6);
  box-shadow:0 0 0 3px rgba(139,92,246,.1);
  background:rgba(255,255,255,.06);
}
.m-form__field textarea{min-height:140px;resize:vertical;font-family:inherit}
.m-form__field select{
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  /* color-scheme: dark sagt dem Browser, dass die native Options-Liste
     dunkel gerendert werden soll – ohne Custom-JS-Dropdown. */
  color-scheme:dark;
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B5CF6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1.1rem center;
  padding-right:2.8rem;
}
.m-form__field select:hover{border-color:rgba(255,255,255,.18);background-color:rgba(255,255,255,.06)}
/* Optionen: in modernen Browsern wird das durch color-scheme:dark
   automatisch dunkel; als zusätzliche Absicherung für Firefox. */
.m-form__field select option{background:#0A0A0C;color:var(--text);padding:.5rem}
.m-form__field select option:checked{background:rgba(139,92,246,.2)}
.m-form__submit{margin:.5rem auto 0;width:fit-content;display:flex}

/* DSGVO-Consent unter dem Formular */
.m-form__consent{margin:1.5rem 0 .5rem;text-align:left}
.m-form__consent label{
  display:flex;gap:.7rem;align-items:flex-start;
  font-size:.82rem;color:var(--text-dim);line-height:1.55;cursor:pointer;
}
.m-form__consent input[type=checkbox]{
  margin-top:.25rem;width:16px;height:16px;flex-shrink:0;
  accent-color:var(--purple);cursor:pointer;
}
.m-form__consent a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.m-form__consent a:hover{opacity:.8}

/* ── Footer ────────────────────────────────────────────────────── */
.m-footer{
  background:#050507;border-top:1px solid rgba(255,255,255,.06);
  padding:var(--space-lg) 0 var(--space-md);
  position:relative;z-index:1;
}
.m-footer__top{
  display:grid;grid-template-columns:1.4fr 1fr;gap:3rem;
  padding-bottom:2.8rem;
}
.m-footer__logo{font-size:1.4rem;margin-bottom:.9rem;display:inline-block}
.m-footer__tag{font-size:.92rem;color:var(--text-dim);margin-bottom:1rem;max-width:340px;line-height:1.7}
.m-footer__mail{color:var(--purple);font-size:.92rem;font-weight:400;transition:opacity .2s ease}
.m-footer__mail:hover{opacity:.75}
.m-footer__cols{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.m-footer__col h4{
  font-size:.6rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-faint);margin-bottom:1.1rem;
}
.m-footer__col ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.m-footer__col a{
  font-size:.86rem;color:var(--text-dim);font-weight:400;
  transition:color .2s ease;
}
.m-footer__col a:hover,.m-footer__col a:focus-visible{color:var(--text)}
.m-footer__bottom{
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.06);
  padding-top:2rem;
  font-size:.65rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.2);
}
.m-footer__bottom a{transition:color .2s ease}
.m-footer__bottom a:hover{color:rgba(255,255,255,.5)}

/* ── Standard-Block-Renderer im Marketing-Stil ──────────────────── */

/* Text-Block (rich, standardmäßig zentriert) */
.m-text{text-align:center}
.m-text .m-prose{color:var(--text);font-size:1.05rem;line-height:1.75;max-width:820px;margin:0 auto}
.m-text .m-prose h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;letter-spacing:-.025em;color:var(--text);margin-top:2rem;margin-bottom:1rem;line-height:1.15}
.m-text .m-prose h3{font-size:1.3rem;font-weight:600;letter-spacing:-.02em;color:var(--text);margin-top:1.6rem;margin-bottom:.8rem;line-height:1.25}
.m-text .m-prose h4{font-size:1.05rem;font-weight:600;color:var(--text);margin-top:1.2rem;margin-bottom:.5rem}
.m-text .m-prose p{margin-bottom:1.1rem;color:var(--text-dim)}
.m-text .m-prose p:last-child{margin-bottom:0}
.m-text .m-prose a{color:var(--purple);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;transition:opacity .2s}
.m-text .m-prose a:hover{opacity:.75}
.m-text .m-prose ul,.m-text .m-prose ol{padding-left:1.4rem;margin-bottom:1.1rem;color:var(--text-dim)}
.m-text .m-prose li{margin-bottom:.35rem}
.m-text .m-prose blockquote{
  border-left:2px solid var(--purple);padding:.4rem 0 .4rem 1.4rem;
  margin:1.4rem 0;color:var(--text);font-size:1.1rem;font-style:italic;
}
.m-text .m-prose strong{color:var(--text);font-weight:600}

/* Divider */
.m-divider hr{border:none;height:1px;background:var(--border);margin:0}

/* Einzel-Bild */
.m-image img{width:100%;height:auto;border:1px solid var(--border)}
.m-image__cap{margin-top:.7rem;font-size:.85rem;color:var(--text-faint);line-height:1.6}

/* Standard-Hero (großer Eingang mit BG-Bild) */
.m-block-hero{
  position:relative;min-height:520px;
  display:flex;align-items:flex-end;
  padding:5rem var(--pad) 4rem;margin-bottom:0;
  overflow:hidden;
}
.m-block-hero__bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  filter:saturate(.9);
}
.m-block-hero__overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(10,10,12,.3) 0%,rgba(10,10,12,.85) 80%,rgba(10,10,12,1) 100%);
}
.m-block-hero__inner{position:relative;z-index:1;max-width:var(--container);margin:0 auto;width:100%}
.m-block-hero__title{
  font-size:clamp(2.5rem,6vw,4.5rem);
  font-weight:700;letter-spacing:-.04em;line-height:1.0;
  color:var(--text);max-width:820px;
}
.m-block-hero__subtitle{
  margin-top:1.2rem;font-size:1.1rem;color:var(--text-dim);
  max-width:600px;line-height:1.7;
}

/* Text + Bild (zwei Spalten) */
.m-textimg{padding:var(--space-xl) 0}
.m-textimg__inner{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  align-items:center;
  max-width:var(--container);margin:0 auto;
  padding:0 var(--pad);
}
.m-textimg--left .m-textimg__img{order:-1}
.m-textimg__img img{
  width:100%;height:auto;display:block;
  border:1px solid var(--border);
  box-shadow:0 20px 40px -20px rgba(0,0,0,.5);
}
.m-textimg__text{color:var(--text-dim);font-size:1rem;line-height:1.75;max-width:520px}
.m-textimg__text h2{color:var(--text);font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;letter-spacing:-.025em;margin-bottom:1rem;line-height:1.15}
.m-textimg__text h3{color:var(--text);font-size:1.3rem;font-weight:600;margin-top:1.2rem;margin-bottom:.6rem;letter-spacing:-.02em}
.m-textimg__text p{margin-bottom:1rem}
.m-textimg__text a{color:var(--purple);text-decoration:underline;text-underline-offset:3px}
.m-textimg__text strong{color:var(--text)}
.m-textimg__text ul,.m-textimg__text ol{padding-left:1.4rem;margin-bottom:1rem}

/* Standard-Features (Leistungen mit Icon/Titel/Text) */
.m-features{padding:0}
.m-features__title{
  font-size:clamp(1.7rem,3vw,2.4rem);font-weight:700;letter-spacing:-.025em;
  color:var(--text);margin-bottom:2.5rem;line-height:1.15;
}
.m-features__grid{
  display:grid;gap:1.25rem;
  grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));
}
.m-features__card{
  background:var(--bg-card);border:1px solid var(--border);
  padding:2rem 1.8rem;
  transition:background .3s var(--ease),border-color .3s var(--ease),transform .3s var(--ease);
}
.m-features__card:hover{background:var(--bg-card-h);border-color:rgba(139,92,246,.35);transform:translateY(-3px)}
.m-features__icon{color:var(--purple);margin-bottom:1.2rem;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.m-features__icon svg{width:100%;height:100%}
.m-features__h{font-size:1.15rem;font-weight:600;letter-spacing:-.015em;color:var(--text);margin-bottom:.6rem}
.m-features__t{font-size:.92rem;color:var(--text-dim);line-height:1.7}

/* Galerie */
.m-gallery{}
.m-gallery__single img,
.m-gallery__double img,
.m-gallery__triple img{
  width:100%;height:auto;display:block;
  border:1px solid var(--border);
}
.m-gallery__single img{max-height:560px;object-fit:cover}
.m-gallery__double,.m-gallery__triple{display:grid;gap:1rem}
.m-gallery__double{grid-template-columns:1fr 1fr}
.m-gallery__triple{grid-template-columns:1fr 1fr 1fr}
.m-gallery__double img,.m-gallery__triple img{aspect-ratio:4/3;object-fit:cover}
.m-gallery__grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;
}
.m-gallery__grid > div{aspect-ratio:1/1;overflow:hidden;border:1px solid var(--border)}
.m-gallery__grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s var(--ease)}
.m-gallery__grid > div:hover img{transform:scale(1.04)}
.m-gallery__item--wide{grid-column:span 2}
.m-gallery__item--tall{grid-row:span 2;aspect-ratio:1/2}

/* Slider */
.m-slider{position:relative;overflow:hidden;border:1px solid var(--border)}
.m-slider__track{display:flex;transition:transform .55s var(--ease)}
.m-slider__slide{position:relative;flex:0 0 100%;min-height:420px;background:#000}
.m-slider__slide img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
.m-slider__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,12,.1),rgba(10,10,12,.7))}
.m-slider__caption{position:absolute;inset:0;display:flex;align-items:flex-end;padding:2.5rem;z-index:2}
.m-slider__caption--left .m-slider__caption-inner{margin-right:auto}
.m-slider__caption--right .m-slider__caption-inner{margin-left:auto;text-align:right}
.m-slider__caption-inner{max-width:540px}
.m-slider__caption-title{font-size:clamp(1.5rem,3vw,2.2rem);font-weight:700;letter-spacing:-.025em;color:var(--text);line-height:1.1;margin-bottom:.6rem}
.m-slider__caption-sub{font-size:1rem;color:var(--text-dim);line-height:1.6}
.m-slider__btn{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:42px;height:42px;background:rgba(10,10,12,.6);
  border:1px solid var(--border);color:var(--text);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s,border-color .2s;
}
.m-slider__btn:hover{background:rgba(139,92,246,.3);border-color:var(--purple)}
.m-slider__btn--prev{left:1rem} .m-slider__btn--next{right:1rem}
.m-slider__dots{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);display:flex;gap:.5rem;z-index:3}
.m-slider__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.3);border:none;transition:background .2s}
.m-slider__dot--active{background:var(--purple)}

/* Öffnungszeiten */
.m-hours{max-width:560px}
.m-hours__title{font-size:1.3rem;font-weight:600;color:var(--text);margin-bottom:1rem;letter-spacing:-.02em}
.m-hours__list{border-top:1px solid var(--border)}
.m-hours__row{display:flex;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid var(--border);font-size:.92rem}
.m-hours__day{color:var(--text-dim)}
.m-hours__time{color:var(--text);font-variant-numeric:tabular-nums}
.m-hours__row--today{background:rgba(139,92,246,.06);padding-left:.7rem;padding-right:.7rem;margin:0 -.7rem;border-radius:2px}
.m-hours__closed{color:var(--text-faint);font-style:italic}
.m-hours__note{margin-top:.8rem;font-size:.82rem;color:var(--text-faint);line-height:1.6}

/* CTA-Block (zentriert) */
.m-cta-wrap{display:flex;justify-content:center}
/* CTA direkt nach Text-Block: keinen doppelten Pad-Block dazwischen.
   Funktioniert in modernen Browsern (Safari 15.4+, Chrome 105+, Firefox 121+).
   Ältere Browser bekommen halt etwas mehr Abstand – kein Funktionsverlust. */
.m-text + .m-section:has(.m-cta-wrap){padding-top:0}
.m-text:has(+ .m-section .m-cta-wrap){padding-bottom:2rem}

/* Responsive für Standard-Blöcke */
@media (max-width:768px){
  .m-textimg__inner{grid-template-columns:1fr;gap:2rem}
  .m-textimg--left .m-textimg__img{order:0}
  .m-features__grid{grid-template-columns:1fr!important}
  .m-gallery__double,.m-gallery__triple,.m-gallery__grid{grid-template-columns:1fr 1fr}
  .m-gallery__item--wide,.m-gallery__item--tall{grid-column:auto;grid-row:auto;aspect-ratio:1/1}
  .m-slider__slide{min-height:320px}
  .m-slider__caption{padding:1.5rem}
}

/* ── A11y ──────────────────────────────────────────────────────── */
:focus-visible{outline:2px solid rgba(139,92,246,.6);outline-offset:3px}
.m-nav__cta:focus-visible,.m-btn:focus-visible,
.m-price__cta:focus-visible,.m-form__submit:focus-visible{outline-offset:4px}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
  .m-orb{animation:none}
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width:1024px){
  .m-cards-3{grid-template-columns:1fr;gap:1.25rem}
  .m-pricing{grid-template-columns:1fr;gap:1.25rem}
  .m-price--featured{order:-1}
  .m-hero--with-image .m-hero__grid{grid-template-columns:1fr;gap:3rem}
  .m-hero{align-items:flex-start;padding-top:7rem}
}
@media (max-width:768px){
  .m-nav__links{display:none}
  .m-nav__cta{display:none}
  .m-hamburger{display:flex}
  .m-section{padding:5rem 0}

  .m-trust__grid{grid-template-columns:1fr 1fr}
  .m-trust__item + .m-trust__item::before{display:none}
  .m-trust__item{border-top:1px solid var(--border);padding:1.6rem 1rem}
  .m-trust__grid > .m-trust__item:nth-child(1),
  .m-trust__grid > .m-trust__item:nth-child(2){border-top:none}
  .m-trust__grid > .m-trust__item:nth-child(odd){border-right:1px solid var(--border)}

  .m-footer__top{grid-template-columns:1fr;gap:2rem}
  .m-footer__bottom{flex-direction:column;align-items:flex-start;gap:.6rem}
}
@media (max-width:640px){
  .m-hero{padding-top:7rem}
  .m-hero__ctas{flex-direction:column;align-items:stretch}
  .m-hero__ctas .m-btn{justify-content:center}
  .m-form__row{grid-template-columns:1fr;gap:0}
  .m-timeline{padding-left:2.4rem}
  .m-tl__dot{left:-2.4rem}
}
