/* =========================================================
   werks-it – Stylesheet
   Alle Farben, Schriften und Abstände werden über die
   Variablen in :root gesteuert. Für eine Variante genügt es,
   diese Werte zu ändern.
   ========================================================= */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/manrope-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/manrope-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/manrope-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/poppins-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/poppins-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/poppins-latin-600-normal.woff2") format("woff2")}

/* ---------- Design-Tokens ---------- */
:root{
  --c-ink:#000000;          /* Text, Buttons */
  --c-paper:#ffffff;        /* Seitenhintergrund, Karten */
  --c-hero:#000000;         /* Kopfzeile & Startbereich */
  --c-surface:#f5f5f5;      /* helle Sektionen */
  --c-band:#eaf6fc;         /* Services-Band (zarter Blauton) */
  --c-muted:#393536;        /* FAQ & Footer – Schriftgrau aus dem Logo */
  --c-text-2:#333333;       /* Fließtext gedämpft */
  --c-text-3:#555555;       /* Labels, Eyebrows */
  --c-line:#8c8c8c;         /* Formularrahmen */
  --c-focus:#00adef;

  /* Markenfarben aus dem werks-it-Logo (4c) */
  --c-accent:#00adef;       /* Logo-Blau: Flächen, Linien, Buttons auf Dunkel (schwarze Schrift) */
  --c-accent-light:#73d2f6; /* Logo-Hellblau: Akzente auf dunklem Grund */
  --c-accent-ink:#006e9c;   /* abgedunkeltes Blau für Text/Buttons auf Hell (≥ 4,5:1) */

  --f-head:"Manrope",system-ui,sans-serif;
  --f-body:"Poppins",system-ui,sans-serif;

  --radius:0px;             /* 0 = eckig wie im Original */
  --maxw:1240px;
  --gutter:20px;
  --section-y:112px;
  --header-h:72px;
}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;font-family:var(--f-body);font-size:17px;line-height:1.65;color:var(--c-ink);background:var(--c-paper)}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
a:hover{opacity:.75}
:focus-visible{outline:2px solid var(--c-focus);outline-offset:3px}
h1,h2,h3,h4{font-family:var(--f-head);margin:0;line-height:1.15;letter-spacing:-.02em}
p{margin:0}
.container{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gutter)}
.section{padding-block:var(--section-y);scroll-margin-top:var(--header-h)}
.eyebrow{margin:0;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--c-accent-ink);font-weight:600}
.h2{font-weight:500;font-size:clamp(2rem,3.2vw,2.6rem)}
.h3{font-weight:600;font-size:22px;margin-top:16px}
.stack{display:flex;flex-direction:column;gap:22px}
.split{display:flex;flex-wrap:wrap;gap:64px;align-items:flex-start}
.split > .side{flex:1 1 340px;min-width:0}
.split > .main{flex:999 1 520px;min-width:0}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;border-radius:var(--radius);text-decoration:none;font:inherit;font-weight:500;cursor:pointer;border:1px solid transparent}
.btn--light{background:var(--c-accent);color:#000}
.btn--ghost{border-color:rgba(255,255,255,.5);color:#fff}
.btn--dark{background:var(--c-accent-ink);color:#fff;min-height:52px;padding:0 36px}

/* ---------- Skip-Link ---------- */
.skip{position:absolute;left:16px;top:-60px;background:#fff;color:#000;padding:12px 16px;z-index:100}
.skip:focus{top:12px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--c-hero);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}
.site-header .container{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:24px;position:relative}
.brand{display:flex;align-items:center;min-height:44px}
.brand img{height:48px;width:auto}
.nav{display:flex;align-items:center;gap:28px;font-size:15px}
.nav a{text-decoration:none;padding:10px 0}
.nav .btn{padding:0 20px;min-height:44px}
.menu-btn{display:none;width:44px;height:44px;align-items:center;justify-content:center;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:var(--radius);cursor:pointer}
.back-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;text-decoration:none}
@media (max-width:860px){
  .menu-btn{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:var(--header-h);flex-direction:column;align-items:stretch;gap:4px;background:var(--c-hero);padding:8px var(--gutter) 24px;border-bottom:1px solid rgba(255,255,255,.12)}
  .nav.is-open{display:flex}
  .nav .btn{margin-top:8px}
}

/* ---------- Hero ---------- */
.hero{background:var(--c-hero);color:#fff}
.hero__inner{padding-block:96px 104px;display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.hero__text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero .eyebrow{color:var(--c-accent-light);font-weight:400}
.hero h1{font-weight:500;font-size:clamp(2.4rem,4.6vw,4rem);line-height:1.08;letter-spacing:-.025em}
.hero__lead{font-size:19px;color:#e6e6e6;max-width:560px}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero__art{flex:1 1 420px;min-width:0;display:flex;justify-content:center}
.hero__art svg{width:100%;max-width:520px;height:auto}
.hero__image{width:100%;height:clamp(200px,27.8vw,520px);object-fit:cover}
.hero__claim{border-top:1px solid rgba(255,255,255,.14)}
.hero__claim p{padding-block:28px;font-family:var(--f-head);font-size:clamp(1.1rem,1.6vw,1.4rem);font-weight:500;color:#f0f0f0}

/* ---------- Über uns ---------- */
.bg-surface{background:var(--c-surface)}
.bg-paper{background:var(--c-paper)}
.about-logo{max-width:360px;margin-top:24px;align-self:flex-start}
.pillars{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.pillars li{background:var(--c-paper);padding:24px;border:1px solid #e2e2e2;border-top:3px solid var(--c-accent);border-radius:var(--radius);display:flex;flex-direction:column;gap:8px}
.pillars strong{font-family:var(--f-head);font-weight:700}
.pillars span{font-size:16px;color:var(--c-text-2)}

/* ---------- Leistungen ---------- */
.feature{display:flex;flex-wrap:wrap;gap:64px;align-items:center}
.feature__art{flex:1 1 360px;min-width:0;background:var(--c-hero);aspect-ratio:4/5;max-height:560px;border-radius:var(--radius);overflow:hidden}
.feature__art svg{width:100%;height:100%}
.feature__text{flex:999 1 480px;min-width:0;max-width:640px}

/* ---------- Services ---------- */
.bg-band{background:var(--c-band)}
.services{display:flex;flex-direction:column;gap:56px}
.services > h2{font-weight:500;font-size:clamp(2.4rem,4vw,3.2rem)}
.service-group{display:flex;flex-wrap:wrap;gap:40px;border-top:3px solid var(--c-accent);padding-top:32px}
.service-group__head{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:12px}
.service-group__num{font-family:var(--f-head);font-size:15px;font-weight:700;color:var(--c-accent-ink)}
.service-group__head h3{font-weight:500;font-size:28px;line-height:1.2}
.service-group__cards{flex:999 1 560px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.card{background:var(--c-paper);padding:28px;border-radius:var(--radius);display:flex;flex-direction:column;gap:10px}
.card h4{font-weight:700;font-size:18px;line-height:1.3;letter-spacing:0}
.card p{font-size:16px;color:#2b2b2b}

/* ---------- FAQ ---------- */
.bg-muted{background:var(--c-muted);color:#fff}
.faq{display:flex;flex-wrap:wrap;gap:48px}
.faq h2{flex:1 1 300px}
.faq__list{flex:999 1 560px;min-width:0}
.faq details{border-top:1px solid rgba(255,255,255,.45);padding:4px 0}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:56px;font-family:var(--f-head);font-weight:600;font-size:19px}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{flex:none;transition:transform .2s;color:var(--c-accent-light)}
.faq details[open] summary svg{transform:rotate(45deg)}
.faq details p{margin:0 0 24px;max-width:680px}

/* ---------- Kontakt ---------- */
.contact h2{font-size:clamp(2.2rem,3.6vw,3rem);font-weight:500;line-height:1.1}
.contact-panel{display:flex;flex-direction:column;gap:40px}
.contact-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.contact-tile{display:flex;align-items:center;gap:20px;padding:28px;min-height:112px;background:var(--c-paper);border-top:3px solid var(--c-accent);border-radius:var(--radius);text-decoration:none}
.contact-tile__icon{flex:none;width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:var(--c-hero);color:var(--c-accent);border-radius:var(--radius)}
.contact-tile__text{display:flex;flex-direction:column;gap:2px;min-width:0}
.contact-tile__text span{font-size:14px;color:var(--c-text-3)}
.contact-tile__text strong{font-family:var(--f-head);font-weight:700;font-size:20px;color:var(--c-accent-ink);overflow-wrap:anywhere}
.steps-wrap{display:flex;flex-direction:column;gap:20px}
.steps-wrap h3{font-weight:600;font-size:22px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.steps li{display:flex;flex-direction:column;gap:8px;padding-top:16px;border-top:1px solid #c9c9c9}
.steps span{font-family:var(--f-head);font-weight:700;font-size:15px;color:var(--c-accent-ink)}
.steps strong{font-family:var(--f-head);font-size:18px}
.steps p{font-size:16px;color:var(--c-text-2)}
.vcard-link{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:500;color:var(--c-accent-ink)}

/* ---------- Rechtstexte ---------- */
.legal{background:var(--c-surface);border-top:3px solid var(--c-accent)}
.legal .container{max-width:860px;padding-block:88px 112px;display:flex;flex-direction:column;gap:32px;line-height:1.7}
.legal h1{font-weight:500;font-size:clamp(2.4rem,4vw,3.2rem)}
.legal h2{font-weight:600;font-size:26px;margin-top:16px;line-height:1.3;letter-spacing:-.01em}
.legal h3{font-weight:600;font-size:19px;margin-top:8px;letter-spacing:0}
.legal section{display:flex;flex-direction:column;gap:16px;scroll-margin-top:24px}
.itrk-legaltext{overflow-wrap:anywhere}

/* ---------- Footer ---------- */
.site-footer{background:var(--c-muted);color:#fff}
.site-footer .container{padding-block:72px 32px;display:flex;flex-direction:column;gap:48px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:40px;font-size:15px}
.footer-col{display:flex;flex-direction:column;gap:6px}
.footer-col strong{font-weight:600}
.footer-col a{text-decoration:none}
.footer-logo{height:64px;width:auto;margin-bottom:6px;align-self:flex-start}
.footer-col address{font-style:normal}
.exali-seal{margin-top:8px;display:inline-block}
.exali-seal img{width:auto;height:120px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.35);padding-top:24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:13px}
.footer-bottom span:last-child{max-width:720px}
.itrk-legaltext h1{font-weight:500;font-size:clamp(2.4rem,4vw,3.2rem);margin-bottom:24px}
.itrk-legaltext h2{font-size:22px;font-weight:600;margin:32px 0 12px;letter-spacing:-.01em}
.itrk-legaltext p{margin:0 0 14px}
.legal a,.main a{color:var(--c-accent-ink)}

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:200;background:var(--c-muted);color:#fff;border-top:3px solid var(--c-accent);box-shadow:0 -6px 24px rgba(0,0,0,.3)}
.cookie-banner[hidden]{display:none}
.cookie-banner__inner{padding-block:20px;display:flex;flex-wrap:wrap;align-items:center;gap:20px}
.cookie-banner__inner p{margin:0;flex:1 1 420px;font-size:15px;color:#fff}
.cookie-banner__inner p a{color:var(--c-accent-light)}
.cookie-banner__inner .btn{flex:none;align-self:flex-start}
@media (max-width:860px){
  .cookie-banner__inner{padding-block:18px}
  .cookie-banner__inner .btn{width:100%}
}
