/* ==========================================================================
   PrismaWorks — Design System
   Technik. Vielfalt. Zukunft.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --cream:      #ece9dd;
  --paper:      #f8f7f2;
  --ink:        #16130f;
  --ink-soft:   #3b352e;
  --muted:      #6b6457;
  --line:       #e4e0d4;
  --line-soft:  #efece2;
  --red:        #e11d1d;
  --red-deep:   #b71414;
  --white:      #ffffff;

  /* Dark surfaces */
  --night:      #14110d;
  --night-2:    #1d1914;
  --night-line: #2c271f;

  /* Prism gradient (sparsam einsetzen) */
  --prism: linear-gradient(100deg, #e11d1d 0%, #ff7a18 32%, #f5c518 56%, #2bb673 76%, #3a86ff 100%);
  --prism-soft: linear-gradient(100deg, rgba(225,29,29,.12), rgba(255,122,24,.10), rgba(58,134,255,.12));

  /* Type */
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Spacing / radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow:    0 1px 2px rgba(20,17,13,.04), 0 12px 32px -12px rgba(20,17,13,.14);
  --shadow-lg: 0 2px 4px rgba(20,17,13,.05), 0 28px 60px -24px rgba(20,17,13,.28);
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.08rem; font-weight: 600; }
p  { color: var(--ink-soft); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
strong { font-weight: 650; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.grid { display: grid; gap: 28px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(225,29,29,.7); }
.btn--primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,247,242,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(20,17,13,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  padding: 9px 12px; border-radius: 9px; color: var(--ink-soft); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--line-soft); }
.nav__links a.active { color: var(--red); }
.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; background: none; border: 0; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* Dropdown */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s var(--ease);
}
.has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 11px 14px; border-radius: 10px; font-size: .94rem; color: var(--ink-soft); }
.drop a:hover { background: var(--line-soft); color: var(--ink); }
.drop a span { display: block; font-size: .8rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }

@media (max-width: 1060px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .site-header.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 16px 24px 24px; box-shadow: var(--shadow-lg);
  }
  .site-header.open .nav__links a { padding: 13px 14px; font-size: 1.05rem; }
  .site-header.open .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .site-header.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(72px, 11vw, 150px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -200px; top: -260px;
  background: var(--prism); filter: blur(120px); opacity: .14; border-radius: 50%;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad { background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--red); }

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 26px; box-shadow: var(--shadow);
}
.pill b { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-family: var(--font-head); font-weight: 600; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 4px rgba(43,182,115,.18); }

/* Hero visual card */
.hero__visual { position: relative; }
.hero-card {
  background: var(--night); border-radius: var(--r-xl); padding: 30px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: 0; background: var(--prism); opacity: .14; }
.hero-card > * { position: relative; }
.hero-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hero-card__dot { display: flex; gap: 6px; }
.hero-card__dot i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hero-card__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--font-head); }
.hero-card h3 { color: #fff; margin-bottom: 6px; }
.hero-card p { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: 22px; }
.hero-card__row { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .92rem; }
.hero-card__row span:first-child { color: rgba(255,255,255,.6); }
.hero-card__row span:last-child { font-family: var(--font-head); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--prism-soft); color: var(--red); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--red); }
.card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature card (large, with accent bar) */
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
  transition: border-color .3s, box-shadow .3s;
}
.feature:hover { border-color: var(--line); box-shadow: var(--shadow); }
.feature__num { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--red); width: 40px; height: 40px; border-radius: 12px; background: var(--prism-soft); display: grid; place-items: center; }
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: .94rem; }

