/* ===== Rio Web Studio =====
   Palette: Navy + Acid-Green (Brief-Vorgabe) / hell: Salbei + Weiß
   Type:    Hanken Grotesk (Display & Body) */

:root {
  --navy: #0A1B2E;
  --navy-2: #122C4A;
  --navy-3: #0E2138;
  --lime: #C4F53C;
  --lime-dark: #3F7A22;
  --leaf: #5E9C3B;
  --sage: #E7ECDB;
  --sage-2: #EFF2E4;
  --white: #FFFFFF;
  --slate: rgba(10, 27, 46, 0.66);
  --rule: rgba(10, 27, 46, 0.14);
  --rule-inv: rgba(255, 255, 255, 0.16);
  --err: #B23A2E;
  --radius: 18px;
  --font: "Hanken Grotesk", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--sage);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--navy); }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }

a { color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--lime-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1140px, 100% - clamp(40px, 8vw, 88px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
section[id], header[id] { scroll-margin-top: 84px; }

h2 { font-size: clamp(2.2rem, 4.8vw, 3.4rem); margin-bottom: clamp(1.6rem, 3.5vw, 2.6rem); }
h2 .green { color: var(--leaf); }
h2 .lime { color: var(--lime); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Black-Friday-Banner ---------- */

.bf-banner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: var(--lime);
  color: var(--navy);
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.bf-banner .bf-tag {
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--lime);
  border-radius: 999px;
  padding: 4px 12px;
}
.bf-banner strong { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.01em; }
.bf-banner .bf-hint { font-weight: 600; font-size: 0.85rem; color: rgba(10, 27, 46, 0.75); }
.bf-banner .bf-arrow {
  font-weight: 800;
  display: inline-flex;
  transition: transform 0.2s ease;
}
/* --- Countdown im Banner --- */
.bf-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: var(--navy);
  color: var(--lime);
  border-radius: 999px;
  padding: 4px 14px;
  font-variant-numeric: tabular-nums;
}
.bf-countdown b {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.bf-countdown small {
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 5px;
}
.bf-countdown small:last-child { margin-right: 0; }
.bf-banner:hover,
.bf-banner:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 4px 22px rgba(196, 245, 60, 0.35);
}
.bf-banner:hover .bf-arrow,
.bf-banner:focus-visible .bf-arrow { transform: translateX(4px); }
.bf-banner:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
@media (max-width: 640px) {
  .bf-banner { padding: 9px 14px; gap: 6px 10px; }
  .bf-banner .bf-hint { display: none; }
  .bf-countdown { padding: 3px 10px; }
  .bf-countdown b { font-size: 0.8rem; }
  .bf-countdown small { font-size: 0.55rem; margin-right: 3px; }
}

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--rule-inv);
}

.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em;
  text-decoration: none; color: var(--white);
}
.brand.light { color: var(--white); }
.brand-mark { flex: none; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.site-nav a {
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}
.site-nav a:hover { color: var(--lime); }
.lang-toggle {
  font: inherit; font-weight: 700; font-size: 0.85rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  cursor: pointer;
}
.lang-toggle:hover { border-color: var(--lime); color: var(--lime); }
.site-nav .nav-cta {
  color: var(--white);
  border: 1.5px solid var(--rule-inv);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 700;
}
.site-nav .nav-cta:hover { border-color: var(--lime); color: var(--lime); }

.nav-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: 0; padding: 10px 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--white); transition: transform 0.2s ease;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font); font-weight: 700; font-size: 0.98rem;
  text-decoration: none; text-align: center;
  color: var(--navy); background: var(--lime);
  border: 1.5px solid var(--lime);
  border-radius: 999px; padding: 13px 26px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #B4E62C; border-color: #B4E62C; }
.btn:active { transform: translateY(1px); }

.btn.ghost {
  background: transparent; border-color: var(--rule-inv); color: var(--white);
}
.btn.ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ---------- Hero ---------- */

.hero { background: var(--navy); color: var(--white); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
}

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 1.4rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  margin-bottom: 1.4rem;
}
.hero h1 span { display: block; }
.line-white { color: var(--white); }
.line-lime { color: var(--lime); }

