/* ============================================================
   SYNOVA AGB — Editorial Legal Document v1.6
   ============================================================ */

.agb-wrap, .agb-wrap * { box-sizing: border-box; }

.agb-wrap {
  --bg:      #0a0805;
  --bg-2:    #14100a;
  --bg-3:    #1c1610;
  --fg:      #f3e6d2;
  --fg-mute: rgba(243,230,210,0.62);
  --fg-soft: rgba(243,230,210,0.82);
  --gold:    #d4af7f;
  --gold-2:  #b8966e;
  --gold-d:  #7a5230;
  --line:    rgba(212,175,127,0.18);
  --line-2:  rgba(243,230,210,0.08);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  position: relative;
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  /* WICHTIG: clip statt hidden, sonst funktioniert position:sticky in Descendants nicht */
  overflow-x: clip;
  isolation: isolate;
}

.agb-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.agb-wrap > *:not(.agb-grain) { position: relative; z-index: 1; }

.agb-italic { font-style: italic; color: var(--gold); }

.agb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.agb-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================================
   READING-PROGRESS BAR
   ============================================================ */
.agb-readbar {
  position: sticky;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--line-2);
  z-index: 100;
}
.agb-readbar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 12px rgba(212,175,127,0.6);
  transition: width 0.12s linear;
}

/* ============================================================
   HERO
   ============================================================ */
.agb-hero {
  position: relative;
  padding: 9rem 6rem 6rem;
  max-width: 1480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.agb-hero::before {
  content: '';
  position: absolute;
  top: 8rem; left: 0;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.agb-hero-side {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(243,230,210,0.35);
  white-space: nowrap;
  pointer-events: none;
}
.agb-hero > .agb-eyebrow { margin-bottom: 2.5rem; }
.agb-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 2rem;
  color: var(--fg);
  max-width: 1000px;
}
.agb-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--fg-mute);
  max-width: 640px;
  margin: 0 0 4rem;
}
.agb-hero-meta {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.agb-hero-meta > div { position: relative; padding: 0 1.5rem; }
.agb-hero-meta > div:first-child { padding-left: 0; }
.agb-hero-meta > div:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--line-2);
}
.agb-hero-meta dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.agb-hero-meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--fg);
}
.agb-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 4rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(243,230,210,0.45);
  cursor: pointer;
}
.agb-hero-scroll svg {
  width: 14px; height: 14px;
  color: var(--gold);
  animation: agb-bounce 2.2s ease-in-out infinite;
}
@keyframes agb-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* ============================================================
   MAIN — Split layout
   ============================================================ */
.agb-main {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4.5rem;
  max-width: 1480px;
  margin: 0 auto;
  padding: 5rem 6rem 6rem;
  align-items: start;
}

/* ============================================================
   TOC mit RAIL + CURSOR — Position via JS (an document.body verschoben beim Pinnen)
   ============================================================ */
.agb-toc {
  /* CSS-Variablen redundant hier definiert, falls TOC an document.body verschoben wird
     und damit nicht mehr Descendant von .agb-wrap ist. */
  --bg:      #0a0805;
  --bg-2:    #14100a;
  --fg:      #f3e6d2;
  --fg-mute: rgba(243,230,210,0.62);
  --fg-soft: rgba(243,230,210,0.82);
  --gold:    #d4af7f;
  --gold-2:  #b8966e;
  --line:    rgba(212,175,127,0.18);
  --line-2:  rgba(243,230,210,0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  position: relative;
  padding-left: 36px;
  align-self: start;
  z-index: 5;
  color: var(--fg);
  font-family: var(--sans);
  box-sizing: border-box;
}
.agb-toc.is-pinned {
  z-index: 50;
  /* Backdrop sodass Text über Content lesbar bleibt */
  background: rgba(10, 8, 5, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 1.5rem 1.5rem 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
}
.agb-toc.is-pinned .agb-toc-head { padding-top: 0; margin-top: 0; }
.agb-main { position: relative; }

.agb-toc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.agb-toc-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.agb-toc-count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
}

/* Vertikales Gold-Rail mit wanderndem Cursor */
.agb-toc-rail {
  position: absolute;
  left: 12px;
  top: 4rem;
  bottom: 4rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), var(--line), var(--line-2));
}
.agb-toc-cursor {
  position: absolute;
  left: -4px;
  top: var(--pos, 0px);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(10,8,5,1), 0 0 18px var(--gold);
  transition: top 0.45s cubic-bezier(.4,.6,.2,1);
  pointer-events: none;
}
.agb-toc-cursor::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: agb-pulse 2.4s ease-in-out infinite;
}
@keyframes agb-pulse {
  0%, 100% { transform: scale(0.7); opacity: 0; }
  50%      { transform: scale(1.2); opacity: 0.55; }
}

