/* Passwort-Generator, Seite /passwort-generator/ (Stand 07.10.2026).
   Teil 1: Seitenanordnung der Elementor-Container und Widgets (Klassen hkpw-*).
   Teil 2: Werkzeug-Karte und Blatt aus [hk_passwort2]. */

.hkpw-seite,.hkpw-karte,.hkpw-blatt{
 --blatt:#FAF6EF;--blatt2:#FAF3E6;--auf:#FDFCF8;--ink:#241F17;--text:#4A443A;--meta:#8A7B63;
 --linie:rgba(61,46,30,.16);--linie-z:rgba(61,46,30,.10);
 --gold:#FFB606;--gold-d:#F0A800;--zeichen:#B87E04;--tinte:#3D2E1E;--gruen:#2F7A55;--rot:#B3412E;--nacht:#1A1A2E;
 font-family:"Plus Jakarta Sans",system-ui,sans-serif;-webkit-font-smoothing:antialiased}

/* ---------- Teil 1: Seite ---------- */
.elementor .e-con.hkpw-erster{--padding-top:48px;--padding-bottom:10vh;--padding-left:5.2vw;--padding-right:5.2vw}
.elementor .e-con.hkpw-zweites{--padding-top:80px;--padding-bottom:88px;--padding-left:5.2vw;--padding-right:5.2vw}

/* Pfad und Kopfzeile mit Haarlinie */
.hkpw-seite .hkpw-pfad .elementor-heading-title{display:flex;align-items:center;gap:16px;margin:0;font-size:16px;font-weight:600;line-height:1.4;letter-spacing:.2em;text-transform:uppercase;color:var(--meta)}
.hkpw-seite .hkpw-pfad .elementor-heading-title::after{content:"";flex:1;height:1px;background:var(--linie)}
.hkpw-seite .hkpw-pfad .elementor-heading-title b{font-weight:600;color:var(--ink)}
.hkpw-seite .hkpw-pfad .elementor-heading-title a{color:inherit;text-decoration:none}
.hkpw-seite .hkpw-pfad .elementor-heading-title a:hover{color:var(--ink);text-decoration:underline;text-decoration-color:var(--zeichen);text-underline-offset:3px}
.hkpw-seite .elementor-widget.hkpw-pfad{margin-bottom:36px}
.elementor .e-con.hkpw-seite,.elementor .e-con.hkpw-text,.elementor .e-con.hkpw-szene{--align-items:stretch}

/* Bühne: Text links, Werkzeug rechts */
.elementor .e-con.hkpw-buehne{display:grid;grid-template-columns:minmax(0,1fr);gap:44px}
@media(min-width:1200px){.elementor .e-con.hkpw-buehne{grid-template-columns:minmax(0,37fr) minmax(0,63fr);gap:4.5vw;align-items:center}}
.elementor .e-con.hkpw-text,.elementor .e-con.hkpw-szene{--gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;width:100%}

.hkpw-seite .hkpw-h1 .elementor-heading-title{margin:0;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-weight:200;font-size:clamp(32px,2.9vw,56px);line-height:1.08;letter-spacing:-.025em;color:var(--ink);text-wrap:balance}
.hkpw-seite .hkpw-lead{margin-top:22px;max-width:31em;font-size:17px;line-height:1.7;color:var(--text)}
.hkpw-seite .hkpw-lead p{margin:0}
.hkpw-seite .hkpw-lead a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--zeichen);text-underline-offset:3px}

/* Zusage (Symbolkasten) */
.hkpw-seite .hkpw-zusage{margin-top:28px;max-width:31em;padding:18px 0;border-top:1px solid var(--linie);border-bottom:1px solid var(--linie)}
.hkpw-seite .elementor-widget.hkpw-zusage .elementor-icon-box-wrapper{display:flex;flex-direction:row;gap:14px;align-items:flex-start;text-align:left}
.hkpw-seite .hkpw-zusage .elementor-icon-box-icon{margin:2px 0 0;flex:0 0 40px}
.hkpw-seite .hkpw-zusage .elementor-icon{font-size:28px;color:var(--tinte);fill:var(--tinte)}
.hkpw-seite .hkpw-zusage .elementor-icon svg{width:28px;height:28px}
.hkpw-seite .hkpw-zusage .elementor-icon-box-title{margin:0;font-size:16px;font-weight:600;line-height:1.4;color:var(--ink)}
.hkpw-seite .hkpw-zusage .elementor-icon-box-description{margin:4px 0 0;font-size:14px;line-height:1.6;color:var(--text)}

