:root{
  --bg-dark:#071129;
  --white:#ffffff;
  --muted:#6b7280;
  --accent:#4545cf;
  --blue-hero-1:#EAF6FF;
  --blue-hero-2:#FFFFFF;
  --text-dark:#04263b;
  --card:#ffffff;
  --container:1100px;
  --radius:12px;
  --h-pad:20px; /* horizontal padding used for header, hero and other sections */
}

/* reset & base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;color:var(--text-dark);background:var(--bg-dark);-webkit-font-smoothing:antialiased}
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0; /* horizontal padding moved to section inner elements */
}

/* HEADER - white, larger, logo + text + right button */
.site-header{
  position:sticky;
  top:0;
  z-index:60;               /* keep header above hero */
  box-shadow:0 4px 12px rgba(2,6,23,0.08); /* softer, more subtle shadow */
  margin-bottom:0;          /* remove any footer margin from header */
}
.white-header{background:var(--card);color:var(--text-dark)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:22px 0}
.brand-left{display:flex;align-items:center;gap:12px;min-height:44px}
/* logo container fixed so the image can't grow the header */
.logo-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;            /* fixed slot for the logo */
  height:44px;
  flex:0 0 44px;        /* don't grow or shrink the placeholder */
  overflow:hidden;
  margin-right:12px;
}

/* image fits inside the placeholder without stretching */
.logo-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:6px;
  max-width:100%;
  max-height:100%;
}
.brand-text .company-name{font-weight:700;font-size:1.05rem}

