
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('/fonts/inter/inter-latin-800-normal.woff2') format('woff2');
}

html:root {
  /* Brand Colors */
  --mktos-color-dark: #1f2124;
  --mktos-color-text: #333333;
  --mktos-color-accent: #f14610;
  --mktos-color-primary: #f14610;
  --mktos-color-secondary: #1f2124;
  --mktos-color-background: #ffffff;
  --mktos-color-primary-dark: #cd3c0e;
  --mktos-color-primary-light: #fef0ec;

  /* Typography */
  --mktos-font-heading: 'Inter', system-ui, sans-serif;
  --mktos-font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --mktos-space-lg: 24px;
  --mktos-space-md: 16px;
  --mktos-space-sm: 8px;
  --mktos-space-xl: 32px;
  --mktos-space-xs: 4px;
  --mktos-space-2xl: 48px;

  /* Border Radius */
  --mktos-radius-lg: 16px;
  --mktos-radius-md: 8px;
  --mktos-radius-sm: 4px;
  --mktos-radius-full: 9999px;

  /* Shadows */
  --mktos-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --mktos-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --mktos-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --mktos-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);

  --mktos-max-width: 1200px;

  /* Logo Filters */
  --mktos-logo-filter-light: none;
  --mktos-logo-filter-dark: brightness(0) invert(1);

  /* ── Legacy Mapping ─── */
  --color-primary: var(--mktos-color-primary);
  --color-primary-dark: var(--mktos-color-primary-dark);
  --color-primary-light: var(--mktos-color-primary-light);
  --color-accent: var(--mktos-color-accent);
  --color-dark: var(--mktos-color-text);
  --color-white: var(--mktos-color-background);
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --font: var(--mktos-font-body);
  --max-width: var(--mktos-max-width);
}
  

