/* INVETO.consulting — Dark Jaguar Green + Brass/Gold */

:root{
  --bg: #050b08;
  --bg2:#07110c;
  --panel:#08150f;
  --panel2:#0b1f16;
  --text:#e7e2d6;
  --muted:#b8b0a1;
  --gold:#c7a35a;       /* brass */
  --gold2:#e0c178;      /* highlight */
  --line: rgba(199,163,90,.22);
  --shadow: 0 18px 40px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(199,163,90,.06), transparent 60%),
              radial-gradient(900px 600px at 90% 30%, rgba(11,31,22,.8), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--gold2)}
.wrap{width:min(1160px, calc(100% - 48px)); margin:0 auto}

.sr{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

.skip{
  position:absolute; left:-999px; top:12px;
  background:var(--panel2); color:var(--text);
  padding:10px 12px; border:1px solid var(--line); border-radius:12px;
}
.skip:focus{left:12px; z-index:9999}

.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,11,8,.6);
  border-bottom:1px solid rgba(199,163,90,.14);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:inline-flex; flex-direction:column; gap:0; line-height:1; align-items:flex-start}
.brand-mark{
  font-family: "Cormorant Garamond", serif;
  letter-spacing:.14em;
  font-weight:700;
  font-size:26px;
  line-height:1.02;
  display:block;
}
.brand-sub{
  font-family: "Cormorant Garamond", serif;
  letter-spacing:.22em;
  font-weight:600;
  font-size:15px;
  line-height:1.0;
  color:var(--gold);
  display:block;
  margin-top:-4px; /* pull closer to INVETO */
  transform-origin:left top;
}

.nav{display:flex; align-items:center; gap:16px}
.navmenu{display:flex; align-items:center; gap:16px}
.navmenu a{
  font-size:14px;
  color:var(--muted);
  padding:10px 10px;
  border-radius:12px;
}
.navmenu a:hover{color:var(--text); background:rgba(199,163,90,.06)}
.cta-link{
  border:1px solid rgba(199,163,90,.35);
  color:var(--text) !important;
  background: linear-gradient(180deg, rgba(199,163,90,.10), rgba(199,163,90,.04));
}

.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px; height:40px;
  border-radius:12px;
  border:1px solid rgba(199,163,90,.25);
  background:rgba(8,21,15,.6);
  color:var(--text);
}
.nav-toggle-lines{
  display:block;
  width:18px; height:12px;
  background:
    linear-gradient(var(--gold),var(--gold)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--gold),var(--gold)) 0 50%/100% 2px no-repeat,
    linear-gradient(var(--gold),var(--gold)) 0 100%/100% 2px no-repeat;
}

/* HERO */
.hero{
  padding:64px 0 34px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:stretch;
}

.hero-kicker{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid rgba(199,163,90,.25);
  border-radius:999px;
  color:var(--muted);
  background: rgba(8,21,15,.55);
  font-size:13px;
}

h1,h2,h3{
  font-family:"Cormorant Garamond", serif;
  margin:16px 0 10px;
  letter-spacing:.02em;
}
h1{font-size:56px; line-height:1.02}
.h1-line{display:block}
.accent{color:var(--gold2)}

.lead{font-size:18px; color:var(--muted); max-width:52ch}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(199,163,90,.25);
  background:rgba(8,21,15,.55);
  color:var(--text);
  font-weight:500;
}
.btn:hover{background:rgba(199,163,90,.08); border-color:rgba(199,163,90,.35)}
.btn-primary{
  border-color:rgba(199,163,90,.45);
  background: linear-gradient(180deg, rgba(199,163,90,.18), rgba(199,163,90,.06));
  box-shadow: var(--shadow);
}
.btn-ghost{color:var(--muted)}
.btn-ghost:hover{color:var(--text)}