.hero-sub {
  max-width: 46ch; color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-copy, .mock { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mock { animation-delay: 0.2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero-Mockup (Bildvorlage: weißer Header, Navy-Hero, Lime-Blob, Skeleton) --- */

.mock { position: relative; min-height: 380px; }

.mock-laptop { position: absolute; top: 0; right: 0; width: min(470px, 88%); }

.lap-shell {
  background: #16283C; border-radius: 14px; padding: 8px; padding-bottom: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.lap-bar {
  height: 24px; background: var(--white); border-radius: 8px 8px 0 0;
  display: flex; align-items: center; gap: 5px; padding-inline: 10px;
}
.lap-bar i { width: 7px; height: 7px; border-radius: 50%; }
.lap-bar i:nth-child(1) { background: #FF5F57; }
.lap-bar i:nth-child(2) { background: #FEBC2E; }
.lap-bar i:nth-child(3) { background: #28C840; }
.lap-url {
  flex: 1; margin-left: 10px; height: 9px; max-width: 46%;
  border-radius: 999px; background: #D9DEE4;
}

.lap-screen { background: var(--white); border-radius: 0 0 8px 8px; overflow: hidden; }

.mini-logo {
  font-weight: 800; font-size: 1.15rem; line-height: 1;
  color: #8FD539; letter-spacing: -0.02em;
}

.lap-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 8px; background: var(--white);
}
.lap-nav { display: inline-flex; gap: 12px; font-size: 0.6rem; font-weight: 700; color: var(--navy); }

.lap-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 16px 22px 32px;
  min-height: 168px;
}
.lap-eyebrow {
  font-size: 0.56rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 8px;
}
.lap-head {
  font-weight: 800; font-size: 1.5rem; line-height: 1.12;
  letter-spacing: -0.02em; max-width: 58%; position: relative; z-index: 1;
}
.lap-pill {
  position: absolute; display: block;
  bottom: 22px; left: 22px; width: 74px; height: 18px;
  background: var(--lime); border-radius: 999px;
}
.lap-blob {
  position: absolute; top: 18px; right: -34px;
  width: 205px; height: 205px; border-radius: 50%;
  background: var(--lime);
}
.lap-sq {
  position: absolute; width: 84px; height: 70px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px; background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1px);
}
.sq1 { top: 78px; right: 104px; transform: rotate(9deg); }
.sq2 { top: 130px; right: 26px; transform: rotate(-13deg); }

.lap-lower {
  display: flex; gap: 16px; padding: 16px 22px 20px;
  background: var(--white);
}
.lap-lower span { flex: 1; height: 11px; border-radius: 999px; background: #D9DEE4; }

/* --- Phone --- */

.mock-phone {
  position: absolute; left: 4%; bottom: 22px; width: 152px;
  background: #16283C; border-radius: 26px; padding: 8px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.5);
}
.phone-shell {
  position: relative; overflow: hidden;
  background: var(--white); border-radius: 18px;
  height: 252px;
}
.phone-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 7px; border-radius: 999px; background: #16283C;
  z-index: 2;
}
.phone-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 14px 10px; background: var(--white);
}
.phone-burger {
  display: inline-block; width: 15px; height: 0;
  border-top: 2px solid var(--navy);
  box-shadow: 0 5px 0 var(--navy), 0 10px 0 var(--navy);
}
.phone-hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  padding: 12px 14px 30px; height: 190px;
}
.phone-eyebrow {
  font-size: 0.46rem; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 7px;
}
.phone-head { font-weight: 800; font-size: 1rem; line-height: 1.2; max-width: 92%; position: relative; z-index: 1; }
.phone-pill { display: block; margin-top: 12px; width: 56px; height: 14px; border-radius: 999px; background: var(--lime); }
.phone-blob {
  position: absolute; bottom: -44px; left: -18px;
  width: 132px; height: 132px; border-radius: 50%; background: var(--lime);
}
.mock-tag {
  position: absolute; right: 6px; bottom: 0;
  background: var(--lime); color: var(--navy);
  font-weight: 700; font-size: 0.85rem;
  padding: 10px 16px; border-radius: 12px;
  transform: rotate(-5deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* --- Hero-Strip --- */

.hero-strip {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 12px 56px; padding-block: 22px 28px;
  border-top: 1px solid var(--rule-inv);
}
.strip-item { display: flex; align-items: baseline; gap: 10px; }
.strip-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.strip-price { font-weight: 800; font-size: 1.9rem; color: var(--white); letter-spacing: -0.02em; }

/* ---------- Leistungen ---------- */

.service-list { list-style: none; max-width: 980px; }
.service-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(16px, 4vw, 56px);
  padding-block: clamp(1.4rem, 3vw, 2.1rem);
  border-top: 1px solid var(--rule);
}
.service-list li:last-child { border-bottom: 1px solid var(--rule); }
.service-list h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.service-list p { color: var(--slate); max-width: 58ch; }

/* ---------- Pakete ---------- */

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}
.split-intro { color: var(--slate); max-width: 40ch; justify-self: end; padding-bottom: 8px; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.pack-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  min-height: 380px;
  display: flex; flex-direction: column;
}
.tone-white { background: var(--white); }
.tone-navy {
  background: var(--navy-2); color: var(--white);
  box-shadow: 0 24px 48px rgba(10, 27, 46, 0.35);
}

.ribbon {
  position: absolute; top: 30px; right: -52px;
  transform: rotate(45deg);
  background: var(--lime); color: var(--navy);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 58px; white-space: nowrap;
}

.pack-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2.2rem;
}
.pack-id {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate);
}
.tone-navy .pack-id { color: rgba(255, 255, 255, 0.75); }

.pack-card h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.pack-card > p:not(.pack-pages):not(.pack-id) { font-size: 0.95rem; color: var(--slate); max-width: 34ch; }
.tone-navy > p { color: rgba(255, 255, 255, 0.78); }

.pack-pages {
  margin-top: auto; padding-top: 1.4rem;
  font-weight: 800; font-size: 0.95rem;
  border-top: 1px solid var(--rule);
}
.tone-navy .pack-pages { border-top-color: var(--rule-inv); }

