/* ===========================================================================
   Vereinslog · die öffentlichen Seiten
   ---------------------------------------------------------------------------
   Baut auf klubwerk.css auf und ergänzt nur, was eine Produktseite braucht.
   Gestaltet wird von schmal nach breit: was am Handy stimmt, stimmt danach
   auch am Bildschirm.
   ========================================================================= */

body.web {
  --web-tief:  #0E2A45;   /* das Navy des Zeichens */
  --web-hell:  #12B3A2;   /* das Türkis daraus */
  --accent:    #12B3A2;
  --accent-auf:#062B27;
  background: var(--surface);
}

body.web main { display: block; }

.wb { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------------- Kopfzeile */
.wk {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.wk-in {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; gap: 18px;
}
.wk-marke { display: flex; align-items: center; flex: none; }
.wk-marke img { height: 38px; width: auto; display: block; }

.wk-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.wk-nav > a {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.wk-nav > a:hover { background: var(--surface-2); color: var(--ink); }
.wk-nav > a.an { color: var(--ink); font-weight: 600; }
.wk-trenner { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
.wk-anmelden { font-weight: 600 !important; }
.wk-nav .btn.pri { padding: 9px 15px; font-size: 14px; }

/* Klappmenü - ohne eine Zeile JavaScript */
.wk-schalter { position: absolute; opacity: 0; pointer-events: none; }
.wk-burger { display: none; margin-left: auto; width: 42px; height: 42px;
             border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
             flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.wk-burger span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 880px) {
  .wk-burger { display: flex; }
  .wk-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow-2);
    display: none;
  }
  .wk-schalter:checked ~ .wk-nav { display: flex; }
  .wk-nav > a { padding: 12px; font-size: 15px; }
  .wk-trenner { width: auto; height: 1px; margin: 8px 0; }
  .wk-nav .btn.pri { justify-content: center; padding: 12px; font-size: 15px; }
}

/* ------------------------------------------------------------------- Kopfteil */
.wh {
  background:
    radial-gradient(120% 90% at 82% 4%, color-mix(in srgb, var(--web-hell) 34%, transparent) 0%, transparent 58%),
    linear-gradient(168deg, var(--web-tief) 0%, #123A5C 62%, #0C2137 100%);
  color: #fff; position: relative; overflow: hidden;
}
.wh::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 96px, rgba(255,255,255,.04) 96px 97px);
}
/* padding-block, nicht die Kurzschreibweise: sonst faellt die seitliche
   Polsterung aus .wb weg und der Text klebt am Bildschirmrand. */
.wh-in { position: relative; z-index: 1; padding-block: 74px 78px; }
.wh h1 {
  font-size: clamp(30px, 5.2vw, 52px); line-height: 1.06; margin: 0 0 18px;
  max-width: 17ch; color: #fff;
}
.wh p.lead { font-size: clamp(15px, 1.7vw, 18.5px); line-height: 1.6; color: rgba(255,255,255,.76);
             max-width: 56ch; margin: 0 0 26px; }
.wh .fl { gap: 11px; flex-wrap: wrap; }
.wh .btn { height: 46px; padding: 0 20px; font-size: 15px; }
.wh .btn.hell { background: #fff; border-color: #fff; color: var(--web-tief); }
.wh .btn.klar { background: transparent; border-color: rgba(255,255,255,.34); color: #fff; }
.wh .btn.klar:hover { border-color: rgba(255,255,255,.7); }

.wh-zahlen { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 44px;
             border-top: 1px solid rgba(255,255,255,.16); padding-top: 22px; }
.wh-zahlen b { display: block; font-family: Archivo, sans-serif; font-size: 25px; font-weight: 700; }
.wh-zahlen span { font-size: 12.5px; color: rgba(255,255,255,.55); }

/* -------------------------------------------------------------- Abschnitte */
.wa { padding: 66px 0; }
.wa.grau { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wa-kopf { max-width: 62ch; margin-bottom: 34px; }
.wa-auge { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .14em;
           text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.wa h2 { font-size: clamp(23px, 3.2vw, 33px); line-height: 1.14; margin: 0 0 12px; }
.wa-kopf p { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }

.wk-gitter { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.wf-karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
            padding: 22px; box-shadow: var(--shadow-1); }
.wf-karte h3 { font-size: 17px; margin: 0 0 8px; }
.wf-karte p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.wf-karte .zeichen { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
                     background: color-mix(in srgb, var(--accent) 14%, transparent);
                     color: var(--accent); font-size: 17px; margin-bottom: 13px; }
.wf-karte ul { margin: 12px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* Auf einer Produktseite wird mit dem Daumen getippt, nicht mit der Maus
   gezielt - hier gibt es keine kleinen Knoepfe. */
.wf-karte .btn { height: 38px; padding: 0 15px; font-size: 14px; }
.wf-karte .kv a { display: inline-block; padding: 6px 0; text-decoration: none; }

/* --------------------------------------------------------------- Preise */
.wp { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); align-items: start; }
.wp-karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
            padding: 26px 24px; box-shadow: var(--shadow-1); position: relative; }
.wp-karte.top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); }
.wp-fahne { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-auf);
            font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.wp-karte h3 { font-size: 19px; margin: 0 0 4px; }
.wp-fuer { font-size: 13px; color: var(--ink-3); margin: 0 0 18px; }
.wp-preis { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.wp-preis b { font-family: Archivo, sans-serif; font-size: 38px; font-weight: 800; line-height: 1; }
.wp-preis span { font-size: 14px; color: var(--ink-2); }
.wp-takt { font-size: 12.5px; color: var(--ink-3); margin: 0 0 20px; }
.wp-karte .btn { width: 100%; justify-content: center; }
.wp-satz { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); margin: 18px 0 0;
           border-top: 1px solid var(--line); padding-top: 16px; }

.wp-liste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px;
            grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.wp-liste li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.wp-liste li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }

/* --------------------------------------------------------------- Fragen */
.wq { border-top: 1px solid var(--line); }
.wq details { border-bottom: 1px solid var(--line); }
.wq summary { padding: 17px 0; cursor: pointer; font-weight: 600; font-size: 15.5px;
              display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.wq summary::-webkit-details-marker { display: none; }
.wq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex: none; }
.wq details[open] summary::after { content: "–"; }
.wq details p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.68; color: var(--ink-2); max-width: 74ch; }

