/* =========================================================
   denInformatiker – Stylesheet (dunkles Design)
   Farben & Schriften zentral hier anpassen (:root)
   ========================================================= */
:root{
  --bg:#191713;          /* Seitenhintergrund (theme-color) */
  --bg-2:#201c15;        /* dunkelgrau (Leistungen) */
  --bg-black:#12100d;    /* schwarz (Arbeitsweise) */
  --card:#26231e;        /* Kästen, Formular */
  --line:#36322b;
  --text:#ede9e1;
  --muted:#b3ad9f;
  --accent:#009fe3;      /* Logo-Blau */
  --yellow:#e0a43d;      /* Gelb (Original) */
  --yellow-hover:#eab456;
  --navy:#214899;        /* Button „Beratung anfragen“ */
  --on-yellow:#191713;
  --radius:10px;
  --wrap:1160px;
  --font-display:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --font-body:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;background:var(--bg)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:4px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(1.25rem,4vw,2.5rem)}
h1,h2,h3{font-family:var(--font-display);font-weight:700;line-height:1.1;letter-spacing:-.025em;margin:0}
strong,b{font-family:var(--font-display)}
.skip{position:absolute;left:-999px;top:0;background:var(--yellow);color:var(--on-yellow);padding:.6rem 1rem;z-index:100}
.skip:focus{left:1rem;top:1rem}

