/*
Theme Name: KINADE OnePage V10
Theme URI: https://www.kinade.ch
Author: KINADE GmbH
Description: Bilingual one-page corporate website for KINADE GmbH.
Version: 2.7.0
Text Domain: kinade-onepage
*/
:root{
  --paper:#f7f5f0;
  --white:#ffffff;
  --ink:#141414;
  --muted:#6d685f;
  --line:#d9d3c8;
  --gold:#b28f56;
  --max:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 48px}
header{
  position:fixed;inset:0 0 auto 0;z-index:50;
  background:rgba(247,245,240,.95);backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(20,20,20,.07)
}
.header-inner{
  height:102px;display:flex;align-items:center;justify-content:space-between;gap:30px
}
.logo img{display:block;width:286px;height:auto}
nav{display:flex;align-items:center;gap:24px;font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#58534c}
nav a{transition:.2s ease}
nav a:hover{color:#111}
.lang-switch{display:flex;gap:7px;align-items:center;margin-left:4px}
.lang-switch button{
  border:0;background:transparent;padding:4px 1px;font:inherit;font-size:10px;
  letter-spacing:.14em;color:#817a70;cursor:pointer
}
.lang-switch button.active{color:#111}

.hero{
  min-height:92vh;display:flex;align-items:center;padding:170px 0 105px
}
.kicker{
  font-size:10px;text-transform:uppercase;letter-spacing:.28em;color:var(--gold);margin-bottom:33px
}
h1{
  margin:0;max-width:1030px;font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(58px,7vw,108px);line-height:.98;font-weight:400;
  letter-spacing:-.045em
}
.hero-sub{
  margin-top:42px;max-width:780px;color:var(--muted);font-size:18px;line-height:1.72
}
.hero-line{margin-top:58px;width:140px;height:1px;background:var(--gold)}

.section{padding:108px 0;border-top:1px solid var(--line)}
.split{display:grid;grid-template-columns:250px 1fr;gap:86px;align-items:start}
.label{
  font-size:10px;text-transform:uppercase;letter-spacing:.22em;color:var(--gold);padding-top:9px
}
.big-copy{
  max-width:900px;margin:0;font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(36px,4.2vw,60px);line-height:1.12;font-weight:400;letter-spacing:-.025em
}
.body-copy{max-width:780px;margin:28px 0 0;color:var(--muted);font-size:17px;line-height:1.78}

.service-section{scroll-margin-top:100px}
.service-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:58px
}
.service-card{border-top:1px solid var(--ink);padding-top:23px;min-width:0}
.service-no{font-family:Georgia,serif;color:var(--gold);font-size:18px;margin-bottom:42px}
.service-card h3{
  margin:0 0 16px;font:400 30px/1.15 Georgia,"Times New Roman",serif
}
.service-card h3.nowrap{white-space:nowrap;font-size:27px}
.service-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.72}

.experience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:38px;margin-top:58px}
.exp-item{border-top:1px solid var(--line);padding-top:20px}
.exp-item strong{
  display:block;font:400 23px/1.22 Georgia,"Times New Roman",serif;margin-bottom:10px
}
.exp-item strong.nowrap{white-space:nowrap}
.exp-item span{display:block;color:var(--muted);font-size:14px;line-height:1.7}

