/* WoltLab-Seite (/woltlab/) – nur hier eingebunden, damit style.css?v= auf den
   anderen Seiten nicht hochgezählt werden muss. Farben nur aus den Variablen
   in style.css, damit hell und dunkel von selbst stimmen. */

/* ---- Kopf: Knöpfe und Kennzahlen ---- */
.wl-hero-btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px;}
.wl-facts{list-style:none;padding:0;margin:44px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius-m);overflow:hidden;max-width:900px;}
.wl-facts li{background:var(--navy-panel);padding:18px 20px;}
.wl-facts strong{display:block;font-family:'Archivo',sans-serif;font-weight:800;font-size:1.6rem;line-height:1.1;color:var(--off-white);}
.wl-facts span{display:block;margin-top:4px;font-size:0.82rem;color:var(--steel);line-height:1.45;}
@media(max-width:760px){.wl-facts{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* ---- „Dir fehlt was bei WoltLab?“ ---- */
.wl-ask-wrap{padding:0 0 var(--sp-section-tight);}
.wl-ask{display:flex;align-items:center;justify-content:space-between;gap:28px 40px;
  padding:32px 36px;border:1px solid rgba(var(--rust-rgb),.45);border-radius:var(--radius-l);
  background:linear-gradient(135deg,var(--rust-soft),transparent 70%),var(--navy-panel);box-shadow:var(--shadow-glow);}
.wl-ask .mono{color:var(--rust);display:block;margin-bottom:8px;}
.wl-ask h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:10px;}
.wl-ask p{color:var(--rope-tan);max-width:62ch;font-size:0.98rem;line-height:1.65;}
.wl-ask .btn{flex-shrink:0;}
@media(max-width:760px){.wl-ask{flex-direction:column;align-items:flex-start;padding:26px 22px;}}

/* ---- Große Plugins: Bild und Text nebeneinander ---- */
.wlp-feature{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,4.5vw,64px);
  align-items:center;padding:clamp(40px,5vw,64px) 0;border-top:1px solid var(--line);scroll-margin-top:90px;}
.wlp-feature:first-of-type{border-top:none;padding-top:0;}
.wlp-feature.is-flip .wlp-media{order:2;}
.wlp-media{min-width:0;}
.wlp-media figure{margin:0;}
.wlp-media img{display:block;width:100%;height:auto;}
.wlp-media--phones{display:flex;justify-content:center;gap:16px;}
.wlp-media--phones .wl-phone{width:min(300px,100%);}
.wlp-media--three .wl-phone{width:calc((100% - 32px) / 3);max-width:220px;}
.wlp-media--three .wl-phone:nth-child(2){transform:translateY(-18px);}
.wlp-media--overlap .wl-phone{position:relative;width:34%;margin:-44% 0 0 auto;}
.wlp-second{margin-top:16px !important;width:82%;margin-left:auto !important;}
.wlp-cap{margin-top:10px;font-size:0.78rem;color:var(--steel);text-align:right;}
.wlp-text .mono{color:var(--rust);display:block;margin:14px 0 8px;}
.wlp-text h3{font-size:clamp(1.35rem,2.4vw,1.75rem);line-height:1.2;margin-bottom:14px;letter-spacing:-0.01em;}
.wlp-text p{color:var(--rope-tan);font-size:0.97rem;line-height:1.7;}
.wlp-text .linkout{display:inline-block;margin-top:18px;color:var(--rust);text-decoration:none;font-family:'Archivo',sans-serif;font-weight:700;font-size:0.95rem;}
.wlp-text .linkout:hover{text-decoration:underline;}
.wlp-list{list-style:none;padding:0;margin:18px 0 0;}
.wlp-list li{position:relative;padding:7px 0 7px 26px;font-size:0.92rem;color:var(--rope-tan);line-height:1.5;border-top:1px solid var(--line);}
.wlp-list li:first-child{border-top:none;}
.wlp-list li::before{content:"";position:absolute;left:2px;top:13px;width:12px;height:7px;
  border-left:2px solid var(--rust);border-bottom:2px solid var(--rust);transform:rotate(-45deg);}
@media(max-width:900px){
  .wlp-feature{grid-template-columns:1fr;}
  .wlp-feature.is-flip .wlp-media{order:0;}
  .wlp-media--three .wl-phone:nth-child(2){transform:none;}
}

/* ---- Handyrahmen ---- */
.wl-phone{margin:0;padding:8px;border-radius:30px;background:var(--navy-panel-solid);
  border:1px solid var(--line-strong);box-shadow:var(--shadow-card);}
.wl-phone img{display:block;width:100%;height:auto;border-radius:22px;}

/* ---- Statusschild ---- */
.wlp-badge{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:999px;
  font-family:'JetBrains Mono',monospace;font-size:0.72rem;letter-spacing:0.02em;
  border:1px solid currentColor;line-height:1.5;}
.wlp-badge::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;}
.wlp-badge.is-live{color:var(--ok);}
.wlp-badge.is-new{color:var(--rust);}
.wlp-badge.is-test{color:var(--warn);}
.wlp-badge.is-custom{color:var(--steel);}

/* ---- Kleinere Plugins als Karten ---- */
.wlp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,28px);
  margin-top:clamp(40px,5vw,64px);padding-top:clamp(40px,5vw,64px);border-top:1px solid var(--line);}