/* ---------- Service list (checklist) ---------- */
.check { display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check li svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px; color: var(--red); }
.check.cols { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 620px) { .check.cols { grid-template-columns: 1fr; } }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
.steps.cols-4 { gap: 24px; }
.step { position: relative; padding-top: 26px; }
.step__n {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff;
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .95rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 3px; background: var(--prism); border-radius: 3px; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split__media { order: 0; } }
.split__media {
  border-radius: var(--r-lg); overflow: hidden; background: var(--night);
  min-height: 340px; position: relative; box-shadow: var(--shadow-lg);
}
.split__media.prism::before { content: ""; position: absolute; inset: 0; background: var(--prism); opacity: .9; }
.split__media .badge-float {
  position: absolute; bottom: 22px; left: 22px; right: 22px; background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow);
}
.split__media .badge-float h4 { margin-bottom: 4px; }
.split__media .badge-float p { font-size: .88rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 12px; }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.stat__num .grad { background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Dark band / CTA ---------- */
.band { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; background: var(--prism); filter: blur(130px); opacity: .25; border-radius: 50%; }
.band .container { position: relative; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.72); }
.band .eyebrow { color: #ff8a5c; }
.band .eyebrow::before { background: #ff8a5c; }
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: none; border: 0; padding: 24px 4px; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.faq__q .ic { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform .3s; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq__q .ic::before { width: 14px; height: 2px; }
.faq__q .ic::after { width: 2px; height: 14px; transition: transform .3s; }
.faq__item.open .faq__q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 4px 24px; font-size: .98rem; }

/* ---------- Tags / chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 7px 15px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.chip.solid { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Price / package cards ---------- */
.pack { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; height: 100%; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.pack:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pack.featured { border: 2px solid var(--red); }
.pack__tag { align-self: flex-start; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); background: var(--prism-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.pack h3 { margin-bottom: 6px; }
.pack__price { font-family: var(--font-head); font-weight: 700; font-size: 2rem; margin: 10px 0 4px; }
.pack__price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.pack p.desc { font-size: .94rem; margin-bottom: 20px; }
.pack .check { margin-bottom: 24px; }
.pack .check li { font-size: .94rem; }
.pack .btn { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item { aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; position: relative; background: var(--night-2); border: 1px solid var(--line); }
.gallery__item .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.4); }
.gallery__item .ph svg { width: 40px; height: 40px; }
.gallery__item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .85rem; font-family: var(--font-head); font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 16px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,29,29,.1); outline: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form__note { font-size: .85rem; color: var(--muted); }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.alert { padding: 16px 18px; border-radius: var(--r-sm); font-size: .95rem; }
.alert--ok { background: #e7f6ee; border: 1px solid #b7e4cd; color: #1c6b43; }
.alert--err { background: #fdeaea; border: 1px solid #f5c2c2; color: #a01818; }

/* ---------- Contact info blocks ---------- */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__ic { width: 46px; height: 46px; border-radius: 13px; background: var(--prism-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.contact-item__ic svg { width: 22px; height: 22px; }
.contact-item h4 { margin-bottom: 2px; }
.contact-item a, .contact-item p { color: var(--ink-soft); font-size: .96rem; }
.contact-item a:hover { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding-block: 64px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .94rem; max-width: 300px; }
.footer-slogan { font-family: var(--font-head); font-weight: 600; color: #fff; margin-top: 16px; font-size: .95rem; letter-spacing: .02em; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.6); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--night-line); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-bottom__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: var(--cream); padding-block: clamp(56px, 8vw, 100px) clamp(40px, 6vw, 70px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: var(--prism); filter: blur(120px); opacity: .12; border-radius: 50%; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 760px; margin-bottom: 18px; }
.page-hero .lead { max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { opacity: .5; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 0; }
.note-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.note-box h4 { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.note-box h4 svg { width: 20px; height: 20px; color: var(--red); }
.prose p { margin-bottom: 16px; }
.prose h2 { margin: 36px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================================================
   Admin-Backend
   ======================================================================== */
.admin { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: var(--paper); }
.admin__side { background: var(--night); color: rgba(255,255,255,.7); padding: 24px 18px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin__brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; }
.admin__brand img { height: 26px; filter: brightness(0) invert(1); }
.admin__brand span { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.admin__nav { display: grid; gap: 4px; }
.admin__nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,.66); font-family: var(--font-head); font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.admin__nav a svg { width: 18px; height: 18px; }
.admin__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin__nav a.active { background: var(--red); color: #fff; }
.admin__side-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--night-line); font-size: .85rem; }
.admin__side-foot a { color: rgba(255,255,255,.6); }
.admin__side-foot a:hover { color: #fff; }
.admin__main { padding: 36px clamp(20px, 4vw, 48px); max-width: 1100px; }
.admin__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.admin__head h1 { font-size: 1.9rem; }
.admin__head p { color: var(--muted); margin-top: 4px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 34px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.kpi b { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; display: block; }
.kpi span { color: var(--muted); font-size: .9rem; }
.kpi.is-new b { color: var(--red); }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
table.data { width: 100%; border-collapse: collapse; font-size: .94rem; }
table.data th { text-align: left; padding: 14px 18px; background: var(--cream); font-family: var(--font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid var(--line); }
table.data td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: #fbfaf6; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: #fff; white-space: nowrap; }
.badge.neu { background: #3a86ff; } .badge.in_bearbeitung { background: #ff7a18; }
.badge.beantwortet { background: #2bb673; } .badge.erledigt { background: #6b6457; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }
.btn--danger { background: #fff; border: 1.5px solid #e3b3b3; color: #b71414; }
.btn--danger:hover { background: #fdeaea; }
.admin-toggle { display: none; }
@media (max-width: 820px) {
  .admin { grid-template-columns: 1fr; }
  .admin__side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px; }
  .admin__brand { padding: 0 10px 0 4px; }
  .admin__nav { grid-auto-flow: column; gap: 4px; }
  .admin__nav a span { display: none; }
  .admin__side-foot { margin: 0 0 0 auto; padding: 0; border: 0; }
  table.data { font-size: .86rem; }
  table.data th:nth-child(3), table.data td:nth-child(3) { display: none; }
}

/* ---------- Warenkorb-Icon im Header ---------- */
.nav__cart { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.nav__cart:hover { background: var(--line-soft); }
.nav__cart svg { width: 21px; height: 21px; }
.nav__cart-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .68rem; display: grid; place-items: center; line-height: 1; }
