/* Stall-Tabulum – öffentliche Seiten (Landing, Login, Registrierung).
   Klassen mit Präfix stp- , damit nichts mit dem Theme kollidiert. */
.stp{
  /* Corporate Identity: Dunkelgrün #274330 · Salbeigrün #9F9C79 · Warmbeige #E2DBCF · Elfenbein #F6F3EC */
  --g:#274330; --g2:#356044; --gd:#1b3122; --ink:#2c302b; --muted:#767a6e;
  --line:#e2dbcf; --cream:#f6f3ec; --cream2:#efe9dc; --accent:#9f9c79;
  color:var(--ink); font-family:"Outfit","Segoe UI",Roboto,-apple-system,Helvetica,Arial,sans-serif;
  line-height:1.55; font-size:16px;
}
.stp *{box-sizing:border-box}
.stp img{max-width:100%;display:block}
.stp a{color:inherit;text-decoration:none}

/* Buttons */
.stp-btn{display:inline-block;background:var(--g);color:#fff;border:none;border-radius:10px;
  padding:11px 20px;font-weight:600;font-size:15px;cursor:pointer;transition:.13s;text-align:center}
.stp-btn:hover{background:var(--gd)}
.stp-btn-ghost{display:inline-block;background:transparent;color:var(--g);border:1.5px solid var(--g);
  border-radius:10px;padding:9.5px 20px;font-weight:600;font-size:15px;cursor:pointer;text-align:center}
.stp-btn-ghost:hover{background:rgba(39,67,48,.09)}
.stp-btn-lg{padding:14px 28px;font-size:16px}
.stp-link{color:var(--g);font-weight:600}
.stp-link:hover{text-decoration:underline}

/* Nav */
.stp-nav{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}
.stp-nav-in{max-width:1080px;margin:0 auto;padding:12px 22px;display:flex;align-items:center;gap:16px}
.stp-logo{height:44px;width:auto}
.stp-nav-cta{margin-left:auto;display:flex;align-items:center;gap:14px}