.agb-toc-list {
  list-style: none;
  margin: 0; padding: 0;
}
.agb-toc-list li { margin: 0; position: relative; }

.agb-toc-link {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.85rem;
  padding: 0.7rem 0.5rem 0.7rem 0;
  color: rgba(243,230,210,0.42);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: color 0.35s ease, padding-left 0.35s ease;
}
/* Tick auf dem Rail */
.agb-toc-tick {
  position: absolute;
  left: -29px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 1px;
  background: rgba(212,175,127,0.3);
  transition: width 0.35s ease, background 0.35s ease;
}
.agb-toc-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(212,175,127,0.55);
  padding-top: 0.18em;
  transition: color 0.3s ease;
}
.agb-toc-name {
  font-family: var(--sans);
  font-weight: 500;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.agb-toc-link:hover {
  color: var(--fg-soft);
  padding-left: 0.4rem;
}
.agb-toc-link:hover .agb-toc-tick {
  width: 14px;
  background: var(--gold);
}
.agb-toc-link.is-active {
  color: var(--gold);
}
.agb-toc-link.is-active .agb-toc-tick {
  width: 20px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  height: 2px;
}
.agb-toc-link.is-active .agb-toc-num {
  color: var(--gold);
}
.agb-toc-link.is-active .agb-toc-name {
  font-weight: 600;
}
.agb-toc-link.is-past .agb-toc-tick {
  background: rgba(212,175,127,0.5);
}

.agb-toc-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.6rem 0;
  background: transparent;
  border: 0;
  color: rgba(243,230,210,0.55);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}
.agb-toc-top svg { width: 14px; height: 14px; color: var(--gold); }
.agb-toc-top:hover { color: var(--gold); }

/* ============================================================
   CONTENT
   ============================================================ */
.agb-content {
  max-width: 780px;
  position: relative;
}

/* Dekorativer Trenner zwischen Kapiteln */
.agb-sec-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 4rem 0 0;
  padding-bottom: 1rem;
}
.agb-sec-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.agb-sec-divider-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.75;
}
.agb-sec-divider-mark svg { width: 12px; height: 12px; }

/* Kapitel */
.agb-sec {
  position: relative;
  padding: 4rem 0 3rem;
  scroll-margin-top: 4rem;
}
.agb-sec:first-child { padding-top: 0; }

.agb-sec-opener {
  position: relative;
  margin-bottom: 3rem;
}
.agb-sec-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.agb-sec-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(212,175,127,0.05);
}
.agb-sec-chip--alt {
  color: var(--fg-mute);
  border-color: var(--line-2);
  background: transparent;
}

.agb-sec-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.25rem;
  align-items: baseline;
}
.agb-sec-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--gold);
  user-select: none;
  flex-shrink: 0;
}
.agb-sec-titleblock { padding-top: 0.6rem; }
.agb-sec-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--fg);
}
.agb-sec-lead {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  max-width: 540px;
}

/* Klauseln */
.agb-sec-clauses {
  list-style: none;
  margin: 0;
  padding: 0;
}
.agb-clause {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.75rem;
  padding: 1.5rem 0;
  align-items: start;
  border-bottom: 1px solid var(--line-2);
  transition: padding-left 0.35s cubic-bezier(.2,.8,.2,1), background 0.35s ease;
}
.agb-clause:first-child { border-top: 1px solid var(--line-2); }
.agb-clause::before {
  content: '';
  position: absolute;
  left: -0.4rem;
  top: 0; bottom: 0;
  width: 0;
  background: var(--gold);
  opacity: 0;
  transition: width 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
}
.agb-clause:hover { padding-left: 1rem; }
.agb-clause:hover::before { width: 2px; opacity: 1; }

