/* maduno — gemeinsame Teile aller Vorschläge (14.10.2026)
   Typenschlag-Vorhang, Kontaktleiste, Formular. Farben kommen aus der jeweiligen Seite:
   --k-grund, --k-text, --k-leise, --k-akzent, --k-akzent-text, --k-flaeche, --k-kante */

@font-face{font-family:"Maschine";src:url(../schrift/oradano-latein.ttf) format("truetype");font-weight:400;font-display:swap}
.ms{font-family:"Maschine","Courier New",monospace;font-weight:400}

/* Vorhang mit Typenschlag */
#intro{position:fixed;inset:0;background:#15171A;z-index:100;transition:opacity 2.4s cubic-bezier(.4,0,.2,1),visibility 2.4s}
#intro.weg{opacity:0;visibility:hidden}
#intro.flott{transition-duration:1.65s}
#intro:not(.weg){transition-duration:.3s}  /* 15.10.: zudecken schnell, aufdecken langsam */
#intro iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#15171A}
/* 14.10.: Hinweis mitten auf dem leeren Blatt — sonst wartet man vor einem weißen Blatt */
#start{position:absolute;inset:0;z-index:2;width:100%;border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:0}
#start .s-wort{font-family:"Maschine","Courier New",monospace;font-size:clamp(30px,5vw,54px);letter-spacing:.06em;color:#15171A}
#start .s-wort:after{content:"";display:inline-block;width:.5em;height:1em;margin-left:.2em;vertical-align:-.12em;background:#E3B505;animation:schreibmarke 1.1s steps(1) infinite}
#start .s-hinweis{font:500 15px/1.3 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;color:#6F675A;letter-spacing:.02em}
#start:focus-visible .s-wort{outline:1px solid #E3B505;outline-offset:8px}
#start[hidden]{display:none}
#fang{position:absolute;inset:0;z-index:1;cursor:pointer}
.sm-schalter{font:inherit;font-family:"Maschine","Courier New",monospace;background:none;border:0;color:inherit;cursor:pointer;padding:0;margin-left:16px;text-decoration:underline;text-underline-offset:3px}
@keyframes schreibmarke{50%{opacity:0}}
/* 15.10.: kurzes Schild beim Wechsel der Branche oder Arbeit — ohne Schreibmaschine */
#schild{position:fixed;inset:0;z-index:101;background:#15171A;display:flex;align-items:center;justify-content:center;padding:24px;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s}
#schild.an{opacity:1;visibility:visible;transition-duration:.15s}
#schild span{font-family:"Maschine","Courier New",monospace;font-size:clamp(34px,6vw,64px);letter-spacing:.04em;color:#F2EFE8;text-align:center}
#schild span:after{content:"";display:inline-block;width:.5em;height:1em;margin-left:.2em;vertical-align:-.12em;background:#E3B505}

