
.section { margin: 24px 0 40px; }
h1 { font-size: 28px; margin-bottom: 6px; }
h2 { font-size: 20px; margin: 14px 0; }

/* Placeholder/Kachel wenn kein Consent */
.cm-placeholder {
    display: grid
;
    place-items: center;
    min-height: 280px;
    border-radius: 10px;
    background: #1b1b1c;
    border: 1px solid #2a2a2c;
    text-align: center;
    padding: 18px;
    gap: 12px;
    max-width: 600px;
}
.cm-placeholder .title { font-weight: 700; }
.cm-placeholder .text { color: #bdbdbd; max-width: 560px; }
.cm-placeholder button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #2b7bff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.cm-placeholder button:hover { background: #1a5ed6; }

/* Iframes */
.cm-iframe {
  width: 100%;
  border: 0;
  border-radius: 10px;
  min-height: 320px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* Cookie Overlay */
.cookie-overlay {
  position: fixed;
  inset: 0;
  display: none;               /* hidden by default */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  z-index: 99999;
}
.cookie-overlay.show { display: flex; }

.cookie-modal {
  width: min(620px, 92vw);
  background: #1a1b1f;
  border: 1px solid #2b2d33;
  border-radius: 14px;
  padding: 20px 22px;
  color: #f0f2f5;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.cookie-option {
  background: #202126;
  border: 1px solid #2d2f37;
  border-radius: 10px;
  padding: 14px;
  margin-top: 14px;
}

.cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.small { color: #b3b7bf; font-size: 12px; margin-top: 4px; }
.muted { color: #b9bdc6; }

/* switch */
.switch { position: relative; width: 44px; height: 24px; }
.switch input{ display:none; }
.slider {
  position:absolute; inset:0; border-radius:999px;
  background:#555a66; transition:.25s;
}
.slider:before{
  content:""; position:absolute; width:18px; height:18px; left:3px; top:3px;
  background:#fff; border-radius:50%; transition:.25s;
}
.switch input:checked + .slider{ background:#2b7bff; }
.switch input:checked + .slider:before{ transform: translateX(20px); }

.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.cookie-actions button {
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #2b7bff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.cookie-actions button:hover { background: #1a5ed6; }

.cookie-footer {
  margin-top: 14px;
  text-align: center;
  color: #b8bcc6;
  font-size: 13px;
}
.cookie-footer a, .cookie-footer .linklike {
  color: #b8bcc6;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.cookie-footer a:hover, .cookie-footer .linklike:hover { text-decoration: underline; }

/* Toggle button am linken Rand */
.cookie-toggle {
  position: fixed;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  background: #2b7bff;
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  padding: 12px 8px;
  cursor: pointer;
  font-weight: 700;
  z-index: 999999;
}
.cookie-toggle:hover { background: #1a5ed6; }

.note { color:#a3a7b1; font-size: 12px; }

@media (max-width: 560px) {
  .cm-placeholder { min-height: 220px; }
  .cookie-toggle { top: auto; bottom: 18px; transform:none; writing-mode: horizontal-tb; left: 18px; border-radius: 10px; }
}