.pack-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-top: 0.8rem;
}
.pack-label {
  display: block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 2px;
}
.tone-navy .pack-label { color: rgba(255, 255, 255, 0.65); }
.pack-price { font-weight: 800; font-size: 2.5rem; letter-spacing: -0.03em; }

.pack-arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--lime); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.pack-arrow:hover { transform: scale(1.08); background: #B4E62C; }

.pack-more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 1.1rem; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 0.92rem;
  color: var(--lime-dark);
}
.pack-more span { transition: transform 0.2s ease; }
.pack-more:hover span { transform: translateY(3px); }
.tone-navy .pack-more { color: var(--lime); }

.pack-note { font-size: 0.9rem; color: var(--slate); margin-top: 1.2rem; }
.pack-note.strong { font-weight: 700; color: var(--navy); }
.pack-card + .pack-note { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.pack-note.strong { margin-top: 0.5rem; }

/* ---------- Ablauf (dunkel) ---------- */

.dark { background: var(--navy); color: var(--white); }
.dark h2 { color: var(--white); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.steps li { border-top: 2px solid var(--rule-inv); padding-top: 1.2rem; }
.step-n {
  font-weight: 800; font-size: 1.05rem; color: var(--lime);
  letter-spacing: 0.02em;
  display: block; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.steps p { font-size: 0.93rem; color: rgba(255, 255, 255, 0.72); max-width: 30ch; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; }
.faq {
  background: var(--white); border-radius: 14px;
  border: 1px solid var(--rule);
  margin-bottom: 12px;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 14px; height: 14px; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--navy); border-radius: 2px;
}
.faq-x::before { width: 14px; height: 2px; }
.faq-x::after { width: 2px; height: 14px; }
.faq[open] .faq-x::after { display: none; }
.faq > p {
  padding: 0 22px 20px; color: var(--slate); max-width: 70ch;
}

/* ---------- Checkout ---------- */

.checkout-wrap { max-width: 880px; }

.checkout {
  background: var(--white); border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 20px 44px rgba(10, 27, 46, 0.08);
}

.form-row.two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-row.three {
  display: grid; grid-template-columns: 1.05fr 1.15fr 1fr; gap: 16px;
}

.field { margin-bottom: 1.4rem; }
.field label, .pkg-field legend {
  display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 8px;
}
.field label em, .pkg-field legend em { font-style: normal; color: var(--leaf); }
.field label .opt { font-weight: 500; font-size: 0.8rem; color: var(--slate); }

.field input, .field textarea {
  width: 100%; font: inherit; color: var(--navy);
  background: var(--sage-2);
  border: 1px solid var(--rule);
  border-radius: 10px; padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(10, 27, 46, 0.35); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(95, 156, 59, 0.18);
}

.pkg-field { border: 0; margin-bottom: 1.4rem; }
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.pkg {
  display: block; cursor: pointer;
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: 12px; padding: 16px 18px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-t { display: block; font-weight: 800; }
.pkg-s { display: block; font-size: 0.85rem; color: var(--slate); }
.pkg:hover { border-color: rgba(10, 27, 46, 0.4); }
.pkg:has(input:checked) {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}
.pkg input:focus-visible ~ .pkg-t {
  outline: 3px solid var(--lime-dark); outline-offset: 3px; border-radius: 4px;
}

/* --- Promo --- */

.promo-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px; align-items: end;
  margin-bottom: 1.4rem;
}
.promo-row .field { margin-bottom: 0; }
.promo-btn { padding: 13px 24px; white-space: nowrap; }
.promo-btn.applied { background: var(--navy); border-color: var(--navy); color: var(--white); }
.promo-msg {
  grid-column: 1 / -1;
  font-size: 0.88rem; font-weight: 600;
  margin: -0.4rem 0 0; min-height: 1.3em;
  color: var(--err);
}
.promo-msg.ok { color: var(--lime-dark); }

/* --- Rabattierte Preise: Alterpreis durchgestrichen, neuer Preis grün --- */

.pack-badge {
  display: inline-block; align-self: flex-start;
  margin-bottom: 7px;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--lime); color: var(--navy);
  padding: 5px 12px; border-radius: 999px;
  animation: badge-in 0.25s ease both;
}
@keyframes badge-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: none; }
}

.pkg-badge {
  display: inline-block; margin-left: 4px;
  font-size: 0.72rem; font-weight: 800;
  color: var(--lime-dark);
  background: #EAF7D2;
  padding: 3px 10px; border-radius: 999px;
}

.pkg-s del, .pack-price del {
  font-size: 0.72em;
  color: var(--slate);
  opacity: 0.75;
  margin-right: 3px;
}
.pkg-s .new { color: var(--lime-dark); font-weight: 800; }
.pack-price .new { color: var(--lime-dark); }
.tone-navy .pack-price .new { color: var(--lime); }
.tone-navy .pack-price del { color: rgba(255, 255, 255, 0.6); }

/* --- Summary --- */

