/* =============================
   MASTER CSS – SITE
   Quelle: themen.html
   ============================= */

.article { outline: 4px solid red !important; }

/* ===== Variablen ===== */
:root{
  --header-h: 92px;
  --footer-h: 64px;

  --radius: 16px;
  --shadow: 0 10px 26px rgba(0,0,0,.10);
  --border: 1px solid rgba(0,0,0,.08);
  --maxw: 1080px;
  --gap: 16px;

  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  /* Farbwelt */
  --brand: #ffd700;
  --brand2:#eec900;
  --accent:#ffff00;

  --bg: #fff7e6;
  --panel: #fffff9;
  --panel-soft:#fff3d1;

  --text:#104e8b;
  --muted:#2f4f4f;
}

/* ===== Reset / Base ===== */
*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(205,204,200,.30), transparent 60%),
    radial-gradient(900px 520px at 95% 20%, rgba(205,220,200,.22), transparent 60%),
    linear-gradient(180deg,#fff7e6 0%,#ffffff 55%,#fff7e6 100%);
  overflow:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

/* ===== Header ===== */
header{
  position:fixed;
  top:0; left:0; right:0;
  height:var(--header-h);
  background:linear-gradient(
  to bottom,
  rgba(100, 170, 255, 0.8),
  rgba(245, 255, 255, 0.9)
);
  backdrop-filter: blur(8px);
  border-bottom:var(--border);
  z-index:50;
}

.header-inner{
  max-width:var(--maxw);
  margin:0 auto;
  height:100%;
  padding:12px 16px;
  display:grid;
  grid-template-columns:260px 1fr auto;
  gap:12px;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  width:44px;height:44px;
  border-radius:12px;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  box-shadow:0 10px 26px rgba(255,200,0,.25);
}

.brand strong{ font-size:16px; display:block; line-height:1.1; }
.brand span{ font-size:12px; color:var(--muted); }

.nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.nav .btn[aria-current="page"]{
  background: rgba(255,214,102,.45);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.08);
  cursor: default;
}


.btn{
  display:inline-block;
  padding:9px 12px;
  border-radius:999px;
  border:var(--border);
  background:#fff;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
}

.btn:hover{
  background:rgba(255,214,102,.45);
  text-decoration:none;
}

.btn.primary{
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#1f2328;
  border-color: rgba(0,0,0,.06);
}



/* ===== Layout ===== */
.app{
  padding-top:var(--header-h);
  padding-bottom:var(--footer-h);
  height:100%;
}

.shell{
  max-width:var(--maxw);
  margin:0 auto;
  height:calc(100vh - var(--header-h) - var(--footer-h));
  padding:16px;
  display:grid;
  grid-template-columns:320px 1fr;
  gap:var(--gap);
}

.panel{
  background:var(--panel);
  border:var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:0;
}

/* ===== Sidebar ===== */
.sidebar{
  display:flex;
  flex-direction:column;
  min-height:0;
}

.sidebar-head{
  padding:14px;
  border-bottom:var(--border);
}

.sidebar-head h3{ margin:0; font-size:14px; }
.sidebar-head p{ margin:6px 0 0; font-size:12px; color:var(--muted); }

.sidebar-cta{
  padding:14px;
  background:
    radial-gradient(400px 160px at 20% 0%, rgba(255,204,0,.40), transparent 70%),
    radial-gradient(400px 160px at 90% 40%, rgba(255,246,150,.25), transparent 70%),
    #fff;
  border-bottom:var(--border);
}

.sidebar-cta h4{ margin:0; font-size:13px; }
.sidebar-cta p{ margin:8px 0 0; font-size:12px; color:var(--muted); line-height:1.45; }

.sidebar-cta .row{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.sidebar-scroll{
  padding:14px;
  overflow:auto;
  min-height:0;
}

.highlight{
  border:var(--border);
  border-radius:14px;
  padding:12px;
  margin-bottom:10px;
  background:#fff;
}

.highlight strong{ font-size:13px; }
.highlight p{ margin:6px 0 0; font-size:12px; color:var(--muted); }

/* ===== Main ===== */
.main{
  grid-column: 2;
  display:flex;
  flex-direction:column;
  min-height:0;
}

.main-scroll{
  padding:14px;
  overflow:auto;
  min-height:0;
}

.hero{
  border:var(--border);
  border-radius:18px;
  padding:18px;
  background:
    radial-gradient(600px 220px at 15% 0%, rgba(255,204,0,.35), transparent 60%),
    rgba(255,255,255,.85);
  margin-bottom:14px;
}

.hero h1{ margin:0; font-size:22px; }
.hero p,
.hero .sub{
  margin:8px 0 0;
  font-size:13.5px;
  color:var(--muted);
  line-height:1.5;
  max-width:185ch;
}

/* ===== Cards ===== */
.card{
  
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border: var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.90);
  padding: 18px;
  margin: 0 auto;          /* zentriert innerhalb der Spalte */
  max-width: 760px;        /* Standard: schmal/lesbar */
}

.card--wide{
  max-width: 1100px;       /* breit, z.B. Datenschutz */
}