/* Hero */
.stp-hero{background:linear-gradient(160deg,#f6f3ec 0%,#efe9dc 60%,#e7e2d3 100%);border-bottom:1px solid var(--line)}
.stp-hero-in{max-width:820px;margin:0 auto;padding:60px 22px 60px;text-align:center}
.stp-hero-logo{height:60px;width:auto;margin:0 auto 22px;display:block}
.stp-hero h1{font-size:42px;line-height:1.12;margin:0 0 16px;letter-spacing:-.5px}
.stp-hero .stp-sub{font-size:19px;color:var(--muted);margin:0 auto 28px;max-width:640px}
.stp-hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.stp-hero-note{margin-top:18px;font-size:13.5px;color:var(--muted)}

/* Sections */
.stp-section{max-width:1080px;margin:0 auto;padding:64px 22px}
.stp-section h2{font-size:30px;text-align:center;margin:0 0 6px;letter-spacing:-.3px}
.stp-section .stp-lead{text-align:center;color:var(--muted);margin:0 auto 40px;max-width:600px}

/* Features */
.stp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.stp-feat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.stp-feat .ic{font-size:30px;margin-bottom:10px}
.stp-feat h3{margin:0 0 6px;font-size:18px}
.stp-feat p{margin:0;color:var(--muted);font-size:14.5px}

/* Pricing */
.stp-pricing{background:var(--cream)}
.stp-price-cards{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;align-items:stretch}
.stp-price{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 26px;width:320px;display:flex;flex-direction:column}
.stp-price-main{border:2px solid var(--g);box-shadow:0 8px 26px rgba(39,67,48,.16);position:relative}
.stp-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--g);color:#fff;font-size:12px;font-weight:700;padding:4px 14px;border-radius:20px}
.stp-price-name{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.stp-price-amt{font-size:38px;font-weight:800;margin:8px 0 4px}
.stp-price-amt span{font-size:16px;font-weight:600;color:var(--muted)}
.stp-price-ust{font-size:12.5px;color:var(--muted);margin:0 0 6px}
.stp-price ul{list-style:none;margin:16px 0 22px;padding:0;flex:1}
.stp-price li{padding:7px 0 7px 26px;position:relative;font-size:14.5px;border-bottom:1px solid #efe9dc}
.stp-price li:before{content:"✓";position:absolute;left:0;color:var(--g);font-weight:800}
.stp-price-foot{color:var(--muted);font-size:13px;text-align:center;margin-top:10px}

/* CTA */
.stp-cta{background:linear-gradient(160deg,var(--g2),var(--g));color:#fff;text-align:center;padding:60px 22px}
.stp-cta h2{font-size:30px;margin:0 0 8px}
.stp-cta p{margin:0 0 24px;opacity:.9}
.stp-cta .stp-btn{background:#fff;color:var(--gd)}
.stp-cta .stp-btn:hover{background:#efe9dc}

/* Footer */
.stp-foot{background:var(--gd);color:#dfe7db;padding:26px 22px;text-align:center;font-size:13.5px}
.stp-foot a{color:#fff;text-decoration:underline}
.stp-foot-brand{font-weight:700;font-size:16px;color:#fff;margin-bottom:6px}

/* Auth (Login/Registrierung) */
.stp-authpage{min-height:100vh;background:linear-gradient(160deg,#f6f3ec,#e7e2d3);display:flex;align-items:center;justify-content:center;padding:30px 16px}
.stp-auth{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 34px rgba(0,0,0,.10);width:100%;max-width:420px;padding:30px 28px}
.stp-auth-logo{height:52px;width:auto;margin:0 auto 18px}
.stp-auth h2{text-align:center;margin:0 0 4px;font-size:22px}
.stp-auth .stp-auth-sub{text-align:center;color:var(--muted);font-size:14px;margin:0 0 20px}
.stp-auth label{display:block;font-size:13px;font-weight:600;color:#4f5450;margin:12px 0 5px}
.stp-auth input{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:9px;font-size:15px;background:#fff}
.stp-auth input:focus{outline:none;border-color:var(--g2);box-shadow:0 0 0 3px rgba(39,67,48,.14)}
.stp-auth .stp-btn{width:100%;margin-top:20px;padding:12px}
.stp-auth-alt{text-align:center;font-size:14px;color:var(--muted);margin:16px 0 0}
.stp-note{background:var(--cream2);border:1px solid var(--line);border-radius:10px;padding:10px 13px;font-size:13.5px;margin-bottom:14px}
.stp-note-error{background:#f6e7e2;border-color:#e6c2b6;color:#8c4a38}
.stp-note-ok{background:#e6efe3;border-color:#bcd4bd;color:#2f5b3a}
.st-verify-icon{font-size:40px;line-height:1;text-align:center;margin:2px 0 8px}
.st-verify-resend{margin:14px 0 4px}
.stp-consents{margin:18px 0 6px;display:flex;flex-direction:column;gap:11px}
.stp-check{display:flex;align-items:flex-start;gap:9px;font-size:12.5px;font-weight:400;color:#4f5450;line-height:1.45;margin:0;cursor:pointer}
.stp-check input{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:var(--g);padding:0}
.stp-check a{color:var(--g);font-weight:600}
.stp-minor-note{font-size:12px;color:var(--muted);background:var(--cream2);border:1px solid var(--line);border-left:3px solid var(--g2);border-radius:8px;padding:9px 12px;margin:14px 0 0;line-height:1.45}

@media(max-width:820px){
  .stp-grid{grid-template-columns:1fr 1fr}
  .stp-hero h1{font-size:32px}
}
@media(max-width:560px){
  .stp-grid{grid-template-columns:1fr}
  .stp-hero h1{font-size:27px}
  .stp-hero .stp-sub{font-size:16.5px}
  .stp-section{padding:44px 18px}
  .stp-nav-cta .stp-link{display:none}
}

/* --- Mehrstufiger Kontoanlage-Assistent (st_register) --- */
.stp-auth.stp-auth-wide{max-width:540px}
.st-reg-steps{display:flex;align-items:center;justify-content:center;gap:6px;margin:2px 0 18px}
.st-reg-dot{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:var(--cream2);color:var(--muted);border:1px solid var(--line)}
.st-reg-dot.is-active{background:var(--g);color:#fff;border-color:var(--g)}
.st-reg-bar{width:34px;height:2px;background:var(--line);border-radius:2px}
.st-reg-legend{font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--g2);margin:0 0 8px}
.st-reg-step[hidden]{display:none}
.st-reg-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.st-reg-nav .stp-btn{width:auto;margin-top:0;padding:11px 22px}
.stp-btn-soft{display:inline-block;background:var(--cream2);color:var(--g);border:1px solid var(--line);border-radius:10px;padding:11px 20px;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none}
.stp-btn-soft:hover{background:#efe9dc}
.st-row2{display:flex;gap:12px}
.st-row2>div{flex:1;min-width:0}
.st-row-street{align-items:flex-end}
.st-row-street>div:last-child{flex:0 0 90px}
.st-row-city>div:first-child{flex:0 0 120px}
.st-bill-fields{border:1px solid var(--line);background:var(--cream2);border-radius:12px;padding:6px 14px 14px;margin:6px 0 4px}
.st-bill-fields[hidden]{display:none}
.st-bill-same{margin:6px 0 12px;font-weight:600 !important;font-size:13.5px !important;color:#4f5450 !important}
@media(max-width:520px){
  .st-row2{flex-direction:column;gap:0}
  .st-row-street>div:last-child,.st-row-city>div:first-child{flex:1 1 auto}
  .st-reg-nav .stp-btn,.stp-btn-soft{padding:11px 16px}
}

/* ------------------------------------------------------------------ */
/*  „Du bist bereits angemeldet." – Weiterleitungsseite (aufgewertet). */
/*  Bewusst über Modifier-Klassen gescopet, damit Login/Registrierung  */
/*  (gleiche .stp-*-Basisklassen) UNVERÄNDERT bleiben.                  */
/* ------------------------------------------------------------------ */
.stp-authpage-signedin{padding:40px 18px}
.stp-auth.stp-auth-signedin{max-width:560px;padding:48px 44px;text-align:center}
.stp-auth-signedin .stp-auth-logo{height:104px;width:auto;max-width:100%;margin:0 auto 28px;display:block}
.stp-auth-signedin .stp-note-signedin{font-size:19px;line-height:1.5;font-weight:600;color:var(--ink);
  background:var(--cream2);border:1px solid var(--line);border-radius:12px;padding:18px 22px;margin:0 0 28px;
  display:flex;align-items:center;justify-content:center;gap:10px}
/* Bestätigungs-Icon ohne neue Abhängigkeit (reines CSS). */
.stp-auth-signedin .stp-note-signedin::before{content:"✓";flex:0 0 auto;width:28px;height:28px;border-radius:50%;
  background:var(--g);color:#fff;font-size:16px;font-weight:800;line-height:28px;text-align:center}
.stp-btn.stp-btn-app{display:block;width:100%;background:var(--g);color:#fff;border:none;border-radius:12px;
  font-size:19px;font-weight:800;letter-spacing:.01em;padding:18px 24px;text-decoration:none;cursor:pointer;
  box-shadow:0 6px 18px rgba(39,67,48,.25);transition:background .15s ease,box-shadow .15s ease,transform .05s ease}
.stp-btn.stp-btn-app::after{content:" →";font-weight:800}
.stp-btn.stp-btn-app:hover{background:var(--gd);box-shadow:0 9px 24px rgba(39,67,48,.34)}
.stp-btn.stp-btn-app:focus-visible{outline:3px solid var(--g2);outline-offset:3px}
.stp-btn.stp-btn-app:active{transform:translateY(1px)}
@media(max-width:600px){
  .stp-auth.stp-auth-signedin{max-width:none;padding:34px 22px}
  .stp-auth-signedin .stp-auth-logo{height:82px;margin-bottom:22px}
  .stp-auth-signedin .stp-note-signedin{font-size:17px}
  .stp-btn.stp-btn-app{font-size:18px;padding:16px 20px}
}
