/* ------------------------------------------------------------------ *
 * Allgemeine Geschäftsbedingungen — Layout & Typografie
 * Alle Regeln sind auf .agb-doc gescoped, damit sie sich nicht mit dem
 * globalen Bootstrap-/Landingpage-CSS überschneiden.
 * ------------------------------------------------------------------ */
.agb-doc {
  --agb-ink: #2c3e50;
  --agb-body: #444444;
  --agb-muted: #7b8794;
  --agb-accent: #7ecadd;
  --agb-accent-dark: #4aa8c2;
  --agb-panel: #f5f8fa;
  --agb-rule: #e7e8eb;
  --agb-warn: #f38180;
  --agb-max: 860px;

  color: var(--agb-body);
  font-family:
    "hind",
    "Hind",
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

.agb-doc *,
.agb-doc *::before,
.agb-doc *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* --- Kopfbereich ------------------------------------------------- */

.agb-masthead {
  background: var(--agb-ink);
  color: #ffffff;
  border-radius: 4px;
  padding: 40px 40px 34px;
  margin: 24px 0 36px;
}

.agb-masthead__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--agb-accent);
  margin: 0 0 10px;
  font-weight: 600;
}

.agb-masthead h1 {
  font-family: "hindmedium", "hind", "Hind", sans-serif;
  font-size: 30px;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 6px;
  font-weight: 500;
}

.agb-masthead__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
}

.agb-masthead__rule {
  height: 3px;
  width: 64px;
  background: var(--agb-accent);
  border: 0;
  margin: 0 0 22px;
}

.agb-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.agb-meta dt {
  color: var(--agb-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 2px;
}

.agb-meta dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* --- Sprachumschalter -------------------------------------------- */

.agb-langbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  font-size: 13px;
  padding-top: 18px;
}

.agb-langbar a,
.agb-langbar span {
  padding: 4px 12px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.agb-langbar span[aria-current] {
  background: var(--agb-ink);
  color: #ffffff;
  font-weight: 600;
}

.agb-langbar a {
  color: var(--agb-accent-dark);
  border: 1px solid var(--agb-rule);
}

.agb-langbar a:hover,
.agb-langbar a:focus {
  color: var(--agb-ink);
  border-color: var(--agb-accent);
  text-decoration: none;
}

/* --- Zweispaltiges Layout mit Inhaltsverzeichnis ------------------ */

.agb-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.agb-toc {
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border-left: 2px solid var(--agb-rule);
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.45;
}

.agb-toc h2 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--agb-muted);
  margin: 0 0 14px;
  font-weight: 600;
}

.agb-toc ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.agb-toc__part {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--agb-accent-dark);
  font-weight: 600;
  margin: 16px 0 6px;
}

.agb-toc li {
  margin: 0 0 4px;
}

.agb-toc a {
  color: var(--agb-body);
  text-decoration: none;
  display: block;
  padding: 2px 0;
}

.agb-toc a:hover,
.agb-toc a:focus {
  color: var(--agb-accent-dark);
  text-decoration: none;
}

.agb-toc__num {
  color: var(--agb-muted);
  display: inline-block;
  min-width: 30px;
}

.agb-layout > * {
  min-width: 0;
}

.agb-body {
  max-width: var(--agb-max);
  min-width: 0;
}

/* --- Abschnitte und Paragraphen ----------------------------------- */

.agb-part {
  margin: 0 0 8px;
  padding: 26px 0 0;
}

.agb-part + .agb-section {
  margin-top: 0;
}

.agb-part h2 {
  font-family: "hindmedium", "hind", "Hind", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--agb-accent-dark);
  font-weight: 600;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--agb-accent);
}

.agb-section {
  margin: 34px 0 0;
  scroll-margin-top: 70px;
}

.agb-section h3 {
  font-family: "hindmedium", "hind", "Hind", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  color: var(--agb-ink);
  font-weight: 500;
  margin: 0 0 14px;
}

.agb-section h3 .agb-para {
  color: var(--agb-accent-dark);
  font-weight: 600;
  margin-right: 8px;
}

.agb-section h4 {
  font-family: "hindmedium", "hind", "Hind", sans-serif;
  font-size: 15px;
  color: var(--agb-ink);
  font-weight: 600;
  margin: 22px 0 8px;
}

/* --- Absatznummerierung (1), (2) … a), b) … aa), bb) -------------- */

.agb-list {
  counter-reset: agb-abs;
  list-style: none;
  margin: 0;
  padding: 0;
}

.agb-list > li {
  counter-increment: agb-abs;
  position: relative;
  padding-left: 40px;
  margin: 0 0 13px;
  min-width: 0;
}

.agb-list > li::before {
  content: "(" counter(agb-abs) ")";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--agb-muted);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.agb-alpha {
  counter-reset: agb-lit;
  list-style: none;
  margin: 10px 0 4px;
  padding: 0;
}

.agb-alpha > li {
  counter-increment: agb-lit;
  position: relative;
  padding-left: 30px;
  margin: 0 0 8px;
}

.agb-alpha > li::before {
  content: counter(agb-lit, lower-alpha) ")";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--agb-muted);
  font-size: 14px;
}