@media(max-width:1000px){.wlp-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:640px){.wlp-grid{grid-template-columns:1fr;}}
.wlp-card{background:var(--navy-panel);border:1px solid var(--line);border-radius:var(--radius-m);
  box-shadow:var(--shadow-card);overflow:hidden;display:flex;flex-direction:column;scroll-margin-top:90px;}
.wlp-card-media{height:200px;overflow:hidden;background:var(--stage-paper);border-bottom:1px solid var(--line);}
.wlp-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left;}
.wlp-card-media--paper{display:flex;align-items:center;justify-content:center;padding:18px;}
.wlp-card-media--paper img{object-fit:contain;object-position:center;}
.wlp-card-media--phone{display:flex;justify-content:center;padding:16px 0 0;}
.wlp-card-media--phone img{width:auto;height:auto;max-height:none;width:62%;object-fit:cover;border-radius:16px 16px 0 0;}
.wlp-card-body{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1;}
.wlp-card-body .wlp-badge{align-self:flex-start;}
.wlp-card-body .mono{color:var(--rust);display:block;margin:12px 0 6px;}
.wlp-card-body h3{font-size:1.1rem;margin-bottom:8px;line-height:1.3;}
.wlp-card-body p{color:var(--rope-tan);font-size:0.92rem;line-height:1.6;}
.wlp-card-body .wl-tech{margin-top:auto;padding-top:12px;}
.wlp-card-body p + .wl-tech{margin-top:14px;}
.wlp-card--ask{grid-column:1 / -1;border-style:dashed;border-color:rgba(var(--rust-rgb),.5);background:linear-gradient(160deg,var(--rust-soft),transparent 60%),var(--navy-panel);}
.wlp-card--ask .wlp-card-body{justify-content:center;}
.wlp-card--ask h3{font-size:1.4rem;}
.wlp-card--ask .btn{align-self:flex-start;margin-top:20px;}

/* ---- Stile zum Durchklicken (ohne Skript, über Radioknöpfe) ---- */
.wls > input{position:absolute;opacity:0;pointer-events:none;}
.wls-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px;}
.wls-tabs label{cursor:pointer;padding:8px 16px;border-radius:999px;border:1px solid var(--line-strong);
  font-size:0.88rem;color:var(--rope-tan);background:var(--navy-panel);transition:border-color .2s,color .2s,background .2s;user-select:none;}
.wls-tabs label:hover{border-color:var(--rust);color:var(--off-white);}
.wls-panel{display:none;}
.wls-shots{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:22px;align-items:start;}
.wls-shots figure{margin:0;}
.wls-shots .p-frame img{display:block;width:100%;height:auto;}
.wls-panel p{margin-top:18px;color:var(--rope-tan);max-width:70ch;line-height:1.65;}
.wls-panel p strong{color:var(--off-white);}
@media(max-width:700px){
  .wls-shots{grid-template-columns:1fr;}
  .wls-shots .p-frame{display:none;}
  .wls-shots .wl-phone{max-width:280px;margin:0 auto;}
}
#wls-grundstil:checked ~ .wls-p-grundstil,
#wls-dunkel:checked ~ .wls-p-dunkel,
#wls-tiefsee:checked ~ .wls-p-tiefsee,
#wls-nachtschicht:checked ~ .wls-p-nachtschicht,
#wls-magazin:checked ~ .wls-p-magazin,
#wls-geisterstunde:checked ~ .wls-p-geisterstunde,
#wls-winterleuchten:checked ~ .wls-p-winterleuchten{display:block;}
#wls-gezeiten:checked ~ .wls-p-gezeiten{display:block;}
#wls-grundstil:checked ~ .wls-tabs label[for="wls-grundstil"],
#wls-dunkel:checked ~ .wls-tabs label[for="wls-dunkel"],
#wls-tiefsee:checked ~ .wls-tabs label[for="wls-tiefsee"],
#wls-nachtschicht:checked ~ .wls-tabs label[for="wls-nachtschicht"],
#wls-magazin:checked ~ .wls-tabs label[for="wls-magazin"],
#wls-geisterstunde:checked ~ .wls-tabs label[for="wls-geisterstunde"],
#wls-winterleuchten:checked ~ .wls-tabs label[for="wls-winterleuchten"],
#wls-gezeiten:checked ~ .wls-tabs label[for="wls-gezeiten"]{background:var(--rust);border-color:var(--rust);color:var(--on-rust);}
.wls > input:focus-visible ~ .wls-tabs{outline:2px solid var(--rust);outline-offset:6px;border-radius:12px;}

/* Link im Technik-Kasten (Quelle des Chats) */
.wl-tech a{color:inherit;text-decoration:underline;text-underline-offset:2px;}
.wl-tech a:hover{color:var(--rust);}

/* 20.11.2026: Lange Knopftexte duerfen auf sehr schmalen Handys umbrechen (WCAG 1.4.10, sonst 11 px Ueberlauf bei 320 px). */
@media (max-width:400px){.btn{white-space:normal;text-align:center;max-width:100%;}}

/* Karten mit mehreren kurzen Absätzen (Kleine Helfer) */
.wlp-card-body p + p{margin-top:8px;}