.hero-trust{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.pill{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(199,163,90,.18);
  color:var(--muted);
  background: rgba(8,21,15,.45);
}

.card{
  background: linear-gradient(180deg, rgba(11,31,22,.65), rgba(8,21,15,.65));
  border:1px solid rgba(199,163,90,.18);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  padding:18px 18px;
}
.card-glow{
  position:relative;
  overflow:hidden;
}
.card-glow::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(500px 200px at 20% 0%, rgba(199,163,90,.16), transparent 55%);
  pointer-events:none;
}
.card-title{color:var(--gold); font-size:13px; letter-spacing:.18em; text-transform:uppercase}

blockquote{margin:10px 0 0; padding:0}
blockquote p{margin:10px 0; font-size:16px; color:var(--text)}
blockquote footer{margin-top:12px; color:var(--muted); font-size:13px}

.meta{display:grid; gap:10px; margin-top:12px}
.meta-item{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(199,163,90,.16);
  background: rgba(8,21,15,.45);
}
.meta-label{font-size:12px; color:var(--gold); letter-spacing:.12em; text-transform:uppercase}
.meta-value{font-size:13px; color:var(--muted); margin-top:4px}

/* SECTIONS */
.section{padding:58px 0}
.section-alt{
  background: linear-gradient(180deg, rgba(8,21,15,.22), rgba(8,21,15,0));
  border-top:1px solid rgba(199,163,90,.10);
  border-bottom:1px solid rgba(199,163,90,.10);
}

.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap}
.section-sub{color:var(--muted); margin:0; max-width:68ch}

.grid.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:14px;
}
.card h3{margin-top:6px; font-size:26px}
.card p{color:var(--muted); margin:8px 0 10px}
.card ul{margin:10px 0 0 18px; color:var(--text)}
.card li{margin:6px 0}
.note{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(199,163,90,.14);
  color:var(--muted);
  font-size:13px;
}

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}

.quote-block{
  margin-top:14px;
  padding:16px 16px;
  border-radius: var(--radius);
  border:1px solid rgba(199,163,90,.18);
  background: rgba(8,21,15,.45);
}
.quote-block p{margin:10px 0; font-size:16px}

.divider{
  height:1px;
  background: rgba(199,163,90,.14);
  margin:18px 0;
}

.checklist{list-style:none; margin:10px 0 0; padding:0}
.checklist li{
  padding-left:26px;
  margin:10px 0;
  position:relative;
  color:var(--muted);
}
.checklist li::before{
  content:"✓";
  position:absolute; left:0; top:0;
  color:var(--gold2);
  font-weight:700;
}

.facts{display:grid; gap:10px; margin-top:12px}
.fact{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(199,163,90,.16);
  background: rgba(8,21,15,.45);
}
.fact-k{font-size:12px; color:var(--gold); letter-spacing:.12em; text-transform:uppercase}
.fact-v{font-size:13px; color:var(--muted); margin-top:4px}

.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
}
.contact-card{margin-top:14px}
.contact-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  padding:12px 0;
  border-top:1px solid rgba(199,163,90,.12);
}
.contact-row:first-child{border-top:none}
.contact-k{color:var(--gold); font-size:12px; letter-spacing:.12em; text-transform:uppercase}
.contact-v{color:var(--muted)}
.lead-sm{font-size:18px; color:var(--text)}
.fine{font-size:12px; color:rgba(231,226,214,.72)}

.site-footer{
  padding:24px 0 34px;
  border-top:1px solid rgba(199,163,90,.12);
  background: rgba(5,11,8,.55);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}
.brand-foot{display:flex; align-items:baseline; gap:10px}
.footer-right a{color:var(--muted); font-size:13px; padding:8px 10px; border-radius:12px}
.footer-right a:hover{color:var(--text); background:rgba(199,163,90,.06)}
.dot{color:rgba(199,163,90,.5); margin:0 2px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid, .two-col, .contact-grid{grid-template-columns:1fr}
  h1{font-size:46px}
  .grid.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:14px;
}
}
@media (max-width: 640px){
  .grid.cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:14px;
}
  .nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px; height:40px;
  border-radius:12px;
  border:1px solid rgba(199,163,90,.25);
  background:rgba(8,21,15,.6);
  color:var(--text);
}
  .navmenu{
    position:absolute;
    right:24px;
    top:62px;
    width:min(320px, calc(100vw - 48px));
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    padding:10px;
    border-radius:16px;
    border:1px solid rgba(199,163,90,.20);
    background: rgba(8,21,15,.92);
    box-shadow: var(--shadow);
  }
  .navmenu a{padding:12px 12px}
  .navmenu.open{display:flex}
}

