* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f6f7f9;
  color: #111;
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}

.topbar {
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.logo {
  font-size: 22px;
}

.tagline {
  display: block;
  font-size: 14px;
  color: #666;
}

.hero {
  margin-bottom: 32px;
}

.lead {
  color: #444;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.card h2 {
  margin-top: 0;
  font-size: 18px;
}

.sublinks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.sublinks li + li {
  margin-top: 8px;
}

.sublinks a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.sublinks a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  color: #666;
}


/* Footer disclaimer */
footer .disclaimer{
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  max-width: 900px;
}
footer a{
  color: inherit;
}
footer a:hover{
  text-decoration: underline;
}


.logo-mark{
  width:40px;
  height:40px;
  border-radius:10px;
  background:#c62828;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.5px;
}

.logo-text{font-size:30px;font-weight:900;line-height:1.1;}
/* Header logo & branding (fix) */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-mark{
  width:48px;
  height:48px;
  border-radius:12px;
  background:#c62828;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
}

.logo-text{font-size:30px;font-weight:900;line-height:1.1;}

.tagline{
  font-size:14px;
  color:#666;
}


/* Responsive improvements */
:root{
  --max: 1200px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
}

.hero h1{
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.lead{
  font-size: 18px;
  line-height: 1.5;
  max-width: 70ch;
}

.grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card{
  padding: 22px;
}

.card h2{
  font-size: 18px;
}

.sublinks a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #e1e3e8;
}

.sublinks a::after{
  content: "→";
  color: #888;
  font-weight: 700;
}

.sublinks a:hover{
  border-color:#c62828;
  text-decoration:none;
}

/* Laptop */
@media (max-width: 1100px){
  .wrap{ padding: 22px; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1{ font-size: 34px; }
}

/* Mobile */
@media (max-width: 640px){
  .wrap{ padding: 16px; }
  .topbar{ margin-bottom: 22px; }
  .hero{ margin-bottom: 22px; }
  .hero h1{ font-size: 28px; }
  .lead{ font-size: 16px; }
  .grid{ grid-template-columns: 1fr; gap: 14px; }
  .card{ padding: 18px; }
  footer{ margin-top: 28px; }
}


/* Hero title emphasis */
.hero-title{
  font-weight: 400;
}

.hero-title strong{
  font-weight: 900;
}

/* Mobile: normal weight */
@media (max-width: 640px){
  .hero-title strong{
    font-weight: 700;
  }
}


/* Hero title size boost for desktop/laptop */
@media (min-width: 1101px){
  .hero-title{
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -1px;
  }
}
@media (min-width: 641px) and (max-width: 1100px){
  .hero-title{
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }
}


/* Link card (single button style) */
.link-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e1e3e8;
  text-decoration:none;
  color: inherit;
  background: #fafafa;
  font-weight: 700;
}
.link-card:hover{ border-color:#c62828; }
.link-card em{ font-style: normal; color:#888; }


/* Clickable card title */
.card-title-link{
  color: inherit;
  text-decoration: none;
}
.card-title-link:hover{
  text-decoration: underline;
}
/* Starten sublinks as click-blocks (guaranteed) */
.subcards{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.subcard{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-radius:12px;
  background:#fafafa;
  border:1px solid #e1e3e8;
  text-decoration:none;
  color:inherit;
  font-weight:600;
}
.subcard em{ font-style:normal; color:#888; }
.subcard:hover{ border-color:#c62828; }

.brand:hover .logo-text{ text-decoration: underline; }




.logo-text {
  color: #111;
}

.tagline {
  color: #666;
  text-decoration: none;
}

.brand:hover .logo-text {
  opacity: 0.85;
}


/* Brand / logo: always look like branding, not a link */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none !important;
  color: inherit !important;
}

.brand:visited,
.brand:hover,
.brand:active{
  text-decoration:none !important;
  color: inherit !important;
}

.brand *{
  text-decoration:none !important;
}

/* Ensure logo text never turns link-blue */
.brand .logo-text{
  color:#111 !important;
  font-size:28px;
  font-weight:800;
  line-height:1.1;
}

.brand .tagline{
  color:#666 !important;
  font-size:14px;
}

.brand:hover .logo-text{
  opacity:0.88;
}

/* Red EB mark (if present as .logo-mark) */
.logo-mark{
  width:52px;
  height:52px;
  border-radius:14px;
  background:#c62828;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  letter-spacing:.5px;
  flex:0 0 auto;
}
/* Force brand link styling (beats generic link styles) */
a.brand,
a.brand:visited,
a.brand:hover,
a.brand:active{
  color: inherit !important;
  text-decoration: none !important;
}
a.brand *{
  color: inherit;
  text-decoration: none !important;
}
/* Uniform header branding */
a.brand, a.brand:visited, a.brand:hover, a.brand:active{
  text-decoration:none !important;
  color:inherit !important;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.logo-mark{
  width:52px;
  height:52px;
  border-radius:14px;
  background:#c62828;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  letter-spacing:.5px;
  flex:0 0 auto;
}
.brand-text{ display:flex; flex-direction:column; }
.logo-text{
  color:#111 !important;
  font-size:28px;
  font-weight:800;
  line-height:1.1;
}
.tagline{
  color:#666 !important;
  font-size:14px;
}
.brand:hover .logo-text{ opacity:0.88; }