/* --------------------------------------------------------------- Aufruf */
.wc { background: var(--web-tief); color: #fff; }
.wc-in { padding-block: 58px; display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wc h2 { color: #fff; font-size: clamp(22px, 3vw, 29px); margin: 0 0 8px; }
.wc p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; max-width: 54ch; }
.wc .btn { height: 46px; padding: 0 22px; font-size: 15px; background: #fff; border-color: #fff; color: var(--web-tief); }

/* --------------------------------------------------------------- Fußzeile */
.wf { background: var(--surface-2); border-top: 1px solid var(--line); }
.wf-in { width: 100%; max-width: 1180px; margin: 0 auto; padding: 46px 20px 30px;
         display: grid; gap: 30px; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.wf-marke img { height: 32px; width: auto; display: block; margin-bottom: 13px; }
.wf-marke p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); margin: 0; max-width: 40ch; }
.wf-sp h4 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
            margin: 0 0 12px; font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; }
/* Mindestens 34 Pixel hoch - darunter trifft ein Daumen nicht zuverlaessig. */
.wf-sp a, .wf-bald { display: block; font-size: 14px; color: var(--ink-2);
                     text-decoration: none; padding: 7px 0; margin-bottom: 0; }
.wf-sp a:hover { color: var(--accent); }
.wf-bald { color: var(--ink-3); }
.wf-unten { border-top: 1px solid var(--line); }
.wf-unten { width: 100%; max-width: 1180px; margin: 0 auto; padding: 16px 20px 26px;
            display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
            font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 880px) {
  .wf-in { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .wa { padding: 48px 0; }
  .wh-in { padding-block: 52px 56px; }
  .wf-in { grid-template-columns: 1fr; }
  .wh-zahlen { gap: 22px; }
  .wc-in { padding-block: 44px; }
}

/* ---- Bilder der Anwendung -------------------------------------------------
   Eine Seite, die eine Anwendung verkauft, ohne sie zu zeigen, ist ein
   Prospekt. Die Aufnahmen stammen aus dem Uebungsverein - dort ist jeder
   Name erfunden. */
/* Das Bild darf ueber den rechten Rand hinauslaufen: so ist es gross genug,
   dass man die Zahlen liest, statt ein graues Rechteck zu sehen. */
.wh-zwei { display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.15fr);
           gap: 40px; align-items: center; }
.wh-zwei > .wh-bild { margin-right: clamp(-150px, -7vw, 0px); }
.wh-bild { position: relative; }
.wh-bild img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 70px -22px rgba(0,0,0,.65);
}
.wh-bild .wh-marke {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(8,20,32,.78); color: rgba(255,255,255,.82);
  font-size: 11.5px; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 7px; backdrop-filter: blur(3px);
}
.wh-zwei .wh-zahlen { grid-column: 1 / -1; margin-top: 26px; }
.wh-zwei { align-items: start; }
.wh-zwei > .wh-bild { margin-top: 8px; }

/* Der Hinweis auf die Beispieldaten gehoert unter das Bild, nicht darueber -
   dort verdeckt er eine Karte, und verdeckte Karten sind das Gegenteil
   dessen, was ein Produktbild zeigen soll. */
.wh-bild .wh-marke, .wz-bild .wh-marke {
  position: static; display: inline-block; margin-top: 9px;
  background: none; backdrop-filter: none; padding: 0;
  color: rgba(255,255,255,.52); font-size: 11.5px;
}
.wz-bild .wh-marke { color: var(--ink-3); }

.wz { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
      gap: 34px; align-items: center; margin-top: 30px; }
.wz + .wz { margin-top: 46px; }
.wz.kehr > .wz-bild { order: -1; }
.wz-bild img {
  display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 22px 48px -20px rgba(11,31,43,.34);
}
.wz-bild { position: relative; }
.wz-bild .wh-marke {
  position: absolute; left: 11px; bottom: 11px;
  background: rgba(8,20,32,.76); color: rgba(255,255,255,.84);
  font-size: 11.5px; padding: 5px 10px; border-radius: 7px;
}
.wz h3 { font-size: 21px; margin: 0 0 9px; }
.wz p { margin: 0; color: var(--ink-2); line-height: 1.65; }

@media (max-width: 900px) {
  .wh-zwei { grid-template-columns: 1fr; gap: 30px; }
  .wz { grid-template-columns: 1fr; gap: 18px; }
  .wz.kehr > .wz-bild { order: 0; }
}

/* Welches Bild wo. Am Handy zeigt der Held die Handaufnahme - eine
   geschrumpfte Schreibtischaufnahme waere dort nur ein graues Rechteck. */
.wh-bild .nur-klein { display: none; }
@media (max-width: 760px) {
  .wh-bild .nur-gross { display: none; }
  .wh-bild .nur-klein { display: block; max-width: 240px; margin: 0 auto; }
  .wh-zwei > .wh-bild { margin-right: 0; }
  .wh-bild .wh-marke { display: block; text-align: center; }
}