.summary {
  background: var(--sage-2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 1.6rem;
}
.sum-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 0.93rem; color: var(--slate);
  padding-block: 4px;
}
.sum-row span:last-child { color: var(--navy); font-weight: 700; }
.sum-row.discount span { color: var(--lime-dark); }
.sum-row.total {
  margin-top: 8px; padding-top: 12px;
  border-top: 1px dashed rgba(10, 27, 46, 0.25);
}
.sum-row.total span { font-size: 1.3rem; font-weight: 800; color: var(--navy); }

/* --- Consent, Notes, Submit --- */

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.88rem; color: var(--slate);
  margin-bottom: 1.2rem; cursor: pointer;
}
.consent input { margin-top: 4px; width: auto; accent-color: var(--leaf); }
.consent a { color: var(--navy); }
.consent em { font-style: normal; color: var(--leaf); }

.form-note { font-size: 0.85rem; color: var(--slate); margin-bottom: 0.6rem; max-width: 70ch; }
.form-note.strong { font-weight: 700; color: var(--navy); }

.submit-btn { margin-top: 1.2rem; padding: 15px 36px; font-size: 1.02rem; }

.form-success {
  margin-top: 1.2rem;
  background: #EAF7D2; color: var(--navy);
  border-radius: 12px; padding: 16px 20px;
  font-size: 0.92rem; max-width: 70ch;
}
.form-success a { color: var(--lime-dark); font-weight: 700; }
.form-success p { margin: 8px 0 0; }
.form-success-hint { font-size: 0.82rem; color: var(--slate); margin-top: 8px !important; }
#copySummaryBtn { margin-top: 10px; }
#copySummaryBtn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.trust-row {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px 40px;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}
.trust-row li {
  font-weight: 700; font-size: 0.92rem;
  padding-left: 30px; position: relative;
}
.trust-row li::before {
  content: "✓"; position: absolute; left: 0; top: -2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--lime); color: var(--navy);
  font-size: 0.78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Modal (Paket-Details & Bestellungs-Details) ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(10, 27, 46, 0.6);
  display: grid; place-items: center;
  padding: 20px;
  overflow-y: auto;
}
.overlay[hidden] { display: none !important; }

.modal {
  position: relative;
  background: var(--white); color: var(--navy);
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  animation: modal-in 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.modal.order-modal { width: min(620px, 100%); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--white); color: var(--navy);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

body.locked { overflow: hidden; }

.modal-id { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.4rem; }
.modal h3 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.modal-sub { color: var(--slate); max-width: 44ch; margin-bottom: 1.2rem; }

.modal-list { list-style: none; margin-bottom: 1.4rem; }
.modal-list li { position: relative; padding-left: 30px; padding-block: 6px; font-size: 0.95rem; }
.modal-list li::before {
  content: "✓"; position: absolute; left: 0; top: 4px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--lime); color: var(--navy);
  font-size: 0.78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}

.modal-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-block: 14px; border-top: 1px solid var(--rule);
  margin-bottom: 1.3rem;
}
.modal-price span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.modal-price strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.modal-price del { font-size: 0.8em; font-weight: 700; color: var(--slate); opacity: 0.75; margin-right: 8px; }
.modal-price .new { color: var(--lime-dark); }
.modal-price em { font-style: normal; font-size: 0.8rem; color: var(--slate); }

.modal-cta { width: 100%; }

