:root {
  color-scheme: light;
  --ink: #101a34;
  --muted: #4b5870;
  --blue: #1e49d8;
  --blue-dark: #1739af;
  --line: #dce2ef;
  --surface: #f7f8fc;
  --paper: #fff;
  --mono: 'Cascadia Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Aptos', 'Segoe UI', system-ui, sans-serif;
  font-family: var(--sans);
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
section[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 3px solid #e49016; outline-offset: 4px; }

.container { width: min(calc(100% - 5rem), 75rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.75rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.17rem; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-neo { color: var(--blue); }
.brand-mark { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; border-radius: .42rem; background: var(--blue); }
.brand-mark::before {
  content: '';
  display: block;
  width: 62%;
  height: 58%;
  background: linear-gradient(90deg, currentColor 0 9%, transparent 9% 18%, currentColor 18% 32%, transparent 32% 41%, currentColor 41% 48%, transparent 48% 57%, currentColor 57% 70%, transparent 70% 79%, currentColor 79% 86%, transparent 86% 94%, currentColor 94%);
}
.brand-mark::before { color: #fff; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); color: var(--muted); }
.site-nav a, .header-contact, .site-footer nav a { font-weight: 650; font-size: .94rem; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .24em; }
.header-contact { padding: .47rem .94rem; border: 1px solid var(--line); border-radius: .4rem; }
.header-contact:hover { color: var(--blue); border-color: var(--blue); }

.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(1.5rem, 3.1vw, 3rem); align-items: center; padding-block: 4.3rem 4.6rem; }
.eyebrow { font-family: var(--mono); font-weight: 700; font-size: .81rem; letter-spacing: .075em; text-transform: uppercase; color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 760; overflow-wrap: break-word; }
.hero h1 { font-size: clamp(2.45rem, 4.75vw, 4.15rem); letter-spacing: -.061em; margin-top: .9rem; }
.hero h1 span { color: var(--blue); }
.hero-description { max-width: 32rem; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.19rem); line-height: 1.62; margin-top: 1.35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem .75rem; margin-top: 1.65rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .65rem 1.12rem; border: 1px solid transparent; border-radius: .42rem; font-weight: 720; text-decoration: none; font-size: .96rem; transition: background-color .16s, color .16s, border-color .16s; }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
button.button { cursor: pointer; }
button.button:disabled { opacity: .7; cursor: wait; }
.button-outline { border-color: #c9d1e4; background: #ffffff8c; }
.button-outline:hover { border-color: var(--blue); color: var(--blue-dark); }
.platforms { display: flex; flex-wrap: wrap; gap: .75rem 1rem; padding: 0; margin: 1.65rem 0 0; list-style: none; color: var(--muted); }
.platforms li { display: flex; align-items: center; gap: .72rem; font-size: .9rem; font-weight: 700; }
.platforms li + li::before { content: ''; display: inline-block; width: .25rem; height: .25rem; background: #8799c6; border-radius: 50%; }

.hero-editor { min-width: 0; }
.hero-editor .software-shot { display: block; border-color: #afbedc; border-radius: .65rem; box-shadow: 0 1.1rem 2.7rem -1rem #25427f66; }
.hero-editor .software-shot:hover, .editor-dialogs .software-shot:hover { border-color: var(--blue); }
.hero-editor figcaption { margin-top: .7rem; color: var(--muted); font-size: .91rem; }

.downloads { padding-block: 3.75rem 4.35rem; border-top: 1px solid var(--line); background: #edf2ff; }
.downloads .section-intro h2 { margin-top: 0; }
.download-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.55rem; }
.download-card { padding: clamp(1.1rem, 2.6vw, 1.8rem); border: 1px solid #d6dff4; border-radius: .66rem; background: var(--paper); }
.download-card h3 { font-size: 1.5rem; }
.download-card p { margin-top: .45rem; color: var(--muted); }
.download-option { margin-top: .95rem; }
.download-option + .download-option { padding-top: .9rem; border-top: 1px solid var(--line); }
.download-option h4 { margin: 0; font-size: 1rem; line-height: 1.4; }
.download-option .button, .download-option .text-link { margin-top: .66rem; }
.download-option .text-link { display: inline-block; }
.download-option .download-alt { margin-top: .7rem; }
.download-option .download-alt .text-link { margin-top: 0; }
.download-status:empty { display: none; }
.download-status:not(:empty) { font-size: .91rem; }
.download-card-unavailable { background: #f7f9ff; }

.editor-overview { padding-block: 4.65rem 1rem; }
.editor-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.6rem; margin-top: 1.6rem; }
.editor-tools article { border-top: 2px solid #b9c9f6; padding-top: .85rem; }
.editor-tools h3 { font-size: 1.25rem; }
.editor-tools p, .editor-dialogs figcaption { color: var(--muted); margin-top: .42rem; }
.editor-tools .text-link { display: inline-block; margin-top: .55rem; }
.resize-example { margin-top: 2.25rem; padding: clamp(1rem, 2.7vw, 2rem); border: 1px solid #d4dff4; border-radius: .66rem; background: #edf2ff; }
.resize-example h3 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); }
.resize-example-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); align-items: start; margin-top: 1.25rem; }
.resize-canvas { position: relative; display: block; }
.resize-canvas:hover { border-color: var(--blue); }
.resize-figure figcaption { margin-top: .57rem; color: var(--muted); font-size: .93rem; }
.resize-markers { position: absolute; inset: 0; pointer-events: none; }
.resize-markers span { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: clamp(1rem, 1.75vw, 1.43rem); aspect-ratio: 1; border: 1px solid #fff; border-radius: 50%; background: var(--blue-dark); color: #fff; font: 700 clamp(.63rem, 1vw, .8rem)/1 var(--mono); transform: translate(calc(-50% + var(--dx, 0%)), calc(-50% + var(--dy, 0%))); }
.resize-markers span:nth-child(1) { --x: 20.57%; --y: 38.41%; --dx: -80%; --dy: -80%; }
.resize-markers span:nth-child(2) { --x: 41.38%; --y: 38.41%; --dy: -88%; }
.resize-markers span:nth-child(3) { --x: 62.18%; --y: 38.41%; --dx: 80%; --dy: -80%; }
.resize-markers span:nth-child(4) { --x: 62.18%; --y: 45.89%; --dx: 88%; }
.resize-markers span:nth-child(5) { --x: 62.18%; --y: 53.26%; --dx: 80%; --dy: 80%; }
.resize-markers span:nth-child(6) { --x: 41.38%; --y: 53.26%; --dy: 88%; }
.resize-markers span:nth-child(7) { --x: 20.57%; --y: 53.26%; --dx: -80%; --dy: 80%; }
.resize-markers span:nth-child(8) { --x: 20.57%; --y: 45.89%; --dx: -88%; }
.resize-handles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.55rem; margin: 0; padding-inline-start: 1.48rem; }
.resize-handles li { padding-inline-start: .15rem; font-size: .92rem; color: var(--muted); }
.resize-handles li::marker { color: var(--blue-dark); font-weight: 750; }
.resize-handles strong, .resize-handles span { display: block; }
.resize-handles strong { color: var(--ink); }
.resize-note { margin-top: 1rem; color: var(--muted); }
.editor-dialogs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.editor-dialogs .software-shot { display: block; }
.editor-dialogs figcaption { display: grid; gap: .16rem; margin-top: .7rem; font-size: .95rem; }
.editor-dialogs figcaption strong { font-size: 1.06rem; color: var(--ink); }
.editor-guide-link { margin-top: 1.35rem; }

.features { background: var(--paper); border-block: 1px solid var(--line); padding-block: 4.7rem 5.15rem; }
.section-intro { max-width: 48rem; }
.section-intro h2, .contact h2 { margin-top: .58rem; font-size: clamp(2.02rem, 3.65vw, 3.2rem); text-wrap: balance; }
.section-intro > p:last-child:not(.eyebrow) { max-width: 43rem; margin-top: .95rem; color: var(--muted); font-size: 1.09rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2.25rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--line); overflow: hidden; }
.feature { background: var(--paper); padding: clamp(1.3rem, 2.8vw, 2rem); }
.feature h3, .workflow h3 { font-size: 1.37rem; }
.feature p, .workflow-copy p { color: var(--muted); margin-top: .55rem; }
.feature > .text-link { display: inline-block; margin-top: .65rem; }
.feature-icon { display: grid; place-items: center; position: relative; width: 2.55rem; height: 2.55rem; margin-bottom: .9rem; border-radius: .42rem; color: var(--blue-dark); background: #edf1ff; }
.feature-icon::before, .feature-icon::after { content: ''; position: absolute; }
.icon-layout::before { width: 1.13rem; height: .92rem; border: 1.5px solid currentColor; border-radius: .12rem; }
.icon-layout::after { width: .92rem; height: .67rem; border-top: 1.5px solid; border-image: linear-gradient(to right, currentColor 100%, transparent 0) 1; background: linear-gradient(90deg, transparent 32%, currentColor 32% 44%, transparent 44%); }
.icon-barcode::before { width: 1.24rem; height: .85rem; background: linear-gradient(90deg, currentColor 8%, transparent 8% 20%, currentColor 20% 36%, transparent 36% 44%, currentColor 44% 51%, transparent 51% 59%, currentColor 59% 77%, transparent 77% 88%, currentColor 88%); }
.icon-variables::before { content: '{ }'; font: 750 1.27rem var(--mono); letter-spacing: -.18em; transform: translateX(-.08em); }
.icon-data::before { width: 1.06rem; height: 1.12rem; border: 1.5px solid; border-radius: 45% / 24%; }
.icon-data::after { width: 1.06rem; height: .5rem; top: .72rem; border: solid currentColor; border-width: 0 1.5px 1.5px; border-radius: 50%; box-shadow: 0 .29rem 0 -.08rem currentColor; }
.icon-print::before { width: 1.16rem; height: .66rem; border: 1.5px solid; border-radius: .13rem; }
.icon-print::after { width: .69rem; height: 1.13rem; border: 1.5px solid; background: linear-gradient(#edf1ff 38%, transparent 38% 64%, #edf1ff 64%); }
.icon-files::before, .icon-files::after { width: .77rem; height: .98rem; border: 1.5px solid; border-radius: .12rem; background: #edf1ff; }
.icon-files::before { transform: translate(-.19rem, -.12rem); }
.icon-files::after { transform: translate(.15rem, .13rem); }

.label-gallery { padding-block: 4.7rem 5rem; }
.label-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.label-card { display: flex; flex-direction: column; padding: .65rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--paper); }
.label-preview { display: block; border: 1px solid #101a341f; border-radius: .32rem; overflow: hidden; }
.label-preview:hover { border-color: var(--blue); }
.label-preview img { width: 100%; }
.label-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem .6rem .62rem; }
.label-card h3 { font-size: 1.3rem; }
.label-card p { color: var(--muted); margin-top: .45rem; margin-bottom: .8rem; }
.label-card .text-link { margin-top: auto; }

.barcodes { background: var(--paper); border-block: 1px solid var(--line); padding-block: 4.7rem 5rem; }
.barcode-examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.barcode-examples figure { display: grid; grid-template-rows: 6.1rem auto; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: .55rem; }
.barcode-symbol { display: grid; place-items: center; }
.barcode-symbol img { width: auto; max-height: 5.45rem; max-width: 100%; object-fit: contain; }
.barcode-examples figcaption { display: grid; gap: .1rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.barcode-examples figcaption span { color: var(--muted); font-size: .91rem; }
.barcode-filter { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: end; margin-top: 2.05rem; }
.barcode-categories { display: flex; flex-wrap: wrap; gap: .42rem; }
.barcode-categories button {
  cursor: pointer;
  min-height: 2.8rem;
  padding: .44rem .74rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  color: var(--muted);
  background: var(--paper);
  font-size: .91rem;
  font-weight: 700;
}
.barcode-categories button:hover { color: var(--blue-dark); border-color: #afc0f5; }
.barcode-categories button[aria-pressed='true'] { color: var(--blue-dark); border-color: #c4d2ff; background: #eaf0ff; }
.barcode-search { display: grid; gap: .22rem; min-width: 14.5rem; }
.barcode-search label { font-size: .88rem; font-weight: 700; }
.barcode-search input { padding: .5rem .74rem; border: 1px solid #c2cce0; border-radius: .4rem; min-height: 2.8rem; font: inherit; color: var(--ink); background: var(--paper); }
.barcode-status { margin-top: .55rem; min-height: 1.5em; font-size: .9rem; color: var(--muted); }
.barcode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .75rem; }
.barcode-filter[hidden] ~ .barcode-grid { margin-top: 1.8rem; }
.barcode-group { min-width: 0; padding: clamp(1.05rem, 2.3vw, 1.65rem); background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; }
.barcode-grid.single-result .barcode-group { grid-column: 1 / -1; }
.barcode-group h3 { font-size: 1.36rem; }
.barcode-group-intro { margin-top: .42rem; color: var(--muted); }
.barcode-entries { margin-top: .9rem; display: grid; gap: .72rem; }
.barcode-entry { padding-top: .72rem; border-top: 1px solid var(--line); }
.code-tags { display: flex; flex-wrap: wrap; gap: .26rem .4rem; list-style: none; padding: 0; margin: 0; }
.code-tags li { padding: .12rem .42rem; border: 1px solid #d5dff6; border-radius: .22rem; color: #213d87; background: #fff; font: 700 .89rem/1.45 var(--mono); }
.barcode-entry p { margin-top: .3rem; color: var(--muted); font-size: .96rem; }
.gs1-detail { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(1.4rem, 3.5vw, 2.6rem); align-items: start; margin-top: 2rem; padding: clamp(1.15rem, 2.75vw, 2.25rem); border: 1px solid var(--line); border-radius: .66rem; background: var(--surface); }
.gs1-detail h3 { font-size: clamp(1.6rem, 2.65vw, 2.35rem); }
.gs1-copy p, .gs1-copy ol { color: var(--muted); margin-top: .77rem; }
.gs1-copy ol { padding-left: 1.34rem; margin-bottom: 0; }
.gs1-copy li + li { margin-top: .48rem; }
.gs1-copy strong, .gs1-values dt { color: var(--ink); }
.gs1-example .software-shot { display: block; }
.gs1-example .software-shot:hover { border-color: var(--blue); }
.gs1-example figcaption { margin-top: .46rem; font-size: .91rem; color: var(--muted); }
.gs1-values { margin: .85rem 0 .75rem; padding: 0; border-top: 1px solid var(--line); }
.gs1-values div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .12rem .55rem; padding-block: .28rem; border-bottom: 1px solid var(--line); }
.gs1-values dt { font-weight: 700; }
.gs1-values dd { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .91rem; }
.gs1-values dd span { font-family: var(--sans); }

.workflow { padding-block: 4.8rem 5rem; }
.workflow .section-intro { max-width: 55rem; }
.workflow-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.6rem; margin-bottom: 1.1rem; }
.workflow-tabs button { cursor: pointer; min-height: 2.8rem; border: 1px solid transparent; border-radius: .4rem; padding: .48rem .83rem; color: var(--muted); background: transparent; font-size: .96rem; font-weight: 700; }
.workflow-tabs button:hover { color: var(--blue-dark); background: #eaf0ff; }
.workflow-tabs button[aria-selected='true'] { color: var(--blue-dark); border-color: #ccd8ff; background: #e8eeff; }
.workflow-panel { display: grid; grid-template-columns: .68fr 1fr; gap: clamp(1.3rem, 3.8vw, 3.6rem); align-items: center; padding: clamp(1.25rem, 3.6vw, 3.1rem); border: 1px solid var(--line); background: #fff; border-radius: .65rem; }
.workflow-panel + .workflow-panel { margin-top: .85rem; }
.workflow-panel[role='tabpanel'] { margin-top: 0; }
.workflow-copy h3 { font-size: clamp(1.46rem, 2.65vw, 2.2rem); }
.workflow-copy p { margin-top: .75rem; }
.text-link { color: var(--blue-dark); text-decoration-thickness: .08em; text-underline-offset: .2em; font-weight: 650; }
.text-link:hover { color: var(--blue); }
.workflow-copy .text-link { display: inline-block; margin-top: 1rem; }
.software-shot { border: 1px solid #cbd6e8; border-radius: .45rem; overflow: hidden; box-shadow: 0 .75rem 1.8rem -.75rem #7788aa8c; }
.software-shot img { width: 100%; }
.guide-callout { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .85rem 1rem; margin-top: 1.25rem; padding: 1.3rem; border: 1px solid #cedaf8; border-radius: .55rem; background: #edf2ff; }
.guide-callout p { color: var(--muted); margin-top: .35rem; }

.print-options { padding-block: 4.6rem; background: var(--paper); border-block: 1px solid var(--line); }
.print-options-layout { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); gap: clamp(1.5rem, 5vw, 4.3rem); align-items: center; }
.print-options h2 { text-wrap: initial; }
.print-media { margin-top: 1.15rem; padding-top: .86rem; border-top: 1px solid var(--line); }
.print-media h3 { font-size: 1.32rem; }
.print-media p { margin-top: .4rem; color: var(--muted); }
.print-options-copy > .text-link { display: inline-block; margin-top: 1rem; }
.a4-preview { width: min(100%, 23rem); margin-inline: auto; padding: clamp(.85rem, 2.3vw, 1.35rem); border: 1px solid #d5dff3; border-radius: .68rem; background: #edf2ff; }
.a4-preview-image { display: block; border: 1px solid #c7d3e7; box-shadow: 0 .5rem 1.2rem -.65rem #25427f80; }
.a4-preview-image:hover { border-color: var(--blue); }
.a4-preview-image img { width: 100%; }
.a4-preview figcaption { display: grid; gap: .12rem; margin-top: .78rem; }
.a4-preview figcaption span { color: var(--muted); font-size: .94rem; }

.faq { display: grid; grid-template-columns: .62fr 1fr; gap: 2rem; border-top: 1px solid var(--line); padding-block: 3.9rem 4.3rem; }
.print-options + .faq { border-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .95rem; cursor: pointer; font-weight: 720; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; width: .58rem; height: .58rem; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -.2rem .28rem 0 0; flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: .28rem; }
.faq-list p { color: var(--muted); padding-bottom: 1.05rem; }
.faq-list ol { color: var(--muted); margin: 0 0 .8rem; padding-inline-start: 1.35rem; }
.faq-list li + li { margin-top: .55rem; }
.faq-list li strong { color: var(--ink); }
#faq-seriendruck { scroll-margin-top: 1.5rem; }

.contact { padding-bottom: 4.35rem; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; padding: clamp(1.5rem, 4.25vw, 3.65rem); border-radius: .75rem; background: linear-gradient(120deg, #1739af, #11296f); color: #fff; }
.contact h2 { margin: 0; }
.contact p { margin-top: .7rem; color: #e9eeff; }
.button-light { color: #1739af; background: #fff; }
.button-light:hover { background: #e7eeff; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; min-height: 5.25rem; padding-block: 1rem; }
.footer-owner, .site-footer nav { color: var(--muted); }
.footer-owner { font-size: .92rem; }
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-content { flex: 1; padding-block: 4.8rem; }
.legal-content h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); }
.legal-content address { font-size: 1.1rem; line-height: 1.7; margin-top: 1.45rem; font-style: normal; }
.legal-content address a { display: inline-block; margin-top: .55rem; }

@media (max-width: 56rem) {
  .container { width: calc(100% - 3rem); }
  .hero { grid-template-columns: 1fr; padding-block: 3.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 8vw, 4.3rem); }
  .hero-editor { max-width: 43rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: clamp(.7rem, 2vw, 1.25rem); }
  .barcode-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-dialogs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs1-detail { grid-template-columns: minmax(0, 1fr); }
  .resize-example-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Seven menu entries no longer fit next to the logo: the menu moves below it. */
@media (max-width: 58rem) {
  .header-contact { margin-left: auto; }
  .header-inner { flex-wrap: wrap; min-height: 0; gap: .68rem .65rem; padding-block: .68rem; }
  .site-nav { order: 1; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .22rem .65rem; padding-top: .4rem; border-top: 1px solid var(--line); }
}

@media (max-width: 39rem) {
  .container { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; min-height: 0; gap: .68rem .65rem; padding-block: .68rem; }
  .site-nav { order: 1; width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .22rem .65rem; padding-top: .4rem; border-top: 1px solid var(--line); }
  .site-nav a { padding-block: .2rem; font-size: .88rem; }
  .hero { gap: 1.65rem; padding-block: 2.45rem 2.8rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.3vw, 3.25rem); }
  .hero-description { margin-top: 1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .platforms { margin-top: 1.05rem; }
  .features, .workflow, .label-gallery, .barcodes, .downloads, .editor-overview, .print-options { padding-block: 3rem; }
  .workflow-panel, .faq, .label-gallery-grid, .barcode-grid, .print-options-layout,
  .download-grid, .editor-tools, .editor-dialogs { grid-template-columns: 1fr; }
  .barcode-search { min-width: 0; width: 100%; }
  .barcode-examples { gap: .6rem; }
  .barcode-examples figure { padding: .6rem; }
  .faq { gap: 1.2rem; padding-block: 2.6rem 2.9rem; }
  .contact { padding-bottom: 2.9rem; }
}

@media (max-width: 32rem) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: start; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .feature p, .feature > .text-link { grid-column: 2; }
  .workflow-tabs { gap: .15rem; }
  .workflow-tabs button { flex: 1 1 0; min-width: 0; font-size: .9rem; line-height: 1.25; padding-inline: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Language switch next to the header button: DE on English pages, EN on German pages. */
.language-switch { margin-left: -.9rem; padding: .47rem .62rem; border: 1px solid var(--line); border-radius: .4rem; font-weight: 650; font-size: .94rem; text-decoration: none; }
.language-switch:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 58rem) { .language-switch { margin-left: 0; } }

/* The English editor picture (“Forest Honey” title selected) has its handles elsewhere. */
html[lang="en"] .resize-markers span:nth-child(1) { --x: 13.12%; --y: 37.79%; }
html[lang="en"] .resize-markers span:nth-child(2) { --x: 43.72%; --y: 37.79%; }
html[lang="en"] .resize-markers span:nth-child(3) { --x: 74.43%; --y: 37.79%; }
html[lang="en"] .resize-markers span:nth-child(4) { --x: 74.43%; --y: 47.18%; }
html[lang="en"] .resize-markers span:nth-child(5) { --x: 74.43%; --y: 56.46%; }
html[lang="en"] .resize-markers span:nth-child(6) { --x: 43.72%; --y: 56.46%; }
html[lang="en"] .resize-markers span:nth-child(7) { --x: 13.12%; --y: 56.46%; }
html[lang="en"] .resize-markers span:nth-child(8) { --x: 13.12%; --y: 47.18%; }
