/* Ku-DS redesign additions (plain CSS; the compiled kuds_main.css only contains already-used utilities).
   Palette: Ku-DS light blue #0090D2, Ku-DS slate #385164 / #3c576b / #32495a,
            nobbs.at gold #bb7916 (light end #f0b429, from nobbs.css .text-gradient-gold). */
:root {
  --kuds-blue: #0090d2;
  --kuds-slate: #385164;
  --nobbs-gold: #bb7916;
  --nobbs-gold-light: #f0b429;
}

/* ---------- Landing hero ---------- */
.kuds-hero {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.25rem 1.25rem 5rem;
  text-align: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
}
@media (min-width: 1024px) {
  .kuds-hero { padding: 0.5rem 2rem 6rem; }
}
.kuds-h1 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-size: 1.9rem;
  margin: 0;
}
@media (min-width: 640px) { .kuds-h1 { font-size: 2.6rem; } }
@media (min-width: 1024px) { .kuds-h1 { font-size: 2.7rem; } }
.kuds-h1 .line1 {
  display: block;
  color: #ffffff;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
.kuds-h1 .line2 {
  display: block;
  margin-top: 0.35rem;
  color: #0090d2;
  background: none;
  -webkit-text-fill-color: #0090d2;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}
.kuds-sub {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  color: #d6e4ee;
  font-size: 1rem;
  line-height: 1.65;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1024px) { .kuds-sub { font-size: 1.15rem; } }
.kuds-cta-row {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.kuds-btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  filter: none;
  transition: background-color 0.15s, color 0.15s;
}
@media (min-width: 1024px) { .kuds-btn { font-size: 1.15rem; padding: 0.9rem 2rem; } }
.kuds-btn-primary {
  background: #bb7916;
  color: #ffffff;
}
.kuds-btn-primary:hover { background: #9a630f; color: #ffffff; }
.kuds-btn-secondary {
  background: #0090d2;
  color: #ffffff;
}
.kuds-btn-secondary:hover { background: #0077ad; color: #ffffff; }

/* ---------- Projects page (text only) ---------- */
.kuds-proj-lead { max-width: 46rem; margin: 0 auto 1.5rem; padding: 0 1rem; text-align: center; color: #d6e4ee; line-height: 1.6; }
.kuds-tier {
  margin: 1.5rem 0 0.75rem;
  padding-left: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kuds-blue);
}
.kuds-tier.live { color: var(--nobbs-gold); }
.kuds-card {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #32495a, #3c576b);
  box-shadow: 9px 9px 20px #283a48, -9px -9px 20px #486880;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .kuds-card { border-top-left-radius: 2rem; border-bottom-right-radius: 2rem; padding: 1.5rem 2rem; }
}
.kuds-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  filter: url(#textShadow);
}
.kuds-card p { margin: 0; line-height: 1.65; color: #e3edf3; }
.kuds-card p + p { margin-top: 0.6rem; }
.kuds-card-foot {
  width: 100%;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.kuds-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.kuds-tags span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: #c3d6e2;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.3rem;
  padding: 0.2rem 0.55rem;
}
.kuds-card .kuds-btn { flex: 0 0 auto; margin-top: 0.15rem; }

/* ---------- Flatten the page plateaus ----------
   Landing: #screen (outer 72rem column) and #full (inner hero panel)
   both used .page_shadow (neumorphic 9px/20px shadow + #385164 fill).
   Projects: only #screen wraps the list. Individual .kuds-card shadows stay. */
#screen,
#full {
  max-width: 100%;
  box-shadow: none;
  background: transparent;
}

/* Contact bar in document flow so it cannot cover project cards.
   #root is a column; #screen grows so the bar stays at the bottom of the
   first screen on the short landing page, and after the list on Projekte. */
body.h-screen {
  height: auto;
  min-height: 100vh;
}
#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  flex: 1 0 auto;
}
#screen {
  flex: 1 0 auto;
  min-height: auto;
}
#kuds-bar {
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
  flex-shrink: 0;
  z-index: 20;
}