/* ===== Footer ===== */
footer{
  position:fixed;
  bottom:0; left:0; right:0;
  height:var(--footer-h);

  background:linear-gradient(
	to top,
	rgba(100, 170, 255, 0.8),
	rgba(245, 255, 255, 0.95)
);


  border-top:var(--border);
}

.footer-inner{
  max-width:var(--maxw);
  margin:0 auto;
  height:100%;
  padding:10px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  color:var(--muted);
  gap:12px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}


/* =========================
   SIDEBAR COUNTDOWN
========================= */

.sidebar-countdown {
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #6b7da3, #4573dd);
  box-shadow: var(--shadow);
  border: var(--border);
  text-align: center;
  color: #fff;
}

.countdown-label {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.countdown-display {
  font-family: "Courier New", monospace;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--brand);
  text-shadow: 0 0 6px rgba(255, 200, 0, 0.4);
}

.cd-sep {
  font-size: 0.9rem;
  margin-right: 4px;
}

.countdown-status {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.countdown-noscript {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* =========================
   SIDEBAR COUNTDOWN (dezent)
========================= */

.sidebar-countdown {
  margin-bottom: 1.1rem;
  padding: 0.95rem;
  border-radius: var(--radius);

  /* weniger plakativ dunkel, passend zur Header-Blauwelt */
  background: linear-gradient(
    to bottom,
    rgba(215, 224, 54, 0.18),
    rgba(121, 179, 226, 0.544)
  );

  border: 1px solid rgba(100, 170, 255, 0.28);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.10);

  text-align: left;
  color: rgba(15, 20, 28, 0.90);
}

.countdown-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 0.65rem;
  color: rgba(15, 20, 28, 0.78);
}

/* Grid-Kacheln */
.countdown-display.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin: 0.25rem 0 0.4rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.cd-unit {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  padding: 0.55rem 0.6rem;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(51, 51, 60, 0.55);
  border: 1px solid rgba(100, 170, 255, 0.22);
}

.cd-value {
  font-size: 2.05rem;
  font-weight: 850;
  line-height: 1.05;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.20);
}

.cd-label {
  
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: rgba(8, 22, 45, 0.62);
}

/* Status als dezentes Badge */
.countdown-status {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;

  background: rgba(100, 170, 255, 0.14);
  border: 1px solid rgba(100, 170, 255, 0.22);
  color: rgba(15, 20, 28, 0.78);

  font-size: 0.82rem;
  font-weight: 750;
}

/* CTA/Claim unten */
.countdown-cta {
  text-align: center; 
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(100, 170, 255, 0.22);
}

.countdown-cta-text {
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.25;
  font-weight: 650;
  color: rgba(15, 20, 28, 0.82);
}

.countdown-cta-button {
  text-align: center;
  margin-top: 0.55rem;
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;

  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.95), rgba(238, 201, 0, 0.95));
  border: 1px solid rgba(0, 0, 0, 0.12);

  color: rgba(15, 20, 28, 0.92);
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}


/* =========================
   STARTSEITEN-MODAL (Build-Hinweis)
========================= */

.vb-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* wird per JS geöffnet */
}

.vb-modal.is-open {
  display: block;
}

.vb-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.55);
  opacity: 0;
  transition: opacity 200ms ease;
}

.vb-modal__dialog {
  position: relative;
  max-width: 860px;
  width: min(92vw, 860px);
  margin: 10vh auto;
  background: #fff;
  border: var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.2rem 1rem;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.vb-modal.is-visible .vb-modal__overlay { opacity: 1; }
.vb-modal.is-visible .vb-modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

.vb-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #24324a;
}

.vb-modal__title {
  margin: 0 2.2rem 0.6rem 0;
}

.vb-modal__content p {
  margin: 0.6rem 0;
}

.vb-modal__cta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.9rem 0 0.6rem;
}

.vb-modal__fineprint {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.8rem;
}

.vb-modal__noscript {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: #fff;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem 1rem;
  max-width: min(92vw, 820px);
}

/* Hintergrund „inaktiv“: kein Scroll */
body.vb-modal-open {
  overflow: hidden;
}

/* Mobile: etwas mehr Höhe nutzbar */
@media (max-width: 520px) {
  .vb-modal__dialog {
    margin: 6vh auto;
    padding: 1rem 1rem 0.9rem;
  }
}

.contact-panel {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2rem
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.hp-field {
  display: none;
}


/* =========================
   ARTICLE LAYOUT
========================= */




.article {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

.article h1 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.article .subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.article h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.article p {
  margin-bottom: 1rem;
}

.article ul {
  margin: 1rem 0 1.5rem 1.2rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article-footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.7;
}




/* ===== Responsive ===== */
@media(max-width:980px){
  body{ overflow:auto; }
  header, footer{ position:static; height:auto; }
  .app{ padding:0; height:auto; }
  .shell{ height:auto; grid-template-columns:1fr; }
  .panel{ min-height:auto; }
  .sidebar-scroll, .main-scroll{ overflow:visible; }
}

/* .sidebar-countdown { background: magenta !important; } */