/* ---- */


    /* ═══════════════════════════════════════════════════════════════
       QR-Code-Generator — Premium Tool Styles
       ═══════════════════════════════════════════════════════════════ */

    /* ── Generator Section ──────────────────────────────────────── */
    .generator-section {
      padding: 48px 0 80px;
      background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    }

    /* ── Premium Card ───────────────────────────────────────────── */
    .qr-card {
      background: var(--card,#FFFFFF);
      border-radius: 20px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.08);
      padding: 48px;
      max-width: 920px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }
    .qr-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #f97316, #fb923c, #0d9488);
      border-radius: 20px 20px 0 0;
    }

    /* ── Two-Column Layout ─────────────────────────────────────── */
    .qr-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    /* ── Left: Input Side ──────────────────────────────────────── */
    .qr-input-side {}

    .qr-input-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #94a3b8;
      margin-bottom: 12px;
      display: block;
    }

    .qr-input-wrap {
      position: relative;
      margin-bottom: 32px;
    }
    .qr-input {
      width: 100%;
      padding: 20px 24px 20px 52px;
      font-size: 1.0625rem;
      font-family: inherit;
      border: 2px solid var(--line,#ECE4D7);
      border-radius: 14px;
      background: var(--bg-2,#F3ECE0);
      color: var(--ink,#16130F);
      outline: none;
      transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }
    .qr-input:focus {
      border-color: #f97316;
      background: var(--card,#FFFFFF);
      box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
    }
    .qr-input::placeholder {
      color: #94a3b8;
    }
    .qr-input-icon {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      width: 22px;
      height: 22px;
      color: #94a3b8;
      transition: color 0.3s ease;
      pointer-events: none;
    }
    .qr-input:focus ~ .qr-input-icon {
      color: #f97316;
    }

    .qr-char-count {
      position: absolute;
      right: 16px;
      bottom: -24px;
      font-size: 0.75rem;
      color: #94a3b8;
    }

    /* ── Divider ────────────────────────────────────────────────── */
    .qr-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--line,#ECE4D7), transparent);
      margin: 32px 0;
    }

    /* ── Size Selector ─────────────────────────────────────────── */
    .qr-option-group {
      margin-bottom: 28px;
    }
    .qr-option-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #94a3b8;
      margin-bottom: 12px;
      display: block;
    }

    .qr-size-tiles {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
    .qr-size-tile {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      padding: 14px 10px;
      background: var(--bg-2,#F3ECE0);
      border: 2px solid var(--line,#ECE4D7);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
    }
    .qr-size-tile:hover {
      background: var(--bg-2,#F3ECE0);
      border-color: #cbd5e1;
    }
    .qr-size-tile.active {
      background: #fff7ed;
      border-color: #f97316;
      box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    }
    .qr-size-tile-label {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--ink,#16130F);
    }
    .qr-size-tile.active .qr-size-tile-label {
      color: #ea580c;
    }
    .qr-size-tile-px {
      font-size: 0.6875rem;
      color: #94a3b8;
      font-weight: 500;
    }

    /* ── Color Selector ────────────────────────────────────────── */
    .qr-color-circles {
      display: flex;
      gap: 14px;
      align-items: center;
    }
    .qr-color-circle {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      cursor: pointer;
      border: 3px solid transparent;
      transition: all 0.25s ease;
      position: relative;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .qr-color-circle:hover {
      transform: scale(1.1);
    }
    .qr-color-circle.active {
      border-color: #f97316;
      box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15), 0 2px 8px rgba(0,0,0,0.08);
    }
    .qr-color-circle.active::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 14px;
      height: 14px;
      border-radius: 50%;
      border: 2px solid #fff;
    }
    .qr-color-black { background: #000000; }
    .qr-color-orange { background: #E8621A; }
    .qr-color-dark { background: #1a1a2e; }

    .qr-color-label {
      font-size: 0.8125rem;
      color: #94a3b8;
      margin-left: 4px;
      font-weight: 500;
    }

    /* ── Right: Preview Side ───────────────────────────────────── */
    .qr-preview-side {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .qr-preview-box {
      width: 100%;
      aspect-ratio: 1;
      max-width: 340px;
      background: var(--card,#FFFFFF);
      border-radius: 16px;
      border: 2px solid var(--bg-2,#F3ECE0);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease;
    }
    .qr-preview-box.has-qr {
      border-color: var(--line,#ECE4D7);
    }

    .qr-placeholder {
      text-align: center;
      padding: 32px;
    }
    .qr-placeholder-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      background: linear-gradient(135deg, #fff7ed, #ffedd5);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .qr-placeholder-icon svg {
      width: 30px;
      height: 30px;
      stroke: #ea580c;
    }
    .qr-placeholder-text {
      font-size: 0.9375rem;
      color: #94a3b8;
      font-weight: 500;
    }

    #qrCanvas {
      display: none;
      max-width: 100%;
      max-height: 100%;
      image-rendering: pixelated;
    }

    /* ── Action Buttons ────────────────────────────────────────── */
    .qr-actions {
      display: flex;
      gap: 12px;
      width: 100%;
      max-width: 340px;
    }
    .qr-btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 20px;
      border: none;
      border-radius: 12px;
      font-size: 0.9375rem;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .qr-btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }
    .qr-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none !important;
    }

    .qr-btn-download {
      background: linear-gradient(135deg, #f97316, #ea580c);
      color: #fff;
      box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
    }
    .qr-btn-download:hover:not(:disabled) {
      box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
      transform: translateY(-2px);
    }

    .qr-btn-copy {
      background: var(--bg-2,#F3ECE0);
      color: var(--ink-2,#6B6256);
      border: 1px solid var(--line,#ECE4D7);
    }
    .qr-btn-copy:hover:not(:disabled) {
      background: var(--line,#ECE4D7);
      transform: translateY(-2px);
    }
    .qr-btn-copy.copied {
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #fff;
      border-color: transparent;
    }

    /* ── Toast Notification ─────────────────────────────────────── */
    .qr-toast {
      position: fixed;
      top: 100px;
      left: 50%;
      transform: translateX(-50%) translateY(-20px);
      background: #1a1a2e;
      color: #fff;
      padding: 14px 28px;
      border-radius: 12px;
      font-size: 0.9375rem;
      font-weight: 600;
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .qr-toast.visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    .qr-toast svg {
      width: 20px;
      height: 20px;
      color: #4ade80;
    }

    /* ── Privacy Hint ──────────────────────────────────────────── */
    .qr-privacy-hint {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 16px;
      background: #fffbeb;
      border-radius: 10px;
      border: 1px solid #fde68a;
      margin-top: 24px;
      max-width: 920px;
      margin-left: auto;
      margin-right: auto;
    }
    .qr-privacy-hint svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      color: #d97706;
      margin-top: 1px;
    }
    .qr-privacy-hint p {
      font-size: 0.8125rem;
      color: #92400e;
      line-height: 1.6;
      margin: 0;
    }
    .qr-privacy-hint a {
      color: #d97706;
      text-decoration: underline;
    }

    /* ── Tips Grid ─────────────────────────────────────────────── */
    .tips-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .tip-card {
      background: var(--card,#FFFFFF);
      border-radius: 16px;
      padding: 32px 24px;
      text-align: center;
      box-shadow: 0 2px 16px rgba(0,0,0,0.04);
      border: 1px solid var(--bg-2,#F3ECE0);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    }
    .tip-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    }
    .tip-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 20px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .tip-icon svg {
      width: 30px;
      height: 30px;
    }
    .tip-icon-orange {
      background: linear-gradient(135deg, #fff7ed, #ffedd5);
    }
    .tip-icon-orange svg { stroke: #ea580c; }
    .tip-icon-teal {
      background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    }
    .tip-icon-teal svg { stroke: #0d9488; }
    .tip-icon-red {
      background: linear-gradient(135deg, #fef2f2, #fee2e2);
    }
    .tip-icon-red svg { stroke: #dc2626; }
    .tip-icon-blue {
      background: linear-gradient(135deg, #eff6ff, #dbeafe);
    }
    .tip-icon-blue svg { stroke: #2563eb; }

    .tip-card h3 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: var(--ink,#16130F);
    }
    .tip-card p {
      font-size: 0.875rem;
      color: var(--ink-2,#6B6256);
      line-height: 1.7;
    }

    /* ── FAQ ────────────────────────────────────────────────────── */
    .faq-list {
      max-width: 760px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--card,#FFFFFF);
      border-radius: 14px;
      margin-bottom: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.03);
      border: 1px solid var(--bg-2,#F3ECE0);
      overflow: hidden;
      transition: box-shadow 0.3s ease;
    }
    .faq-item:hover {
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .faq-item[open] {
      box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      border-color: #fed7aa;
    }
    .faq-item summary {
      padding: 20px 24px;
      font-weight: 600;
      font-size: 1rem;
      color: var(--ink,#16130F);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '+';
      font-size: 1.25rem;
      font-weight: 700;
      color: #f97316;
      transition: transform 0.3s ease;
      flex-shrink: 0;
      margin-left: 16px;
    }
    .faq-item[open] summary::after {
      content: '\2212';
    }
    .faq-answer {
      padding: 0 24px 20px;
    }
    .faq-answer p {
      font-size: 0.9375rem;
      color: var(--ink-2,#6B6256);
      line-height: 1.8;
    }

    /* ── Responsive ─────────────────────────────────────────────── */
    @media (max-width: 1024px) {
      .tips-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .qr-card {
        padding: 32px 24px;
      }
      .qr-layout {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .qr-preview-box {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
      }
      .qr-actions {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
      }
      .qr-size-tiles {
        grid-template-columns: repeat(3, 1fr);
      }
      .tips-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .qr-card {
        padding: 24px 18px;
      }
      .qr-input {
        font-size: 1rem;
        padding: 16px 18px 16px 46px;
      }
      .qr-actions {
        flex-direction: column;
      }
    }
  

/* ---- */


/* Mobile-Hero-Patch 2026-05-18: Form above-fold auf ≤768px */
@media (max-width: 768px) {
  /* 1. Trust-Logo-Strip auf Mobile verstecken (zu viel above-fold-Verschwendung) */
  section.trust-bar,
  .lp-trust-strip,
  section[class*="trust-strip"] {
    display: none !important;
  }
  /* 2. Hero compacter — Padding-Reduzierung + H1-Schrift kleiner */
  main section[style*="padding:64px"],
  main section[style*="padding: 64px"],
  main .lp-hero {
    padding: 28px 16px 16px !important;
  }
  main h1,
  main .lp-h1 {
    font-size: 1.55rem !important;
    line-height: 1.18 !important;
    margin-bottom: 8px !important;
  }
  main section:first-of-type p[style*="font-size"],
  main .lp-hero p {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }
  /* 3. Form-Section minimal-Padding + visuell prominenter direkt unter Hero */
  main section#form,
  main section[id="form"] {
    padding: 12px 16px 24px !important;
    background: linear-gradient(180deg,#f0fdfa,#fff) !important;
  }
  main section#form h2 {
    font-size: 1.25rem !important;
    margin-top: 0 !important;
  }
  /* 4. Hero-Bilder kleiner auf Mobile (max 220px Hoehe) */
  main section:first-of-type img,
  main .lp-hero img,
  main .lp-hero-image img {
    max-height: 200px !important;
    height: auto !important;
    width: auto !important;
    margin: 0 auto !important;
  }
  /* 5. Hero-Buttons compacter */
  main section:first-of-type a[style*="display:inline-block"],
  main .lp-hero .lp-cta-primary {
    padding: 10px 18px !important;
    font-size: 0.92rem !important;
  }
}


/* ---- */


  /* Tool-Seiten: kompakter zentrierter App-Kopf — Bild + H1, eine Achse mit dem Widget */
  main [class]:has(> .section-label):has(> h1),
  main .container:has(> .section-label):has(> h1){text-align:center}
  main :has(> h1) > .section-label{justify-content:center}
  .tool-hero-img{display:block;width:150px;height:112px;object-fit:cover;border-radius:18px;margin:0 auto 18px;border:1px solid var(--line,#ECE4D7);box-shadow:0 18px 38px -22px rgba(22,19,15,.28)}
  main :has(> h1) > h1{margin-left:auto;margin-right:auto}
