:root{
  --navy:#0D2458;
  --blue:#1785D4;
  --green:#329944;
  --yellow:#F4D514;

  --bg:#f4f6f9;
  --card:#ffffff;
  --text:#1f2a3a;
  --muted:rgba(31,42,58,.72);
  --line:rgba(13,36,88,.12);

  --radius:16px;
  --shadow:0 12px 28px rgba(13,36,88,.10);
}

*{margin:0;padding:0;box-sizing:border-box;}
img{max-width:100%;height:auto;display:block;}
html{scroll-behavior:smooth;}

body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  line-height:1.7;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 22px;
}

/* =========================
   HEADER
   ========================= */

.site-header,
.header-bar,
.navwrap{
  background:var(--navy);
}

/* Logo row: centered */
.header-bar .container{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 0 12px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* LOGO SIZE (bigger) */
.brand-logo{
  height:146px;          /* Desktop */
  width:auto;
  object-fit:contain;
}

.brand-stripe{
  height:4px;
  width:100%;
  background:linear-gradient(90deg,var(--blue),var(--green),var(--yellow));
}

.navwrap{
  border-bottom:1px solid rgba(255,255,255,.14);
}

.navwrap .container{
  padding:10px 0 14px;
}

/* Nav row: links + flags on right */
.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:10px 12px;
  align-items:center;
}

/* Header buttons: softer */
.nav a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:0.95rem;
  padding:7px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:transparent;
}

.nav a:hover{
  border-color:rgba(255,255,255,.35);
  background:rgba(255,255,255,.06);
}

.nav a.nav-cta{
  background:var(--yellow);
  color:var(--navy);
  border-color:transparent;
  font-weight:900;
}

.nav a.nav-cta:hover{
  background:#e6c812;
}

/* Flags in nav (right aligned) */
.lang{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}

.lang a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:15px;
  padding:0;
  border:none;
  background:none;
}

.lang img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* =========================
   HERO – Variante B
   Contain + Blur Backdrop
   ========================= */

.hero{
  position:relative;
  height:56vh;
  min-height:420px;
  max-height:720px;
  border-bottom:1px solid var(--line);
  overflow:hidden;

  /* fallback if image fails */
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(23,133,212,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 30%, rgba(50,153,68,.10), transparent 60%),
    radial-gradient(900px 520px at 75% 95%, rgba(244,213,20,.10), transparent 55%),
    linear-gradient(180deg,#ffffff 0%, #f4f6f9 100%);
}

/* Background layer: same image, zoomed + blurred */
.hero::before{
  content:"";
  position:absolute;
  inset:-20px;
  background-image: var(--hero-image);
  background-size:cover;
  background-position:center 30%;
  filter:blur(18px) saturate(1.05);
  transform:scale(1.10);
  opacity:.85;
  z-index:0;
}

/* Soft bright wash + slight navy structure */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 700px at 25% 25%, rgba(255,255,255,.55), rgba(255,255,255,.10) 55%, rgba(244,246,249,.55) 100%),
    linear-gradient(90deg,
      rgba(13,36,88,.10) 0%,
      rgba(13,36,88,.05) 55%,
      rgba(13,36,88,.03) 100%
    );
  z-index:1;
}

/* Foreground layer: full image, no cropping */
.hero-media{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px 0;
  z-index:2;
}

.hero-media img{
  width:min(1100px, 92vw);
  height:calc(100% - 44px);
  max-height:100%;
  object-fit:contain;
  border-radius:20px;
  box-shadow:0 18px 46px rgba(13,36,88,.20);
  border:1px solid rgba(255,255,255,.40);
  background:rgba(255,255,255,.20);
}

/* =========================
   MAIN
   ========================= */

.hero + main{ padding-top:22px; }

main{ padding-bottom:86px; }

.section{
  padding:46px 0;
}

.section + .section{
  border-top:1px solid var(--line);
}

.section.alt{
  background:rgba(13,36,88,.03);
}

.lead{
  font-size:1.14rem;
  max-width:64ch;
  color:var(--navy);
  margin:0 0 12px 0;
}

