/* SPICEy3 Consulting GmbH – Globales Stylesheet */

/* ============================================================
   DESIGN-TOKENS
   Magenta exakt aus Logo: #FF00FF (reines Magenta)
   Dunkelgrau Primärtext:  #2C2C2C
   Schriftart:             Arial (systemseitig, kein Import)
   ============================================================ */
:root {
  --mg:        #FF00FF;   /* Logo-Magenta                    */
  --mg-dark:   #CC00CC;   /* Hover / aktiv                   */
  --mg-pale:   #FFF0FF;   /* Heller Magenta-Hintergrund      */
  --dark:      #2C2C2C;   /* Primäre Textfarbe               */
  --mid:       #444;      /* Sekundärer Text                 */
  --gray:      #777;      /* Tertiär / Labels                */
  --border:    #DCDCDC;   /* Rahmen                          */
  --bg-light:  #F6F6F6;   /* Hintergrundgrau                 */
  --white:     #FFFFFF;
  --font:      Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 2px 14px rgba(0,0,0,.08);
  --shadow-lg: 0 6px 28px rgba(0,0,0,.12);
  --max-w:     1100px;
  --hdr-h:     70px;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font); color: var(--dark); background: var(--white);
         line-height: 1.7; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
ul    { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── HOCHGESTELLTES ® ────────────────────────────────────── */
/* Alle ® Zeichen im Text korrekt hochstellen */
sup.r { font-size: .6em; line-height: 0; }

/* ── UTILS ───────────────────────────────────────────────── */
.wrap  { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sec   { padding: 72px 0; }
.sec--gray { background: var(--bg-light); }
.sec--dark { background: var(--dark); color: var(--white); }
.sec--pale { background: var(--mg-pale); }

/* Eyebrow Label */
.eye { display: block; font-size: .71rem; font-weight: bold; letter-spacing: .14em;
         text-transform: uppercase; color: var(--mg); margin-bottom: 8px; }

/* Überschriften */
h1,h2,h3 { line-height: 1.2; color: var(--dark); font-family: var(--font); }
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: bold; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem);   font-weight: bold; margin-bottom: 10px; }
h3 { font-size: 1.05rem; font-weight: bold;   margin-bottom: 6px; }
.lead { font-size: 1.02rem; color: var(--mid); max-width: 680px; line-height: 1.85; }

/* Magenta-Akzentlinie */
.div  { width: 38px; height: 3px; background: var(--mg); border-radius: 2px;
         margin: 11px 0 26px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 26px; border-radius: var(--radius);
        font-family: var(--font); font-weight: bold; font-size: .9rem;
        transition: all .17s ease; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--mg); color: var(--white); }
.btn-primary:hover { background: var(--mg-dark); transform: translateY(-1px);
                       box-shadow: 0 5px 18px rgba(255,0,255,.25); }
.btn-outline { border: 2px solid var(--mg); color: var(--mg); background: transparent; }
.btn-outline:hover { background: var(--mg); color: var(--white); }

