/* =====================================================================
   FreeLazLink – Webseite
   Gestaltung nach dem Erscheinungsbild von www.it-pro-jung.eu:
   Tastatur-Hintergrund in Blau, helle Karte, Tahoma, Navy/Grün/Rot
   ===================================================================== */

:root {
  --navy: #002b66;          /* Überschriften, Links (wie Firmenseite) */
  --navy-tief: #0d1f4d;     /* dunkler Bereich im Kopf */
  --hintergrund: #274b7f;   /* Seitenhintergrund (Farbe des Tastaturfotos) */
  --gruen: #669933;         /* Knöpfe, Hervorhebungen (wie Firmenseite) */
  --gruen-dunkel: #557f2a;
  --rot: #aa0000;           /* Hover-Farbe (wie Firmenseite) */
  --grau: #dddddd;
  --grau-hell: #f3f5f9;
  --text: #1b2433;
  --text-leise: #5a6475;
  --gold: #f6c440;          /* Farben des FreeLazLink-Schriftzugs */
  --tuerkis: #46d7c2;
  --radius: 10px;
  --schatten: 0 10px 30px rgba(0, 20, 60, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: Tahoma, Verdana, "DejaVu Sans", Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.55;
  background: var(--hintergrund) url(../img/ci-header.jpg) no-repeat center top / 100% auto;
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--rot); text-decoration: underline; }
code, kbd { font-family: Consolas, "DejaVu Sans Mono", Menlo, monospace; font-size: .92em; }
code { background: var(--grau-hell); padding: 0 .3em; border-radius: 4px; }
kbd { display: inline-block; min-width: 1.6em; text-align: center; padding: 0 .35em; margin: 0 .08em;
      border: 1px solid #aab3c2; border-bottom-width: 3px; border-radius: 5px; background: #fff; color: var(--navy); }

/* ---------- Karte (helle Fläche wie auf der Firmenseite) ---------- */
.karte {
  max-width: 1200px;
  margin: 40px auto;
  background: rgba(255, 255, 255, .97);
  border: 2px solid #8a97ad;
  outline: 1px solid rgba(255, 255, 255, .7);
  outline-offset: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 22px 6px; }
.sprachen { display: flex; flex-wrap: wrap; gap: 6px; }
.flagge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid transparent;
          border-radius: 6px; font-size: 12px; color: var(--text-leise); }