/* header cta */
.header-cta{margin-left:auto}
.btn.header-btn{background:var(--accent);color:#fff;border-radius:10px;padding:10px 14px;border:0;cursor:pointer;font-weight:600}

/* HERO - larger, very light blue to white gradient background */
.hero-large{padding:64px 0}
.hero-inner{display:flex;gap:40px;align-items:center}
.hero-large{
  background:linear-gradient(180deg,var(--blue-hero-1),var(--blue-hero-2));
  margin:0;
  margin-top:0;
  padding:120px 0;    /* vertical padding only; horizontal handled by .hero-inner */
  border-radius:0;
}
.hero-copy{flex:1;max-width:62ch}
.hero-copy{
  /* use up to 80% of available width on wide screens */
  flex: 0 0 80%;
  max-width: 80%;
  margin: 0;
}
.hero-title{font-size:2.25rem;margin:0 0 14px;color:var(--text-dark);line-height:1.03}
.hero-title{
  font-size:3.2rem;
  margin:0 0 36px;
  color:var(--text-dark);
  line-height:1.03;
}
.hero-sub{margin:0 0 22px;color:var(--text-dark);opacity:0.85}
.hero-sub{
  margin:0 0 28px;
  color:var(--text-dark);
  opacity:0.92;
  font-size:1.2rem;      /* increased from 1.08rem */
  line-height:1.6;       /* slightly more breathing room */
}
.hero-note{
  margin-top:24px;
  margin-bottom:12px;
  font-size:1.28rem;     /* increased from 1.06rem */
  color:var(--text-dark);
  opacity:0.95;
  font-weight:700;
}
.hero-actions{display:flex;gap:12px;align-items:center}

/* Buttons - solid blue, no gradient */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;border:0;cursor:pointer;text-decoration:none;font-weight:600}
.btn.primary{background:var(--accent);color:#fff;border-radius:28px;    /* more rounded */padding:20px 36px;     /* increased padding */font-weight:400;       /* normal weight */font-size:1.05rem;box-shadow:0 8px 22px rgba(30,144,255,0.12)}
.btn.ghost{background:transparent;border:1px solid rgba(0,0,0,0.06);color:var(--text-dark)}
.btn:hover{transform:translateY(-2px);transition:all .18s ease}

/* Cards - side-by-side desktop, stacked mobile, bottom section lighter background */
.cards{
  background:transparent;
  margin:28px 0 40px;
  padding:0;            /* no extra inset on the section itself */
  box-sizing:border-box;
  display:block;
}

/* duplicate .cards-inner removed here; single .cards-inner definition remains later in the file */

.cards-inner{
  max-width:var(--container);    /* same centered width as hero/header inner rows */
  margin:0 auto;                 /* center the grid */
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:20px;
  box-sizing:border-box;
}
.card{
  background:var(--card);
  padding:22px;
  border-radius:10px;
  border:1px solid rgba(2,6,23,0.06);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.cards .card:first-child{border-top-right-radius:0;border-bottom-right-radius:0}
.cards .card:last-child{border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}
.card + .card{border-left:1px solid rgba(2,6,23,0.04)}
.card h3{margin-top:0}
.card p{color:var(--muted);margin-bottom:16px}

/* Cards: larger titles, tighter title->subtitle spacing, unified secondary button style,
   and increased gap between subtitle and button */
.cards-inner .card h3 {
  font-size: 1.8rem;      /* increased from 1.4rem */
  margin: 0 0 16px;       /* more space below title */
  line-height: 1.12;
}

.cards-inner .card p {
  color: var(--muted);
  margin: 0 0 36px;       /* increased space between subtitle and button */
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Unified card button: secondary style (blue border + text), full-width, smaller than hero */
.cards-inner .card .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;            /* smaller vertical padding than hero button */
  border-radius: 10px;           /* less rounded than hero button */
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.98rem;
  box-shadow: none;
  transition: background .12s ease, color .12s ease, transform .08s ease;
}

/* Hover: invert to solid blue for clear affordance */
.cards-inner .card .btn:hover,
.cards-inner .card .btn:focus {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ensure any previous .btn.card-primary rules don't override this */
.cards-inner .card .btn.card-primary {
  /* intentionally empty - styling handled by the generic selector above */
}

/* Footer - two lines */
.site-footer{padding:18px 0;border-top:1px solid rgba(255,255,255,0.03);text-align:center;background:transparent;color:var(--muted)}
.footer-inner{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;padding:8px 0}
.footer-line.small{font-size:0.9rem;color:var(--muted)}

/* Footer: Powered by + vertical-aligned Aktionariat logo in white */
.site-footer{
  padding:18px 0;
  text-align:center;
  background:transparent;
  color:#fff; /* base color for footer text */
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0;
}

/* powered-by block */
.footer-powered{
  display:inline-flex;
  align-items:center;
  gap:8px;            /* a bit tighter */
  color:#fff;
  font-size:0.9rem;   /* smaller text */
  font-weight:500;
}

/* ensure the provided SVG logo appears white */
.aktionariat-logo{
  height:16px;        /* smaller logo */
  width:auto;
  display:block;
  /* if the svg is dark, this makes it appear white; if the svg already uses currentColor, this has no effect */
  filter: brightness(0) invert(1);
}

/* small screens: scale down a touch more */
@media (max-width:480px){
  .aktionariat-logo{ height:14px }
  .footer-powered{ font-size:0.85rem }
}

/* Satoshi font (OTF files placed in src/assets/font) */
@font-face{
  font-family: 'Satoshi';
  src: local('Satoshi'), local('Satoshi-Regular'),
       url('../font/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Satoshi';
  src: local('Satoshi Bold'), local('Satoshi-Bold'),
       url('../font/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* optional: medium weight if you have it */
@font-face{
  font-family: 'Satoshi';
  src: local('Satoshi Medium'), local('Satoshi-Medium'),
       url('../font/Satoshi-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* apply globally */
html,body{
  height:100%;
  margin:0;
  font-family:'Satoshi', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--text-dark);
  background:var(--bg-dark);
  -webkit-font-smoothing:antialiased;
}

/* Responsive */
@media (max-width:900px){
  .header-inner{padding:12px 0}
  .hero-inner{flex-direction:column;text-align:center}
  .hero-large{
    padding:68px 0;
    margin-top:0;
    border-radius:0;
  }

  /* keep hero-inner using the same horizontal padding but slightly larger on small screens if needed */
  .header-inner,
  .hero-inner,
  .cards,
  .footer-inner{
    padding:0 calc(var(--h-pad) - 4px); /* tiny tweak so things breathe on small screens */
  }
  .hero-title{
    font-size:2.0rem;
    margin-bottom:20px;
  }
  .hero-note{
    margin-top:18px;
    font-size:1.12rem;
  }
  .hero-sub{
    font-size:1.06rem;
  }
  .btn.primary{
    padding:16px 24px;
    font-size:1rem;
  }
  .btn.header-btn{
    padding:14px 20px;
    font-size:0.95rem;
  }
}
@media (min-width:901px){
  body{background:linear-gradient(180deg,var(--bg-dark),#061225 120%)}
}

.cards-inner{
  max-width:var(--container);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr)); /* ensure two columns on desktop */
  gap:20px;
  align-items:stretch;       /* ensure cards match height where possible */
  box-sizing:border-box;
}
/* make sure cards expand to fill their grid cells */
.cards-inner > .card{
  width:100%;
  height:100%;
}
/* responsive: switch to single column on small screens */
@media (max-width:900px){
  .cards-inner{
    grid-template-columns:1fr;
    gap:12px;
    padding:0 calc(var(--h-pad) - 4px);
  }
}

/* ensure cards have rounded corners on all corners (override any previous corner-reset rules) */
.cards-inner .card,
.cards-inner > .card {
  border-radius: 12px !important;
}

/* override any specific first/last child corner resets */
.cards-inner > .card:first-child,
.cards-inner > .card:last-child {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

/* mobile: keep rounded corners slightly smaller */
@media (max-width:900px){
  .cards-inner > .card{
    border-radius: 10px !important;
  }
}

/* ...existing code... */
.hero {
  /* previous background replaced */
  background: linear-gradient(99deg, #ffee5720 -16.6%, #ff5d6420 25.78%, #ff5d6420 53.26%, #4545cf20 89.91%);
  background-color: white;
  /* ...existing code... */
}
/* ...existing code... */