.modal-kv { display: flex; flex-direction: column; margin-bottom: 0.4rem; }
.modal-kv > div {
  display: flex; justify-content: space-between; gap: 20px;
  padding-block: 9px; border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.modal-kv div:last-child { border-bottom: 2px solid var(--lime); }
.modal-kv dt { color: var(--slate); flex: none; }
.modal-kv dd { font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.modal h4 { font-size: 1rem; font-weight: 800; margin: 1.4rem 0 0.5rem; }
.modal-msg {
  background: var(--sage-2); border-radius: 12px;
  padding: 14px 18px; color: var(--navy); font-size: 0.92rem;
  white-space: pre-wrap; margin: 0;
}

/* ---------- Über mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.55fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-facts { margin-top: 8px; display: flex; flex-direction: column; width: min(280px, 100%); }
.about-facts > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 10px; border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
}
.about-facts dt { color: var(--slate); font-weight: 600; }
.about-facts dd { font-weight: 800; }

.about-copy p { color: var(--slate); max-width: 58ch; margin-bottom: 1rem; }
.about-copy h2 { margin-bottom: 1.2rem; }

/* ---------- Arbeiten (Referenzen) ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.shot { margin: 0; }

.shot-browser {
  background: #16283C; border-radius: 14px; padding: 8px;
  box-shadow: 0 20px 40px rgba(10, 27, 46, 0.16);
}
.shot-bar {
  height: 20px; background: var(--white);
  border-radius: 8px 8px 0 0;
  display: flex; align-items: center; gap: 4px; padding-inline: 8px;
}
.shot-bar i { width: 6px; height: 6px; border-radius: 50%; }
.shot-bar i:nth-child(1) { background: #FF5F57; }
.shot-bar i:nth-child(2) { background: #FEBC2E; }
.shot-bar i:nth-child(3) { background: #28C840; }
.shot-url {
  flex: 1; margin-left: 8px; height: 7px; max-width: 42%;
  border-radius: 999px; background: #D9DEE4;
}

.shot-screen {
  position: relative; overflow: hidden;
  border-radius: 0 0 8px 8px;
  padding: 18px 20px 30px; min-height: 150px;
}
.tone-shot-white { background: var(--white); }
.tone-shot-lime { background: var(--lime); }
.tone-shot-navy { background: var(--navy); }

.shot-eyebrow {
  display: block; width: 46px; height: 6px; border-radius: 999px;
  background: var(--lime-dark); margin-bottom: 14px;
}
.shot-line {
  display: block; height: 9px; border-radius: 999px;
  margin-top: 10px; background: rgba(10, 27, 46, 0.2);
}
.w60 { width: 62%; }
.w40 { width: 42%; }
.shot-cta {
  display: block; width: 76px; height: 18px;
  border-radius: 999px; background: var(--lime-dark);
  margin-top: 14px;
}
.tone-shot-lime .shot-eyebrow,
.tone-shot-lime .shot-cta { background: var(--navy); }
.tone-shot-lime .shot-line { background: rgba(10, 27, 46, 0.32); }
.tone-shot-navy .shot-eyebrow,
.tone-shot-navy .shot-cta { background: var(--lime); }
.tone-shot-navy .shot-line { background: rgba(255, 255, 255, 0.24); }
.shot-blob {
  position: absolute; right: -34px; bottom: -44px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--lime);
  mix-blend-mode: normal; opacity: 0.9;
}
.tone-shot-lime .shot-blob { background: var(--navy); opacity: 0.14; }
.tone-shot-navy .shot-blob { background: var(--lime); opacity: 0.22; }

.shot figcaption { margin-top: 14px; font-size: 0.95rem; }
.shot figcaption strong { display: block; }
.shot figcaption span { display: block; font-size: 0.85rem; color: var(--slate); }
.shot figcaption .shot-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px;
}
.shot figcaption .shot-chip {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--slate); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.shot figcaption .shot-chip:last-child {
  border-color: rgba(63, 122, 34, 0.45);
  color: var(--lime-dark);
}

/* ---------- Kundinnen- & Kundenstimmen ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.quote {
  background: var(--white); color: var(--navy);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 36px rgba(10, 27, 46, 0.22);
}
.quote-stars {
  display: inline-flex;
  letter-spacing: 0.12em;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--lime-dark);
  text-shadow: 0 0 16px rgba(196, 245, 60, 0.5);
  margin-bottom: 14px;
}
.quote blockquote { font-weight: 600; font-size: 0.98rem; line-height: 1.55; }
.quote figcaption {
  display: flex; align-items: center; gap: 11px;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
}
.quote-avatar {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(196, 245, 60, 0.16);
  border: 1px solid rgba(63, 122, 34, 0.35);
  color: var(--lime-dark);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.03em;
}
.quote-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote-who strong { color: var(--navy); font-weight: 700; line-height: 1.2; }
.quote-who em {
  font-style: normal; font-weight: 500;
  color: var(--slate); font-size: 0.76rem; line-height: 1.3;
}
.quote-note {
  margin-top: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--navy); color: var(--white);
  padding-block: clamp(48px, 6vw, 72px) 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: 40px 72px;
  padding-bottom: 40px;
}

.foot-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.foot-mail {
  display: inline-block;
  color: var(--lime); font-weight: 700; text-decoration: none;
  font-size: 0.95rem;
}
.foot-mail:hover { color: var(--white); }

.foot-col { display: flex; flex-direction: column; gap: 12px; min-width: 160px; }
.foot-col a, .link-btn {
  color: rgba(255, 255, 255, 0.8); text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font); text-align: left;
}
.foot-col a:hover, .link-btn:hover { color: var(--lime); }

.foot-legal {
  border-top: 1px solid var(--rule-inv);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
}
.foot-legal p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* --- Social-Icons im Footer --- */

.foot-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.foot-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--rule-inv);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.foot-social a svg { display: block; width: 24px; height: 24px; }
.foot-social a:hover,
.foot-social a:focus-visible {
  color: var(--lime);
  border-color: var(--lime);
  background: rgba(196, 245, 60, 0.08);
  box-shadow: 0 0 0 3px rgba(196, 245, 60, 0.15), 0 6px 18px rgba(196, 245, 60, 0.14);
  transform: translateY(-2px);
}
.foot-social a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .foot-social a { transition: color 0.2s ease, border-color 0.2s ease; }
  .foot-social a:hover { transform: none; }
}

.site-foot.compact { padding-block: 32px 24px; }
.site-foot.compact .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; align-items: center; }
.site-foot.compact .foot-legal { border-top: 0; padding-top: 0; width: auto; }
.site-foot.compact .foot-legal p { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.site-foot.compact .foot-legal a { color: rgba(255, 255, 255, 0.8); }
.site-foot.compact .foot-legal a:hover { color: var(--lime); }

/* ---------- Cookie-Banner ---------- */

.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px;
  z-index: 90;
  width: min(480px, calc(100% - 48px));
  margin-left: auto;
  background: var(--navy-2); color: var(--white);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.cookie h2 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 16px; }
