/* HS Concept Unternehmensgruppe — PDF-inspired institutional layout (soft surfaces, calm) */
/* Design tokens */
:root{
  /* Hero background opacity (auto by breakpoint) */
  --hero-bg-opacity: 0.28;

  --bg:#F6F6F4;
  --surface:#FFFFFF;
  --text:#0E1A2B;           /* deep navy */
  --text2:#44505E;
  --muted:#6A6A6A;
  --accent:#0A8E8E;         /* teal */
  --border: rgba(14,26,43,0.14);
  --shadow: 0 18px 46px rgba(14,26,43,0.10);
  --radius: 14px;

  --container:1280px;
  --gutter-m:24px;
  --gutter-d:40px;
  --gap:28px;
}


/* Hero background opacity by viewport */
@media (min-width: 700px){
  :root{ --hero-bg-opacity: 0.34; }
}
@media (min-width: 1100px){
  :root{ --hero-bg-opacity: 0.38; }
}


/* Local font (optional). If WOFF2 files are not present, fallbacks apply. */
@font-face{
  font-family:"InterLocal";
  src: url("./assets/fonts/Inter-regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"InterLocal";
  src: url("./assets/fonts/Inter-medium.woff2") format("woff2");
  font-weight:500;
  font-style:normal;
  font-display:swap;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: InterLocal, Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight:400;
  line-height:1.65;
  font-size:18px;
  text-rendering:optimizeLegibility;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:focus{outline:2px solid var(--accent); outline-offset:3px}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter-m);
}
@media (min-width: 900px){
  .container{padding:0 var(--gutter-d)}
}

.section{ padding:64px 0; }
@media (min-width: 700px){ .section{padding:88px 0} }
@media (min-width: 1100px){ .section{padding:120px 0} }

.prose{max-width:720px}
.small{font-size:14px; line-height:1.55; color:var(--muted)}
.muted{color:var(--muted)}
.kicker{
  font-size:14px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 12px 0;
  font-weight:500;
}

h1,h2,h3{margin:0 0 18px 0; font-weight:500}
h1{font-size:44px; line-height:1.06; letter-spacing:-0.02em}
h2{font-size:34px; line-height:1.15; letter-spacing:-0.01em}
h3{font-size:22px; line-height:1.25}
@media (min-width: 900px){
  h1{font-size:64px}
  h2{font-size:44px}
  h3{font-size:28px}
}
p{margin:0 0 16px 0}
ul{margin:0; padding-left:0; list-style:none}
li{margin:10px 0}

/* subtle divider */
.hr{ height:1px; background:var(--border); width:100%; }

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  height:72px;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
@media (min-width: 900px){ .header{height:80px} }
.header-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand img{width:34px; height:34px}
.brand .name{
  font-weight:500;
  font-size:18px; line-height:1.2;
}
.brand .sub{
  display:block;
  font-size:14px;
  color:var(--muted);
  font-weight:400;
  margin-top:2px;
}
.nav{display:none; align-items:center; gap:22px;}
.nav a{padding:10px 2px;}
.nav a:hover{color:var(--accent); text-decoration:underline; text-underline-offset:6px;}
@media (min-width: 900px){ .nav{display:flex} }

.burger, .close{
  border:1px solid var(--border);
  background:transparent;
  padding:10px 12px;
  font: inherit;
  cursor:pointer;
  border-radius:10px;
}
.burger:hover, .close:hover{border-color:var(--accent); color:var(--accent)}
@media (min-width: 900px){ .burger{display:none} }

/* Mobile menu */
.overlay{
  position:fixed; inset:0; z-index:60;
  background:var(--bg);
  display:none;
}
.overlay.open{display:block}
.overlay .inner{height:100%; display:flex; flex-direction:column; padding:24px;}
.overlay .top{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
  border-bottom:1px solid var(--border);
}
.overlay nav{display:flex; flex-direction:column; padding-top:24px; gap:10px;}
.overlay nav a{padding:14px 8px; border-bottom:1px solid var(--border);}
.overlay nav a:hover{color:var(--accent); text-decoration:underline; text-underline-offset:6px;}

