/* ============================================================
   BlitzCV. Dunkles, edles Interface mit heller CV-Vorschau.
   ============================================================ */

:root {
  --bg: #0d0f14;
  --bg-raised: #14171f;
  --bg-panel: #181c26;
  --border: #262b38;
  --border-soft: #1e2330;
  --text: #e8eaf0;
  --text-dim: #9aa1b2;
  --text-faint: #646c80;

  --accent: #c9a24b;
  --accent-soft: rgba(201, 162, 75, 0.14);

  --sheet-bg: #ffffff;
  --sheet-side: #f4f2ee;
  --sheet-text: #23262c;
  --sheet-dim: #5b616e;

  --radius: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

[data-accent="petrol"] {
  --accent: #3e9b9b;
  --accent-soft: rgba(62, 155, 155, 0.14);
}

[data-accent="bordeaux"] {
  --accent: #a8455c;
  --accent-soft: rgba(168, 69, 92, 0.14);
}

[data-accent="tanne"] {
  --accent: #3f7a52;
  --accent-soft: rgba(63, 122, 82, 0.14);
}

[data-accent="graphit"] {
  --accent: #5c6675;
  --accent-soft: rgba(92, 102, 117, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------------- Topbar ---------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  background: rgba(13, 15, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Marke: ein schmaler Blitz als Winkel aus zwei Linien. */
.brand-mark {
  width: 10px;
  height: 16px;
  align-self: center;
  background: var(--accent);
  clip-path: polygon(62% 0, 8% 58%, 44% 58%, 30% 100%, 92% 38%, 52% 38%);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-claim {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 400;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accent-picker {
  display: flex;
  gap: 10px;
  padding: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
}

.accent-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.accent-swatch:hover { transform: scale(1.12); }

.accent-swatch[data-accent="gold"] { background: #c9a24b; }
.accent-swatch[data-accent="petrol"] { background: #3e9b9b; }
.accent-swatch[data-accent="bordeaux"] { background: #a8455c; }
.accent-swatch[data-accent="tanne"] { background: #3f7a52; }
.accent-swatch[data-accent="graphit"] { background: #5c6675; }

.accent-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.btn-primary {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #0d0f14;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ---------------- Layout ---------------- */

.workspace {
  display: grid;
  grid-template-columns: minmax(400px, 520px) 1fr;
  gap: 48px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 36px 96px;
  align-items: start;
}

/* ---------------- Editor ---------------- */

.editor-intro {
  margin-bottom: 36px;
}

.editor-intro h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.editor-intro p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  max-width: 44ch;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

.panel summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.panel summary::-webkit-details-marker { display: none; }

.panel summary::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 0.2s ease;
}

.panel[open] summary::before { transform: rotate(45deg); }

.panel-body {
  padding: 4px 20px 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wide { grid-column: 1 / -1; }

.field span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.field input,
.field textarea,
.entry input,
.entry textarea,
.entry select {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.field input:focus,
.field textarea:focus,
.entry input:focus,
.entry textarea:focus,
.entry select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field textarea,
.entry textarea { resize: vertical; }

::placeholder { color: var(--text-faint); }

/* ---------------- Einträge ---------------- */

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.entry {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.entry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.entry .btn-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.entry .btn-remove:hover {
  color: #e57373;
  background: rgba(229, 115, 115, 0.1);
}

.btn-add {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px dashed transparent;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  width: 100%;
  transition: filter 0.15s ease;
}

.btn-add:hover { filter: brightness(1.2); }

.skill-level {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-level input[type="range"] {
  flex: 1;
  padding: 0;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--border);
  border: none;
  border-radius: 2px;
  outline: none;
}

.skill-level input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.skill-level input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.skill-level-label {
  font-size: 12px;
  color: var(--text-dim);
  min-width: 84px;
  text-align: right;
}

.editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.btn-ghost {
  font-family: inherit;
  font-size: 13px;
  color: var(--text-faint);
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.btn-ghost:hover { color: #e57373; border-color: #e57373; }

.save-indicator {
  font-size: 12px;
  color: var(--text-faint);
  transition: opacity 0.4s ease;
}

/* ---------------- Vorlagen-Auswahl ---------------- */

.tpl-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.tpl-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  text-align: left;
  padding: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-dim);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.tpl-option:hover { border-color: var(--text-faint); color: var(--text); }

.tpl-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tpl-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.tpl-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.tpl-hint {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}

.tpl-option.active .tpl-hint { color: var(--text); }

.panel-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
}

/* ---------------- Foto ---------------- */

.photo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.btn-file {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}

.btn-file:hover { border-color: var(--accent); }

.btn-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.btn-small { padding: 7px 12px; font-size: 12px; }

.photo-status { font-size: 12px; color: var(--text-faint); }

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

@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; padding: 14px 18px; }
  .workspace { padding: 28px 18px 64px; }
  .field-grid, .entry-row { grid-template-columns: 1fr; }
  .tpl-picker { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Fusszeile und Hilfeseiten (20.09.2026)
   ============================================================ */

.seitenfuss {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-raised);
  padding: 40px 36px 56px;
  margin-top: 48px;
}

.seitenfuss-inhalt {
  max-width: 820px;
  margin: 0 auto;
}

.seitenfuss-titel {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.seitenfuss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 20px;
}

.seitenfuss-links a,
.artikel a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.seitenfuss-links a:hover,
.artikel a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.seitenfuss-klein {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 60ch;
}

/* ---------------- Hilfeseiten ---------------- */

.artikel {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 28px 24px;
}

.artikel-weg {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 28px;
}

.artikel-weg a {
  color: var(--text-faint);
}

.artikel h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.artikel .vorspann {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.artikel h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}

.artikel h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 26px 0 8px;
}

.artikel p,
.artikel li {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-dim);
}

.artikel p { margin-bottom: 16px; }

.artikel ul,
.artikel ol {
  margin: 0 0 20px 22px;
}

.artikel li { margin-bottom: 9px; }

.artikel strong {
  color: var(--text);
  font-weight: 600;
}

.merk {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 28px 0;
}

.merk p { margin: 0; color: var(--text); }

.artikel-abschluss {
  margin: 48px 0 8px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-panel);
  text-align: center;
}

.artikel-abschluss p {
  margin-bottom: 18px;
  color: var(--text-dim);
}

.artikel-abschluss .btn-primary {
  display: inline-block;
  text-decoration: none;
}

.weiter-lesen {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 28px 0;
}

.weiter-lesen p {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.weiter-lesen ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.weiter-lesen a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
}

.weiter-lesen a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .seitenfuss { padding: 32px 20px 44px; }
  .artikel { padding: 36px 20px 20px; }
  .weiter-lesen { padding: 8px 20px 0; }
}

/* ---------------- Zweispaltiges Raster der Hilfeseiten ---------------- */

.artikel-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.artikel-seitenspalte { display: none; }

.artikel { padding-left: 0; padding-right: 0; }

.artikel-abschluss .btn-primary,
.artikel .btn-primary {
  color: #0d0f14;
  border-bottom: none;
}

.artikel .btn-primary:hover {
  color: #0d0f14;
  border-bottom: none;
}

@media (min-width: 1024px) {
  .artikel-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
    padding: 0 48px;
  }

  .artikel-seitenspalte {
    display: block;
    position: sticky;
    top: 96px;
    padding-top: 62px;
  }

  .inhalt-titel {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 14px;
  }

  .artikel-seitenspalte ul {
    list-style: none;
    display: grid;
    gap: 9px;
    margin: 0 0 36px;
    padding: 0;
  }

  .artikel-seitenspalte a {
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--text-faint);
    text-decoration: none;
    padding-left: 12px;
    border-left: 2px solid var(--border-soft);
    transition: color 0.16s ease, border-color 0.16s ease;
  }

  .artikel-seitenspalte a:hover { color: var(--text-dim); }

  .artikel-seitenspalte a.aktiv {
    color: var(--text);
    border-left-color: var(--accent);
  }

  .artikel {
    max-width: 760px;
    margin: 0;
    padding: 56px 0 24px;
  }

  .weiter-lesen { display: none; }

  .seitenfuss-inhalt { max-width: 1104px; }
}

/* ============================================================
   Erweiterung: Anpassen, Foto-Feineinstellung, Stelleninserat,
   eigene Abschnitte, Reihenfolge.
   ============================================================ */

/* ---------------- Eigene Akzentfarbe ---------------- */

.accent-custom {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  background:
    conic-gradient(from 0deg, #c9a24b, #a8455c, #6b4fa8, #3e9b9b, #3f7a52, #c9a24b);
}

.accent-custom input {
  position: absolute;
  inset: -6px;
  border: none;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

/* ---------------- Anpassen ---------------- */

.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.field select {
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  width: 100%;
}

.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.slider-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin-bottom: 18px;
}

.slider {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slider > span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.slider > span b {
  font-weight: 600;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.slider input[type="range"],
.photo-controls input[type="range"] {
  width: 100%;
  padding: 0;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--border);
  border: none;
  border-radius: 2px;
  outline: none;
}

.slider input[type="range"]::-webkit-slider-thumb,
.photo-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.slider input[type="range"]::-moz-range-thumb,
.photo-controls input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* ---------------- Foto-Feineinstellung ---------------- */

.photo-editor {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: start;
  margin: 16px 0 12px;
  padding: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.photo-preview-wrap {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.photo-preview {
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: #000;
}

.photo-preview.shape-round { border-radius: 50%; }
.photo-preview.shape-square { width: 104px; height: 132px; border-radius: 2px; }
.photo-preview.shape-soft { width: 104px; height: 132px; border-radius: 12px; }
.photo-preview.shape-full { border-radius: 0; }
.photo-preview.ring { box-shadow: 0 0 0 2px var(--accent); }

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-controls {
  display: grid;
  gap: 14px;
}

/* ---------------- Eigene Abschnitte ---------------- */

.note-top { margin-bottom: 14px; }

.entry-block { gap: 14px; }

.entry-title { font-weight: 600; }

.subentry {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 12px 12px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
}

.btn-remove-small {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.btn-remove-small:hover { color: #e57373; background: rgba(229, 115, 115, 0.1); }

.btn-add-small { padding: 8px 12px; font-size: 12px; }

/* ---------------- Reihenfolge ---------------- */

.order-list { display: grid; gap: 8px; }

.order-row {
  display: grid;
  grid-template-columns: 18px 130px 1fr 32px 32px;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}

.order-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.order-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-title {
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 7px 10px;
  outline: none;
  width: 100%;
}

.order-title:focus { border-color: var(--accent); }

.order-btn {
  font-family: inherit;
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 7px 0;
  cursor: pointer;
}

.order-btn:hover:not(:disabled) { color: var(--text); border-color: var(--accent); }
.order-btn:disabled { opacity: 0.3; cursor: default; }

/* ---------------- Fussleiste des Editors ---------------- */

.footer-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-file-inline {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-file-inline input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
#btn-reset:hover { color: #e57373; border-color: #e57373; }

@media (max-width: 720px) {
  .opt-grid,
  .slider-row { grid-template-columns: 1fr; }
  .photo-editor { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 18px 1fr 30px 30px; }
  .order-row .order-title { grid-column: 1 / -1; }
}

/* Stand-Zeile auf den Rechtsseiten */
.artikel .stand {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ============================================================
   Werbeplätze (21.09.2026)
   BlitzCV ist gratis. Getragen wird es von Anzeigen, die Firmen auf
   werbung.html selbst buchen. Reiner Text, kein Werbenetz, kein Cookie.
   ============================================================ */

.werbeplatz {
  max-width: 1104px;
  margin: 0 auto 28px;
  padding: 0 4px;
}

.werbe-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.werbe-label a { color: var(--text-faint); }
.werbe-label a:hover { color: var(--accent); }

.werbe-rahmen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.anzeige {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--text);
}

.anzeige-text { flex: 1 1 300px; min-width: 0; }

.anzeige-text b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.anzeige-text span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}

.anzeige-text i {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-faint);
}

.anzeige-knopf {
  flex: 0 0 auto;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--accent);
  color: #0d0f14;
  font-size: 14px;
  font-weight: 600;
}

.anzeige:hover .anzeige-knopf { filter: brightness(1.1); }

.platz-frei {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--text-dim);
}

.platz-frei > span:first-child { flex: 1 1 300px; min-width: 0; }

.platz-frei b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}

.platz-frei b + span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.55;
}

.platz-knopf {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.platz-frei:hover .platz-knopf { border-color: var(--accent); color: var(--accent); }

/* Im Editor sitzt der Platz unter der Vorschau, nie auf dem Blatt. */
.werbeplatz-editor { margin: 20px auto 0; max-width: none; }

@media print {
  .werbeplatz { display: none !important; }
}