/* ── HEADER ──────────────────────────────────────────────── */
/* Sticky Header – erscheint auf jeder Seite oben */
.hdr {
  position: sticky; top: 0; z-index: 200;
  height: var(--hdr-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hdr .wrap { display: flex; align-items: center; height: 100%; gap: 6px; }

/* Logo */
.logo { display: flex; align-items: center; margin-right: auto; flex-shrink: 0; cursor: pointer; }
.logo img { height: 46px; width: auto; }

/* Nav-Links */
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-a {
  padding: 7px 12px; border-radius: var(--radius);
  font-size: .86rem; font-weight: bold; color: var(--mid);
  transition: all .14s; white-space: nowrap; cursor: pointer;
}
.nav-a:hover, .nav-a.on { color: var(--mg); background: var(--mg-pale); }
.nav-cta { margin-left: 6px; background: var(--mg); color: var(--white) !important; }
.nav-cta:hover { background: var(--mg-dark) !important; }
/* CTA-Button bleibt auch im aktiven Zustand (Seite Kontakt) als Button sichtbar */
.nav-cta.on { background: var(--mg) !important; color: var(--white) !important; }

/* Hamburger Mobile */
.burger { display: none; flex-direction: column; gap: 5px;
           padding: 5px; cursor: pointer; margin-left: 6px; }
.burger span { display: block; width: 22px; height: 2px;
                background: var(--dark); border-radius: 2px; transition: all .2s; }

/* ── SEITENNAVIGATION (SPA) ──────────────────────────────── */
/* Jede "Seite" ist ein section-Element; nur die aktive ist sichtbar */
.page { display: none; }
.page.on { display: block; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 72px; position: relative; overflow: hidden; background: var(--white);
}
/* Dezentes Engineering-Raster im Hintergrund – rechte Hälfte */
.hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 46%; height: 100%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 36px 36px; opacity: .38; pointer-events: none;
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.hero-pill {
  display: inline-block; background: var(--mg-pale); color: var(--mg);
  font-size: .73rem; font-weight: bold; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
  border: 1px solid rgba(255,0,255,.22);
}
.hero h1 em { font-style: normal; color: var(--mg); }
.hero-sub {
  font-size: 1rem; color: var(--mid); line-height: 1.85;
  margin: 16px 0 30px; max-width: 500px;
}
.hero-btns { display: flex; gap: 11px; flex-wrap: wrap; }
.hero-img {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── STAT-LEISTE ──────────────────────────────────────────── */
.stats { background: var(--dark); color: var(--white); padding: 30px 0; }
.stats-in { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-n { font-size: 1.9rem; font-weight: bold; color: var(--mg); line-height: 1; }
.stat-l { font-size: .76rem; color: rgba(255,255,255,.5); margin-top: 5px; line-height: 1.4; }

/* ── SERVICE-KARTEN ───────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 42px; }
.card {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px; transition: all .2s; position: relative; overflow: hidden;
  background: var(--white); cursor: pointer;
}
/* Magenta-Linie erscheint on hover */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--mg); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.card:hover { border-color: rgba(255,0,255,.28); box-shadow: var(--shadow);
               transform: translateY(-2px); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--mg-pale); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 21px; height: 21px; stroke: var(--mg); fill: none; stroke-width: 1.8; }
.card-t  { font-size: .98rem; font-weight: bold; margin-bottom: 9px; }
.card-tx { font-size: .87rem; color: var(--mid); line-height: 1.73; }
.card-lnk { display: inline-flex; align-items: center; gap: 4px; font-size: .83rem;
              font-weight: bold; color: var(--mg); margin-top: 14px; }
.card:hover .card-lnk { color: var(--mg-dark); }

/* ── BILD-BLOCK MIT CAPTION ───────────────────────────────── */
.img-block { border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0; box-shadow: var(--shadow); }
.img-block img { width: 100%; height: 280px; object-fit: cover; }
.img-block figcaption { background: var(--bg-light); padding: 9px 15px;
                          font-size: .78rem; color: var(--gray); border-top: 1px solid var(--border); }

/* ── STORY-BOX (Projektseiten) ───────────────────────────── */
.story { background: var(--white); border: 1px solid var(--border);
           border-radius: var(--radius-lg); padding: 36px; margin-top: 36px; }
.story p { font-size: .94rem; color: var(--mid); line-height: 1.9; margin-bottom: 13px; }
.story p:last-child { margin-bottom: 0; }
.hl-strip {
  background: var(--dark); color: var(--white); border-radius: var(--radius);
  padding: 20px 24px; margin-top: 24px;
}
.hl-strip p { color: rgba(255,255,255,.72) !important; font-size: .88rem !important; margin-bottom: 0 !important; }
.hl-strip strong { color: var(--white); }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.bc { display: flex; align-items: center; gap: 7px; font-size: .81rem;
       color: var(--gray); margin-bottom: 26px; flex-wrap: wrap; }
.bc span.link { color: var(--mid); font-weight: bold; cursor: pointer; }
.bc span.link:hover { color: var(--mg); }
.bc-sep { color: var(--border); }

/* ── TRAINING-ÜBERSICHT ──────────────────────────────────── */
.t-link-ext {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mg-pale); border: 1px solid rgba(255,0,255,.24);
  border-radius: var(--radius); padding: 11px 18px; font-weight: bold;
  color: var(--mg); margin-bottom: 32px; font-size: .9rem; transition: all .14s;
  text-decoration: none;
}
.t-link-ext:hover { background: var(--mg); color: var(--white); border-color: var(--mg); }
.t-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.t-group { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.t-head { background: var(--dark); color: var(--white); padding: 13px 17px;
           font-size: .84rem; font-weight: bold; line-height: 1.4; }
.t-list { padding: 13px; display: flex; flex-direction: column; gap: 5px; }
.t-item {
  display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px;
  border-radius: var(--radius); font-size: .85rem; color: var(--mid); font-weight: bold;
  border: 1px solid transparent; transition: all .14s; cursor: pointer;
}
.t-item:hover { background: var(--mg-pale); border-color: rgba(255,0,255,.2); color: var(--mg); }
.t-item::before { content: '→'; color: var(--mg); font-weight: bold; flex-shrink: 0; margin-top: 1px; }

/* Training Detailseite */
.t-detail-hdr { background: var(--dark); color: var(--white); padding: 52px 0 44px; }
.t-detail-hdr .eye { color: rgba(255,0,255,.85); }
.t-detail-hdr h1 { color: var(--white); font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
.t-detail-hdr .lead { color: rgba(255,255,255,.58); margin-top: 12px; }
.info-boxes { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: 28px 0; }
.i-box { background: var(--bg-light); border-radius: var(--radius); padding: 16px 18px; }
.i-box-l { font-size: .69rem; font-weight: bold; letter-spacing: .1em;
             text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.i-box-v { font-size: .9rem; font-weight: bold; color: var(--dark); }
.c-body { max-width: 760px; }
.c-body p { font-size: .93rem; color: var(--mid); line-height: 1.9; margin-bottom: 14px; }
.c-body h3 { margin-top: 26px; margin-bottom: 9px; }
/* Platzhalter für noch zu füllende Inhalte */
.placeholder {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; color: var(--gray); font-size: .88rem; margin: 20px 0;
}
.placeholder strong { display: block; font-size: .96rem; margin-bottom: 5px; color: var(--mid); }

/* ── MEHR SPICEs ─────────────────────────────────────────── */
.spice-ex {
  background: var(--mg-pale); border-left: 4px solid var(--mg);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0;
}
.spice-ex p { font-size: .92rem; color: var(--mid); line-height: 1.83; }
.spice-ex p strong { color: var(--mg); }
.std-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 11px; margin-top: 32px; }
.std-c {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 15px 17px; transition: all .14s; cursor: pointer; background: var(--white);
}
.std-c:hover {
  border-color: var(--mg); background: var(--mg-pale);
  transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255,0,255,.1);
}
.std-c-n { font-size: .86rem; font-weight: bold; color: var(--dark); line-height: 1.3; }
.std-c:hover .std-c-n { color: var(--mg); }
.std-c-a { font-size: .73rem; color: var(--mg); font-weight: bold; margin-top: 7px; }

/* ── ÜBER UNS ─────────────────────────────────────────────── */
.about-tabs { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 2px solid var(--border); }
.a-tab {
  padding: 9px 21px; font-family: var(--font); font-weight: bold; font-size: .89rem;
  color: var(--gray); border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: all .14s; cursor: pointer; background: none;
  border-top: none; border-left: none; border-right: none;
}
.a-tab.on { color: var(--mg); border-bottom-color: var(--mg); }
.a-panel { display: none; }
.a-panel.on { display: grid; grid-template-columns: 3fr 2fr; gap: 52px; align-items: start; }
.netz-panel.on { display: block; }

.ab-text p { font-size: .93rem; color: var(--mid); line-height: 1.9; margin-bottom: 13px; }
.timeline { border-left: 2px solid var(--border); padding-left: 20px; margin-top: 26px; }
.tl-item { position: relative; margin-bottom: 18px; }
.tl-item::before {
  content: ''; position: absolute; left: -26px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mg); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--mg);
}
.tl-yr { font-size: .72rem; font-weight: bold; color: var(--mg);
           letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1px; }
