/* ═══════════════════════════════════════════════════════════
   Clickshop – Gemeinsames CSS (shared.css)
   Wird von index.html und preisliste.html verwendet.
═══════════════════════════════════════════════════════════ */

/* ── Lokale Schriften (keine externen Abhängigkeiten) ───── */
/* Plus Jakarta Sans – Überschriften */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-ext-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-ext-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans – Fließtext */
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Skip-Link (WCAG 2.4.1) ────────────────────────────── */
.skip-link {
      position: absolute; top: -100%; left: 16px; z-index: 9999;
      background: var(--blue); color: var(--white);
      padding: 10px 20px; border-radius: 0 0 8px 8px;
      font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .9rem;
      text-decoration: none; transition: top .15s;
    }
    .skip-link:focus { top: 0; }

/* ── Focus-Indikator (WCAG 2.4.7) ─────────────────────── */
:focus-visible {
      outline: 3px solid var(--accent);
      outline-offset: 3px;
      border-radius: 4px;
    }
    /* Fokus nur bei Tastatur, nicht bei Mausklick */
    :focus:not(:focus-visible) { outline: none; }

/* ── Basis ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }

    :root {
      --navy:    #0b1120;
      --navy2:   #111827;
      --blue:    #1d4ed8;
      --blue-l:  #3b82f6;
      --cyan:    #06b6d4;
      --slate:   #1e293b;
      --muted:   #94a3b8;
      --border:  #1e3a5f;
      --text:    #e2e8f0;
      --text-d:  #94a3b8;
      --white:   #ffffff;
      --accent:  #38bdf8;
      --card-bg: rgba(17,24,39,0.85);
      --radius:  14px;
      --shadow:  0 8px 40px rgba(0,0,0,0.45);
      --green:   #22c55e;
    }

    body {
      background: var(--navy);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      line-height: 1.7;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    h1,h2,h3,h4 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.25; overflow-wrap: break-word; }

    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    img { display: block; max-width: 100%; }

    /* ── NOISE OVERLAY ────────────────────────────────────────── */
    body::before {
      content: '';
      position: fixed; inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
      pointer-events: none; z-index: 0; opacity: .4;
    }

/* ── Navigation ─────────────────────────────────────────── */
/* ── NAV ──────────────────────────────────────────────────── */
    header { position: sticky; top: 0; z-index: 100; }
    header nav {
      backdrop-filter: blur(18px);
      background: rgba(11,17,32,.82);
      border-bottom: 1px solid rgba(30,58,95,.5);
    }
    [hidden] { display: none !important; }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 76px; max-width: 1160px; margin: 0 auto; padding: 0 24px;
    }
    .logo {
      display: flex; align-items: center; gap: 12px;
      text-decoration: none;
    }
    .logo:hover { text-decoration: none; opacity: .85; }
    .logo-slogan {
      font-family: 'DM Sans', sans-serif;
      font-size: .82rem; font-weight: 300;
      color: var(--text-d); letter-spacing: .02em;
      border-left: 1px solid rgba(255,255,255,.15);
      padding-left: 12px; margin-left: 2px;
      white-space: nowrap;
    }
    /* Logo-Bild */
    .logo-img {
      height: 44px; width: auto; display: block;
      background: white; border-radius: 7px; padding: 5px 10px;
    }
    .nav-links { display: flex; gap: 24px; list-style: none; flex-shrink: 1; }
    .nav-links a {
      font-size: .85rem; font-weight: 400; color: var(--text-d);
      transition: color .2s; white-space: nowrap;
    }
    .nav-links a:hover { color: var(--white); text-decoration: none; }
    .nav-cta {
      background: var(--blue);
      color: var(--white) !important;
      padding: 9px 22px; border-radius: 8px;
      font-weight: 500 !important; transition: background .2s !important;
    }
    .nav-cta:hover { background: var(--blue-l) !important; }

    /* Hamburger */
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
    .hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

    @media (max-width: 900px) {
      .hamburger { display: flex; }
      .nav-links { display: none; }
      .logo-slogan { display: none; }
    }