/* Layout grid */
.grid{display:grid; gap:var(--gap);}
.cols-2, .cols-3, .cols-4{grid-template-columns:1fr;}
@media (min-width: 900px){ .cols-2{grid-template-columns: 1.1fr 0.9fr;} }
@media (min-width: 700px){
  .cols-3{grid-template-columns:1fr 1fr;}
  .cols-4{grid-template-columns:1fr 1fr;}
}
@media (min-width: 1100px){
  .cols-3{grid-template-columns:1fr 1fr 1fr;}
  .cols-4{grid-template-columns:1fr 1fr 1fr 1fr;}
}

/* Surfaces */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow: 0 1px 0 rgba(14,26,43,0.02);
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 220px;
}
.card.soft{ box-shadow: var(--shadow); border-color: rgba(14,26,43,0.10); }
.card h3{margin:0}
.card .role{font-weight:500; color:var(--text2)}
.more{margin-top:auto; align-self:flex-start; padding-top:6px;}
.more:hover{color:var(--accent); text-decoration:underline; text-underline-offset:6px;}

.icon{
  width:22px; height:22px;
  color:var(--accent);
}
.icon-wrap{
  width:38px; height:38px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:12px;
  background: rgba(10,142,142,0.08);
  border:1px solid rgba(10,142,142,0.16);
  margin-bottom:8px;
}

/* Hero */
.hero{ min-height:calc(100vh - 72px); display:flex; align-items:center; }
@media (min-width: 900px){ .hero{min-height:calc(100vh - 80px);} }
.hero .subline{font-weight:500; color:var(--text2)}
.hero .micro{margin-top:14px}
.hero-visual{
  max-width: 560px;
  margin-left:auto;
}
.panel{
  background:var(--surface);
  border:1px solid rgba(14,26,43,0.10);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
}

/* Check list */
.checklist li{
  display:grid;
  grid-template-columns: 22px 1fr;
  gap:14px;
  align-items:start;
}
.check{
  width:20px; height:20px;
  margin-top:3px;
}
.check path{stroke:var(--accent);}

.list-title{font-weight:500; margin-bottom:4px}
.list-desc{color:var(--muted); margin:0}

/* Footer */
.footer{
  padding:64px 0;
  border-top:1px solid var(--border);
}
.footer-grid{
  display:grid;
  gap:28px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .footer-grid{grid-template-columns: 1.2fr 0.8fr 0.8fr;}
}
.footer h4{
  margin:0 0 12px 0;
  font-size:14px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:500;
}
.footer a:hover{color:var(--accent); text-decoration:underline; text-underline-offset:6px;}
.footer-bottom{
  margin-top:40px;
  padding-top:22px;
  border-top:1px solid var(--border);
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
  justify-content:space-between;
  color:var(--muted);
  font-size:14px;
}

/* Platform stack diagram */
.stack{
  width:100%;
  height:auto;
  display:block;
}
.stack a:hover .layer{filter: brightness(1.02);}
.stack .layer-label{font-weight:500; fill:#fff;}
.stack .layer-sub{font-weight:400; fill:rgba(255,255,255,0.85); font-size:14px;}
.stack .hit{cursor:pointer;}
.stack .hit:hover rect{stroke: rgba(255,255,255,0.65);}

/* A11y helpers */
.skip{
  position:absolute; left:-999px; top:0;
  background:var(--bg);
  border:1px solid var(--border);
  padding:8px 10px;
}
.skip:focus{left:12px; top:12px; z-index:1000}

/* HERO background (no parallax) + subtle depth layering */
.hero-bg{
  position:relative;
  overflow:hidden;
  background: var(--bg);
}
.hero-bg-media{
  position:absolute;
  inset:0;
  z-index:0;
  opacity: 0,7; /* make sure background is visible */
}
.hero-bg-media picture,
.hero-bg-media img{
  width:100%;
  height:100%;
  display:block;
}
.hero-bg-media img{
  object-fit:cover;
  object-position:center;
  filter: grayscale(10%) contrast(98%) brightness(103%);
  transform: scale(1.02);
}
.hero-depth{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
/* lighter overlays (previous version washed everything out) */
.hero-depth-1{
  background:
    radial-gradient(900px 520px at 18% 40%, rgba(246,246,244,0.10) 0%, rgba(246,246,244,0.35) 55%, rgba(246,246,244,0.70) 100%);
}
.hero-depth-2{
  background:
    linear-gradient(to bottom, rgba(246,246,244,0.10) 0%, rgba(246,246,244,0.55) 70%, rgba(246,246,244,0.92) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
}

