/* Hobby image in Leidenschaft section */
.hobby-img {
  width: 50%;
  max-width: 260px;
}

/* Navbar icon utility */
.nav-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;      /* baseline alignment with text */
  line-height: 1;              /* avoid extra inline box height */
  transform: translateY(+1px); /* slightly stronger nudge up */
}

/* Make navbar links center their contents (icon/text) vertically */
.navbar .nav-link{
  display: inline-flex;
  align-items: center;
}

/* Navbar: active link in accent color */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"]{
  color: var(--accent) !important;
  font-weight: 600;
}

@media (min-width: 992px) { /* lg and up */
  .hobby-img {
    max-width: 390px; /* 50% larger on wide screens */
  }
}
/* Global variables and Bootstrap mapping */
:root{
  --bg:#ffffff;
  --fg:#0b1320;              /* Primärtext (dunkelblau) */
  --muted:#5b6b7a;           /* Sekundärtext */
  --accent:#2454A6;          /* Akzent (Petrol/Blau) */
  --accent-weak:#e8f0ff;     /* zarter Akzent-Hintergrund */
  --card:#f7f9fc;            /* Kartenhintergrund */
  --border:#e3e8ef;          /* zarte Linien */
  --shadow:0 10px 30px rgba(13, 45, 95, .08);
  --radius:16px;
  --radius-lg:24px;
  --max:1200px;
  /* Map Bootstrap variables to custom palette */
  --bs-primary: var(--accent);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--fg);
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji"; 
  color:var(--fg); background:var(--bg); line-height:1.6;
}

a{color:var(--accent); text-decoration:none}
a:focus-visible, button:focus-visible{outline:3px solid #99b7ff; outline-offset:2px}

/* Header / Navbar */
header.site-header{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.8); backdrop-filter:saturate(180%) blur(8px); border-bottom:1px solid var(--border)}
.navbar-brand .logo{height:42px; width:auto; display:block;}

/* Buttons */
.btn-primary{background-color:var(--accent); border-color:var(--accent)}
.btn-primary:hover{background-color:#1f498f; border-color:#1f498f}
.btn-outline-primary{color:var(--accent); border-color:var(--accent)}
.btn-outline-primary:hover{background-color:var(--accent); border-color:var(--accent)}

/* Hero */
.hero{padding:64px 0}
.eyebrow{font-size:.9rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
h1{font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem); line-height:1.15; margin:.3rem 0 1rem}
.lead{font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color:var(--muted); max-width:60ch}
.hero-illu{position:relative; background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:0; box-shadow:var(--shadow)}
.hero-illu img{display:block; width:100%; height:auto; border-radius:inherit}
.pillbar{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 28px}
.pill{background:var(--accent-weak); color:#1b2a4a; border:1px solid var(--border); padding:8px 12px; border-radius:999px; font-weight:600; font-size:.9rem}

/* Features (index) */
.features{padding:16px 0 48px}
.features .card .card-body{text-align:center}
.icon{width:120px; height:120px; padding:10px; display:grid; place-items:center; background:var(--accent-weak); border:1px solid var(--border); border-radius:16px; margin-inline:auto; font-size:2rem}
.icon img{display:block; width:100%; height:100%; object-fit:contain; object-position:center}

/* Welcome/About (index) */
.welcome{padding:24px 0 56px}
.welcome .pane{background:var(--bg)}
.welcome .pane.illu{background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:0; box-shadow:var(--shadow)}
.welcome .pane.illu img{display:block; width:100%; height:auto; border-radius:inherit}

/* Projects teaser / CTA band (index) */
.projects{padding:20px 0 64px}
.projects h2{margin-bottom:10px}
.cta-band{background:linear-gradient(180deg, #f5f8ff, #eef4ff); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:36px 0}

/* Footer */
footer{background:#0e1c36; color:#dbe6ff; margin-top:32px}
.footer{padding:36px 0}
.footer h4{color:#ffffff; margin:0 0 10px}
.footer a{color:#dbe6ff}
.legal{border-top:1px solid rgba(255,255,255,.15); color:#b7c6e6; font-size:.9rem; padding:12px 0}

/* Projekte page specific */
main{padding:24px 0 64px}
.section-title{margin:24px 0 14px}
.proj-card.card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow)}
.proj-card .icon{width:72px; height:72px; display:grid; place-items:center; background:var(--accent-weak); border:1px solid var(--border); border-radius:16px; margin-inline:auto; font-size:2rem}
.proj-card .icon img{width:48px; height:48px}

/* Flow image for Berufliche Stationen (float left, text wraps) */
.flow-illu{float:left; width:clamp(96px, 22vw, 140px); margin:0 12px 8px 0; background:var(--accent-weak); border:1px solid var(--border); border-radius:12px; padding:8px}
.flow-illu img{display:block; width:100%; height:auto; object-fit:contain; object-position:center}

/* Optional large icon variant reused on Projekte */
.icon.large{width:clamp(96px, 24vw, 120px); height:clamp(96px, 24vw, 120px); padding:10px; display:grid; place-items:center; background:var(--accent-weak); border:1px solid var(--border); border-radius:16px; margin-inline:auto}
.icon.large img{display:block; width:100%; height:100%; object-fit:contain; object-position:center}

/* Responsive helpers */
@media (max-width: 960px){
  /* Reserved for future mobile tweaks; Bootstrap grid handles most layout */
}

/* Workflow process graphic: show at intrinsic size, shrink if needed */
.process-graphic{display:block; width:auto; max-width:100%; height:auto; margin:0 auto}

/* Projekte: single-column cards with per-entry rows */
.proj-card .proj-entry{padding:12px 0; border-top:1px solid var(--border)}
.proj-card .proj-entry:first-of-type{border-top:0}
.proj-card .entry-title{font-weight:600}
.proj-card .entry-sub{font-size:.95rem}

/* Projekte: more air around badge rows */
.proj-card .d-flex.flex-wrap.gap-2{
  margin-top: .75rem !important;
  margin-bottom: 1.75rem !important;
}

/* Utility: transparent table cells */
.table-clean th,
.table-clean td{
  background-color: transparent !important;
}
.table-clean tbody tr:last-child th,
.table-clean tbody tr:last-child td{
  border-bottom: 0 !important;
}

/* Projekte: apply clean table defaults to all tables inside proj cards */
.proj-card .table{
  --bs-table-bg: transparent;
}
.proj-card .table th,
.proj-card .table td{
  background-color: transparent !important;
}
.proj-card .table th{
  vertical-align: top;
}
.proj-card .table tbody tr:last-child th,
.proj-card .table tbody tr:last-child td{
  border-bottom: 0 !important;
}

/* Fokusbereiche badges: subtle hover interaction */
.focus-badge{
  background-color:#fff; /* default white background */
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: default;
}
.focus-badge:hover{
  background-color: #e9f5ff !important;   /* override bg-white utility */
  border-color: #b6dfff !important;       /* ensure visible on hover */
  color: #004085 !important;              /* readable hover text */
}