.contact{background:var(--paper)}
.contact-grid{
  margin-top:52px;padding-top:30px;border-top:1px solid var(--line);
  display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:48px
}
.contact-block{color:var(--muted);font-size:15px;line-height:1.9}
.contact-block b{display:block;color:var(--ink);font-weight:500;margin-bottom:7px}
.contact-form{margin-top:56px;padding-top:34px;border-top:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form-field{display:flex;flex-direction:column;gap:8px}
.form-field.full{grid-column:1/-1}
.form-field label{font-size:10px;text-transform:uppercase;letter-spacing:.17em;color:var(--muted)}
.form-field input,.form-field textarea{
  width:100%;border:1px solid var(--line);background:#fff;color:var(--ink);
  padding:14px 15px;font:inherit;font-size:14px;outline:none
}
.form-field textarea{min-height:150px;resize:vertical}
.form-field input:focus,.form-field textarea:focus{border-color:var(--gold)}
.form-submit{
  margin-top:18px;border:1px solid var(--ink);background:var(--ink);color:#fff;
  padding:14px 22px;min-height:48px;font-size:10px;text-transform:uppercase;
  letter-spacing:.18em;cursor:pointer
}
.form-note{margin-top:13px;color:var(--muted);font-size:12px;line-height:1.6}

.legal-wrap{padding:74px 0;border-top:1px solid var(--line)}
.compliance-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.compliance-card{border:1px solid var(--line);background:rgba(255,255,255,.34);padding:30px;min-height:210px}
.compliance-logo{height:70px;display:flex;align-items:center;margin-bottom:24px}
.compliance-logo img{max-width:290px;max-height:70px;width:auto;height:auto;object-fit:contain}
.compliance-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.imprint{margin-top:54px;padding-top:30px;border-top:1px solid var(--line)}
.imprint-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.imprint h3{margin:0 0 17px;font:400 28px/1.15 Georgia,"Times New Roman",serif}
.imprint p{margin:0;color:var(--muted);font-size:14px;line-height:1.82}
.imprint strong{color:var(--ink);font-weight:500}

footer{border-top:1px solid var(--line);padding:24px 0 32px;color:#847e74;font-size:9px;text-transform:uppercase;letter-spacing:.16em}
.footer-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

.lang-en{display:none}
body.lang-en-active .lang-de{display:none!important}
body.lang-en-active .lang-en{display:initial}
body.lang-en-active div.lang-en,
body.lang-en-active section.lang-en,
body.lang-en-active p.lang-en,
body.lang-en-active h1.lang-en,
body.lang-en-active h2.lang-en,
body.lang-en-active h3.lang-en,
body.lang-en-active span.lang-en,
body.lang-en-active label.lang-en,
body.lang-en-active strong.lang-en{display:block}
body.lang-en-active a.lang-en{display:inline}

@media(max-width:1100px){
  nav{gap:15px}
  .service-card h3.nowrap{white-space:normal}
}
@media(max-width:900px){
  .container{padding:0 24px}
  .header-inner{height:82px}
  .logo img{width:210px}
  nav a:not(.contact-nav){display:none}
  .hero{min-height:auto;padding:138px 0 84px}
  h1{font-size:clamp(50px,13vw,72px)}
  .section{padding:80px 0}
  .split{grid-template-columns:1fr;gap:25px}
  .service-grid,.experience-grid,.contact-grid,.compliance-grid,.imprint-grid{grid-template-columns:1fr}
  .service-card h3.nowrap,.exp-item strong.nowrap{white-space:normal}
  .form-grid{grid-template-columns:1fr}
  .form-field.full{grid-column:1}
}

.imprint-name{
  display:block;
  margin-top:6px;
}

.imprint-role-block{
  display:block;
}
.imprint-role-block strong{
  display:block !important;
  margin:0 0 8px 0;
}
.imprint-name{
  display:block !important;
  margin:0;
}

/* Language visibility fix */
.lang-en{
  display:none !important;
}
.lang-de{
  display:initial;
}
div.lang-de,
section.lang-de,
p.lang-de,
h1.lang-de,
h2.lang-de,
h3.lang-de,
span.lang-de,
label.lang-de,
strong.lang-de{
  display:block;
}
a.lang-de{
  display:inline;
}
body.lang-en-active .lang-de{
  display:none !important;
}
body.lang-en-active .lang-en{
  display:initial !important;
}
body.lang-en-active div.lang-en,
body.lang-en-active section.lang-en,
body.lang-en-active p.lang-en,
body.lang-en-active h1.lang-en,
body.lang-en-active h2.lang-en,
body.lang-en-active h3.lang-en,
body.lang-en-active span.lang-en,
body.lang-en-active label.lang-en,
body.lang-en-active strong.lang-en{
  display:block !important;
}
body.lang-en-active a.lang-en{
  display:inline !important;
}

/* Requested one-line headings on desktop */
.heading-one-line{
  white-space:nowrap;
}
@media(max-width:1000px){
  .heading-one-line{
    white-space:normal;
  }
}

/* Imprint typography refinement */
.imprint,
.imprint p,
.imprint strong,
.imprint .imprint-name,
.imprint .imprint-role-block,
.imprint .imprint-role-block strong {
  font-family: Arial, Helvetica, sans-serif !important;
}

.imprint h3 {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 400;
}

.imprint p {
  font-size: 14px;
  line-height: 1.82;
}

.imprint-role-block strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 4px;
}

.imprint-name {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* v2.3 – strict single-line experience heading */
.experience-one-line{
  white-space:nowrap !important;
  max-width:none !important;
  width:max-content !important;
  font-size:46px !important;
  line-height:1.05 !important;
  letter-spacing:-0.03em !important;
}
@media (max-width:1180px){
  .experience-one-line{
    font-size:40px !important;
  }
}
@media (max-width:980px){
  .experience-one-line{
    font-size:34px !important;
  }
}
@media (max-width:760px){
  .experience-one-line{
    font-size:27px !important;
  }
}
@media (max-width:560px){
  .experience-one-line{
    font-size:22px !important;
  }
}

/* v2.4 – strict single-line competencies heading */
.competencies-one-line{
  white-space:nowrap !important;
  max-width:none !important;
  width:max-content !important;
  font-size:42px !important;
  line-height:1.05 !important;
  letter-spacing:-0.03em !important;
}
@media (max-width:1180px){
  .competencies-one-line{font-size:38px !important;}
}
@media (max-width:980px){
  .competencies-one-line{font-size:32px !important;}
}
@media (max-width:760px){
  .competencies-one-line{font-size:26px !important;}
}
@media (max-width:560px){
  .competencies-one-line{font-size:20px !important;}
}

/* v2.6 – language visibility fix inside imprint */
body:not(.lang-en-active) .imprint-role-block .lang-en,
body:not(.lang-en-active) .imprint .lang-en{
  display:none !important;
}
body:not(.lang-en-active) .imprint-role-block .lang-de,
body:not(.lang-en-active) .imprint .lang-de{
  display:block !important;
}

body.lang-en-active .imprint-role-block .lang-de,
body.lang-en-active .imprint .lang-de{
  display:none !important;
}
body.lang-en-active .imprint-role-block .lang-en,
body.lang-en-active .imprint .lang-en{
  display:block !important;
}

/* v2.7 – match key section headings to "Langfristig. Diskret. Direkt." */
.competencies-one-line,
.experience-one-line{
  font-size:clamp(36px,4.2vw,60px) !important;
  line-height:1.12 !important;
  letter-spacing:-0.025em !important;
}