/* ---------- Kleine Überschriften mit blau-gelben Quadraten ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:.8rem;margin:0 0 1.1rem;font-family:var(--font-display);font-weight:700;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.eyebrow::before{content:"";width:32px;height:32px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cg fill='%23009fe3'%3E%3Crect x='0' y='0' width='5' height='5'/%3E%3Crect x='8' y='8' width='5' height='5'/%3E%3Crect x='24' y='8' width='5' height='5'/%3E%3Crect x='16' y='24' width='5' height='5'/%3E%3C/g%3E%3Cg fill='%23e0a43d'%3E%3Crect x='16' y='0' width='5' height='5'/%3E%3Crect x='0' y='16' width='5' height='5'/%3E%3Crect x='24' y='24' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:.55rem;padding:.8rem 1.35rem;border-radius:12px;font-family:var(--font-display);font-weight:600;text-decoration:none;border:1.5px solid transparent;font-size:.97rem;cursor:pointer;transition:background .15s,color .15s,border-color .15s,filter .15s}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{filter:brightness(1.1)}
.btn-yellow{background:var(--yellow);color:var(--on-yellow)}
.btn-yellow:hover{background:var(--yellow-hover)}
.hero .btn-yellow{box-shadow:0 8px 28px rgba(224,164,61,.28)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{filter:brightness(1.15)}
.btn-ghost{border-color:#4a463d;color:var(--text);background:transparent}
.btn-ghost:hover{border-color:var(--text)}
.btn-yellow .ico{color:var(--on-yellow)}
.btn-small{padding:.5rem 1rem;font-size:.9rem}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:1.5rem;height:72px}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none}
.brand img.mark{height:42px;width:auto}
.brand img.word{height:21px;width:auto}
.brand .word-text{display:none;font-family:var(--font-display);font-weight:700;font-size:1.25rem}
.brand.no-img img{display:none}.brand.no-img .word-text{display:inline}
.main-nav{display:flex;gap:1.8rem;margin:0 auto}
.main-nav a{text-decoration:none;font-family:var(--font-display);font-weight:600;font-size:.95rem;color:#c9c3b6}
.main-nav a:hover{color:var(--accent)}
.lang{font-size:.9rem;color:var(--muted)}
.lang{font-family:var(--font-display);font-weight:700}
.lang a{text-decoration:none;color:#c9c3b6}.lang a[aria-current]{color:var(--accent);border-bottom:2px solid var(--yellow);padding-bottom:1px}
.header-cta{display:flex;gap:.6rem}
.menu-toggle{display:none;margin-left:auto;background:none;border:1.5px solid #4a463d;border-radius:8px;padding:.45rem .8rem;font:inherit;cursor:pointer;color:var(--text)}
@media (max-width:960px){
  .menu-toggle{display:block}
  .main-nav,.lang,.header-cta{display:none}
  .site-header.open .wrap{flex-wrap:wrap;height:auto;padding-top:.9rem;padding-bottom:1.2rem;row-gap:1rem}
  .site-header.open .main-nav,.site-header.open .lang,.site-header.open .header-cta{display:flex;width:100%;margin:0}
  .site-header.open .main-nav{flex-direction:column;gap:.8rem;padding-top:.4rem}
}

/* ---------- Hero ---------- */
.hero .wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:3rem;align-items:center;padding-top:clamp(4rem,9vw,7.5rem);padding-bottom:clamp(4rem,9vw,7.5rem)}
.hero{position:relative;overflow:hidden}
.hero h1{font-size:clamp(2.6rem,6.4vw,5.2rem);font-weight:800;max-width:12ch}
.squiggle{position:relative;white-space:nowrap}
.squiggle svg{position:absolute;left:-2%;width:104%;bottom:-.2em;height:.32em;overflow:visible;pointer-events:none}
.squiggle path{fill:none;stroke:var(--yellow);stroke-width:3px;stroke-linecap:round;vector-effect:non-scaling-stroke}
.hero p.lead{color:var(--muted);font-size:1.2rem;max-width:52ch;margin:1.8rem 0 2.2rem}
.hero .actions{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-visual{display:flex;justify-content:center}
.blob{position:relative;width:min(100%,440px);aspect-ratio:1.18;display:flex;align-items:center;justify-content:center;background:var(--text);border-radius:56% 44% 52% 48% / 50% 46% 54% 50%;transform:rotate(-4deg)}
.blob::after{content:"";position:absolute;inset:0;border:1.5px solid rgba(237,233,225,.45);border-radius:inherit;transform:translate(22px,26px) rotate(3deg);z-index:-1}
.blob img{width:72%;transform:rotate(4deg)}
.blob .fallback{display:none;font-family:var(--font-display);font-size:6rem;font-weight:800;color:var(--navy)}
.blob.no-img img{display:none}.blob.no-img .fallback{display:block}
.hero-visual{isolation:isolate}
@media (max-width:820px){.hero .wrap{grid-template-columns:1fr}.hero-visual{justify-content:flex-start}.blob{width:min(80%,320px)}}

/* ---------- Abschnitte ---------- */
section.block{position:relative;padding:clamp(4rem,8vw,6.5rem) 0;background:var(--bg)}
/* Leicht geschwungene Übergänge zwischen den Abschnitten */
section.block::before,.site-footer::before{content:"";position:absolute;left:0;right:0;top:-15px;height:16px;background:inherit;pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 16' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C 300 5, 620 1, 900 3 S 1300 10, 1440 13 V16 H0 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 16' preserveAspectRatio='none'%3E%3Cpath d='M0 9 C 300 5, 620 1, 900 3 S 1300 10, 1440 13 V16 H0 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
section.block:nth-of-type(odd)::before{transform:scaleX(-1)}
section.block-alt{background:var(--bg-2)}
section.block-black{background:var(--bg-black)}
.block h2{font-size:clamp(2rem,4vw,3rem);max-width:20ch}
.block .intro{color:var(--muted);font-size:1.15rem;max-width:56ch;margin:1rem 0 0}

/* Leistungen: links mitlaufender Titel, rechts Liste 01–06 */
.services-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.55fr);gap:clamp(2rem,6vw,7rem);align-items:start}
.services-intro{position:sticky;top:110px}
.services-intro h2{font-size:clamp(1.9rem,3.2vw,2.6rem);max-width:14ch}
.services-intro .intro{font-size:1.05rem;max-width:30ch}
.services{list-style:none;padding:0;margin:0}
.services li{position:relative;display:grid;grid-template-columns:3rem 1fr;gap:1rem;padding:2.2rem 0 2.6rem;max-width:470px}
.services li:first-child{padding-top:0}
.services li:nth-child(even){margin-left:2rem}
.services li:not(:last-child)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 470 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3 C 80 1.5, 160 4.5, 240 3 S 400 1.5, 469 4' fill='none' stroke='%234b4741' stroke-width='1.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.services .num{font-family:var(--font-display);font-weight:800;color:var(--accent);font-size:1.6rem;line-height:1.1;letter-spacing:-.01em}
.services h3{font-size:1.15rem;margin:0 0 .55rem;line-height:1.3}
.services p{margin:0;color:#d4cbb8;font-size:.95rem;line-height:1.65}
@media (max-width:860px){
  .services-layout{grid-template-columns:1fr}
  .services-intro{position:static}
  .services li:nth-child(even){margin-left:1.2rem}
}

/* Arbeitsweise: versetzte Schritte mit Kreisen und gestrichelter Linie */
.steps{position:relative;list-style:none;padding:0;margin:3rem 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.steps::before{content:"";position:absolute;top:22px;left:70px;right:12%;border-top:1px dashed #5c574e;z-index:0}
.steps li{position:relative;z-index:1}
.steps li:nth-child(even){margin-top:2.1rem}
.steps .step-num{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#27221a;border:1.5px solid #cfc8bb;border-radius:52% 48% 50% 50% / 50% 52% 48% 50%;color:var(--accent);font-family:var(--font-display);font-size:.95rem;font-weight:800}
.steps h3{font-size:1.05rem;margin:1.1rem 0 .7rem}
.steps p{margin:0;color:#b9b2a5;font-size:.93rem;line-height:1.75;max-width:26ch}
@media (max-width:900px){.steps{grid-template-columns:1fr 1fr;gap:2.4rem 1.5rem}.steps::before{display:none}}
@media (max-width:540px){.steps{grid-template-columns:1fr}.steps li:nth-child(even){margin-top:0}}

/* Über uns: Kennzahlen als handgezeichnete Kärtchen */
.about{display:grid;grid-template-columns:1.1fr 1fr;gap:4rem;align-items:center}
.about p:not(.eyebrow){font-size:1.05rem;line-height:1.8;max-width:52ch;margin:1.4rem 0 0;color:#d4cbb8}
.facts-wrap{position:relative;isolation:isolate;width:100%;max-width:380px;justify-self:center;padding:1rem 0 2.5rem}
.facts-wrap::before{content:"";position:absolute;z-index:-1;width:140px;height:140px;border-radius:50%;background:#2e2617;top:-18px;right:-30px}
.facts-wrap::after{content:"";position:absolute;z-index:-1;width:125px;height:125px;border-radius:50%;background:#191d25;left:-20px;bottom:0}
.pixels{position:absolute;right:14px;bottom:4px;width:30px;height:30px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cg fill='%23009fe3'%3E%3Crect x='0' y='0' width='5' height='5'/%3E%3Crect x='8' y='8' width='5' height='5'/%3E%3Crect x='24' y='8' width='5' height='5'/%3E%3Crect x='16' y='24' width='5' height='5'/%3E%3C/g%3E%3Cg fill='%23e0a43d'%3E%3Crect x='16' y='0' width='5' height='5'/%3E%3Crect x='0' y='16' width='5' height='5'/%3E%3Crect x='24' y='24' width='5' height='5'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:1.3rem 1.4rem}
.facts li{background:#27221a;border:1.3px solid #d8d1c4;padding:1.5rem 1.1rem 1.7rem;border-radius:20px 26px 14px 22px / 14px 20px 24px 18px}
.facts li:nth-child(1){transform:rotate(-1deg)}
.facts li:nth-child(2){transform:translateY(18px) rotate(1deg);background:var(--yellow);border-color:var(--yellow);border-radius:14px 24px 22px 12px / 22px 14px 20px 24px}
.facts li:nth-child(3){transform:rotate(1.5deg);border-radius:24px 14px 26px 18px / 18px 24px 14px 22px}
.facts li:nth-child(4){transform:translateY(18px) rotate(-.8deg);border-radius:16px 22px 18px 26px / 24px 16px 22px 14px}
.facts strong{display:block;font-size:1.75rem;font-weight:800;line-height:1;letter-spacing:-.02em;margin-bottom:.45rem;color:var(--accent)}
.facts span{font-family:var(--font-display);font-weight:600;font-size:.8rem;color:#c1bbae}
.facts li:nth-child(2) strong,.facts li:nth-child(2) span{color:var(--on-yellow)}
@media (max-width:860px){.about{grid-template-columns:1fr;gap:3rem}.facts-wrap{justify-self:start}}

/* Kontakt */
.contact{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(2.5rem,6vw,6rem);align-items:start}
.contact h2{font-size:clamp(1.9rem,3.2vw,2.6rem);max-width:18ch}
.contact .intro{font-size:1.02rem;line-height:1.8;color:#d4cbb8;max-width:44ch}
.contact-list{list-style:none;padding:0;margin:2.2rem 0 0;display:grid;gap:1.4rem}
.contact-list li{display:grid;grid-template-columns:22px 1fr;gap:.9rem;align-items:start}
.contact-list .ci{width:20px;height:20px;color:var(--accent);margin-top:.15rem}
.contact-list .k{display:block;font-family:var(--font-display);font-weight:700;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#d8d1c4;margin-bottom:.2rem}
.contact-list a,.contact-list .v{font-family:var(--font-display);font-weight:700;font-size:1.02rem;color:var(--text)}
.contact-list a{text-decoration:none;border-bottom:2px solid var(--yellow);padding-bottom:1px}
.contact-list a:hover{color:var(--yellow)}

/* Handgezeichnete Umrandungen */
.remote{margin-top:2.6rem;padding:1.7rem 1.4rem 1.4rem;background:#27221a;border:1.3px solid #cfc8bb;border-radius:46px 22px 30px 18px / 18px 34px 22px 44px;max-width:360px}
.remote h3{font-size:1.1rem}
.remote p{color:#d4cbb8;font-size:.85rem;line-height:1.8;margin:.7rem 0 1.2rem}
.remote .btn{margin-top:.2rem}
form.contact-form{position:relative;background:#262219;border:1.3px solid #d8d1c4;padding:clamp(1.4rem,3vw,2rem);border-radius:14px 30px 18px 10px / 8px 18px 26px 22px;transform:rotate(.6deg);box-shadow:0 18px 40px rgba(0,0,0,.35)}
form.contact-form > *{transform:rotate(-.6deg)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{margin-bottom:1.1rem}
.field label{display:block;font-family:var(--font-display);font-weight:700;font-size:.82rem;margin-bottom:.5rem}
.field input,.field textarea{width:100%;font:inherit;font-size:.92rem;padding:.75rem .9rem;border:1.2px solid #4a453c;border-radius:12px 14px 11px 13px / 13px 11px 14px 12px;background:#1c1914;color:var(--text)}
.field input::placeholder,.field textarea::placeholder{color:#8a8476}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent)}
.field textarea{min-height:115px;resize:vertical}
.contact-form .btn-yellow{margin-top:.6rem;padding:.85rem 1.3rem;box-shadow:0 8px 24px rgba(224,164,61,.22)}
.hp{position:absolute;left:-5000px}
.form-note{font-size:.76rem;line-height:1.8;color:#cfc8bb;margin:1rem 0 0}
.form-note .strong-link{color:var(--text);font-weight:700;text-decoration:underline}
.form-mail{font-size:.82rem;margin-top:.4rem}
.form-mail a{color:var(--accent);font-weight:700;text-decoration:underline}
.form-status{margin:1rem 0 0;font-weight:600}
.form-status.ok{color:#5fd38d}.form-status.err{color:#ff8a80}
@media (max-width:860px){.contact{grid-template-columns:1fr}form.contact-form,form.contact-form > *{transform:none}}
@media (max-width:520px){.field-row{grid-template-columns:1fr;gap:0}}

/* ---------- Rechtliche Seiten ---------- */
.legal{padding:clamp(3rem,7vw,5rem) 0}
.legal .wrap{max-width:820px}
.legal h1{font-size:clamp(2.2rem,5vw,3.4rem)}
.legal .stand{color:var(--muted);margin:.6rem 0 2rem}
.legal h2{font-size:1.4rem;margin:2.4rem 0 .7rem}
.legal p,.legal li{max-width:68ch;color:#d9d5cb}
.legal address{font-style:normal;color:#d9d5cb}
.legal a{color:var(--accent)}
.legal .back{display:inline-block;margin-top:3rem;font-weight:600;text-decoration:none}

/* ---------- Footer ---------- */
.site-footer{position:relative;padding:4rem 0 2rem;background:#0c0b09}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.footer-grid h2{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1rem}
.footer-grid ul{list-style:none;margin:0;padding:0}
.footer-grid li{margin:.35rem 0;color:var(--muted)}
.footer-grid a{text-decoration:none;color:var(--muted)}
.footer-grid a:hover{color:var(--accent)}
.footer-grid .ico{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:.35rem;color:var(--yellow)}
.tagline{color:var(--muted);margin:.9rem 0 0}
.footer-grid .social{list-style:none;display:flex;gap:.6rem;margin:1.2rem 0 0;padding:0}
.footer-grid .social li{margin:0}
.footer-grid .social a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:1.5px solid #4a463d;color:var(--text);transition:background .15s,border-color .15s}
.footer-grid .social a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.footer-grid .social svg{width:20px;height:20px;fill:currentColor}
.footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-top:3rem;padding-top:1.5rem;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}
.footer-bottom p{margin:0}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr}}

/* Footer: Slogan und Social-Icons mittig unter dem Logo */
.footer-brand{display:flex;flex-direction:column;align-items:center;width:max-content;max-width:100%;text-align:center}
.footer-grid .footer-brand .social{justify-content:center}

/* Französischer Titel ist länger */
html[lang="fr"] .hero h1{max-width:15ch;font-size:clamp(2.4rem,5.6vw,4.6rem)}

/* Kontakt: Fernwartungs-Kasten in der rechten Spalte */
.contact{align-items:center}
.contact > .remote{margin-top:0;justify-self:center;width:100%;max-width:420px;padding:2rem 1.8rem 1.8rem}
.contact > .remote h3{font-size:1.3rem}
.contact > .remote p{font-size:.95rem}
@media (max-width:860px){.contact > .remote{justify-self:start}}

/* Handy: Logo kleiner, damit der Menü-Button daneben Platz hat */
.brand{min-width:0;flex-shrink:1}
@media (max-width:600px){
  .site-header .wrap{gap:.8rem}
  .brand{gap:.4rem}
  .brand img.mark{height:32px}
  .brand img.word{height:15px}
  .menu-toggle{flex:none;padding:.4rem .7rem;font-size:.95rem}
}
@media (max-width:339px){
  .site-header .brand img.word{display:none}
}