.cookie a { color: var(--lime); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.9rem; }

/* ---------- Rechtliche Seiten ---------- */

.legal-main { padding-block: clamp(48px, 7vw, 80px); }
.legal-card {
  background: var(--white); border-radius: 22px;
  padding: clamp(28px, 5vw, 56px);
  max-width: 820px;
  box-shadow: 0 20px 44px rgba(10, 27, 46, 0.08);
}
.legal-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.4rem; }
.legal-meta { font-size: 0.85rem; color: var(--slate); margin-bottom: 2rem; }
.legal-card h2 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.legal-card p, .legal-card li { color: var(--slate); max-width: 74ch; margin-bottom: 0.7rem; }
.legal-card ul, .legal-card ol { padding-left: 1.4rem; margin-bottom: 0.8rem; }
.legal-card a { color: var(--lime-dark); font-weight: 600; }
.legal-card strong { color: var(--navy); }
.legal-card address { font-style: normal; margin-bottom: 1rem; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock { min-height: 320px; max-width: 540px; }
  .split-head { grid-template-columns: 1fr; align-items: start; }
  .split-intro { justify-self: start; }
}

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
  .pack-card { min-height: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list li { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .pkg-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .works-grid, .quote-grid { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr auto; }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--rule-inv);
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-top: 1px solid var(--rule-inv); }
  .site-nav a:first-child { border-top: 0; }
  .site-nav .nav-cta { text-align: center; margin-top: 10px; }
  .head-row { position: relative; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .hero-strip { gap: 10px 28px; }
  .strip-price { font-size: 1.5rem; }
  .mock-tag { display: none; }
  .steps { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; gap: 12px; }
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .mock { min-height: 280px; }
  .mock-laptop { width: 94%; }
  .lap-hero { min-height: 140px; }
  .lap-head { font-size: 1.15rem; }
  .lap-lower { padding: 12px 16px 14px; }
  .lap-lower span { height: 8px; }
  .mock-phone { width: 116px; }
  .phone-shell { height: 224px; }
  .phone-hero { height: 172px; }
  .phone-head { font-size: 0.85rem; }
  .mini-logo { font-size: 0.95rem; }
}

/* ---------- Admin-Bereich ---------- */

.admin {
  background: var(--navy-3);
  border-top: 1px solid var(--rule-inv);
  color: var(--white);
  padding-block: 20px 34px;
}

.admin-inner { display: flex; flex-direction: column; gap: 16px; }

