/*
Theme Name: WIWA-CNC 2026 – Neu
Description: Überarbeitete WIWA-CNC-Website mit einheitlichen Rechteseiten und Complianz-Anbindung.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wiwa-cnc-2026
*/

    :root {
      color-scheme: light;
      --ink: #17201d;
      --muted: #66716c;
      --line: #dde5e0;
      --paper: #fbfcfa;
      --soft: #eef4f1;
      --steel: #596863;
      --mint: #1f8f74;
      --mint-dark: #126754;
      --ember: #e28b42;
      --white: #ffffff;
      --shadow: 0 18px 50px rgba(23, 32, 29, .10);
      --radius: 8px;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-size: 16px;
      line-height: 1.55;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      width: 100%;
      height: auto;
    }

    .wrap {
      width: min(1120px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: rgba(251, 252, 250, .92);
      border-bottom: 1px solid rgba(221, 229, 224, .85);
      backdrop-filter: blur(18px);
    }

    .nav {
      min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .brand {
      display: flex;
      align-items: center;
      min-width: 0;
      flex: 0 0 auto;
    }

    .brand-logo {
      display: block;
      width: clamp(172px, 18vw, 238px);
      height: auto;
      max-height: 64px;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--steel);
      font-size: .96rem;
    }

    .nav-links a {
      padding: 8px 0;
    }

    .nav-links a:hover {
      color: var(--ink);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 44px;
      padding: 11px 17px;
      border-radius: var(--radius);
      border: 1px solid transparent;
      background: var(--ink);
      color: var(--white);
      font-weight: 700;
      font-size: .93rem;
      cursor: pointer;
      transition: transform .18s ease, background .18s ease, border-color .18s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
      background: #0f1513;
    }

    .topbar .btn {
      min-height: 48px;
      padding: 12px 18px;
    }

    .btn.secondary {
      background: var(--white);
      color: var(--ink);
      border-color: var(--line);
    }

    .btn.secondary:hover {
      border-color: #b9c6c0;
      background: #f6f9f7;
    }

    .hero {
      position: relative;
      min-height: calc(100vh - 92px);
      display: grid;
      align-items: center;
      padding: 64px 0 42px;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(251, 252, 250, .90) 0%, rgba(251, 252, 250, .80) 42%, rgba(251, 252, 250, .22) 100%),
        url("assets/laser-in-bewegung.jpg") center / cover;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 120px;
      background: linear-gradient(0deg, var(--paper), rgba(251, 252, 250, 0));
      pointer-events: none;
    }

    .hero-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 380px;
      gap: 56px;
      align-items: end;
    }

    .eyebrow {
      color: var(--mint-dark);
      font-size: .82rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
      margin: 0 0 16px;
    }

    .hero-subline {
      margin: 30px 0 0;
      color: var(--mint-dark);
      font-size: .82rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 660px;
      margin: 0;
      color: #15211d;
      font-size: clamp(2.35rem, 5vw, 4.85rem);
      line-height: .98;
      font-weight: 760;
      letter-spacing: 0;
      text-wrap: balance;
    }

    h1 .title-soft {
      display: block;
      margin-top: 10px;
      color: var(--steel);
      font-size: .74em;
      font-weight: 520;
      line-height: 1.02;
    }

    h1 .title-and {
      color: var(--mint-dark);
      font-weight: 680;
    }

    .lead {
      max-width: 650px;
      margin: 34px 0 0;
      color: #48534f;
      font-size: clamp(1.05rem, 1.8vw, 1.24rem);
    }

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

    .hero-note {
      max-width: 590px;
      margin-top: 22px;
      padding: 13px 15px;
      border-left: 3px solid var(--mint);
      background: rgba(255, 255, 255, .72);
      color: #46514d;
      box-shadow: 0 10px 34px rgba(23, 32, 29, .06);
    }

    .hero-note strong {
      color: var(--ink);
    }

    .trust-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 42px;
      max-width: 680px;
    }

    .trust {
      padding: 14px 16px;
      border-left: 3px solid var(--mint);
      background: rgba(255, 255, 255, .68);
      box-shadow: 0 10px 34px rgba(23, 32, 29, .07);
    }

    .trust strong {
      display: block;
      font-size: .95rem;
    }

    .trust span {
      display: block;
      color: var(--muted);
      font-size: .84rem;
      margin-top: 2px;
    }

    .quick-card {
      background: rgba(255, 255, 255, .88);
      border: 1px solid rgba(221, 229, 224, .9);
      border-radius: var(--radius);
      padding: 22px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px);
    }

    .quick-card h2 {
      margin: 0 0 12px;
      font-size: 1.05rem;
    }

    .quick-list {
      display: grid;
      gap: 11px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .quick-list li {
      display: grid;
      grid-template-columns: 26px 1fr;
      gap: 10px;
      color: var(--steel);
      font-size: .94rem;
    }

    .check {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #e4f4ef;
      color: var(--mint-dark);
      font-weight: 900;
      line-height: 1;
    }

    section {
      padding: 68px 0;
    }

    .section-head {
      display: grid;
      gap: 16px;
      margin-bottom: 34px;
    }

    .section-head h2 {
      max-width: 680px;
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.6rem);
      line-height: 1.02;
      letter-spacing: 0;
    }

    .section-head h2 .section-title-soft {
      display: block;
      margin-top: 8px;
      color: var(--steel);
      font-size: .72em;
      font-weight: 520;
      line-height: 1.04;
    }

    .section-head p {
      max-width: 660px;
      margin: 0;
      color: var(--muted);
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .service {
      display: grid;
      grid-template-columns: 110px 1fr;
      gap: 20px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 10px 35px rgba(23, 32, 29, .06);
    }

    .icon-box {
      min-height: 110px;
      border-radius: var(--radius);
      display: grid;
      place-items: center;
      background: var(--soft);
      color: var(--mint-dark);
    }

    .chemical-icon {
      font-size: 2.85rem;
      font-weight: 600;
      letter-spacing: 0;
      line-height: 1;
      color: var(--mint-dark);
    }

    .chemical-icon sup {
      font-size: .45em;
      vertical-align: super;
      margin-left: 1px;
    }

    .fiber-icon {
      width: 82px;
      height: 82px;
    }

    .service h3,
    .material h3,
    .step h3 {
      margin: 0 0 8px;
      font-size: 1.16rem;
    }

    .service p,
    .material p,
    .step p {
      margin: 0;
      color: var(--muted);
    }

    .material-warning {
      display: inline-block;
      margin-top: 8px;
      color: var(--ink);
      font-weight: 850;
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 16px;
    }

    .tag {
      padding: 6px 9px;
      border-radius: 999px;
      background: #f2f6f4;
      color: #52615b;
      font-size: .8rem;
      font-weight: 700;
    }

    .working-area {
      margin-top: 14px;
    }

    .area-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }

    .area-card {
      padding: 16px 20px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
      box-shadow: 0 10px 35px rgba(23, 32, 29, .05);
      text-align: center;
    }

    .area-card h4 {
      margin: 0 0 7px;
      font-size: 1rem;
    }

    .area-label {
      margin: 0;
      color: var(--muted);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .area-size {
      margin: 3px 0 8px;
      font-size: clamp(1.55rem, 2.5vw, 2.15rem);
      line-height: 1;
      font-weight: 850;
    }

    .area-card p:last-child {
      margin: 0;
      color: var(--muted);
    }

    .split {
      display: grid;
      grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
      gap: 42px;
      align-items: center;
    }

    .materials-layout {
      align-items: start;
    }

    .image-stack {
      display: grid;
      grid-template-columns: minmax(260px, 420px);
      align-items: center;
    }

    .image-stack img {
      height: 460px;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .image-stack img:last-child {
      height: 460px;
    }

    .material-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 0;
    }

    .material {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--white);
    }

    .process {
      background: #f1f6f3;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }

    .step {
      position: relative;
      min-height: 188px;
      padding: 20px;
      border: 1px solid #d7e2dc;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .72);
    }

    .number {
      display: inline-grid;
      place-items: center;
      width: 36px;
      height: 36px;
      margin-bottom: 22px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--white);
      font-weight: 800;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      justify-items: stretch;
    }

    .work {
      position: relative;
      margin: 0;
      min-height: 310px;
      overflow: hidden;
      border-radius: var(--radius);
      background: #d9e1dc;
      box-shadow: 0 12px 38px rgba(23, 32, 29, .08);
    }

    .work:first-child {
      grid-row: span 2;
      min-height: 634px;
    }

    .work img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease;
    }

    .work:hover img {
      transform: scale(1.025);
    }

    .work-caption {
      position: absolute;
      left: 12px;
      right: 12px;
      bottom: 12px;
      padding: 10px 12px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .9);
      color: var(--ink);
      font-weight: 800;
      font-size: .84rem;
      line-height: 1.2;
      backdrop-filter: blur(14px);
    }

    .work-caption.nowrap {
      white-space: nowrap;
    }

    .work-caption.compact {
      left: 50%;
      right: auto;
      width: max-content;
      max-width: calc(100% - 16px);
      transform: translateX(-50%);
      text-align: center;
    }

    .work-caption.single-line {
      left: 50%;
      right: auto;
      width: max-content;
      max-width: calc(100% - 12px);
      transform: translateX(-50%);
      text-align: center;
    }

    .work-caption.long {
      font-size: .8rem;
      padding-inline: 9px;
    }

    .work-caption.centered {
      left: 50%;
      right: auto;
      width: max-content;
      max-width: calc(100% - 16px);
      transform: translateX(-50%);
      text-align: center;
    }

    .cta {
      padding: 84px 0;
      background:
        linear-gradient(90deg, rgba(23, 32, 29, .92), rgba(23, 32, 29, .74)),
        url("assets/laser-detail.jpg") center / cover;
      color: var(--white);
    }

    .cta-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 420px;
      gap: 44px;
      align-items: start;
    }

    .cta h2 {
      margin: 0;
      font-size: clamp(2.1rem, 4.5vw, 4.3rem);
      line-height: 1;
      letter-spacing: 0;
    }

    .cta h2 .cta-title-soft {
      display: block;
      margin-top: 10px;
      color: rgba(255, 255, 255, .72);
      font-size: .7em;
      font-weight: 500;
      line-height: 1.06;
    }

    .cta p {
      max-width: 640px;
      margin: 20px 0 0;
      color: rgba(255, 255, 255, .78);
      font-size: 1.07rem;
    }

    .contact-card {
      padding: 22px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .11);
      backdrop-filter: blur(18px);
    }

    .contact-card h3 {
      margin: 0 0 16px;
      font-size: 1.05rem;
    }

    .contact-links {
      display: grid;
      gap: 10px;
      margin-bottom: 18px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px 13px;
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .12);
      color: var(--white);
      font-weight: 700;
    }

    .contact-link span {
      color: rgba(255, 255, 255, .66);
      font-size: .82rem;
      font-weight: 600;
    }

    form {
      display: grid;
      gap: 10px;
    }

    input,
    select,
    textarea {
      width: 100%;
      min-height: 46px;
      padding: 12px 13px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, .94);
      color: var(--ink);
      font: inherit;
    }

    textarea {
      min-height: 104px;
      resize: vertical;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .footer {
      padding: 26px 0;
      border-top: 1px solid var(--line);
      background: var(--paper);
      color: var(--muted);
      font-size: .9rem;
    }

    .footer .wrap {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .footer a {
      color: var(--ink);
      font-weight: 700;
    }

    .service svg {
      width: 48px;
      height: 48px;
      stroke: currentColor;
      stroke-width: 1.7;
      fill: none;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    @media (max-width: 920px) {
      .nav {
        align-items: center;
        padding: 14px 0;
      }

      .nav-links {
        display: none;
      }

      .hero {
        min-height: auto;
      }

      .hero-grid,
      .split,
      .working-area,
      .cta-grid {
        grid-template-columns: 1fr;
      }

      .quick-card {
        max-width: 560px;
      }

      .service-grid,
      .steps,
      .gallery {
        grid-template-columns: 1fr 1fr;
      }

      .work:first-child {
        grid-row: auto;
        min-height: 310px;
      }
    }

    @media (max-width: 680px) {
      .wrap {
        width: min(100% - 28px, 1120px);
      }

      .hero {
        padding: 48px 0 30px;
        background:
          linear-gradient(0deg, rgba(251, 252, 250, .91) 0%, rgba(251, 252, 250, .78) 58%, rgba(251, 252, 250, .58) 100%),
          url("assets/laser-in-bewegung.jpg") center / cover;
      }

      h1 {
        font-size: clamp(2.18rem, 10vw, 3.45rem);
        line-height: 1.02;
      }

      h1 .title-soft {
        margin-top: 8px;
      }

      .hero-subline {
        margin-top: 22px;
      }

      .lead {
        margin-top: 26px;
      }

      section {
        padding: 54px 0;
      }

      .trust-row,
      .service-grid,
      .service,
      .area-grid,
      .steps,
      .gallery,
      .material-grid,
      .form-row,
      .image-stack {
        grid-template-columns: 1fr;
      }

      .section-head {
        display: grid;
        gap: 12px;
      }

      .image-stack img,
      .image-stack img:last-child,
      .work {
        height: auto;
        min-height: 0;
      }

      .work-caption.nowrap {
        white-space: normal;
      }

      .service {
        padding: 18px;
      }

      .icon-box {
        min-height: 86px;
      }

      .nav {
        gap: 12px;
      }

      .brand-logo {
        width: 132px;
        max-height: 44px;
      }

      .topbar .btn {
        width: auto;
        min-height: 42px;
        padding-inline: 11px;
        font-size: .88rem;
      }

      .btn {
        width: 100%;
      }
    }
  
body.admin-bar .topbar{top:32px}@media(max-width:782px){body.admin-bar .topbar{top:46px}}@media(max-width:600px){body.admin-bar .topbar{top:0}}