.tl-tx { font-size: .85rem; color: var(--mid); line-height: 1.6; }

/* Profil-Seitenleiste */
.profile-box {
  background: var(--dark); border-radius: var(--radius-lg);
  padding: 26px; color: var(--white); position: sticky; top: calc(var(--hdr-h) + 18px);
}
/* Echtes Foto – rund mit Magenta-Ring */
.profile-photo {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--mg); margin-bottom: 16px;
  box-shadow: 0 0 0 3px rgba(255,0,255,.25);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.p-name { font-size: 1.02rem; font-weight: bold; margin-bottom: 3px; }
.p-role { font-size: .76rem; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.5; }
.p-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.p-tag { background: rgba(255,255,255,.09); border-radius: 4px;
           padding: 3px 9px; font-size: .72rem; font-weight: bold; color: rgba(255,255,255,.7); }
.p-meta { font-size: .76rem; color: rgba(255,255,255,.38); line-height: 1.7;
            border-top: 1px solid rgba(255,255,255,.08); padding-top: 13px; margin-top: 5px; }

/* Netzwerk-Partnerlinks */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.p-link {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .86rem; font-weight: bold; color: var(--mid);
  transition: all .14s; text-decoration: none;
}
.p-link:hover { border-color: var(--mg); color: var(--mg); background: var(--mg-pale); }
.p-ico { width: 28px; height: 28px; border-radius: 5px; background: var(--bg-light);
           display: flex; align-items: center; justify-content: center;
           font-size: .95rem; flex-shrink: 0; }

