/* ==========================================================================
   Abnehmen im Liegen Hamburg — Inhalts-Paket Stylesheet
   --------------------------------------------------------------------------
   Ueberfuehrung des freigegebenen Mockups WEB/Mockups/startseite.html.

   WICHTIG: Das Plugin rendert den gesamten Page-Output in
   <div class="sp-scope">...</div>. Deshalb ist (fast) alles auf .sp-scope
   gescoped, damit nichts mit dem aktiven Theme kollidiert. Ausnahmen:
     - :root      (Tokens muessen global sein)
     - .container (globale Utility, auch von Header/Footer genutzt)
     - .sr-only / .skip (a11y-Helfer)

   MARKE ANPASSEN: nur den :root-Block aendern. Klassennamen NICHT umbenennen
   — Page-Klasse, Header/Footer und JS haengen daran.
   ========================================================================== */

:root {
  --brand:#5f3a7e;          /* tiefes Violett — Markenakzent (Ist-Seite) */
  --brand-deep:#4a2c63;     /* dunkler fuer Text auf Weiss */
  --brand-light:#cbb0e8;    /* hell — Akzent auf Dunkel */
  --bg:#ffffff;
  --bg-soft:#f4f4f4;
  --bg-tint:#f3eef8;        /* sehr helles Lila-Tint */
  --ink:#2a2a2a;            /* Anthrazit — Ueberschriften/Dark-Block */
  --text:#354052;           /* Slate — Fliesstext (AAA auf Weiss) */
  --muted:#4f5560;          /* Sekundaertext (>=7:1) */
  --line:#dcdfe4;
  --gold:#c9a86a;           /* dezenter Gold-Akzent (Studio) */
  --radius:16px;
  --radius-lg:26px;
  --shadow-sm:0 2px 10px rgba(20,12,30,.06);
  --shadow:0 18px 50px rgba(20,12,30,.13);
  --container:1140px;
  --font:'Open Sans',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

/* --- Globale Utilities (bewusst nicht gescoped) ------------------------- */
.container{max-width:var(--container);margin-inline:auto;padding-inline:1.5rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1rem;
  z-index:1000;border-radius:0 0 8px 0;text-decoration:none}
.skip:focus{left:0}

/* --- Scope-Grundlagen --------------------------------------------------- */
.sp-scope,.sp-scope *{box-sizing:border-box}
.sp-scope{font-family:var(--font);color:var(--text);background:var(--bg);
  font-size:1.06rem;line-height:1.65;-webkit-font-smoothing:antialiased;text-align:left}
.sp-scope h1,.sp-scope h2,.sp-scope h3,.sp-scope h4{color:var(--ink);line-height:1.18;
  margin:0 0 .5em;font-weight:800}
.sp-scope h1{font-size:clamp(2.3rem,5.4vw,3.6rem);letter-spacing:-.01em}
.sp-scope h2{font-size:clamp(1.7rem,3.6vw,2.5rem)}
.sp-scope h3{font-size:1.25rem;font-weight:700}
.sp-scope p{margin:0 0 1rem}
.sp-scope a{color:var(--brand-deep)}
.sp-scope img{max-width:100%;display:block;height:auto}
.sp-scope section{padding-block:clamp(3rem,8vw,6rem)}
.sp-scope .eyebrow{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;
  color:var(--brand-deep);margin:0 0 .6rem}
.sp-scope .eyebrow-light{color:var(--brand-light)}
.sp-scope .lead{font-size:1.2rem;color:var(--text)}
.sp-scope .muted{color:var(--muted)}
.sp-scope .center{text-align:center}
.sp-scope .soft{background:var(--bg-soft)}
.sp-scope .tint{background:var(--bg-tint)}

/* --- Buttons ------------------------------------------------------------ */
.sp-scope .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:52px;padding:.85rem 1.7rem;border-radius:999px;font-weight:700;
  text-decoration:none;border:2px solid transparent;cursor:pointer;font-size:1rem;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.sp-scope .btn-primary{background:var(--brand);color:#fff}
.sp-scope .btn-primary:hover{background:var(--brand-deep);transform:translateY(-2px);box-shadow:var(--shadow)}
.sp-scope .btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.sp-scope .btn-ghost:hover{border-color:var(--brand);color:var(--brand-deep);transform:translateY(-2px)}
.sp-scope .btn-light{background:#fff;color:var(--brand-deep)}
.sp-scope .btn-light:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.sp-scope .btn:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.sp-scope a:focus-visible,.sp-scope summary:focus-visible,.sp-scope button:focus-visible{
  outline:3px solid var(--brand);outline-offset:3px;border-radius:6px}

/* --- Header ------------------------------------------------------------- */
.sp-scope .site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--line)}
.sp-scope .nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.sp-scope .brand{font-weight:800;color:var(--ink);text-decoration:none;font-size:1.06rem;
  letter-spacing:-.01em;line-height:1.15}
.sp-scope .brand small{display:block;font-weight:600;color:var(--muted);font-size:.72rem;
  text-transform:uppercase;letter-spacing:.14em}
.sp-scope .brand-logo{display:block;width:180px;height:auto;max-width:100%}
.sp-scope .nav-menu{display:none;gap:1.4rem;list-style:none;margin:0;padding:0}
.sp-scope .nav-menu a{color:var(--text);text-decoration:none;font-weight:600;font-size:.97rem;padding:.4rem 0}
.sp-scope .nav-menu a:hover{color:var(--brand-deep)}
.sp-scope .nav-cta{display:none}
.sp-scope .nav-toggle{display:inline-flex;align-items:center;gap:.5rem;background:var(--brand);color:#fff;
  border:none;border-radius:999px;padding:.6rem 1.1rem;font-weight:700;cursor:pointer;min-height:44px}
/* Mobiles Off-Canvas-Panel */
.sp-scope .m-nav{border-top:1px solid var(--line);background:#fff}
.sp-scope .m-nav[hidden]{display:none}
.sp-scope .m-nav ul{list-style:none;margin:0;padding:.6rem 0;display:grid;gap:.2rem}
.sp-scope .m-nav a{display:block;padding:.85rem 1.5rem;color:var(--text);text-decoration:none;font-weight:600}
.sp-scope .m-nav a:hover{background:var(--bg-tint);color:var(--brand-deep)}
.sp-scope .m-nav a.btn{margin:.6rem 1.5rem 0;display:inline-flex}
@media(min-width:960px){
  .sp-scope .nav-menu{display:flex}
  .sp-scope .nav-cta{display:inline-flex}
  .sp-scope .nav-toggle{display:none}
  .sp-scope .m-nav{display:none}
}

/* --- Hero --------------------------------------------------------------- */
.sp-scope .hero{background:linear-gradient(160deg,var(--bg-tint) 0%,#fff 62%)}
.sp-scope .hero-grid{display:grid;gap:2rem;align-items:center}
@media(min-width:900px){.sp-scope .hero-grid{grid-template-columns:1.05fr .95fr;gap:3rem}}
.sp-scope .hero h1 span{color:var(--brand-deep)}
.sp-scope .hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem}
.sp-scope .hero-media img{width:100%;height:clamp(320px,42vw,500px);object-fit:cover;
  object-position:30% 28%;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.sp-scope .trust{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:1.6rem;font-size:.92rem;color:var(--muted)}
.sp-scope .trust b{color:var(--ink)}

/* --- Generische 2-Spalten-Media-Sektion -------------------------------- */
.sp-scope .split{display:grid;gap:2rem;align-items:center}
@media(min-width:880px){.sp-scope .split{grid-template-columns:1fr 1fr;gap:3rem}
  .sp-scope .split.rev>div:first-child{order:2}}
.sp-scope .split img{width:100%;height:clamp(260px,34vw,420px);object-fit:cover;
  object-position:50% 30%;border-radius:var(--radius);box-shadow:var(--shadow-sm)}

/* --- Nutzen-Liste ------------------------------------------------------- */
.sp-scope .benefits{list-style:none;margin:1.5rem 0 0;padding:0;display:grid;gap:.7rem}
@media(min-width:680px){.sp-scope .benefits{grid-template-columns:1fr 1fr}}
.sp-scope .benefits.benefits-1col{grid-template-columns:1fr}
.sp-scope .benefits li{position:relative;padding-left:2rem;color:var(--text)}
.sp-scope .benefits li::before{content:"";position:absolute;left:0;top:.35em;width:1.1rem;height:1.1rem;
  border-radius:50%;background:var(--brand);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat}

/* --- Leistungen: Detailbloecke (gestapelte split-Sektionen) ------------ */
.sp-scope .service-block{margin-top:clamp(2.5rem,6vw,4.5rem)}
.sp-scope .service-block h3{font-size:clamp(1.35rem,2.6vw,1.7rem);margin-bottom:.4rem}

/* --- Karten (Leistungen) ----------------------------------------------- */
.sp-scope .cards{display:grid;gap:1.5rem;margin-top:2rem}
@media(min-width:720px){.sp-scope .cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.sp-scope .cards{grid-template-columns:repeat(4,1fr)}}
.sp-scope .card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;box-shadow:var(--shadow-sm)}
.sp-scope .card img{width:100%;height:clamp(190px,16vw,210px);object-fit:cover;object-position:50% 26%}
.sp-scope .card-body{padding:1.2rem 1.3rem 1.5rem}
.sp-scope .card h3{margin-bottom:.3rem}
.sp-scope .card p{font-size:.96rem;color:var(--muted);margin:0}
.sp-scope .card .tag{display:inline-block;margin-top:.8rem;font-size:.78rem;font-weight:700;
  color:var(--brand-deep);background:var(--bg-tint);padding:.25rem .7rem;border-radius:999px}

/* --- Text-Kacheln (Technologien / Vorteile auf Unterseiten) ------------ */
.sp-scope .tiles{display:grid;gap:1.3rem;margin-top:2rem}
@media(min-width:680px){.sp-scope .tiles{grid-template-columns:1fr 1fr}}
@media(min-width:1000px){.sp-scope .tiles{grid-template-columns:repeat(3,1fr)}}
.sp-scope .tiles.tiles-4{grid-template-columns:1fr 1fr}
@media(min-width:1000px){.sp-scope .tiles.tiles-4{grid-template-columns:repeat(4,1fr)}}
.sp-scope .tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem 1.5rem;box-shadow:var(--shadow-sm)}
.sp-scope .tile .tag{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.1em;color:var(--brand-deep);background:var(--bg-tint);border-radius:999px;
  padding:.25rem .7rem;margin-bottom:.7rem}
.sp-scope .tile h3{margin-bottom:.4rem}
.sp-scope .tile p{margin:0;font-size:.97rem;color:var(--muted)}

/* --- Angebots-/Preis-Plaene (Shop) ------------------------------------- */
.sp-scope .plans{display:grid;gap:1.5rem;margin-top:2rem}
@media(min-width:760px){.sp-scope .plans{grid-template-columns:1fr 1fr}}
.sp-scope .plan{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:2rem 1.8rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column}
.sp-scope .plan.featured{border:2px solid var(--brand);box-shadow:var(--shadow)}
.sp-scope .plan .badge{align-self:flex-start;font-size:.72rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.1em;color:#fff;background:var(--brand);border-radius:999px;padding:.3rem .8rem;margin-bottom:.9rem}
.sp-scope .plan .badge.badge-dark{background:var(--ink)}
.sp-scope .plan h3{margin-bottom:.3rem}
.sp-scope .plan .sub{color:var(--muted);font-size:.95rem;margin:0 0 1rem}
.sp-scope .plan ul{list-style:none;margin:0 0 1.4rem;padding:0;display:grid;gap:.6rem}
.sp-scope .plan li{position:relative;padding-left:1.7rem;font-size:.98rem}
.sp-scope .plan li::before{content:"\2713";position:absolute;left:0;color:var(--brand);font-weight:800}
.sp-scope .plan .cta{margin-top:auto}
.sp-scope .pricebar{background:var(--bg-tint);border:1px solid var(--line);border-radius:var(--radius);
  padding:1rem 1.3rem;margin-top:2rem;font-size:.92rem;color:var(--muted);text-align:center}

/* --- Kennenlern-Highlight ---------------------------------------------- */
.sp-scope .offer{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-deep) 100%);color:#fff}
.sp-scope .offer h2{color:#fff}
.sp-scope .offer .price{font-size:clamp(2rem,5vw,2.8rem);font-weight:800;margin:.3rem 0 .2rem}
.sp-scope .offer .grid{display:grid;gap:2rem;align-items:center}
@media(min-width:880px){.sp-scope .offer .grid{grid-template-columns:1.1fr .9fr}}
.sp-scope .offer ul{list-style:none;margin:1.2rem 0;padding:0;display:grid;gap:.55rem}
.sp-scope .offer li{padding-left:1.8rem;position:relative}
.sp-scope .offer li::before{content:"\2713";position:absolute;left:0;color:var(--brand-light);font-weight:800}
.sp-scope .offer img{width:100%;height:clamp(340px,44vw,480px);object-fit:cover;object-position:50% 24%;
  border-radius:var(--radius);box-shadow:var(--shadow)}
.sp-scope .price-note{font-size:.82rem;color:var(--brand-light);margin-top:.2rem}

/* --- Prozess / Schritte ------------------------------------------------- */
.sp-scope .steps{counter-reset:step;list-style:none;margin:2rem 0 0;padding:0;display:grid;gap:1rem}
@media(min-width:720px){.sp-scope .steps{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1040px){.sp-scope .steps{grid-template-columns:repeat(5,1fr)}}
@media(min-width:720px){.sp-scope .steps.steps-3{grid-template-columns:repeat(3,1fr)}}
.sp-scope .steps li{counter-increment:step;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.3rem 1.2rem;position:relative}
.sp-scope .steps li::before{content:counter(step);display:flex;align-items:center;justify-content:center;
  width:2.2rem;height:2.2rem;border-radius:50%;background:var(--brand);color:#fff;font-weight:800;margin-bottom:.7rem}
.sp-scope .steps h3{font-size:1.02rem;margin:0 0 .4rem}
.sp-scope .steps p{font-size:.92rem;color:var(--muted);margin:0}

/* --- Dark-Block (Warum) ------------------------------------------------- */
.sp-scope .dark{background:var(--ink);color:#f4f4f4}
.sp-scope .dark h2{color:#fff}
.sp-scope .dark .benefits li{color:#e7e7ea}
.sp-scope .dark .benefits li::before{background:var(--brand-light)}
.sp-scope .dark .eyebrow{color:var(--brand-light)}

/* --- Bewertungen -------------------------------------------------------- */
.sp-scope .quotes{display:grid;gap:1.5rem;margin-top:2rem}
@media(min-width:760px){.sp-scope .quotes{grid-template-columns:1fr 1fr}}
.sp-scope blockquote{margin:0;background:#fff;border:1px solid var(--line);border-left:4px solid var(--brand);
  border-radius:var(--radius);padding:1.6rem 1.7rem;font-size:1.12rem;color:var(--ink);box-shadow:var(--shadow-sm)}
.sp-scope blockquote footer{margin-top:.8rem;font-size:.9rem;color:var(--muted);font-weight:600}

/* --- FAQ ---------------------------------------------------------------- */
.sp-scope .faq{max-width:780px;margin-inline:auto}
.sp-scope .faq details{background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  margin-bottom:.8rem;overflow:hidden}
.sp-scope .faq summary{cursor:pointer;list-style:none;padding:1.1rem 1.3rem;font-weight:700;color:var(--ink);
  display:flex;justify-content:space-between;align-items:center;gap:1rem}
.sp-scope .faq summary::-webkit-details-marker{display:none}
.sp-scope .faq summary::after{content:"+";font-size:1.5rem;color:var(--brand);font-weight:400;line-height:1}
.sp-scope .faq details[open] summary::after{content:"\2013"}
.sp-scope .faq .faq-body{padding:0 1.3rem 1.2rem;color:var(--text)}

/* --- Footer-CTA --------------------------------------------------------- */
.sp-scope .final{background:linear-gradient(135deg,var(--brand-deep) 0%,#2a1c3a 100%);color:#fff;text-align:center}
.sp-scope .final h2{color:#fff}
.sp-scope .final p{max-width:620px;margin-inline:auto;color:#e9e1f2}
.sp-scope .final-cta{margin-top:1.5rem}

/* --- Footer ------------------------------------------------------------- */
.sp-scope .site-footer{background:var(--ink);color:#cfd2d8;font-size:.95rem}
.sp-scope .footer-grid{display:grid;gap:2rem;padding-block:3rem}
@media(min-width:760px){.sp-scope .footer-grid{grid-template-columns:1.4fr 1fr 1fr}}
.sp-scope .site-footer h3{color:#fff;font-size:1rem;margin-bottom:.8rem}
.sp-scope .site-footer a{color:var(--brand-light);text-decoration:none}
.sp-scope .site-footer a:hover{text-decoration:underline}
.sp-scope .brand-footer{color:#fff}
.sp-scope .footer-tagline{color:#9aa0a8}
.sp-scope .footer-logo{display:block;width:160px;height:auto;max-width:100%;
  margin:1rem 0;background:#fff;border-radius:12px;padding:.7rem .9rem;box-sizing:content-box}
.sp-scope .footer-cta{margin-top:1rem}
.sp-scope .footer-bottom{border-top:1px solid #3a3a3a;padding-block:1.2rem;font-size:.85rem;color:#9aa0a8}
.sp-scope .footer-bottom .container{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;justify-content:space-between}

@media (prefers-reduced-motion: reduce){
  .sp-scope *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