/* ── Footer ─────────────────────────────────────────────── */
footer {
      border-top: 1px solid rgba(30,58,95,.5);
      padding: 40px 0 28px;
      background: var(--navy);
      position: relative; z-index: 1;
    }
    .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .footer-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); }
    .footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; width: fit-content; margin: 0 auto; padding-bottom: 0; border-bottom: 1px solid rgba(30,58,95,.5); }
    .footer-links a { font-size: .78rem; color: var(--text-d); overflow-wrap: break-word; }
    .footer-links a:hover { color: var(--accent); text-decoration: none; }
    .footer-copy { font-size: .75rem; color: var(--muted); width: 100%; text-align: center; margin-top: 4px; }

/* ── Hilfskassen ────────────────────────────────────────── */
.sr-only {
      position: absolute; width: 1px; height: 1px; padding: 0;
      margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
      white-space: nowrap; border: 0;
    }

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Karten-Seiten (wartung.html, 404.html) ─────────────────── */
    .lang-switcher { display: flex; gap: 4px; background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px; }
    .lang-btn { background: none; border: none; cursor: pointer; font-family: 'Plus Jakarta Sans', sans-serif;
      font-size: .78rem; font-weight: 700; color: var(--text-d); padding: 4px 10px;
      border-radius: 999px; transition: all .2s; }
    .lang-btn.active { background: var(--blue); color: #fff; }
    .lang-btn:hover:not(.active) { color: #fff; }
    .card { max-width: 520px; width: 100%; background: rgba(17,24,39,.9);
      border: 1px solid rgba(245,158,11,.25); border-radius: 20px; padding: 48px 40px; text-align: center; }
    /* ETA – zum Aktivieren: display:none → display:block im HTML-Element */
    /* Rechtstexte */
    .legal-toggle { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(30,58,95,.5); }
    .legal-toggle summary { cursor: pointer; font-size: .82rem; color: var(--text-d);
      list-style: none; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; min-height: 44px; align-items: center; }
    .legal-toggle summary::-webkit-details-marker { display: none; }
    .legal-toggle summary a { color: var(--text-d); text-decoration: underline; display: inline-flex; align-items: center; padding: 10px 8px; min-height: 44px; }
    .legal-toggle summary a:hover { color: var(--accent); }
    .legal-content { margin-top: 20px; text-align: left; font-size: .82rem; color: var(--text-d);
      background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
      border-radius: 12px; padding: 20px; max-height: 60vh; overflow-y: auto; line-height: 1.6; }
    .legal-content h2 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
    .legal-content h3 { font-size: .85rem; color: var(--text); margin: 14px 0 4px; }
    .legal-content a { color: var(--accent); }
    .legal-sep { border: none; border-top: 1px solid rgba(30,58,95,.5); margin: 16px 0; }


@media (max-width: 480px) {
      .card { padding: 32px 20px; }
      h1 { font-size: 1.3rem; }
      .code { font-size: 4.5rem; }
      .logo-img { height: 38px; }
      .btn { width: 100%; justify-content: center; }
      .links { flex-direction: column; align-items: center; gap: 12px; }
      .legal-content { max-height: 250px; }
    }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── Buttons (gemeinsam) ────────────────────────────────── */
.btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 28px; border-radius: var(--radius);
      font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; font-weight: 600;
      cursor: pointer; transition: all .2s; text-decoration: none;
      border: none; white-space: normal; text-align: center;
      word-break: break-word;
    }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-l); transform: translateY(-2px); text-decoration: none; color: var(--white); }

/* ── Gradient Mesh (index + preisliste) ─────────────────────── */
.mesh { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(29,78,216,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(6,182,212,.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 60% 5%,  rgba(56,189,248,.08) 0%, transparent 50%); }