/* ── KONTAKT ──────────────────────────────────────────────── */
.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.c-info { display: flex; flex-direction: column; gap: 18px; }
.c-item { display: flex; align-items: flex-start; gap: 13px; }
.c-icon {
  width: 38px; height: 38px; border-radius: var(--radius); background: var(--mg-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.c-icon svg { width: 17px; height: 17px; stroke: var(--mg); fill: none; stroke-width: 1.8; }
.c-lbl { font-size: .69rem; font-weight: bold; letter-spacing: .08em;
           text-transform: uppercase; color: var(--gray); margin-bottom: 1px; }
.c-val { font-size: .92rem; color: var(--mid); }
.c-val a { color: var(--mg); }

/* Formular */
.c-form { background: var(--bg-light); border-radius: var(--radius-lg); padding: 34px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.f-grp { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.f-grp--full { grid-column: 1/-1; }
.f-lbl { font-size: .79rem; font-weight: bold; color: var(--mid); }
.f-inp, .f-sel, .f-ta {
  padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .88rem; color: var(--dark);
  background: var(--white); transition: border-color .14s; width: 100%;
}
.f-inp:focus, .f-sel:focus, .f-ta:focus {
  outline: none; border-color: var(--mg);
  box-shadow: 0 0 0 3px rgba(255,0,255,.07);
}
.f-ta { min-height: 118px; resize: vertical; }
.f-note { font-size: .74rem; color: var(--gray); line-height: 1.6; margin-top: 4px; }
.f-btn {
  width: 100%; padding: 12px; background: var(--mg); color: var(--white);
  border-radius: var(--radius); font-family: var(--font); font-weight: bold;
  font-size: .9rem; border: none; cursor: pointer; transition: all .17s; margin-top: 5px;
}
.f-btn:hover { background: var(--mg-dark); transform: translateY(-1px);
                box-shadow: 0 5px 16px rgba(255,0,255,.26); }

/* ── IMPRESSUM / LEGAL ────────────────────────────────────── */
.legal-c { max-width: 740px; }
.legal-c h3 { font-size: .94rem; font-weight: bold; color: var(--dark); margin: 22px 0 5px; }
.legal-c p, .legal-c address {
  font-size: .89rem; color: var(--mid); line-height: 1.82; font-style: normal; margin-bottom: 3px;
}
.legal-c a { color: var(--mg); }

/* ── FOOTER ───────────────────────────────────────────────── */
.ftr { background: var(--dark); color: var(--white); padding: 52px 0 26px; }
.ftr-g { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.ftr-brand p { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.72;
                margin-top: 11px; max-width: 255px; }
.ftr-brand img { height: 34px; width: auto; }
.ftr-ht { font-size: .67rem; font-weight: bold; letter-spacing: .12em;
            text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 11px; }
.ftr-ls { display: flex; flex-direction: column; gap: 6px; }
.ftr-a { font-size: .8rem; color: rgba(255,255,255,.5); transition: color .14s; cursor: pointer;
           text-decoration: none; }
.ftr-a:hover { color: var(--mg); }
.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px;
}
.ftr-copy { font-size: .73rem; color: rgba(255,255,255,.25); line-height: 1.6; }
.ftr-leg { display: flex; gap: 16px; }
.ftr-leg a { font-size: .73rem; color: rgba(255,255,255,.3); text-decoration: none;
               transition: color .14s; cursor: pointer; }
.ftr-leg a:hover { color: var(--mg); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .std-grid { grid-template-columns: repeat(3,1fr); }
  .ftr-g    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-in  { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .stats-in { grid-template-columns: repeat(2,1fr); }
  .cards    { grid-template-columns: 1fr; }
  .t-groups { grid-template-columns: 1fr; }
  .std-grid { grid-template-columns: repeat(2,1fr); }
  .a-panel.on { grid-template-columns: 1fr; }
  .c-grid   { grid-template-columns: 1fr; }
  .info-boxes { grid-template-columns: 1fr; }
  .f-row    { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .ftr-g    { grid-template-columns: 1fr; }
  .sec      { padding: 50px 0; }
}
@media (max-width: 600px) {
  .nav { display: none; position: absolute; top: var(--hdr-h); left: 0; right: 0;
          background: var(--white); border-bottom: 1px solid var(--border);
          flex-direction: column; padding: 12px; gap: 3px;
          box-shadow: 0 6px 20px rgba(0,0,0,.1); z-index: 199; }
  .nav.open { display: flex; }
  .burger   { display: flex; }
  .std-grid { grid-template-columns: 1fr 1fr; }
}
<