/* Pills bar in Leistungen */
.pillbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.pillbar .pill{
  white-space:nowrap;
}

.visually-hidden{
  position:absolute!important;
  height:1px;width:1px;
  overflow:hidden;
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

/* Header phone quick-call */
.phone-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:40px;
  border-radius:12px;
  border:1px solid rgba(199,163,90,.25);
  background:rgba(8,21,15,.6);
  color:var(--gold);
  text-decoration:none;
  margin-right:10px; /* sits left of menu button */
}
.phone-icon:hover{ filter:brightness(1.06); }
.phone-icon:focus-visible{
  outline:2px solid rgba(199,163,90,.55);
  outline-offset:2px;
}
.phone-svg{ width:18px; height:18px; display:block; }

/* Footer LinkedIn icon */
.linkedin-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-left:10px;
  color:var(--gold);
  text-decoration:none;
}
.linkedin-icon:hover{ filter:brightness(1.1); }
.linkedin-svg{ width:18px; height:18px; display:block; }

.footer-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-left:10px;
  color:var(--gold);
  text-decoration:none;
}
.footer-icon:hover{ filter:brightness(1.15); }
.icon-svg{ width:18px; height:18px; display:block; }

/* Telegram subpage */
.big-pill{
  padding:22px;
}
.tg-embed .tg-fallback{
  margin-top:12px;
  font-size:14px;
  opacity:.9;
}
.tg-embed a{ color: var(--gold); }

/* Telegram iframe */
.tg-iframe{
  width:100%;
  height:72vh;
  min-height:560px;
  border:0;
  border-radius:16px;
  background:rgba(0,0,0,.18);
}


/* MOBILE_X_NO_SCROLL_FIX */
html, body{ overflow-x:hidden; }
*, *::before, *::after{ box-sizing:border-box; }
img, svg, iframe{ max-width:100%; }
.container{ overflow-x:hidden; }

/* Footer legal links */
.footer-right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.footer-legal{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  opacity:.9;
}
.footer-legal a{ color:var(--gold); text-decoration:none; }
.footer-legal a:hover{ filter:brightness(1.12); }
.footer-legal-sep{ opacity:.55; }


/* LEITSATZ_TUNE */
.leitsatz-pill{ padding:18px !important; }
.leitsatz-pill h2, .leitsatz-pill h3{ font-size:1.25rem !important; line-height:1.25 !important; }
.leitsatz-pill p{ font-size:0.98rem !important; }


/* EMAIL_RESPONSIVE_TUNE */
.contact-email-row .contact-v{
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  max-width: 100%;
  display: block;
}


/* NO_HORIZONTAL_SCROLL_STRICT */
html, body{ overflow-x:hidden; }
.main, main{ overflow-x:hidden; }
.site-footer{ overflow-x:hidden; }


/* CONTACT_CARD_RESPONSIVE_FIX */
.contact-card{
  max-width:100%;
  overflow:hidden;
}
.contact-row{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
}
.contact-k{
  flex:0 0 auto;
  max-width:40%;
  white-space:nowrap;
}
.contact-v{
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
@media (max-width: 520px){
  .contact-row{
    flex-wrap:wrap;
    gap:6px 10px;
  }
  .contact-k{
    max-width:100%;
  }
  .contact-v{
    width:100%;
  }
}


/* WHITE_FLASH_FIX (iOS/fast scroll overscroll background) */
html{ background: var(--bg); }
body{
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  min-height:100%;
  overscroll-behavior-y: none;
}