.admin-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
}
.admin-hint { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

.admin-login {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: var(--navy-2); border-radius: 14px; padding: 18px 20px;
}
.admin-login label { font-weight: 700; font-size: 0.92rem; }
.admin-login input {
  font: inherit; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv);
  border-radius: 8px; padding: 10px 14px; width: 200px;
}
.admin-login input:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(196, 245, 60, 0.2);
}
.admin-msg { font-size: 0.85rem; color: #E8837B; min-height: 1.2em; margin: 0; }

.admin-panel {
  background: var(--navy-2);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
}

/* --- Tabs (2 Kategorien) --- */

.admin-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule-inv);
  padding-bottom: 16px;
}
.tab-btn {
  font-family: var(--font); font-weight: 700; font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid transparent;
  border-radius: 999px; padding: 9px 20px;
  cursor: pointer;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active {
  background: var(--lime); color: var(--navy);
  border-color: var(--lime);
}

.admin-pane[data-pane="codes"] {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px 48px;
}
.admin-pane[hidden] { display: none !important; }

.admin-table .sub {
  display: block; font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.admin-table td.empty {
  text-align: center; color: rgba(255, 255, 255, 0.55);
  padding-block: 26px;
}

.admin-panel h3 {
  font-size: 1rem; font-weight: 800;
  color: var(--lime);
  margin-bottom: 14px;
}

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
  text-align: left; font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 10px; border-bottom: 1px solid var(--rule-inv);
}
.admin-table td {
  padding: 12px 10px; border-bottom: 1px solid var(--rule-inv);
  vertical-align: middle;
}
.admin-table strong { color: var(--lime); letter-spacing: 0.02em; }
.admin-table .pill {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 999px;
}
.admin-table .pill.on { background: var(--lime); color: var(--navy); }
.admin-table .pill.off { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.admin-act { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-table.orders tbody tr { cursor: pointer; }
.admin-table.orders tbody tr:hover td { background: rgba(255, 255, 255, 0.05); }

.btn.sm { padding: 9px 18px; font-size: 0.85rem; }
.admin .btn.ghost { border-color: var(--rule-inv); }
.admin .btn.ghost:hover { border-color: var(--lime); color: var(--lime); }

.admin-add {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 16px;
}
.admin-add input {
  font: inherit; font-size: 0.9rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv);
  border-radius: 8px; padding: 10px 14px;
}
.admin-add input:first-child { flex: 1 1 220px; }
.admin-add input:nth-child(2) { width: 90px; }
.admin-add select, .admin-table .bind-sel {
  font: inherit; font-size: 0.85rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.admin-add select { padding: 10px 12px; min-width: 150px; }
.admin-add option, .bind-sel option { background: var(--navy-2); color: var(--white); }
.admin-add select:focus, .bind-sel:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(196, 245, 60, 0.2);
}
.admin-add input:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(196, 245, 60, 0.2);
}
.admin-panel-msg { font-size: 0.85rem; margin-top: 14px; min-height: 1.2em; color: #E8837B; }
.admin-panel-msg.ok { color: var(--lime); }

/* --- Besuchs-Chat (nach Formular-Erfolg) --- */

.visit-chat {
  margin-top: 18px;
  background: #FFFFFF;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  max-width: 70ch;
  box-shadow: 0 14px 30px rgba(10, 27, 46, 0.1);
}
.visit-chat-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.visit-chat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 10px rgba(196, 245, 60, 0.8);
  flex: none;
}
.visit-chat-who { display: flex; flex-direction: column; min-width: 0; }
.visit-chat-who strong { font-size: 0.95rem; color: var(--navy); }
.visit-chat-ticket { font-size: 0.75rem; font-weight: 700; color: var(--slate); letter-spacing: 0.04em; }
.visit-chat-close {
  margin-left: auto; cursor: pointer;
  background: transparent; border: 1px solid var(--rule); border-radius: 8px;
  color: var(--navy); padding: 4px 10px; font: inherit; font-weight: 700;
}
.visit-chat-close:hover { border-color: var(--navy); }
.visit-chat-body {
  max-height: 260px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 4px;
}
.visit-chat-form { display: flex; gap: 8px; margin-top: 4px; }
.visit-chat-form input {
  flex: 1; font: inherit; font-size: 0.92rem;
  padding: 10px 14px; border: 1px solid var(--rule); border-radius: 10px;
  color: var(--navy); background: var(--white);
}
.visit-chat-form input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.visit-chat-note {
  margin-top: 10px; font-size: 0.78rem; color: var(--slate);
  max-width: 60ch;
}

/* Chat-Bubbles (geteilt Besucher-Chat + Admin-Thread) */
.chat-bubble {
  max-width: 85%;
  padding: 9px 13px; border-radius: 14px;
  font-size: 0.9rem; line-height: 1.45;
  overflow-wrap: break-word;
}
.chat-bubble time { display: block; font-size: 0.66rem; opacity: 0.65; margin-top: 3px; letter-spacing: 0.02em; }
.bubble-visitor { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--navy); color: var(--white); }
.bubble-admin { align-self: flex-start; border-bottom-left-radius: 4px; background: #EAF7D2; color: var(--navy); }
.bubble-auto {
  align-self: flex-start; border-bottom-left-radius: 4px;
  background: transparent; color: var(--slate);
  border: 1px dashed var(--rule);
  font-size: 0.84rem;
}

/* Schwebender Chat-Button */
.chat-fab {
  position: fixed; right: 18px; bottom: 18px;
  z-index: 60;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--navy); color: var(--white);
  font-size: 1.35rem; line-height: 1;
  box-shadow: 0 10px 24px rgba(10, 27, 46, 0.35);
  display: inline-flex; align-items: center; justify-content: center;
}
.chat-fab:hover { background: var(--navy-2); }
.chat-fab[hidden] { display: none; }
.chat-fab-dot {
  position: absolute; top: 4px; right: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--navy);
}

/* --- Admin: Chats-Tab --- */

.chat-admin-grid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; }
.chat-admin-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 420px; overflow-y: auto;
}
.chat-row-empty { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; }
.chat-row {
  display: block; width: 100%; text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-inv);
  border-radius: 12px; padding: 10px 12px;
  color: var(--white); font: inherit; cursor: pointer;
  position: relative;
}
.chat-row:hover { border-color: var(--lime); }
.chat-row.active, .chat-row.active:hover { border-color: var(--lime); background: rgba(196, 245, 60, 0.1); }
.chat-row-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.chat-row-top strong { color: var(--lime); }
.chat-row-time { font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.chat-row-ticket { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.03em; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }
.chat-row-preview {
  display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 4px; padding-right: 40px;
}
.chat-unread-pill {
  position: absolute; right: 10px; bottom: 10px;
  background: var(--lime); color: var(--navy);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: 999px;
}
.chat-row.unread { box-shadow: inset 3px 0 0 var(--lime); }

.chat-admin-thread {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--rule-inv);
  border-radius: 12px; padding: 14px;
  display: flex; flex-direction: column; min-height: 320px;
}
.chat-thread-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-inv); }
.chat-thread-head strong { color: var(--lime); }
.chat-thread-msgs {
  flex: 1; min-height: 180px; max-height: 380px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 2px;
}
.admin .bubble-visitor { background: var(--lime); color: var(--navy); }
.admin .bubble-admin { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.chat-thread-form { display: flex; gap: 8px; padding-top: 10px; }
.chat-thread-form input {
  flex: 1; font: inherit; font-size: 0.9rem;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv); color: var(--white);
}
.chat-thread-form input:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.chat-thread-form .btn { align-self: stretch; }
#chatThreadDelete { margin-top: 8px; }

