@import url('/tools/qr-code-generator/assets/css/qr-tool.css');
.generator-section{padding-top:clamp(18px,2.4vw,26px);padding-bottom:clamp(18px,2.4vw,26px)}
.generator-section .section-head.compact{margin-bottom:14px}.generator-section .section-head h2{font-size:clamp(1.45rem,2.2vw,2rem)}
.generator-grid{grid-template-columns:minmax(0,1.02fr) minmax(280px,390px);gap:16px}.generator-panel,.preview-panel{padding:clamp(14px,2vw,20px);border-radius:22px}
.field{gap:6px;margin-bottom:11px}.field span{font-size:.94rem}.field small{font-size:.82rem;line-height:1.32}.field input[type=number],select,input[type=range]{width:100%;min-height:44px;border-radius:15px;border:1px solid rgba(99,91,255,.16);background:rgba(255,255,255,.94);padding:10px 12px;font:inherit;color:var(--text-main,#1d2440)}input[type=range]{accent-color:var(--accent,#635bff);padding:0}.field-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode-card,.preset-card{margin:0 0 14px;border-radius:20px;border:1px solid rgba(99,91,255,.14);background:rgba(255,255,255,.72);padding:12px}.mode-card__head,.preset-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.mode-card__head small,.preset-card__head small{color:var(--text-soft,#69738d);font-size:.82rem}.mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mode-option{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;min-height:92px;padding:12px;border-radius:17px;border:1px solid rgba(99,91,255,.14);background:rgba(255,255,255,.88);cursor:pointer}.mode-option input{margin-top:3px;accent-color:var(--accent,#635bff)}.mode-option:has(input:checked){border-color:rgba(99,91,255,.42);background:linear-gradient(135deg,rgba(99,91,255,.14),rgba(0,180,216,.10));box-shadow:0 14px 28px rgba(99,91,255,.10)}.mode-option strong{display:block;margin-bottom:4px}.mode-option small{display:block;color:var(--text-soft,#69738d);line-height:1.35}.preset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preset-chip{appearance:none;border:1px solid rgba(99,91,255,.14);background:rgba(255,255,255,.92);color:var(--text-main,#1d2440);border-radius:14px;min-height:42px;padding:10px 12px;cursor:pointer;font:inherit;font-weight:600;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.preset-chip:hover,.preset-chip:focus-visible{border-color:rgba(99,91,255,.38);box-shadow:0 14px 28px rgba(99,91,255,.12);transform:translateY(-1px)}.button-row--stack-mobile{flex-wrap:wrap}.button-row--stack-mobile>*{flex:1 1 220px}.privacy-note{font-size:.86rem;line-height:1.45;color:var(--text-soft,#69738d)}.image-preview-box{min-height:280px}.image-preview-empty[hidden],#preview-image[hidden]{display:none!important}.image-preview-box img{max-width:100%;max-height:360px;object-fit:contain;border-radius:18px}.preview-hint--soft{color:var(--text-soft,#69738d);font-size:.88rem}
@media(max-width:860px){.field-grid-two,.generator-grid,.mode-options,.preset-grid{grid-template-columns:1fr}}

.helper-card{margin:0 0 14px;border-radius:20px;border:1px solid rgba(99,91,255,.14);background:rgba(255,255,255,.72);padding:12px}.helper-card__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.helper-card__head small{color:var(--text-soft,#69738d);font-size:.82rem}.helper-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}@media(max-width:860px){.helper-actions{grid-template-columns:1fr}}


/* v3: aufgeräumtes Skalieren-UI */
.upload-dropzone {
  border: 1px dashed rgba(99,91,255,.35);
  background: linear-gradient(135deg, rgba(99,91,255,.08), rgba(0,180,216,.06)), rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 16px 34px rgba(31,41,55,.07);
}
.upload-dropzone:hover,
.upload-dropzone.is-dragover {
  border-color: rgba(99,91,255,.62);
  background: linear-gradient(135deg, rgba(99,91,255,.13), rgba(0,180,216,.10)), rgba(255,255,255,.94);
}
.upload-dropzone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.scale-size-card,
.preset-select-card {
  margin: 0 0 14px;
  border-radius: 20px;
  border: 1px solid rgba(99,91,255,.14);
  background: rgba(255,255,255,.72);
  padding: 13px;
}
.scale-size-card__head,
.preset-select-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.scale-size-card__head {
  align-items: baseline;
  margin-bottom: 12px;
}
.scale-size-card__head small,
.preset-select-card small,
.scale-size-card__note {
  color: var(--text-soft,#69738d);
  font-size: .83rem;
  line-height: 1.35;
}
.dimension-chain-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 54px minmax(0,1fr);
  gap: 10px;
  align-items: end;
}
.dimension-field {
  display: grid;
  gap: 6px;
}
.dimension-field span {
  font-weight: 800;
  font-size: .94rem;
  color: var(--text-main,#1d2440);
}
.dimension-field input {
  width: 100%;
  min-height: 50px;
  border-radius: 17px;
  border: 1px solid rgba(99,91,255,.16);
  background: rgba(255,255,255,.95);
  padding: 11px 12px;
  font: inherit;
  font-weight: 800;
  color: var(--text-main,#1d2440);
  text-align: center;
}
.dimension-field small {
  text-align: center;
  color: var(--text-soft,#69738d);
  font-weight: 700;
}
.chain-toggle {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(99,91,255,.20);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.22rem;
  box-shadow: 0 12px 26px rgba(99,91,255,.09);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.chain-toggle:hover { transform: translateY(-1px); border-color: rgba(99,91,255,.42); }
.chain-toggle__unlocked { display: none; }
.chain-toggle.is-unlocked .chain-toggle__locked { display: none; }
.chain-toggle.is-unlocked .chain-toggle__unlocked { display: inline; }
.chain-toggle.is-locked { background: linear-gradient(135deg, rgba(99,91,255,.14), rgba(0,180,216,.11)); }
.scale-size-card__note { margin: 10px 0 0; }
.preset-select-card > span { display: grid; gap: 3px; }
.preset-select-card select {
  max-width: 260px;
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(99,91,255,.16);
  background: rgba(255,255,255,.95);
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
}
.helper-card,
.preset-card { display: none !important; }
@media(max-width:860px){
  .scale-size-card__head,
  .preset-select-card { align-items: stretch; flex-direction: column; }
  .preset-select-card select { max-width: none; width: 100%; }
  .dimension-chain-row { grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr); }
  .chain-toggle { width: 48px; height: 50px; }
}


/* v4: Upload-Feld wie beim Bild-komprimieren-Tool, ohne unsichtbares Fullscreen-Input */
.upload-zone--scale {
  position: relative;
  border: 2px dashed rgba(79,70,229,.28);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(79,70,229,.055), rgba(255,255,255,.72));
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 185px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  overflow: hidden;
}
.upload-zone--scale:hover,
.upload-zone--scale.is-dragover {
  border-color: var(--accent, #4f46e5);
  background: rgba(79,70,229,.09);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(79,70,229,.10);
}
.upload-zone--scale input[type="file"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  inset: auto !important;
}
.upload-zone--scale .upload-zone__icon {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.upload-zone--scale strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.upload-zone--scale span span {
  color: var(--muted, #647089);
  line-height: 1.45;
}

/* Einheitliche Tool-Navigation: Startseite · Tools · Zum Shop bleibt auch mobil in einer Zeile. */
.header-card {
  flex-wrap: nowrap;
  align-items: center;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.8vw, 12px);
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
}
.header-actions a {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .header-card {
    border-radius: 999px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
  }
  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }
  .brand img {
    height: clamp(28px, 8vw, 38px);
    max-width: 96px;
    object-fit: contain;
  }
  .header-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    margin-top: 0 !important;
    margin-left: auto;
    gap: clamp(5px, 1.4vw, 8px);
  }
  .plain-link {
    font-size: clamp(.72rem, 3.15vw, .9rem);
  }
  .shop-pill {
    padding: 8px clamp(8px, 2.6vw, 12px);
    font-size: clamp(.72rem, 3.15vw, .9rem);
  }
}
@media (max-width: 380px) {
  .header-card {
    padding: 7px 8px;
    gap: 6px;
  }
  .brand img {
    height: 28px;
    max-width: 82px;
  }
  .header-actions {
    gap: 5px;
  }
  .plain-link,
  .shop-pill {
    font-size: .7rem;
  }
  .shop-pill {
    padding: 7px 8px;
  }
}

/* Browser & IP Check */
.info-check-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
  gap: 18px;
  align-items: start;
}
.info-action-card,
.info-result-card,
.info-support-card,
.info-explain-card {
  border: 1px solid var(--line, rgba(99,91,255,.14));
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow, 0 20px 50px rgba(22,33,61,.10));
}
.info-action-card { padding: clamp(18px, 2.5vw, 28px); }
.info-action-card h3 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.045em; }
.info-action-card p { color: var(--muted, #647089); line-height: 1.58; margin-bottom: 16px; }
.info-button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.info-privacy-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(79,70,229,.14);
  border-radius: 18px;
  background: rgba(79,70,229,.055);
  color: #394352;
  line-height: 1.45;
  font-size: .94rem;
}
.info-result-card { margin-top: 18px; padding: clamp(14px, 2vw, 20px); }
.info-result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.info-result-head h3 { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.info-updated { color: var(--muted, #647089); font-size: .86rem; white-space: nowrap; }
.info-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.info-summary-item { padding: 14px; border: 1px solid var(--line, rgba(99,91,255,.14)); border-radius: 18px; background: rgba(255,255,255,.72); min-width: 0; }
.info-summary-item span { display: block; color: var(--muted, #647089); font-size: .82rem; font-weight: 800; margin-bottom: 5px; }
.info-summary-item strong { display: block; overflow-wrap: anywhere; font-size: 1.02rem; }
.info-section-list { display: grid; gap: 12px; }
.info-section { border: 1px solid var(--line, rgba(99,91,255,.14)); border-radius: 20px; background: rgba(248,250,255,.68); overflow: hidden; }
.info-section summary { cursor: pointer; list-style: none; padding: 14px 16px; font-weight: 900; display: flex; justify-content: space-between; gap: 10px; }
.info-section summary::-webkit-details-marker { display: none; }
.info-section summary::after { content: '+'; color: var(--accent, #4f46e5); font-weight: 900; }
.info-section[open] summary::after { content: '−'; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th,
.info-table td { padding: 11px 14px; border-top: 1px solid var(--line, rgba(99,91,255,.14)); vertical-align: top; text-align: left; line-height: 1.35; }
.info-table th { width: 38%; color: #394352; font-size: .88rem; }
.info-table td { color: var(--muted, #647089); overflow-wrap: anywhere; }
.info-empty { color: var(--muted, #647089); padding: 16px; margin: 0; }
.info-side-stack { display: grid; gap: 18px; }
.info-support-card,
.info-explain-card { padding: 18px; }
.info-support-card h3,
.info-explain-card h3 { margin: 0 0 8px; letter-spacing: -.03em; }
.info-support-card p,
.info-explain-card p,
.info-explain-card li { color: var(--muted, #647089); line-height: 1.5; }
.info-support-card .paypal-donate-box { margin-top: 12px; min-height: 45px; }
.info-support-fallback { display: inline-flex; margin-top: 8px; }
.info-mini-list { margin: 12px 0 0; padding-left: 18px; }
.info-copy-box { display: grid; gap: 10px; margin-top: 12px; }
.info-copy-box textarea { width: 100%; min-height: 110px; resize: vertical; border: 1px solid var(--line, rgba(99,91,255,.14)); border-radius: 16px; padding: 12px; font: inherit; color: var(--text, #19202b); background: rgba(255,255,255,.86); }
.info-error { margin-top: 12px; color: #9f1239; font-weight: 800; }
@media (max-width: 980px) { .info-check-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .info-summary-grid { grid-template-columns: 1fr; }
  .info-result-head { flex-direction: column; }
  .info-table th,
  .info-table td { display: block; width: 100%; }
  .info-table td { padding-top: 0; }
}

.product-focus-strip {
  width: 100%; max-width: none; box-sizing: border-box; margin: 18px 0 28px; padding: clamp(16px, 2.4vw, 24px);
  border-radius: var(--radius, 26px); border: 1px solid var(--line, rgba(99,91,255,.14));
  background: radial-gradient(circle at 16% 0%, rgba(124,58,237,.11), transparent 34%), linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,255,.88));
  box-shadow: var(--shadow, 0 20px 50px rgba(22,33,61,.10)); overflow: hidden;
}
.product-focus-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.product-focus-strip__head h2 { margin: 0; font-size: clamp(1.12rem, 1.8vw, 1.55rem); line-height: 1.12; }
.product-focus-strip__head p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted, #647089); line-height: 1.35; font-size: .94rem; max-width: 720px; }
.product-focus-strip__link { color: var(--accent, #4f46e5); font-weight: 900; white-space: nowrap; }
.product-marquee { overflow: hidden; width: 100%; max-width: 100%; min-height: 255px; background: rgba(255,255,255,.7); border-radius: 20px; }
.product-marquee__track { display: flex; gap: 12px; padding: 14px; animation: mujaProductMarquee 38s linear infinite; width: max-content; }
.product-marquee:hover .product-marquee__track { animation-play-state: paused; }
.mini-product { width: 172px; flex: 0 0 172px; border: 1px solid var(--line, rgba(99,91,255,.14)); border-radius: 20px; background: rgba(255,255,255,.86); overflow: hidden; color: inherit; box-shadow: 0 10px 22px rgba(22,33,61,.07); }
.mini-product__image { display: block; aspect-ratio: 1 / .9; background: #f4f6fb; overflow: hidden; }
.mini-product__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-product__body { display: grid; gap: 3px; padding: 10px; }
.mini-product__body strong { font-size: .88rem; line-height: 1.2; }
.mini-product__body span { color: var(--muted, #647089); font-size: .78rem; }
.mini-product__body em { color: var(--accent, #4f46e5); font-style: normal; font-weight: 900; font-size: .78rem; }
@keyframes mujaProductMarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (max-width: 760px) {
  .product-focus-strip__head { align-items: flex-start; flex-direction: column; }
  .product-focus-strip { margin-top: 14px; padding: 14px 12px; }
  .product-marquee { min-height: 232px; }
  .mini-product { width: 148px; flex-basis: 148px; }
  .product-focus-strip__head p:not(.eyebrow) { font-size: .88rem; }
}
