/* ============================================================
   LocalLoop — Rechtliche Seiten (AGB & Datenschutz)
   ------------------------------------------------------------
   Gemeinsames Stylesheet für /agb/ und /datenschutz/.
   Nutzt dieselben Design-Tokens wie about.css / contact.css,
   damit die Seiten sich nahtlos in den Neubau einfügen.
   ============================================================ */

:root {
  --ll-bg: rgb(232, 232, 232);
  --ll-dark: rgb(23, 23, 23);
  --ll-light: rgb(245, 245, 245);
  --ll-muted: rgba(23, 23, 23, 0.6);
  --ll-faint: rgba(23, 23, 23, 0.34);
  --ll-line: rgba(23, 23, 23, 0.14);
  --ll-pad: clamp(20px, 5vw, 52px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ll-bg);
  color: var(--ll-dark);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lg-wrap { width: 100%; }

/* Zentrierte Inhaltsspalte (kein grauer Rahmen, da bg einfarbig) */
.lg-in {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--ll-pad);
}

/* --- Hero / Kopf --- */
.lg-hero {
  padding: clamp(150px, 20vh, 210px) 0 clamp(36px, 6vh, 64px);
  border-bottom: 1px solid var(--ll-line);
}

.lg-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ll-faint);
}
.lg-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 160px;
  background: var(--ll-line);
}

.lg-h1 {
  margin: 0;
  font-family: "Sora", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 6.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ll-dark);
  /* Lange deutsche Komposita (z. B. GESCHÄFTSBEDINGUNGEN) sauber
     umbrechen statt über den Rand hinausragen zu lassen. */
  overflow-wrap: break-word;
  hyphens: auto;
}

.lg-meta {
  margin: 22px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--ll-muted);
}

.lg-stand {
  margin: 10px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ll-faint);
}

/* --- Dokument --- */
.lg-doc {
  padding: clamp(40px, 7vh, 72px) 0 clamp(56px, 9vh, 104px);
}

/* Einleitender Hinweis-Kasten */
.lg-note {
  background: var(--ll-light);
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
  margin: 0 0 clamp(32px, 5vh, 52px);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ll-dark);
}

.lg-lead {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--ll-dark);
  margin: 0 0 clamp(28px, 4vh, 44px);
}

/* Abschnitte */
.lg-sec {
  padding-top: clamp(30px, 4.5vh, 48px);
  margin-top: clamp(30px, 4.5vh, 48px);
  border-top: 1px solid var(--ll-line);
}
.lg-sec:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.lg-h2 {
  margin: 0 0 18px;
  font-family: "Sora", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ll-dark);
}

.lg-h3 {
  margin: 30px 0 12px;
  font-family: "Sora", "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ll-dark);
}

.lg-doc p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: rgba(23, 23, 23, 0.82);
}

.lg-doc ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.lg-doc li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: rgba(23, 23, 23, 0.82);
}
.lg-doc li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ll-dark);
  opacity: 0.55;
}

.lg-doc a {
  color: var(--ll-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--ll-faint);
  transition: text-decoration-color 0.15s ease;
}
.lg-doc a:hover { text-decoration-color: var(--ll-dark); }

.lg-doc strong { font-weight: 700; }

/* Adressblock (z. B. Verantwortliche Stelle) */
.lg-address {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(23, 23, 23, 0.82);
}