p{
  max-width:76ch;
  margin:0 0 14px 0;
  color:var(--text);
}

.muted{ color:var(--muted); }

h2{
  font-family:'Montserrat',system-ui,sans-serif;
  font-weight:900;
  letter-spacing:-0.02em;
  color:var(--navy);
  font-size:clamp(1.18rem, 1.9vw, 1.50rem);
  margin:0 0 12px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:16px;
  margin-top:16px;
}

/* ===== Cards =====
   Default cards are "quiet"
   Hover lift ONLY for linked cards (a.card)
*/
.card{
  grid-column:span 4;
  display:block;
  background:var(--card);
  border:1px solid rgba(13,36,88,.08);
  border-radius:18px;
  box-shadow:0 10px 22px rgba(13,36,88,.08);
  padding:18px;

  text-decoration:none;
  color:inherit;
  cursor:default; /* quiet by default */
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.card{
  grid-column:span 4;
  display:block;
  background:var(--card);
  border:1px solid rgba(13,36,88,.08);
  border-radius:18px;
  box-shadow:0 10px 22px rgba(13,36,88,.08);
  padding:18px;

  /* default = ruhig */
  text-decoration:none;
  color:inherit;
  cursor:default;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* NUR echte Link-Cards sollen interaktiv wirken */
a.card{
  cursor:pointer;
}

a.card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(13,36,88,.18);
  border-color:rgba(13,36,88,.16);
}

a.card:focus-visible{
  outline:3px solid rgba(244,213,20,.55);
  outline-offset:3px;
}

.card h3{ margin:0 0 8px; }
.card p{ margin:0; }


.steps{
  max-width:80ch;
  padding-left:1.15rem;
  line-height:1.8;
  margin:8px 0 0 0;
}

.notice{
  margin:14px 0 0;
  padding:16px 18px;
  background:rgba(13,36,88,.04);
  border:1px solid rgba(13,36,88,.10);
  border-radius:var(--radius);
  max-width:78ch;
}

/* Links */
a{
  color:var(--navy);
  text-decoration:underline;
  text-decoration-color:rgba(13,36,88,.28);
}
a:hover{ text-decoration-color:rgba(13,36,88,.70); }

/* Buttons */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  border-radius:999px;
  padding:14px 18px;
  line-height:1;
  text-decoration:none;
  background:var(--yellow);
  color:var(--navy);
  border:1px solid rgba(13,36,88,.14);
  transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-primary:hover{
  transform:translateY(-1px);
  background:#e6c812;
  box-shadow:var(--shadow);
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:0.95rem;
  color:var(--navy);
  border:1px solid rgba(13,36,88,.28);
  background:transparent;
  text-decoration:none;
}
.btn-outline:hover{
  background:rgba(13,36,88,.06);
  border-color:rgba(13,36,88,.45);
}

/* =========================
   FOOTER
   ========================= */

.site-footer{
  background:var(--navy);
  border-top:1px solid rgba(255,255,255,.14);
}

.site-footer .container{
  padding:18px 0 22px;
  font-size:0.9rem;
  color:rgba(255,255,255,.85);
  text-align:center;
}

.site-footer a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.25);
}
.site-footer a:hover{
  color:var(--yellow);
  border-bottom-color:rgba(244,213,20,.85);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width:900px){
  .card{ grid-column:span 12; }
}

@media (max-width:760px){
  .brand-logo{ height:102px; } /* Mobile size */

  .hero{
    height:48vh;
    min-height:320px;
  }

  .hero-media{
    padding:14px 0;
  }

  .hero-media img{
    width:92vw;
    height:calc(100% - 28px);
    border-radius:16px;
  }

  .nav{
    justify-content:flex-start;
    overflow-x:auto;
    padding-bottom:2px;
    align-items:flex-start;
  }

  /* Flags: own row, right aligned */
  .lang{
    width:100%;
    margin-left:0;
    justify-content:flex-end;
    gap:10px;
    padding-top:8px;
  }

  .navwrap .container{
    padding-right:22px;
  }
}
