/* ===============================
   Page-level Tweaks & Extras
   Layout in layout.css
   Visual design in theme.css
   =============================== */

/* Mehr Zeilenabstand / größere Schrift im Kontaktblock */
#kontakt .small,
#kontakt .muted.small {
  font-size: 16px;
  line-height: 1.55;
}

/* Badges (z.B. Projekt-Links) */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  margin: .35rem 0 .5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  line-height: 1;
  background: var(--badge-bg, hsl(220 14% 18%));
  color: var(--badge-fg, hsl(210 20% 92%));
  border: 1px solid hsl(0 0% 100% / .06);
}
.badge::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.45;
}

/* Projekt-Badges als Mini-Cards */
.badge-project {
  /* Farbdefinition über CSS-Variablen der Basisklasse .badge */
  --badge-bg: #ffffff;
  --badge-fg: #111827;

  position: relative;
  padding: 0.55rem 1.1rem;
  padding-left: 2rem;  /* Platz für Icon */
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;

  border: 1px solid color-mix(in oklab, var(--c3), #000 65%);
  box-shadow:
    0 6px 14px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(217, 119, 6, 0.18);
  text-decoration: none;
}

/* Hover – etwas mehr „Card-Glow“, aber dezent */
.badge-project:hover {
  box-shadow:
    0 10px 22px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(217, 119, 6, 0.30);
  transform: translateY(-1px);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Icon je Projekt (am Text / href erkennbar) */
.badge-project::before {
  content: "•";  /* Fallback */
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.05rem;
  opacity: 0.85;
}

.badge-project[href*="AdminTools"]::before {
  content: "🛠";
}
.badge-project[href*="Hobbies"]::before,
.badge-project[href*="Stickereien"]::before {
  content: "✂️";
}
.badge-project[href*="Rezepte"]::before {
  content: "🍲";
}

/* Glow-Link (z.B. im Kontaktblock) */
.glow-link {
  text-decoration: none;
  color: #ff0; /* Knallgelb – kann später noch gezähmt werden */
}
.glow-link:hover {
  text-shadow: 0 0 0.6rem rgba(255, 255, 0, 0.8);
}

/* Experience – zweistufige Titeltypografie */
.page-experience .exp-title {
  text-align: center;
  margin-bottom: 1.8rem;
}

.page-experience .exp-title .exp-main {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  text-wrap: balance;
}

.page-experience .exp-title .exp-sub {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem); /* leicht kleiner */
  font-weight: 600;
  line-height: 1.28;
  opacity: 0.92; /* minimal softer, wirkt eleganter */
  text-wrap: balance;
}

/* (Optional) vorbereitete Styles für die Hobbies/Stickerei-Seite */
/*
.page-hobbies {
  background: radial-gradient(circle at top, #fdf7ec, #f3e7da);
  color: #222;
}

.page-hobbies .hobbies-hero {
  max-width: 60rem;
}

.page-hobbies .hobbies-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hobbies .hobbies-hero p {
  font-size: 1rem;
  line-height: 1.6;
}

.page-hobbies .hobby-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-hobbies .hobby-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0.6rem 1.6rem rgba(0, 0, 0, 0.12),
    0 0 0.7rem rgba(255, 255, 255, 1);
}

.page-hobbies .hobby-card img {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.page-hobbies .hobby-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.page-hobbies .hobby-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}
*/

.hero-subtitle {
  font-size: 1.2rem;     /* dezenter als H1 */
  font-weight: 500;       /* keine Dominanz */
  margin-top: 0.4rem;
  color: #0200B9;         /* dein ruhiges Blau */
  text-align: left;       /* bleibt links wie das Design */
  line-height: 1.4;
}