.agb-clause-no {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.02em;
  padding-top: 0.2em;
  user-select: none;
}
.agb-clause-body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--fg-soft);
}

/* CALLOUT — wichtige Klauseln */
.agb-clause--callout {
  padding: 2rem 2rem 2rem 2.25rem;
  margin: 1.25rem 0;
  background: linear-gradient(135deg, rgba(212,175,127,0.08), rgba(122,82,48,0.03));
  border: 1px solid rgba(212,175,127,0.35);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  position: relative;
}
.agb-clause--callout:hover {
  padding-left: 2.25rem;
  background: linear-gradient(135deg, rgba(212,175,127,0.1), rgba(122,82,48,0.04));
}
.agb-clause--callout::before { display: none; }
.agb-clause--callout .agb-clause-no { color: var(--gold); font-size: 1.7rem; }
.agb-clause--callout .agb-clause-body { color: var(--fg); font-weight: 400; }

.agb-clause-badge {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.agb-clause-badge svg { width: 11px; height: 11px; }

.agb-sec-empty {
  padding: 2rem;
  background: rgba(243,230,210,0.04);
  border: 1px dashed var(--line);
  border-radius: 6px;
  color: var(--fg-mute);
  font-size: 0.92rem;
}
.agb-sec-empty code {
  background: rgba(212,175,127,0.1);
  color: var(--gold);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.85em;
}

/* ============================================================
   FLOATING CHAPTER INDICATOR (bottom-right)
   ============================================================ */
.agb-floater {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.8rem 1.2rem;
  background: rgba(20,16,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  max-width: calc(100vw - 4rem);
}
.agb-floater.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.agb-floater-label { color: rgba(243,230,210,0.4); }
.agb-floater-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.agb-floater-sep { color: rgba(243,230,210,0.3); }
.agb-floater-total { color: rgba(243,230,210,0.55); font-size: 0.8rem; }
.agb-floater-name {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  color: var(--fg);
  padding-left: 0.5rem;
  margin-left: 0.3rem;
  border-left: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.agb-foot {
  position: relative;
  padding: 6rem 0 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 5rem;
}
.agb-foot-mark {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 3rem;
  box-shadow: 0 0 14px rgba(212,175,127,0.6);
}
.agb-foot-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.agb-foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-bottom: 3rem;
}
.agb-foot-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212,175,127,0.4);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.agb-foot-mail svg {
  width: 16px; height: 16px;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.agb-foot-mail:hover {
  color: var(--fg);
  border-color: var(--fg);
}
.agb-foot-mail:hover svg { transform: translate(3px, -3px); }
.agb-foot-print {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  background: transparent;
  color: var(--fg-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.agb-foot-print svg { width: 16px; height: 16px; }
.agb-foot-print:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(212,175,127,0.06);
}
.agb-foot-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,230,210,0.4);
}
.agb-foot-sep { opacity: 0.55; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .agb-hero { padding: 7rem 3rem 5rem; }
  .agb-hero-side { right: 0.5rem; }
  .agb-hero-meta { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 0; }
  .agb-hero-meta > div:nth-child(4)::before { display: none; }
  .agb-hero-meta > div:nth-child(4),
  .agb-hero-meta > div:nth-child(5),
  .agb-hero-meta > div:nth-child(6) { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
  .agb-hero-meta > div:nth-child(4) { padding-left: 0; }

  .agb-main { grid-template-columns: 240px 1fr; gap: 3rem; padding: 4rem 3rem 5rem; }
  .agb-sec-headline { gap: 1.75rem; }
  .agb-sec-no { font-size: clamp(3.5rem, 7vw, 5.5rem); }
}

@media (max-width: 820px) {
  .agb-hero { padding: 5rem 1.75rem 4rem; }
  .agb-hero-title { font-size: clamp(2.2rem, 9vw, 3.6rem); }
  .agb-hero-side { display: none; }
  .agb-hero-meta { grid-template-columns: repeat(2, 1fr); }
  .agb-hero-meta > div:nth-child(3)::before,
  .agb-hero-meta > div:nth-child(5)::before { display: none; }
  .agb-hero-meta > div:nth-child(n+3) { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
  .agb-hero-meta > div:nth-child(odd) { padding-left: 0; }

  /* Mobile TOC: kompakt, statisch */
  .agb-main {
    grid-template-columns: 1fr;
    padding: 3rem 1.75rem 4rem;
    gap: 2rem;
  }
  .agb-toc {
    position: static;
    max-height: none;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    background: var(--bg-2);
    border: 1px solid var(--line);
  }
  .agb-toc-rail, .agb-toc-tick { display: none; }
  .agb-toc-link {
    grid-template-columns: 28px 1fr;
    padding: 0.55rem 0.5rem;
    font-size: 0.85rem;
  }
  .agb-toc-list {
    max-height: 280px;
    overflow-y: auto;
  }
  .agb-toc-top { display: none; }

  .agb-sec { padding: 3rem 0 2rem; }
  .agb-sec-divider { margin-top: 2.5rem; }
  .agb-sec-opener { margin-bottom: 2rem; }
  .agb-sec-headline { grid-template-columns: 1fr; gap: 0.75rem; }
  .agb-sec-no { font-size: 3.4rem; line-height: 0.85; }
  .agb-sec-titleblock { padding-top: 0; }
  .agb-sec-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .agb-sec-lead { font-size: 0.9rem; }
  .agb-clause { grid-template-columns: 48px 1fr; gap: 1.1rem; padding: 1.15rem 0; }
  .agb-clause:hover { padding-left: 0.5rem; }
  .agb-clause-no { font-size: 1.2rem; padding-top: 0.25em; }
  .agb-clause-body { font-size: 0.93rem; line-height: 1.7; }
  .agb-clause--callout { padding: 1.5rem 1.25rem 1.5rem 1.5rem; margin: 1rem 0; }
  .agb-clause--callout:hover { padding-left: 1.5rem; }
  .agb-clause-badge { right: 0.85rem; top: -8px; font-size: 0.55rem; }
  .agb-sec-chip { font-size: 0.58rem; padding: 0.25rem 0.55rem; }

  .agb-floater {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.6rem;
  }
  .agb-floater-name { display: none; }

  .agb-foot { padding: 4rem 0 2rem; }
  .agb-foot-text { font-size: 1rem; }
  .agb-foot-mail { font-size: 1.05rem; }
  .agb-foot-meta { font-size: 0.62rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .agb-wrap {
    --bg: white;
    --fg: black;
    --fg-mute: #333;
    --fg-soft: #222;
    --gold: #7a5230;
    --line: #ccc;
    --line-2: #eee;
    background: white !important;
    color: black !important;
  }
  .agb-grain, .agb-readbar, .agb-hero-side, .agb-hero-scroll,
  .agb-toc, .agb-foot-print, .agb-foot-mark, .agb-floater,
  .agb-clause-badge { display: none !important; }
  .agb-wrap > section, .agb-wrap > header, .agb-wrap > div { color: black; }
  .agb-main { grid-template-columns: 1fr; padding: 1rem; max-width: 100%; }
  .agb-hero { padding: 1rem; border-bottom: 2px solid #000; }
  .agb-sec { page-break-inside: avoid; padding: 2rem 0; }
  .agb-italic { color: #7a5230; }
  .agb-eyebrow, .agb-hero-meta dt, .agb-sec-chip, .agb-sec-no, .agb-clause-no { color: #7a5230; }
  .agb-sec-chip { border-color: #ccc; }
  .agb-content { max-width: 100%; }
  .agb-foot-mail { color: #7a5230; border-bottom-color: #7a5230; }
  .agb-clause::before { display: none !important; }
  .agb-clause:hover { padding-left: 0 !important; }
  .agb-clause--callout {
    background: #f8f3eb !important;
    border-color: #7a5230 !important;
    border-left: 3px solid #7a5230 !important;
  }
  a { color: #7a5230 !important; text-decoration: underline; }
}

/* Editor */
.elementor-editor-active .agb-wrap { width: 100% !important; margin-left: 0 !important; }
.elementor-editor-active .agb-toc { position: static; max-height: none; }
.elementor-editor-active .agb-floater { display: none; }