@media (max-width: 820px) {
  .chat-admin-grid { grid-template-columns: 1fr; }
  .chat-admin-list { max-height: 220px; }
}

/* --- Banner-Kategorie im Admin --- */

.banner-add input { flex: 1 1 200px; width: auto; }
.banner-colors { display: inline-flex; gap: 10px; align-items: center; }
.color-field {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}
.color-field input[type="color"] {
  width: 42px; height: 34px; padding: 2px;
  border: 1px solid var(--rule-inv); border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.color-field input[type="color"]:hover { border-color: var(--lime); }
.checkbox-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: var(--white); cursor: pointer;
}
.color-dot {
  display: inline-block; width: 22px; height: 22px;
  border-radius: 6px; border: 2px solid rgba(255, 255, 255, 0.3);
  vertical-align: middle; margin-right: 5px;
}
.cell-swatches { white-space: nowrap; }
.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;
}

/* --- Bewertungen / FAQ / Sale / Einstellungen im Admin --- */

.admin-add textarea {
  flex: 1 1 100%;
  font: inherit; font-size: 0.9rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv); border-radius: 10px;
  padding: 10px 12px; resize: vertical; min-height: 74px;
}
.admin-add textarea:focus { border-color: var(--lime); outline: none; }
.admin-add select { padding: 7px 10px; min-width: 108px; }
.quote-sw { color: var(--lime); letter-spacing: 0.08em; }
.faq-add textarea { margin-top: 2px; }

.sale-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.sale-row label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}
.sale-row input {
  font: inherit; font-size: 0.92rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv); border-radius: 9px;
  padding: 9px 12px;
}
.sale-row input[type="color"] { padding: 2px; }
.sale-row input:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--lime); }
.admin-sale-form { margin: 14px 0 6px; }
.admin-settings-form { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; max-width: 460px; }
.admin-settings-form label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}
.admin-settings-form input {
  font: inherit; font-size: 0.92rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv); border-radius: 10px;
  padding: 10px 12px;
}
.admin-settings-form input:focus { outline: 2px solid var(--lime); outline-offset: 1px; border-color: var(--lime); }
.tr-sub { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.admin-table code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px; border-radius: 6px; font-size: 0.78rem;
}

.admin-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.admin-info { border-left: 1px solid var(--rule-inv); padding-left: clamp(18px, 3vw, 40px); }
.admin-kv { display: flex; flex-direction: column; }
.admin-kv > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding-block: 9px; border-bottom: 1px solid var(--rule-inv);
  font-size: 0.9rem;
}
.admin-kv dt { color: rgba(255, 255, 255, 0.6); }
.admin-kv dd { font-weight: 700; color: var(--white); text-align: right; }
.admin-kv dd a { color: var(--lime); text-decoration: none; }
.admin-kv dd a:hover { color: var(--white); }
.admin-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); margin-top: 16px; }

/* --- Allgemeiner Rabatt (ohne Code) --- */

.admin-global {
  border: 1px solid var(--rule-inv);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 18px;
}
.admin-global-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-global-head h4 { font-size: 0.95rem; font-weight: 800; color: var(--white); }
.admin-global .pill { display: inline-block; font-size: 0.72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.admin-global .pill.on { background: var(--lime); color: var(--navy); }
.admin-global .pill.off { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.admin-global-hint { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); margin-top: 6px; }
.admin-global-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.admin-global-form input, .admin-global-form select, .admin-price-form input {
  font: inherit; font-size: 0.9rem; color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rule-inv);
  border-radius: 8px; padding: 9px 12px;
}
.admin-global-form input { width: 90px; }
.admin-global-form select { min-width: 140px; }
.admin-global-form option, .admin-price-form option { background: var(--navy-2); color: var(--white); }
.admin-global-form input:focus, .admin-global-form select:focus, .admin-price-form input:focus {
  outline: none; border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(196, 245, 60, 0.2);
}
.admin-price-form {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px;
}
.admin-price-form label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; color: rgba(255, 255, 255, 0.65);
}
.admin-price-form input { width: 92px; }
.admin-global-divider {
  margin-top: 14px; border-top: 1px solid var(--rule-inv); padding-top: 14px;
}
.admin-global-state { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin-top: 10px; }

.admin-info h3 + .admin-info-note,
.admin-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); margin-top: 10px; }

.foot-legal a.foot-legal-mail {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.foot-legal a.foot-legal-mail:hover { color: var(--lime); }

@media (max-width: 860px) {
  .admin-pane[data-pane="codes"] { grid-template-columns: 1fr; }
  .admin-info { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-inv); padding-top: 20px; }
  .admin-table.orders { font-size: 0.82rem; }
  .admin-table.orders td, .admin-table.orders th { padding-inline: 6px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .mock, .modal { animation: none; }
  .pack-badge { animation: none; }
  .btn, .pack-arrow, .pack-more span, .pkg { transition: none; }
}