/* Kontakt von überall: am Handy feste Leiste unten, am Rechner unten rechts */
.k-leiste{position:fixed;z-index:97;display:flex;gap:8px;right:22px;bottom:22px}
.k-leiste a{display:flex;align-items:center;gap:8px;padding:12px 16px;border-radius:999px;text-decoration:none;font:600 15px/1 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  background:var(--k-flaeche,#1D2024);color:var(--k-text,#E8E6E2);border:1px solid var(--k-kante,#2B2F35);box-shadow:0 8px 24px rgba(0,0,0,.18)}
.k-leiste a.k-haupt{background:var(--k-akzent,#E3B505);color:var(--k-akzent-text,#15171A);border-color:transparent}
.k-leiste a:hover{transform:translateY(-1px)}
.k-leiste svg{width:18px;height:18px;flex:none}
@media(min-width:901px){body{padding-bottom:84px}}  /* Platz, damit die Leiste den Fuß nicht verdeckt */
@media(max-width:900px){
  .k-leiste{left:0;right:0;bottom:0;gap:0;border-top:1px solid var(--k-kante,#2B2F35);background:var(--k-flaeche,#1D2024);padding-bottom:env(safe-area-inset-bottom,0px)}
  .k-leiste a{flex:1;justify-content:center;flex-direction:column;gap:5px;border-radius:0;border:0;box-shadow:none;padding:11px 4px 10px;font-size:13px;background:transparent}
  .k-leiste a.k-haupt{background:var(--k-akzent,#E3B505)}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  section{scroll-margin-top:112px!important}  /* am Handy ist der Kopf zweizeilig */
}

/* Arbeiten: Ebene über der Seite */
.werk{position:fixed;inset:0;z-index:95;overflow-y:auto;background:var(--k-grund,#15171A);color:var(--k-text,#E8E6E2);-webkit-overflow-scrolling:touch}
.werk[hidden]{display:none}
.werk-leiste{position:sticky;top:0;z-index:2;background:var(--k-grund,#15171A);border-bottom:1px solid var(--k-kante,#2B2F35);padding:12px 24px}
.werk-zu{font:16px/1 "Maschine","Courier New",monospace;background:none;border:0;color:var(--k-text,#E8E6E2);cursor:pointer;padding:6px 0}
.werk-zu:hover{text-decoration:underline}
.werk-inhalt{max-width:980px;margin:0 auto;padding:40px 24px 120px;font:17px/1.6 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif}
.werk-etikett{font-family:"Maschine","Courier New",monospace;color:var(--k-leise,#8E9299);font-size:15px}
.werk-inhalt h1{font-size:clamp(30px,4.4vw,48px);line-height:1.08;letter-spacing:-.03em;font-weight:800;margin-top:10px;max-width:22ch}
.werk-lead{font-size:19px;margin-top:16px;max-width:62ch;color:var(--k-leise,#8E9299)}
.werk-fall{margin-top:56px}
.werk-fall h2{font-family:"Maschine","Courier New",monospace;font-weight:400;font-size:24px;line-height:1.2}
.werk-fall p{margin-top:10px;max-width:66ch}
.werk-fall figure{margin-top:18px}
.werk-fall img{display:block;width:100%;height:auto;border:1px solid var(--k-kante,#2B2F35);box-shadow:0 14px 40px rgba(0,0,0,.18)}
.werk-fall figcaption{font-size:14px;color:var(--k-leise,#8E9299);margin-top:8px}
.werk-probe{margin-top:56px;padding:22px 24px;border:1px solid var(--k-kante,#2B2F35);display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between}
.werk-probe a{font:18px/1 "Maschine","Courier New",monospace;padding:12px 16px;background:var(--k-akzent,#E3B505);color:var(--k-akzent-text,#15171A);text-decoration:none}
@media(max-width:900px){.werk-inhalt{padding:28px 16px 120px}.werk-leiste{padding:10px 16px}}

/* Formular */
.k-form{margin:auto;border:0;padding:0;max-width:460px;width:calc(100% - 32px);background:var(--k-grund,#15171A);color:var(--k-text,#E8E6E2);border-radius:6px;box-shadow:0 30px 80px rgba(0,0,0,.45)}
.k-form::backdrop{background:rgba(10,11,12,.6)}
.k-form form{padding:26px 24px 22px;display:flex;flex-direction:column;gap:14px;font:16px/1.45 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif}
.k-form h2{font-family:"Maschine","Courier New",monospace;font-weight:400;font-size:24px;line-height:1.1}
.k-form p{color:var(--k-leise,#8E9299);font-size:14px}
.k-form label{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600}
.k-form input,.k-form textarea{font:inherit;font-weight:400;padding:11px 12px;border-radius:4px;border:1px solid var(--k-kante,#2B2F35);background:var(--k-flaeche,#1D2024);color:var(--k-text,#E8E6E2)}
.k-form textarea{min-height:96px;resize:vertical}
.k-form input:focus,.k-form textarea:focus{outline:2px solid var(--k-akzent,#E3B505);outline-offset:1px}
.k-form .k-honig{position:absolute;left:-9999px}
.k-form .k-knoepfe{display:flex;gap:10px;justify-content:flex-end;margin-top:4px}
.k-form button{font:600 15px/1 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;padding:12px 18px;border-radius:4px;border:1px solid var(--k-kante,#2B2F35);background:transparent;color:var(--k-text,#E8E6E2);cursor:pointer}
.k-form button[type=submit]{background:var(--k-akzent,#E3B505);color:var(--k-akzent-text,#15171A);border-color:transparent}
.k-form .k-klein{font-size:12.5px}

/* 14.10.: Ergebnis nach dem Absenden — groß und eindeutig */
.k-form form[hidden],.k-ergebnis[hidden]{display:none}
.k-ergebnis{padding:34px 26px 24px;display:flex;flex-direction:column;gap:14px;font:16px/1.5 system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif}
.k-ergebnis h2{font-family:"Maschine","Courier New",monospace;font-weight:400;font-size:34px;line-height:1.1}
.k-ergebnis h2:before{content:"";display:block;width:44px;height:4px;background:var(--k-akzent,#E3B505);margin-bottom:18px}
.k-ergebnis .k-e-text{font-size:17px;color:var(--k-text,#E8E6E2)}
.k-e-wege{display:flex;flex-direction:column;gap:8px}
.k-e-weg{display:block;padding:12px 14px;border:1px solid var(--k-kante,#2B2F35);border-radius:4px;text-decoration:none;color:var(--k-text,#E8E6E2);font-weight:600;background:var(--k-flaeche,#1D2024)}
.k-form button:disabled{opacity:.6;cursor:wait}
