:root{
  --blue:#174EA6;
  --blue-dark:#0B1F3A;
  --blue-soft:#EAF2FF;
  --bg:#F7F9FC;
  --surface:#FFFFFF;
  --text:#172033;
  --muted:#5F6B7A;
  --line:#DCE3EC;
  --max:1120px;
  --radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:#103d86}
.skip-link{position:absolute;left:-9999px;top:auto}
.skip-link:focus{left:16px;top:16px;background:#fff;padding:10px 14px;border:1px solid var(--line);z-index:99}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.site-header{
  position:sticky;top:0;z-index:30;
  background:rgba(247,249,252,.94);
  backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid rgba(220,227,236,.85);
}
.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{width:178px;height:auto;display:block}
.nav-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.nav-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:flex-end}
.nav-links a{color:var(--text);text-decoration:none;font-size:.95rem;font-weight:560}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--blue)}
.nav-links .nav-cta{border:1px solid var(--blue);color:var(--blue);padding:9px 14px;border-radius:10px}
.lang-switch{display:flex;align-items:center;gap:6px;font-size:.83rem;font-weight:700}
.lang-switch a{color:var(--muted);text-decoration:none;padding:3px 5px;border-radius:6px}
.lang-switch a.active{color:var(--blue-dark);background:#EEF4FD}
.lang-switch a:hover{color:var(--blue)}
.hero{padding:84px 0 78px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);gap:58px;align-items:center}
.eyebrow{font-size:.78rem;font-weight:760;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin:0 0 18px}
h1,h2,h3{color:var(--blue-dark);line-height:1.12;letter-spacing:-.025em;margin-top:0}
h1{font-size:clamp(2.6rem,6vw,5.05rem);max-width:700px;margin-bottom:26px}
h2{font-size:clamp(2rem,4vw,3.1rem);margin-bottom:20px}
h3{font-size:1.14rem;margin-bottom:8px}
.lead{font-size:clamp(1.08rem,2vw,1.28rem);max-width:760px;color:#344055}
.hero-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:34px}
.button{display:inline-block;background:var(--blue);color:#fff;text-decoration:none;font-weight:650;padding:12px 18px;border-radius:10px;border:1px solid var(--blue)}
.button:hover{background:#103d86;color:#fff}
.button.secondary{background:transparent;color:var(--blue)}
.button.secondary:hover{background:var(--blue-soft)}
.hero-art img{display:block;width:min(100%, 550px);margin-left:auto}
section{padding:84px 0}
.section-white{background:var(--surface)}
.section-soft{background:var(--blue-soft)}
.section-dark{background:var(--blue-dark);color:#DCE7F7}
.section-dark h2,.section-dark h3{color:#fff}
.section-dark .eyebrow{color:#8DBBFF}
.section-intro{max-width:760px;margin-bottom:42px}
.section-intro p{color:var(--muted);font-size:1.06rem}
.section-dark .section-intro p{color:#C5D2E3}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px;min-width:0}
.card p{margin-bottom:0;color:var(--muted)}
.card h2,.card h3{font-size:1.3rem;line-height:1.22;overflow-wrap:anywhere;word-break:normal;margin-bottom:12px}
.section-soft .card{background:rgba(255,255,255,.72)}
.statement{font-size:clamp(1.35rem,2.6vw,2rem);line-height:1.45;color:var(--blue-dark);max-width:920px;margin:44px 0 0}
.process{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.step{border-top:2px solid var(--blue);padding-top:16px}
.step .num{font-size:.78rem;font-weight:800;letter-spacing:.12em;color:var(--blue);margin-bottom:12px}
.step p{font-size:.93rem;color:var(--muted);margin-bottom:0}
.tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.tag{border:1px solid #BFD2EE;background:#fff;color:var(--blue-dark);padding:6px 10px;border-radius:999px;font-size:.88rem}
.quote{border-left:3px solid var(--blue);padding:3px 0 3px 22px;margin:36px 0 0;color:var(--blue-dark);font-weight:620;font-size:1.15rem}
.contact-row{display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center}
.contact-row p{color:#C5D2E3;max-width:720px}
.site-footer{padding:28px 0;background:#08182E;color:#AFC0D5}
.footer-grid{display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.footer-links a{color:#DCE7F7;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-social{display:flex;align-items:center;gap:10px}
.social-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border:1px solid rgba(220,231,247,.28);border-radius:999px;
  color:#DCE7F7;text-decoration:none;
}
.social-icon:hover{background:rgba(255,255,255,.08)}
.social-icon svg{width:16px;height:16px}
.small{font-size:.9rem;color:var(--muted)}
.section-dark .small{color:#AFC0D5}
.page-hero{
  padding:56px 0 14px;
  position:relative;
  overflow:hidden;
  background-color:var(--bg);
  background-image:url('/assets/bg-motif-v20.svg');
  background-repeat:no-repeat;
  /* v3.2: keep the decorative motif clear of the navigation/header */
  background-position:right 3% top 78px;
  background-size:min(34vw, 390px) auto;
}
.page-hero + section{padding-top:24px}
.page-hero h1{font-size:clamp(2.4rem,5vw,4.3rem);max-width:850px}
.prose{max-width:800px}
.prose > :first-child{margin-top:0 !important}
.prose h2{font-size:2rem;margin-top:52px}
.prose h3{margin-top:32px}
.prose p,.prose li{color:#3D4759}
.prose ul{padding-left:1.25rem}
.notice{background:#FFF9E8;border:1px solid #ECD89C;border-radius:12px;padding:18px 20px;color:#5B4A17}
.floating-contact{
  position:fixed;right:18px;top:50%;transform:translateY(-50%);
  width:48px;height:48px;border-radius:14px;background:var(--blue);
  color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;
  box-shadow:0 10px 28px rgba(11,31,58,.18);z-index:28;
}
.floating-contact:hover{background:#103d86;color:#fff}
.floating-contact svg{width:22px;height:22px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0
}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-art img{margin:10px auto 0;max-width:460px}
  .grid-4,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process{grid-template-columns:repeat(3,minmax(0,1fr))}
  .page-hero{background-position:right -90px top 46px;background-size:340px auto}
}
@media (max-width:760px){
  .floating-contact{right:14px;bottom:18px;top:auto;transform:none}
}
@media (max-width:640px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .site-header{position:relative}
  .nav{display:block}
  .brand{margin-bottom:14px}
  .nav-wrap{justify-content:space-between}
  .nav-links{gap:12px 16px;justify-content:flex-start}
  .nav-links .nav-cta{display:none}
  .hero{padding:64px 0 58px}
  section{padding:62px 0}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .process{grid-template-columns:1fr}
  .contact-row{grid-template-columns:1fr}
  .page-hero{padding:44px 0 10px;background-position:right -125px top 34px;background-size:285px auto}
  .page-hero + section{padding-top:18px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}


/* v2.1 – SEO topical pages & contact/team layout */
.seo-focus{
  background:linear-gradient(180deg,#F7F9FC 0%,#EEF4FD 100%);
}
.seo-focus .seo-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);
  gap:34px;
  align-items:start;
}
.seo-points{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.seo-point{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
}
.seo-point strong{
  display:block;
  color:var(--blue-dark);
  margin-bottom:4px;
}
.team-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:36px;
}
.team-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
}
.team-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:14px;
  display:block;
  background:#EEF4FD;
}
.team-card h3{
  margin:18px 0 4px;
  font-size:1.22rem;
}
.team-card .role{
  color:var(--muted);
  margin:0 0 14px;
}
.team-card .contact-line{
  font-size:.95rem;
  margin:0;
}
.contact-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:28px;
}
.contact-option{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
}
.keyword-note{
  color:var(--muted);
  font-size:.95rem;
  margin-top:20px;
}
@media (max-width:900px){
  .seo-focus .seo-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .seo-points,.team-grid,.contact-options{grid-template-columns:1fr}
}


/* v2.2 – Insights / Aktuelles */
.insights-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.insight-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.insight-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:16px;
  color:var(--muted);
  font-size:.88rem;
}
.insight-badge{
  display:inline-flex;
  align-items:center;
  border:1px solid #BFD2EE;
  background:#EEF4FD;
  color:var(--blue);
  padding:4px 9px;
  border-radius:999px;
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.03em;
}
.insight-card h2,
.insight-card h3{
  overflow-wrap:anywhere;
}
.insight-card p{
  color:var(--muted);
}
.insight-card .insight-link{
  margin-top:auto;
  padding-top:12px;
  font-weight:650;
}
.insights-hero{
  background:linear-gradient(180deg,#F7F9FC 0%,#EEF4FD 100%);
}
.home-insights{
  background:#fff;
}
.home-insights .insight-card{
  background:var(--bg);
}
.source-note{
  font-size:.86rem;
  color:var(--muted);
  margin-top:18px;
}
@media (max-width:760px){
  .insights-grid{grid-template-columns:1fr}
}

/* v3.1 – GRENAVOR / Secure Agentic Systems */
.brand img{width:178px;height:auto;display:block}

/* v3.3 Grenavor positioning refresh */


/* v3.4 — balanced hero hierarchy
   Section eyebrows remain compact; only the opening brand lines are strengthened. */
.hero .eyebrow,
.page-hero .eyebrow{
  font-size:clamp(.96rem,1.25vw,1.08rem);
  font-weight:820;
  letter-spacing:.105em;
  line-height:1.35;
  color:#1453A6;
  margin-bottom:22px;
}

.hero h1{
  font-size:clamp(2.65rem,4.65vw,4.18rem);
  line-height:1.055;
  max-width:820px;
  margin-bottom:26px;
}

.page-hero h1{
  font-size:clamp(2.45rem,4.25vw,3.85rem);
  line-height:1.07;
  max-width:900px;
}

@media (max-width:760px){
  .hero .eyebrow,
  .page-hero .eyebrow{
    font-size:.92rem;
    letter-spacing:.085em;
    margin-bottom:17px;
  }

  .hero h1{
    font-size:clamp(2.45rem,11vw,3.15rem);
    line-height:1.04;
  }

  .page-hero h1{
    font-size:clamp(2.25rem,10vw,2.9rem);
    line-height:1.055;
  }
}


/* v3.5 — global page-hero motif clipping fix
   Prevent decorative geometry from being cut off at the bottom of inner-page heroes. */
.page-hero{
  position:relative;
  overflow:hidden;
  padding-bottom:72px;
  background-position:right 3% center;
  background-size:min(31vw, 360px) auto;
  min-height:330px;
}

.page-hero .container{
  position:relative;
  z-index:1;
}

@media (max-width:1000px){
  .page-hero{
    padding-bottom:64px;
    background-position:right -38px center;
    background-size:320px auto;
    min-height:300px;
  }
}

@media (max-width:760px){
  .page-hero{
    padding-top:42px;
    padding-bottom:54px;
    min-height:0;
    background-position:right -110px center;
    background-size:270px auto;
  }
}


/* ==========================================================
   v3.6 — definitive page-hero motif fix
   The motif is no longer a background image of .page-hero.
   It lives inside a constrained pseudo-element and therefore
   always fits between the top/bottom safe areas.
   ========================================================== */

.page-hero{
  position:relative;
  overflow:hidden;
  background-image:none !important;
  min-height:320px;
  padding-top:56px;
  padding-bottom:56px;
}

.page-hero::after{
  content:"";
  position:absolute;
  z-index:0;
  pointer-events:none;

  right:2.5%;
  top:28px;
  bottom:28px;

  width:min(34vw, 390px);

  background-image:url('/assets/bg-motif-v36.svg');
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

.page-hero .container{
  position:relative;
  z-index:1;
}

/* Tablet */
@media (max-width:1000px){
  .page-hero{
    min-height:300px;
    padding-top:50px;
    padding-bottom:50px;
  }

  .page-hero::after{
    right:-28px;
    top:30px;
    bottom:30px;
    width:320px;
  }
}

/* Mobile */
@media (max-width:760px){
  .page-hero{
    min-height:0;
    padding-top:42px;
    padding-bottom:46px;
  }

  .page-hero::after{
    right:-92px;
    top:24px;
    bottom:24px;
    width:245px;
    opacity:.72;
  }
}


/* ==============================================================
   v4.0 — GRENAVOR VISUAL SYSTEM
   Abstract blue system/data-flow background inspired by layered
   architectural graphics. Original artwork: grenavor-system-flow-v40.svg
   ============================================================== */

/* Header — slightly cleaner and more enterprise */
.site-header{
  background:rgba(250,252,255,.93);
  border-bottom:1px solid rgba(207,220,237,.88);
  box-shadow:0 4px 24px rgba(11,31,58,.035);
}
.nav{min-height:78px}
.brand img{width:184px}
.nav-links a{font-weight:610}
.nav-links .nav-cta{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
  padding:9px 16px;
  box-shadow:0 8px 20px rgba(23,78,166,.10);
}
.nav-links .nav-cta:hover{
  color:#fff;
  background:#103D86;
}

/* Homepage hero — wall-graphic inspired background */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:96px 0 92px;
  min-height:650px;
  background:#F7F9FC;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url('/assets/grenavor-system-flow-v40.svg');
  background-repeat:no-repeat;
  background-position:center right;
  background-size:cover;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(247,249,252,.99) 0%,
      rgba(247,249,252,.98) 31%,
      rgba(247,249,252,.78) 49%,
      rgba(247,249,252,.22) 70%,
      rgba(247,249,252,.03) 100%);
}
.hero-flow-layout{
  display:block;
  position:relative;
}
.hero-flow-layout > div:first-child{
  max-width:780px;
}
.hero .eyebrow{
  font-size:clamp(1rem,1.25vw,1.10rem);
  letter-spacing:.115em;
  margin-bottom:24px;
}
.hero h1{
  max-width:760px;
  font-size:clamp(3rem,5.15vw,4.75rem);
  line-height:1.02;
  margin-bottom:28px;
  text-wrap:balance;
}
.hero .lead{
  max-width:710px;
  color:#34455B;
}
.hero p:not(.eyebrow):not(.lead){
  max-width:690px;
  color:#4B5870;
}
.hero-actions{margin-top:32px}
.button{
  padding:12px 20px;
  border-radius:9px;
  box-shadow:0 7px 18px rgba(23,78,166,.08);
}
.button.secondary{
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(6px);
}

/* Inner-page hero — same language, quieter intensity */
.page-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#F7F9FC !important;
  background-image:none !important;
  padding:70px 0 68px;
  min-height:350px;
}
.page-hero::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0;
  width:auto;
  opacity:.54;
  background-image:url('/assets/grenavor-system-flow-v40.svg');
  background-repeat:no-repeat;
  background-position:center right;
  background-size:cover;
  pointer-events:none;
}
.page-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(247,249,252,1) 0%,
      rgba(247,249,252,.98) 41%,
      rgba(247,249,252,.82) 58%,
      rgba(247,249,252,.46) 78%,
      rgba(247,249,252,.28) 100%);
  pointer-events:none;
}
.page-hero .container{
  position:relative;
  z-index:1;
}
.page-hero h1{
  max-width:820px;
  text-wrap:balance;
}

/* More refined section rhythm */
section{padding:88px 0}
.section-white{background:#fff}
.section-soft{
  background:
    radial-gradient(circle at 86% 15%, rgba(91,157,225,.10), transparent 34%),
    linear-gradient(180deg,#EEF5FD 0%,#F4F8FC 100%);
}
.seo-focus{
  background:
    radial-gradient(circle at 80% 22%, rgba(62,143,219,.10), transparent 32%),
    linear-gradient(180deg,#F8FBFF 0%,#EDF4FB 100%);
}

/* Cards: quiet enterprise surfaces */
.card,
.seo-point,
.team-card,
.insight-card{
  border-color:#D9E5F2;
  box-shadow:0 12px 34px rgba(11,31,58,.045);
}
.card{
  border-radius:18px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform:translateY(-2px);
  border-color:#C8DBEF;
  box-shadow:0 16px 38px rgba(11,31,58,.065);
}
.section-soft .card{
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(8px);
}

/* Dark sections receive a very subtle flow echo */
.section-dark{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 32%, rgba(30,107,194,.26), transparent 34%),
    #0B1F3A;
}

/* Keep long headlines controlled and elegant */
h1,h2{ text-wrap:balance; }

/* Mobile / tablet */
@media (max-width:1000px){
  .hero{
    min-height:590px;
    padding:80px 0 76px;
  }
  .hero::before{
    background-position:58% center;
    background-size:auto 100%;
    opacity:.58;
  }
  .hero::after{
    background:linear-gradient(90deg,
      rgba(247,249,252,1) 0%,
      rgba(247,249,252,.97) 55%,
      rgba(247,249,252,.60) 82%,
      rgba(247,249,252,.32) 100%);
  }
  .page-hero::after{
    background-position:61% center;
  }
}

@media (max-width:760px){
  .hero{
    min-height:0;
    padding:66px 0 62px;
  }
  .hero::before{
    background-position:67% center;
    background-size:auto 100%;
    opacity:.30;
  }
  .hero::after{
    background:rgba(247,249,252,.88);
  }
  .hero h1{
    font-size:clamp(2.6rem,11vw,3.45rem);
  }
  .hero .eyebrow{
    font-size:.92rem;
    letter-spacing:.09em;
  }

  .page-hero{
    padding:52px 0 50px;
    min-height:0;
  }
  .page-hero::after{
    opacity:.28;
    background-position:68% center;
    background-size:auto 100%;
  }
  .page-hero::before{
    background:rgba(247,249,252,.88);
  }
}

/* Accessibility: no hover motion when reduced motion is preferred */
@media (prefers-reduced-motion:reduce){
  .card{transition:none}
  .card:hover{transform:none}
}