/* Karte und Blatt überlappen leicht */
.hkpw-seite .hkpw-w-karte{position:relative;z-index:2;width:88%;max-width:88%}
.hkpw-seite .hkpw-w-blatt{position:relative;z-index:1;width:62%;max-width:62%;margin:-56px 0 0 38%}

/* Fragen und Antworten */
.hkpw-seite .hkpw-h2 .elementor-heading-title{margin:0;max-width:24ch;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:clamp(30px,2.6vw,48px);font-weight:200;line-height:1.14;letter-spacing:-.02em;color:var(--ink)}
.hkpw-seite.hkpw-zweites .elementor-widget.hkpw-pfad{margin-bottom:20px}
.hkpw-seite .elementor-widget.hkpw-h2{margin-bottom:44px}
.hkpw-seite .hkpw-fragen .elementor-accordion{border-top:1px solid var(--linie)}
.hkpw-seite .hkpw-fragen .elementor-accordion-item{border:0;border-bottom:1px solid var(--linie)}
.hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-title{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:24px;padding:20px 0 21px;border:0;margin:0;font-family:"Plus Jakarta Sans",system-ui,sans-serif;font-size:17.5px;font-weight:600;line-height:1.4;color:var(--ink)}
.hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-title a{font:inherit;letter-spacing:inherit;text-transform:none;color:var(--ink);text-decoration:none}
.hkpw-seite .hkpw-fragen .elementor-accordion-icon{flex:0 0 14px;width:14px;float:none;color:var(--gold-d);fill:var(--gold-d)}
.hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-title .elementor-accordion-icon svg{width:14px;height:14px;fill:var(--gold-d);opacity:1}
.hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-content{padding:0 40px 24px 0;border:0;font-size:16px;line-height:1.68;color:var(--text)}
.hkpw-seite .hkpw-fragen .elementor-tab-content p{margin:0;max-width:74ch}
.hkpw-seite .hkpw-fragen .elementor-tab-content p+p{margin-top:12px}
.hkpw-seite .hkpw-quelle{margin-top:28px;max-width:110ch;font-size:13px;line-height:1.6;color:var(--meta)}
.hkpw-seite .hkpw-quelle p{margin:0}

/* ---------- Teil 2: Werkzeug ---------- */
.hkpw-karte *,.hkpw-blatt *{box-sizing:border-box}
.hkpw-karte{position:relative;background:var(--auf);border:1px solid rgba(61,46,30,.2);box-shadow:0 24px 44px rgba(61,46,30,.13);color:var(--text)}
.hkpw-karte p,.hkpw-blatt p{margin:0}