.agb-roman {
  counter-reset: agb-rom;
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.agb-roman > li {
  counter-increment: agb-rom;
  position: relative;
  padding-left: 34px;
  margin: 0 0 7px;
}

.agb-roman > li::before {
  content: counter(agb-rom, lower-roman) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--agb-muted);
  font-size: 14px;
}

.agb-doc ul.agb-bullets {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}

.agb-doc ul.agb-bullets > li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 7px;
}

.agb-doc ul.agb-bullets > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--agb-accent-dark);
}

.agb-doc p {
  margin: 0 0 13px;
}

.agb-doc strong {
  color: var(--agb-ink);
  font-weight: 600;
}

.agb-doc a {
  color: var(--agb-accent-dark);
}

.agb-doc abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--agb-muted);
  cursor: help;
}

/* --- Hervorhebungskästen ------------------------------------------ */

.agb-box {
  border: 1px solid var(--agb-rule);
  border-left: 3px solid var(--agb-accent);
  background: var(--agb-panel);
  border-radius: 3px;
  padding: 18px 22px 6px;
  margin: 18px 0;
}

.agb-box__title {
  font-family: "hindmedium", "hind", "Hind", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--agb-accent-dark);
  font-weight: 600;
  margin: 0 0 10px;
}

.agb-box--consumer {
  border-left-color: var(--agb-ink);
}

.agb-box--consumer .agb-box__title {
  color: var(--agb-ink);
}

.agb-box--alert {
  border-left-color: var(--agb-warn);
  background: #fdf4f4;
}

.agb-box--alert .agb-box__title {
  color: #c9524f;
}

.agb-box--form {
  background: #ffffff;
  border-left-color: var(--agb-muted);
  border-style: dashed;
}

.agb-box--form .agb-box__title {
  color: var(--agb-muted);
}

.agb-formrow {
  margin: 0 0 16px;
}

.agb-formrow__label {
  display: block;
  font-size: 13px;
  color: var(--agb-muted);
  margin: 0 0 3px;
}

.agb-fill {
  display: block;
  height: 1.7em;
  border-bottom: 1px solid var(--agb-rule);
}

.agb-fill + .agb-fill {
  margin-top: 6px;
}

/* --- Definitionen (§ 2) ------------------------------------------- */

.agb-defs {
  margin: 6px 0 0;
}

.agb-defs dt {
  color: var(--agb-ink);
  font-weight: 600;
  margin: 14px 0 2px;
}

.agb-defs dd {
  margin: 0 0 0 0;
  padding: 0;
}

/* --- Tabellen ----------------------------------------------------- */

.agb-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  margin: 18px 0;
  border: 1px solid var(--agb-rule);
  border-radius: 3px;
}

.agb-doc table.agb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 360px;
  margin: 0;
}

.agb-doc table.agb-table th {
  background: var(--agb-panel);
  color: var(--agb-ink);
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 16px;
  border-bottom: 1px solid var(--agb-rule);
  vertical-align: bottom;
}

.agb-doc table.agb-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--agb-rule);
  vertical-align: top;
}

.agb-doc table.agb-table tr:last-child td {
  border-bottom: 0;
}

/* --- Fußbereich --------------------------------------------------- */

.agb-colophon {
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 2px solid var(--agb-rule);
  font-size: 13.5px;
  color: var(--agb-muted);
}

.agb-toplink {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

@media (max-width: 991px) {
  .agb-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .agb-toc {
    position: static;
    max-height: none;
    overflow: visible;
    border-left: 0;
    border-top: 2px solid var(--agb-rule);
    border-bottom: 2px solid var(--agb-rule);
    padding: 22px 0;
    margin-bottom: 12px;
    -webkit-columns: 2;
       -moz-columns: 2;
            columns: 2;
    -webkit-column-gap: 32px;
       -moz-column-gap: 32px;
            column-gap: 32px;
  }

  .agb-toc ol {
    -webkit-column-break-inside: avoid;
       -moz-column-break-inside: avoid;
            break-inside: avoid;
  }
}

@media (max-width: 600px) {
  .agb-doc {
    font-size: 15px;
  }

  .agb-masthead {
    padding: 28px 22px 24px;
  }

  .agb-masthead h1 {
    font-size: 23px;
  }

  .agb-toc {
    -webkit-columns: 1;
       -moz-columns: 1;
            columns: 1;
  }

  .agb-list > li {
    padding-left: 32px;
  }
}

/* --- Druckausgabe -------------------------------------------------- */

@media print {
  .agb-toc,
  .agb-langbar,
  .agb-toplink {
    display: none !important;
  }

  .agb-layout {
    display: block;
  }

  .agb-doc {
    font-size: 10.5pt;
    line-height: 1.45;
    color: #000000;
  }

  .agb-masthead {
    background: none;
    color: #000000;
    padding: 0 0 12pt;
    border-bottom: 2pt solid #000000;
  }

  .agb-masthead h1,
  .agb-masthead__sub,
  .agb-meta dd {
    color: #000000;
  }

  .agb-masthead__eyebrow,
  .agb-meta dt {
    color: #444444;
  }

  .agb-section {
    page-break-inside: avoid;
  }

  .agb-section h3,
  .agb-part h2 {
    page-break-after: avoid;
  }

  .agb-box {
    page-break-inside: avoid;
    background: none;
    border: 1pt solid #999999;
  }
}

/*# sourceMappingURL=agb.css.map */