.flagge img { width: 24px; height: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.flagge:hover { border-color: var(--grau); background: var(--grau-hell); text-decoration: none; }
.flagge.aktiv { border-color: var(--navy); color: var(--navy); font-weight: bold; background: #eef3fb; }
.firmenlogo img { display: block; width: 220px; }

/* ---------- Zweispaltiger Rahmen: Menü links wie auf der Firmenseite ---------- */
.rahmen { display: grid; grid-template-columns: 200px 1fr; gap: 0 28px; padding: 0 22px 10px; }
.menue ul { list-style: none; margin: 0; padding: 18px 0 0 6px; position: sticky; top: 14px; }
.menue li { height: 40px; display: flex; align-items: center; }
.menue a { font-size: 16px; color: #000; transition: font-size .15s; }
.menue a:hover { color: var(--rot); text-decoration: none; }
.menue a.aktiv { font-size: 24px; color: #000; }
.menue li.klein { margin-top: 18px; height: auto; }
.menue li.klein a { font-size: 12px; color: var(--text-leise); }
main { min-width: 0; }
section { padding: 18px 0 30px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h2 { font-size: 28px; letter-spacing: .5px; margin: 10px 0 18px; padding-bottom: 6px; border-bottom: 1px solid var(--navy); }
h3 { font-size: 18px; margin: 6px 0 8px; }
.hinweis { color: var(--text-leise); font-size: 14px; }

/* ---------- Kopfbereich ---------- */
.held {
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 10px;
  background: radial-gradient(circle at 80% 20%, #2a3a8a 0, var(--navy-tief) 55%, #0a1638 100%);
  color: #e9eefb; border-radius: var(--radius); overflow: hidden; padding: 0; margin-top: 10px;
}
.heldtext { padding: 34px 10px 30px 34px; }
.kicker { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: #a8b8e0; margin: 0 0 6px; }
.held h1 { display: flex; align-items: center; gap: 14px; font-size: clamp(34px, 4.4vw, 56px); margin: 0 0 6px; letter-spacing: 0; color: #fff; }
.held h1 .wort { white-space: nowrap; }
.held h1 img { width: 58px; height: 58px; flex: none; }
.free { color: var(--gold); } .laz { color: var(--tuerkis); } .link { color: #fff; }
.slogan { font-size: clamp(20px, 2.6vw, 26px); color: #fff; margin: 0 0 12px; font-weight: bold; }
.held p { font-size: 16px; }
.held strong { color: #fff; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 99px;
             background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; }
.badges .ok { color: var(--tuerkis); }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 10px; }
.zaehler { font-size: 15px; }
.held .zaehler b { color: var(--gold); font-size: 18px; }
.version { font-size: 13px; color: #a8b8e0; margin: 4px 0 0; }
.heldbild { align-self: stretch; }
.heldbild img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Knöpfe (grün wie auf der Firmenseite) ---------- */
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 7px; font-weight: bold;
         background: var(--gruen); color: #fff; border: 1px solid var(--gruen-dunkel); white-space: nowrap; font-size: 15px; }
.knopf svg { width: 18px; height: 18px; }
.knopf:hover { background: var(--gruen-dunkel); color: #fff; text-decoration: none; }
.knopf.gross { padding: 13px 22px; font-size: 17px; }
.knopf.hell { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.knopf.hell:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Was ist … ---------- */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.profi { background: var(--grau-hell); border-left: 4px solid var(--gruen); padding: 8px 12px; font-size: 14px; border-radius: 0 6px 6px 0; }
.profi span { font-weight: bold; color: var(--gruen-dunkel); }
figure { margin: 0; }
figcaption { font-size: 13px; color: var(--text-leise); margin-top: 6px; }
.bildknopf { display: block; width: 100%; padding: 0; border: 1px solid var(--grau); border-radius: 8px; background: #fff;
             cursor: zoom-in; overflow: hidden; box-shadow: var(--schatten); transition: transform .2s; }
.bildknopf:hover { transform: translateY(-3px); }
.bildknopf img { display: block; width: 100%; }

/* ---------- Vorteile ---------- */
.vorteile { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 16px; }
.vorteil { background: #fff; border: 1px solid var(--grau); border-radius: var(--radius); padding: 18px; box-shadow: var(--schatten);
           border-top: 4px solid var(--navy); display: flex; flex-direction: column; }
.vorteil:nth-child(3) { border-top-color: var(--gruen); }
.vorteil .sym { width: 38px; height: 38px; color: var(--navy); background: #eef3fb; border-radius: 9px; padding: 6px; }
.vorteil p { font-size: 15px; margin: 6px 0; }
.vorteil .profi { margin-top: auto; font-size: 13px; }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.galerie figure.breit { grid-column: 1 / -1; }

/* ---------- Vergleichstabelle ---------- */
.tabellenhuelle { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--schatten); }
.vergleich { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.vergleich th, .vergleich td { padding: 10px 12px; border-bottom: 1px solid #e6e9ef; text-align: left; vertical-align: middle; }
.vergleich thead th { background: var(--navy); color: #fff; }
.vergleich thead th.fll { background: var(--gruen); }
.vergleich thead img { vertical-align: -4px; }
.vergleich tbody th { font-weight: normal; }
.vergleich tbody tr:nth-child(even) { background: #f8f9fc; }
.vergleich td.fll { background: rgba(102, 153, 51, .08); font-weight: bold; color: var(--gruen-dunkel); white-space: nowrap; }
.vergleich td.putty { color: var(--text-leise); }
.ok, .nein { width: 18px; height: 18px; vertical-align: -3px; }
.ok { color: var(--gruen); } .nein { color: var(--rot); }
.teils { color: var(--text-leise); }

/* ---------- Zielgruppen ---------- */
.ziele { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ziel { background: #fff; border: 1px solid var(--grau); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.ziel > img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ziel > div { padding: 14px 18px; }
.ziel ul { list-style: none; padding: 0; margin: 0; }
.ziel li { padding: 4px 0 4px 26px; position: relative; font-size: 15px; }
.ziel li .ok { position: absolute; left: 0; top: 7px; }

/* ---------- Download ---------- */
.dlinfo { font-size: 14px; color: var(--text-leise); }
.dlinfo .zaehler b { color: var(--navy); }
.empfehlung { background: linear-gradient(135deg, #eef6e6, #e8f0fb); border: 2px solid var(--gruen); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; }
.empfehlung .titel { margin: 0 0 6px; font-weight: bold; color: var(--gruen-dunkel); }
.empfehlung .paket { border: 0; padding: 0; background: transparent; }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dlgruppe { background: #fff; border: 1px solid var(--grau); border-radius: var(--radius); padding: 12px 16px 6px; box-shadow: var(--schatten); }
.dlgruppe h3 { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.dlgruppe ul { list-style: none; padding: 0; margin: 0; }
.paket { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "text knopf" "groesse zahl"; gap: 2px 12px;
         align-items: center; padding: 10px 0; border-top: 1px solid #eceff4; }
.paket > div { grid-area: text; }
.paket .groesse { grid-area: groesse; font-size: 12px; color: var(--text-leise); }
.paket .knopf { grid-area: knopf; }
.dlzahl { grid-area: zahl; justify-self: center; align-self: start; margin-top: 4px; padding: 1px 9px; border-radius: 99px;
          background: #eef3fb; color: var(--navy); font-size: 12px; font-weight: bold; white-space: nowrap; }
.paket.empfohlen { background: #f3f9ec; margin: 0 -8px; padding: 10px 8px; border-radius: 6px; }
.code { display: block; font-family: Consolas, "DejaVu Sans Mono", Menlo, monospace; font-weight: bold; color: var(--navy); }
.beschr { display: block; font-size: 14px; }
.tipp { font-size: 13px; color: var(--text-leise); border-top: 1px dashed var(--grau); padding-top: 8px; }

/* ---------- Firmenband (Bilder von www.it-pro-jung.eu) ---------- */
.firma { padding: 10px 22px 18px; text-align: center; }
.firma a { color: var(--navy); text-decoration: none; }
.firma p { margin: 0 0 10px; font-size: 14px; letter-spacing: .3px; }
.firmenbilder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 1060px; margin: 0 auto; }
.firmenbilder img { width: 100%; max-width: 250px; justify-self: center; }
@media (max-width: 700px) { .firmenbilder { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Fuß ---------- */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--grau);
        font-size: 13px; color: var(--text-leise); background: #f7f8fb; }
.fuss img { vertical-align: -8px; }

/* ---------- Vergrößerung ---------- */
dialog#lupe { border: 0; padding: 0; max-width: min(1300px, 96vw); background: #fff; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
dialog#lupe::backdrop { background: rgba(5, 15, 40, .8); }
dialog#lupe img { display: block; max-height: 82vh; width: auto; margin: 0 auto; }
dialog#lupe p { margin: 0; padding: 10px 16px; font-size: 14px; }
dialog#lupe .zu { position: absolute; right: 8px; top: 6px; width: 36px; height: 36px; border-radius: 50%; border: 0;
                  background: rgba(0, 0, 0, .55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Rechtliches ---------- */
.recht { padding: 0 34px 20px; max-width: 900px; }
.recht h2 { margin-top: 28px; }
.recht h3 { margin-top: 20px; }
.recht p, .recht li { font-size: 15px; }
.recht address { font-style: normal; }
.zurueck { display: inline-block; margin: 12px 0 0 34px; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 980px) {
  .karte { margin: 0; border: 0; outline: 0; }
  .rahmen { grid-template-columns: 1fr; padding: 0 16px 10px; }
  .menue ul { position: static; display: flex; gap: 6px 14px; flex-wrap: wrap; padding: 6px 0 0; }
  .menue li { height: auto; }
  .menue a.aktiv { font-size: 16px; color: var(--rot); }
  .menue li.klein { margin-top: 0; }
  .held { grid-template-columns: 1fr; }
  .heldbild { max-height: 260px; overflow: hidden; }
  .zweispaltig, .ziele, .downloads, .galerie { grid-template-columns: 1fr; }
  .kopf { padding: 12px 16px 4px; flex-direction: column-reverse; }
  .firmenlogo img { width: 170px; }
  .recht { padding: 0 16px 20px; }
  .zurueck { margin-left: 16px; }
}
@media (max-width: 520px) {
  .heldtext { padding: 24px 18px; }
  .held h1 img { width: 46px; height: 46px; }
  .paket { grid-template-columns: 1fr; grid-template-areas: "text" "groesse" "knopf" "zahl"; }
  .dlzahl { justify-self: start; }
  .paket .knopf { justify-self: start; margin-top: 6px; }
  .vergleich { font-size: 13px; }
  .vergleich td.fll { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bildknopf { transition: none; } }
@media print { body { background: #fff; } .karte { box-shadow: none; border: 0; } .menue, .sprachen, dialog { display: none; } }