/* Auswahl Wörter / Zeichen: Kit-Knopfstile gezielt überschreiben, Ränder 1 px */
.hkpw-karte .hkpw-wahl{padding:20px 24px 0}
.hkpw-karte .hkpw-wahl-frage{margin:0 0 10px;font-size:12.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--meta)}
.hkpw-karte .hkpw-wahl .hkpw-reiter{display:grid;grid-template-columns:1fr 1fr;gap:0}
.hkpw-karte .hkpw-wahl .hkpw-reiter button{position:relative;display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px 14px;text-align:left;border:1px solid #B8AD9C;border-radius:0;box-shadow:none;background:#fff;color:var(--ink);font-family:"Plus Jakarta Sans",system-ui,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer}
.hkpw-karte .hkpw-wahl .hkpw-reiter button+button{margin-left:-1px}
.hkpw-karte .hkpw-wahl .hkpw-reiter button:hover,.hkpw-karte .hkpw-wahl .hkpw-reiter button:focus{background:#FBF7EE;border-color:#B8AD9C;color:var(--ink)}
.hkpw-karte .hkpw-wahl .hkpw-reiter button::before{content:"";flex:none;width:14px;height:14px;margin-top:3px;border:1px solid var(--tinte);border-radius:50%;background:#fff}
.hkpw-karte .hkpw-wahl .hkpw-reiter button[aria-selected="true"],.hkpw-karte .hkpw-wahl .hkpw-reiter button[aria-selected="true"]:hover,.hkpw-karte .hkpw-wahl .hkpw-reiter button[aria-selected="true"]:focus{z-index:1;background:#FFF4D6;border-color:var(--gold-d)}
.hkpw-karte .hkpw-wahl .hkpw-reiter button[aria-selected="true"]::before{background:var(--tinte);box-shadow:inset 0 0 0 3px #FFF4D6}
.hkpw-karte .hkpw-wahl .hkpw-reiter b{display:block;font-size:15.5px;font-weight:600;line-height:1.3;color:var(--ink)}
.hkpw-karte .hkpw-wahl .hkpw-reiter small{display:block;margin-top:2px;font-size:13px;font-weight:400;line-height:1.35;color:var(--meta)}
.hkpw-karte button:focus-visible,.hkpw-karte select:focus-visible,.hkpw-karte input:focus-visible{outline:2px solid var(--tinte);outline-offset:2px}

.hkpw-karte .hkpw-kern{padding:22px 24px}
.hkpw-karte .hkpw-feld{background:var(--nacht);color:#fff;padding:22px 22px 20px}
.hkpw-karte .hkpw-label{font-size:12.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.74)}
.hkpw-karte .hkpw-pw{display:block;min-height:1.3em;margin-top:10px;font-size:clamp(22px,1.75vw,30px);font-weight:600;line-height:1.3;color:#fff;letter-spacing:-.003em;overflow-wrap:anywhere}
.hkpw-karte .hkpw-pw .hkpw-tz{color:var(--gold);font-weight:500}
.hkpw-karte[data-art="z"] .hkpw-pw{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;font-weight:500;letter-spacing:.04em}
.hkpw-karte .hkpw-staerke{display:flex;align-items:center;gap:14px;margin-top:18px}
.hkpw-karte .hkpw-balken{flex:1;height:6px;background:rgba(255,255,255,.15)}
.hkpw-karte .hkpw-balken i{display:block;width:0;height:100%;background:var(--gold);transition:width .25s}
.hkpw-karte .hkpw-balken i.schwach{background:#E0574B}
.hkpw-karte .hkpw-stufe{font-size:16px;font-weight:700;color:#fff;white-space:nowrap}
.hkpw-karte .hkpw-zeit{margin-top:10px;font-size:16px;line-height:1.5;color:rgba(255,255,255,.88)}

.hkpw-karte .hkpw-knoepfe{display:flex;gap:12px;margin-top:18px}
.hkpw-karte .hkpw-knoepfe button{flex:1;margin:0;padding:15px 20px;border:1px solid var(--gold);border-radius:0;box-shadow:none;background:var(--gold);color:var(--tinte);font:700 16px/1.1 "Plus Jakarta Sans",system-ui,sans-serif;text-transform:none;letter-spacing:0;cursor:pointer;transition:background .2s,border-color .2s}
.hkpw-karte .hkpw-knoepfe button:hover,.hkpw-karte .hkpw-knoepfe button:focus{background:var(--gold-d);border-color:var(--gold-d);color:var(--tinte)}
.hkpw-karte .hkpw-knoepfe .hkpw-kopie{background:transparent;border-color:var(--tinte);color:var(--tinte)}
.hkpw-karte .hkpw-knoepfe .hkpw-kopie:hover,.hkpw-karte .hkpw-knoepfe .hkpw-kopie:focus{background:rgba(61,46,30,.06);border-color:var(--tinte);color:var(--tinte)}

/* Einstellungen */
.hkpw-karte .hkpw-regler{margin-top:22px;padding-top:18px;border-top:1px solid var(--linie);display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;align-items:end}
.hkpw-karte .hkpw-regler[hidden]{display:none}
.hkpw-karte .hkpw-regler label.hkpw-titel{display:block;margin:0 0 9px;font-size:14px;font-weight:600;color:var(--ink)}
.hkpw-karte .hkpw-skala{display:flex;justify-content:space-between;font-size:12.5px;color:var(--meta)}
.hkpw-karte input[type=range]{-webkit-appearance:none;appearance:none;display:block;width:100%;height:18px;margin:4px 0 2px;padding:0;border:0;background:transparent;cursor:pointer}
.hkpw-karte input[type=range]::-webkit-slider-runnable-track{height:4px;background:linear-gradient(var(--gold),var(--gold)) 0 0/var(--p,0%) 100% no-repeat,var(--linie)}
.hkpw-karte input[type=range]::-moz-range-track{height:4px;background:var(--linie)}
.hkpw-karte input[type=range]::-moz-range-progress{height:4px;background:var(--gold)}
.hkpw-karte input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:2px solid var(--auf);border-radius:50%;background:var(--gold);box-shadow:0 0 0 1px var(--zeichen)}
.hkpw-karte input[type=range]::-moz-range-thumb{width:14px;height:14px;border:2px solid var(--auf);border-radius:50%;background:var(--gold);box-shadow:0 0 0 1px var(--zeichen)}
.hkpw-karte select{display:block;width:100%;height:auto;margin:0;padding:10px 12px;border:1px solid var(--linie);border-radius:0;background-color:#fff;color:var(--ink);font:400 15px/1.3 "Plus Jakarta Sans",system-ui,sans-serif}
.hkpw-karte .hkpw-haken{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 26px}
.hkpw-karte .hkpw-haken label{display:flex;align-items:center;gap:9px;margin:0;font-size:14px;font-weight:500;color:var(--text);cursor:pointer}
.hkpw-karte .hkpw-haken input{-webkit-appearance:none;appearance:none;flex:0 0 16px;width:16px;height:16px;margin:0;border:1.5px solid var(--tinte);border-radius:0;background:transparent;cursor:pointer}
.hkpw-karte .hkpw-haken input:checked{background:var(--tinte);box-shadow:inset 0 0 0 3px var(--gold)}

/* Blatt "Was dieses Passwort stark macht" */
.hkpw-blatt{padding:76px 28px 20px;background:var(--auf);border:1px solid var(--linie);color:var(--text)}
.hkpw-blatt .hkpw-bk{display:flex;align-items:center;gap:12px;margin-bottom:8px;font-size:15px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--meta)}
.hkpw-blatt .hkpw-bk::after{content:"";flex:1;min-width:24px;height:1px;background:var(--zeichen);opacity:.55}
.hkpw-blatt .hkpw-zeile{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:10px 0;border-bottom:1px solid var(--linie-z);align-items:baseline}
.hkpw-blatt .hkpw-zeile:last-child{border-bottom:0}
.hkpw-blatt .hkpw-zeile b{font-size:14px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--meta)}
.hkpw-blatt .hkpw-zeile em{font-style:normal;font-size:16px;font-weight:500;color:var(--ink)}
.hkpw-blatt .hkpw-zeile small{display:block;margin-top:3px;font-size:12.5px;font-weight:500;line-height:1.5;color:var(--meta)}
.hkpw-blatt .hkpw-zeile small:empty{display:none}
.hkpw-blatt .hkpw-zeile.ok em{color:var(--gruen);font-weight:600}
.hkpw-blatt .hkpw-zeile.nein em{color:var(--rot);font-weight:600}

/* ---------- Handy ---------- */
@media(max-width:767px){
 .elementor .e-con.hkpw-erster{--padding-top:100px;--padding-bottom:48px;--padding-left:20px;--padding-right:20px}
 .elementor .e-con.hkpw-zweites{--padding-top:52px;--padding-bottom:60px;--padding-left:20px;--padding-right:20px}
 .hkpw-seite .elementor-widget.hkpw-pfad{margin-bottom:22px}
 .hkpw-seite .hkpw-pfad .elementor-heading-title{font-size:13px}
 .elementor .e-con.hkpw-buehne{display:flex;flex-direction:column;gap:0}
 .elementor .e-con.hkpw-text,.elementor .e-con.hkpw-szene{display:contents}
 .hkpw-seite .hkpw-h1{order:1}
 .hkpw-seite .hkpw-h1 .elementor-heading-title{font-size:29px}
 .hkpw-seite .hkpw-w-karte{order:2;width:100%;max-width:100%;margin-top:22px}
 .hkpw-seite .hkpw-zusage{order:3;margin-top:22px}
 .hkpw-seite .hkpw-w-blatt{order:4;width:100%;max-width:100%;margin:28px 0 0}
 .hkpw-seite .hkpw-lead{order:5;margin-top:28px;font-size:16px}
 .hkpw-seite .elementor-widget.hkpw-h2{margin-bottom:32px}
 .hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-title{font-size:16.5px}
 .hkpw-seite .hkpw-fragen .elementor-accordion .elementor-tab-content{padding-right:0;font-size:15.5px}
 .hkpw-karte .hkpw-kern{padding:18px 16px}
 .hkpw-karte .hkpw-feld{padding:18px 16px}
 .hkpw-karte .hkpw-pw{font-size:22px}
 .hkpw-karte .hkpw-regler{grid-template-columns:1fr}
 .hkpw-karte .hkpw-wahl{padding:16px 16px 0}
 .hkpw-karte .hkpw-wahl .hkpw-reiter button{padding:10px 9px;gap:7px}
 .hkpw-karte .hkpw-wahl .hkpw-reiter b{font-size:14.5px}
 .hkpw-karte .hkpw-wahl .hkpw-reiter small{font-size:12px}
 .hkpw-karte .hkpw-zeit{font-size:15px}
 .hkpw-blatt{padding:20px}
 .hkpw-blatt .hkpw-bk{font-size:13px}
 .hkpw-blatt .hkpw-zeile{grid-template-columns:104px minmax(0,1fr)}
 .hkpw-blatt .hkpw-zeile b{font-size:13px}
}
