/* ========== SmartZucht – Shared Theme ========== */
:root{
  --bg:#0b1f3b; --bg-soft:#0e2749; --card:#0f2a52; --text:#eaf2ff; --muted:#b7c8e6; --ring:rgba(116,179,255,.35);
  --accent:#74b3ff; --accent-2:#9ec6ff;
}

/* Base */
html,body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Noto Sans",sans-serif;
  line-height:1.6;
}

/* Visibility helpers (Adaptive Views) */
.view{ display:none; }
@media (max-width:860px){ .view--short{ display:block; } }
@media (min-width:861px){ .view--long{ display:block; } }

/* Layout helpers */
.wrap{ max-width:940px; margin:0 auto; padding:20px 16px 48px; }
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid var(--ring); border-radius:14px; padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.grid{ display:grid; gap:14px; }
@media(min-width:860px){ .grid{ grid-template-columns:1fr 1fr; } }
ul{ padding-left:18px; margin:0 0 12px; } li{ margin:6px 0; }
p{ margin:0 0 12px; }

/* Header – mobile (short) */
.short-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px; background:rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.short-header img{ height:42px; width:auto; }
.short-header h1{ font-size:1.6rem; margin:0; color:var(--accent); }

/* Header – desktop (long) */
.hz-bar{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px;
  white-space:nowrap; padding:12px 0;
}
.hz-bar img{ height:60px; width:auto; display:block; }
.hz-bar h1{
  margin:0; text-align:center; font-weight:900; color:var(--accent);
  letter-spacing:.4px; font-size:clamp(1.8rem, 3.8vw, 3.2rem);
  overflow:hidden; text-overflow:ellipsis;
}
.hz-pill{
  display:inline-block; padding:6px 12px; border-radius:999px;
  border:1px solid var(--ring); background:rgba(255,255,255,.06);
  font-weight:800; color:var(--accent-2);
}

/* Common titles */
h1{ font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height:1.2; margin:4px 0 8px; }
h2{ margin:28px 0 8px; font-size:1.25rem; }
.small{ font-size:.95rem; }
.muted{ color:var(--muted); }
.hero{ background:linear-gradient(180deg, rgba(116,179,255,.18), transparent 70%); border-radius:14px; padding:14px; margin-top:8px; }

/* Footer Nav (long) */
.footer-nav{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
  margin-top:30px; padding-top:16px; border-top:1px dashed rgba(255,255,255,.18);
  color:var(--muted); font-size:.95rem;
}

/* Footer Nav (short pages) */
.f-nav{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px; border-top:1px solid rgba(255,255,255,.15);
}

/* Links */
.f-link{
  color:var(--accent-2); font-weight:700; text-decoration:none;
  background:rgba(255,255,255,.06); padding:6px 12px; border-radius:10px;
  border:1px solid rgba(255,255,255,.12); transition:background .2s;
}
.f-link:hover{ background:rgba(116,179,255,.25); color:#fff; }

/* Logo focus style */
.logo-link{ display:inline-block; border-radius:12px; }
.logo-link:focus-visible{ box-shadow:0 0 0 3px rgba(116,179,255,.35); outline:0; }

/* Pills (KPI-Tags) */
.pill{
  display:inline-block; padding:4px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06);
}

/* Optional: Clamp helper for mobile text previews */
.clamp-3{ display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

