/* SAMMLO GLOBAL STYLES */

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56,189,248,0.1);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius: 14px;
  --shadow-soft: 0 14px 40px rgba(15,23,42,0.45);
  --font: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset / Basics */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: radial-gradient(circle at top, #111827 0, #020817 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  padding: 24px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
}

/* Header / Navigation */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(56,189,248,0.6);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-sub {
  font-size: 9px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 16px;
  font-size: 12px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 3px 0;
}

nav a:hover {
  color: var(--accent);
}

/* Hero (Startseite & Blog-Übersicht) */

.hero {
  margin-bottom: 22px;
  padding: 16px 14px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.hero-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.hero p {
  font-size: 12px;
  color: var(--muted);
  max-width: 720px;
}

.pill-row,
.hero-highlights {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56,189,248,0.35);
}

/* Startseiten-spezifisch */

.hero-start {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr;
  gap: 26px;
  margin-bottom: 34px;
  align-items: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.btn-primary,
.btn-secondary {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  cursor: pointer;
  margin-right: 6px;
}

.btn-primary {
  border: none;
  background: var(--accent);
  color: #0f172a;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  border: 1px solid rgba(148,163,253,0.3);
  background: transparent;
  color: var(--muted);
}

/* Hero-Karte Startseite */

.hero-card {
  background: var(--bg-soft);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 10px;
  display: grid;
  gap: 8px;
}

.hero-card h2 {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.hero-label-sm {
  font-size: 9px;
  color: var(--muted);
}

.hero-value {
  font-size: 11px;
  color: var(--text);
}

.tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(75,85,99,0.7);
  font-size: 8px;
  color: var(--muted);
  margin-right: 4px;
}

/* Karten / Sektionen */

.sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.card {
  background: var(--bg-soft);
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15,23,42,0.6);
  font-size: 10px;
}

.card h3 {
  font-size: 11px;
  margin-bottom: 6px;
  color: var(--accent);
}

.card ul {
  list-style: none;
}

.card li {
  margin-bottom: 4px;
  color: var(--muted);
}

/* Labels & Info */

.label {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}

.info {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Module / Sammlungen */

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
  font-size: 9px;
}

.module {
  padding: 7px;
  border-radius: 9px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.16), rgba(15,23,42,1));
  border: 1px solid rgba(75,85,99,0.7);
  color: var(--muted);
}

.module strong {
  display: block;
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 3px;
}

/* Blog-Übersicht */

.layout {
  display: grid;
  grid-template-columns: 2.1fr 1.3fr;
  gap: 16px;
  margin-top: 18px;
}

.post-list {
  display: grid;
  gap: 10px;
}

.post {
  padding: 10px;
  border-radius: var(--radius);
  background: #020817e6;
  border: 1px solid rgba(75,85,99,0.8);
  box-shadow: 0 10px 26px rgba(15,23,42,0.7);
  cursor: pointer;
  transition: all 0.18s ease-out;
  text-decoration: none;
  color: var(--text);
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.9);
  border-color: var(--accent);
}

.post-label {
  font-size: 8px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-bottom: 3px;
}

.post-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--accent);
}

.post-meta {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 4px;
}

.post-excerpt {
  font-size: 10px;
  color: var(--muted);
}

/* Sidebar */

.sidebar {
  display: grid;
  gap: 10px;
  font-size: 9px;
}

.side-card {
  padding: 9px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid rgba(75,85,99,0.8);
  box-shadow: 0 10px 26px rgba(15,23,42,0.7);
}

.side-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.side-list {
  list-style: none;
  padding-left: 0;
}

.side-list li {
  margin-bottom: 3px;
  color: var(--muted);
}

.hint {
  font-size: 8px;
  color: var(--muted);
  margin-top: 4px;
}

/* Einzelartikel */

.meta-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
}

.article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.meta {
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 14px;
}

article {
  background: var(--bg-soft);
  padding: 16px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
}

article p {
  margin-bottom: 10px;
  color: var(--text);
}

article ul {
  margin: 6px 0 10px 16px;
  font-size: 11px;
  color: var(--muted);
}

article li {
  margin-bottom: 4px;
}

article h2 {
  font-size: 14px;
  margin: 12px 0 6px;
  color: var(--accent);
  font-weight: 600;
}

/* Footer */

footer {
  font-size: 8px;
  color: var(--muted);
  padding-top: 10px;
  margin-top: 18px;
  border-top: 1px solid rgba(31,41,55,0.9);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 768px) {
  body {
    padding: 16px;
  }
  .hero-start {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
}
/* --- Mobile Navigation fix --- */
@media (max-width: 640px){
  header nav{
    display: flex;
    flex-wrap: wrap;           /* Zeilenumbruch statt rechts rauszuschieben */
    gap: 8px 12px;
    justify-content: flex-start;
  }
  header nav a{
    padding: 6px 0;            /* etwas luftiger, besser antippbar */
    white-space: nowrap;       /* Links bleiben je Wort zusammen */
  }
}
/* Pills im Hero-Bereich */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.feature-pills .pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  cursor: default;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Roter blinkender Punkt beim Blog-Button */
.badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background-color: #ff4b4b;
  box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.7);
  animation: blogPulse 1.4s infinite;
  vertical-align: middle;
}

@keyframes blogPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(255, 75, 75, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 75, 75, 0);
  }
}
/* Blog-Seiten */
.page-blog {
  background-color: #050816;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  padding: 20px;
}

.blog-header {
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.blog-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.blog-flags img {
  width: 22px;
  height: auto;
  margin-left: 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-intro {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.blog-main {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.blog-post h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 18px;
}

.blog-post time {
  display: block;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 10px;
}
/* ------------------------
   TRESOR – MODERN UI UPGRADE
   ------------------------ */

.tresor-container {
    background: rgba(20, 20, 30, 0.9);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    max-width: 800px;
    margin: 30px auto;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.05);
}

.tresor-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tresor-title i {
    color: #3fa9ff;
    font-size: 28px;
}

.tresor-select,
.tresor-input,
.tresor-file {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 15px;
    outline: none;
    transition: border 0.2s;
}

.tresor-select:focus,
.tresor-input:focus,
.tresor-file:focus {
    border-color: #3fa9ff;
}

.tresor-button-primary {
    background: linear-gradient(90deg, #007bff, #009dff);
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    margin-top: 10px;
}

.tresor-button-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.tresor-list {
    margin-top: 25px;
}

.tresor-item {
    background: rgba(255,255,255,0.04);
    padding: 15px 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.06);
}

.tresor-item:hover {
    background: rgba(255,255,255,0.07);
}

.tresor-item-left {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.tresor-actions a {
    color: #66c0ff;
    margin-left: 12px;
    font-size: 14px;
    transition: 0.2s;
}

.tresor-actions a:hover {
    color: #fff;
}
/* ===========================
   TRESOR - Login Box
   =========================== */
.tresor-container {
    max-width: 420px;
    margin: 120px auto 40px auto;
    background: #101923;
    padding: 40px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.tresor-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.tresor-container input[type="password"],
.tresor-container input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #2b3b50;
    background: #0b1118;
    color: #fff;
    margin-bottom: 18px;
}

.tresor-container button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.tresor-divider {
    margin: 20px 0;
    color: #7f8ca3;
    font-size: 0.9rem;
}

.faceid-btn {
    background: #16232f;
    border: 1px solid #2a3a4d;
    color: #d0e2ff;
    margin-top: 12px;
}

