/* Post_App — Design nach Vorbild tarif590.click
   dunkle Topbar, Blau-Verlauf-Button, gelber Akzent, viel Weissraum */

:root{
  --dark:#2b2b2b;
  --blue:#33b5e5;
  --blue-dark:#2b8fcf;
  --blue-grad-top:#4aa3df;
  --blue-grad-bot:#2b8fcf;
  --yellow:#f5c518;
  --text:#444;
  --muted:#777;
  --line:#e5e5e5;
  --bg-soft:#f3f3f3;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.6;
}
a{color:var(--blue-dark);text-decoration:none}
a:hover{text-decoration:underline}

/* Topbar */
.topbar{background:var(--dark);position:sticky;top:0;z-index:50}
.topbar-inner{max-width:1000px;margin:0 auto;display:flex;align-items:center;
  justify-content:space-between;padding:14px 20px;flex-wrap:wrap;gap:10px}
.logo{color:#fff;font-weight:800;font-size:22px;letter-spacing:.5px}
.logo:hover{text-decoration:none}
.logo span{color:var(--yellow)}
.nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.nav a{color:#fff;font-weight:700;font-size:15px}
.nav a:hover{text-decoration:none;opacity:.85}

/* Buttons */
.btn-blue,.btn-ghost,button.btn-blue{
  display:inline-block;border-radius:6px;padding:10px 22px;font-weight:700;
  cursor:pointer;border:0;font-size:15px;line-height:1.2}
.btn-blue,button.btn-blue{
  color:#fff !important;
  background:linear-gradient(to bottom,var(--blue-grad-top),var(--blue-grad-bot));
  box-shadow:0 1px 2px rgba(0,0,0,.2)}
.btn-blue:hover{text-decoration:none;filter:brightness(1.05)}
.btn-ghost{color:#fff !important;border:1px solid rgba(255,255,255,.4);background:transparent}
.btn-ghost:hover{text-decoration:none;background:rgba(255,255,255,.1)}
.btn-big{font-size:20px;padding:16px 40px}

/* Hero */
.hero{text-align:center;padding:70px 20px 50px}
.hero .thin{font-size:40px;color:var(--muted);font-weight:300;line-height:1.1}
.hero .bold{font-size:46px;color:var(--text);font-weight:800;margin:0 0 20px}
.hero .sub{font-size:20px;color:var(--muted);margin-bottom:34px}
.hero .sub strong{color:var(--text)}

/* Sektionen */
.section{padding:54px 20px}
.section.soft{background:var(--bg-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section h2{text-align:center;font-size:30px;color:var(--text);margin:0 0 30px}
.center{text-align:center}

/* Inhalts-Container */
.wrap{max-width:1000px;margin:0 auto;padding:0 20px}
.container-narrow{max-width:560px;margin:0 auto}

/* 1-2-3 + Funktionskacheln */
.cols{display:flex;gap:24px;flex-wrap:wrap;justify-content:center}
.col{flex:1;min-width:240px;max-width:300px;text-align:center;padding:10px}
.col .num{display:inline-block;width:46px;height:46px;line-height:46px;border-radius:50%;
  background:var(--blue);color:#fff;font-weight:800;font-size:20px;margin-bottom:12px}
.col h3{margin:6px 0;color:var(--text)}
.col p{color:var(--muted);margin:0}

/* Preis-Karten */
.preis-cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}
.preis-card{border:1px solid var(--line);border-radius:10px;padding:30px;max-width:300px;
  text-align:center;background:#fff}
.preis-card.hl{border-color:var(--blue);box-shadow:0 4px 16px rgba(51,181,229,.15)}
.preis-card .price{font-size:40px;font-weight:800;color:var(--text)}
.preis-card .per{color:var(--muted)}
.preis-card ul{list-style:none;padding:0;margin:18px 0;color:var(--muted);text-align:left}
.preis-card li::before{content:"✓ ";color:var(--blue);font-weight:800}

/* Karten/Boxen allgemein */
.card{border:1px solid var(--line);border-radius:10px;padding:24px;margin:18px 0;background:#fff}
.card h2,.card h3{margin-top:0}

/* Formulare */
form .field{margin-bottom:16px}
label{display:block;font-weight:700;margin-bottom:5px;font-size:14px}
input[type=text],input[type=email],input[type=password],input[type=number],
select,textarea{
  width:100%;padding:10px 12px;border:1px solid #ccc;border-radius:6px;font-size:15px;font-family:inherit}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--blue)}
.help{font-size:13px;color:var(--muted);margin-top:4px}

/* Status-Leiste */
.status-bar{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0}
.status-chip{padding:8px 14px;border-radius:20px;font-weight:700;font-size:14px;border:1px solid var(--line)}
.status-ok{background:#e8f7ec;color:#1c7a3a;border-color:#bce6c8}
.status-off{background:#fdecec;color:#b23b3b;border-color:#f3c4c4}

/* Tabellen */
table{width:100%;border-collapse:collapse;margin:14px 0}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font-size:14px}
th{color:var(--muted);font-weight:700}

/* Kacheln Kennzahlen */
.kpis{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}
.kpi{flex:1;min-width:150px;border:1px solid var(--line);border-radius:10px;padding:18px;text-align:center}
.kpi .big{font-size:34px;font-weight:800;color:var(--text)}
.kpi .lbl{color:var(--muted);font-size:14px}

/* Alerts */
.alert{padding:12px 16px;border-radius:6px;margin:14px 0;font-size:14px}
.alert-ok{background:#e8f7ec;color:#1c7a3a}
.alert-error{background:#fdecec;color:#b23b3b}
.alert-info{background:#eef6fb;color:#1c5f80}

/* Badges */
.badge{padding:3px 9px;border-radius:12px;font-size:12px;font-weight:700}
.badge-green{background:#e8f7ec;color:#1c7a3a}
.badge-red{background:#fdecec;color:#b23b3b}
.badge-yellow{background:#fef6df;color:#8a6d1a}
.badge-gray{background:#eee;color:#666}

/* Footer */
.footer{background:var(--dark);color:#bbb;margin-top:60px;padding:26px 20px}
.footer-inner{max-width:1000px;margin:0 auto;font-size:14px;display:flex;
  gap:14px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.footer a{color:#ddd}
.footer strong{color:#fff}
.footer .footer-copy{color:#888}

@media(max-width:640px){
  .hero .thin{font-size:30px}
  .hero .bold{font-size:34px}
  .topbar-inner{justify-content:center}
}
