    :root { color-scheme: light; }
    body { margin: 0; font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #111; background: #fff; }
    a { text-underline-offset: 3px; text-decoration: none; }
    a:hover { text-decoration: underline; }
    .skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 12px; border: 1px solid #111; border-radius: 10px; }
    .skip-link:focus { left: 12px; top: 12px; z-index: 9999; }
    main header { padding: 28px 0; }
    header, main, footer { max-width: 1100px; margin: 0 auto; padding: 28px; }
    nav a { text-decoration: none; margin-right: 12px; }
    nav a:hover { text-decoration: underline; }
    nav a[aria-current="page"] { text-decoration: underline; font-weight: bold }
    nav a[aria-current="page"]:hover { text-decoration: none; }
    h1, h2, h3 { line-height: 1.25; margin: 0.3em 0; }
    p { margin: 0.7em 0; }
    .meta { color: #444; }
    .hero { padding: 10px 0 18px; }
    .grid { display: grid; gap: 18px; }
    @media (min-width: 900px) { .grid { grid-template-columns: 2fr 1fr; } }
    .cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
    @media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
    .card { border: 1px solid #eee; border-radius: 16px; padding: 18px; background: #fff; margin-bottom: 18px; }
    .card h3 { margin-top: 0; }
    .tag { display: inline-block; border: 1px solid #eee; border-radius: 999px; padding: 4px 10px; font-size: 13px; color: #333; margin-right: 6px; }
    .btn { display: inline-block; border: 1px solid #111; border-radius: 12px; padding: 10px 14px; text-decoration: none; margin-right: 10px; }
    .btn.secondary { border-color: #ddd; }
    aside { border-left: 2px solid #eee; padding-left: 16px; }
    footer nav a { margin-right: 12px; }
    .small { font-size: 14px; color: #444; }
    ul { padding-left: 1.2em; }
    details,summary { cursor: pointer; }


/* Panels wrapper */
.tool-panels {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Einzelne Panels */
.panel {
  background: #d9d8d8;
  padding: 1rem;
  border-radius: 6px;
  max-width: 300px;
  min-width: 220px;
}

.panel-sin {
  background: #d9d8d8;
  padding: 1rem;
  border-radius: 6px;
}

/* Titel */
.panel-title {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
}

/* Formularfelder */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

/* Reihen */
.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

/* Aktionen */
.field-actions {
  justify-content: flex-end;
}

/* Export-Panel Sonderfall */
.panel-export {
  margin-top: 1.5rem;
}

/* Buttons */
.button-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Kleine Hinweise */
.small {
  font-size: 0.85rem;
  opacity: 0.8;
}


.display.flex.responce {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.inactiveBlock {
  opacity: 0.45;
}
.visually-hidden{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  line-height: 1.4;
}
.inactiveBlock a,
.inactiveBlock button {
  pointer-events: none;
}
figure {
  margin: 0;
}
#canvas {
	border: 1px solid #d9d8d8;
	background-color: #fff;
	cursor: crosshair;
}
.canvas-frame {
  padding: 1rem;
  border-radius: 6px;
  background-color: #d9d8d8;
}

h2:target,
h3:target {
  color: red;
  transition: color 0.3s ease;
}

.activeLink {
  font-weight: 700;
  text-decoration: underline;
}

/* =========================
    Page Header
   ========================= */
hr {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 3rem 0;
}

.hr-spacer {
  height: 1px;
  margin: 2rem 0;
}

.page-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
}
.page-header h1 {
  margin-bottom: 0.6rem;
}

.page-header p {
  max-width: 40rem;
}

/* =========================
   Content Blocks (Legal)
   ========================= */

.content-block {
  margin: 3rem auto;
  padding: 1.8rem 2rem;
  border-left: 4px solid #000;
}

/* Überschriften im Block */
.content-block h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Mehr Luft bei Text */
.content-block p,
.content-block address {
  line-height: 1.6;
}

/* =========================
   Formular – Grundlayout
   ========================= */
.qr-fields {
  margin-top: 2rem;
}

form {
  max-width: 42rem;
  margin-top: 2rem;
}

/* Jede Formularzeile */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

/* Labels */
.form-row label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.form-row label span {
  font-weight: 400;
  color: #666;
  font-size: 0.9em;
}

/* Inputs & Textarea */
.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  line-height: 1.4;
}

/* Textarea spezifisch */
.form-row textarea {
  resize: vertical;
  min-height: 8rem;
}

/* Focus-Zustand (wichtig für Accessibility) */
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #000;
}

/* Pflichtfelder visuell subtil */
.form-row input:required,
.form-row textarea:required {
  border-left: 3px solid #000;
}

/* Fehlerzustand (optional, falls serverseitig ergänzt) */
.form-row .error {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #b00020;
}

/* Honeypot wirklich unsichtbar */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------------------------------------------------
   Cookie Banner – angepasst an das bestehende Design
-------------------------------------------------- */

.cookie-banner{
  max-width: 650px;
  margin: 28px auto;
  background: #fff;
  color: #111;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* Inhalt */
.cookie-banner .mainWindowId{
  padding: 18px;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Text */
.cookie-banner p{
  margin: 0.7em 0;
}

/* Links */
.cookie-banner a{
  color: inherit;
  text-underline-offset: 3px;
}

/* Button-Zeile */
.cookie-banner p:last-child{
  margin-top: 14px;
}

/* Buttons – angelehnt an .btn */
.cookie-banner__button,
.cookie-banner__button_NO{
  appearance: none;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  margin-right: 8px;
}

/* Secondary (Decline) */
.cookie-banner__button{
  border-color: #ddd;
}

/* Hover / Focus */
.cookie-banner__button:hover,
.cookie-banner__button_NO:hover{
  background: #f7f7f7;
}

.cookie-banner__button:focus-visible,
.cookie-banner__button_NO:focus-visible{
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* Mobile */
@media (max-width: 420px){
  .cookie-banner{
    margin: 18px;
  }

  .cookie-banner__button,
  .cookie-banner__button_NO{
    width: 100%;
    margin: 6px 0 0;
  }
}

/* Header Layout */
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* Brand */
.brand{
  display: grid;
  gap: 2px;
}
.brand-name{
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-subline{
  font-size: 14px;
  color: var(--muted);
}

/* Navigation: statt margin-right -> gap */
.primary-nav ul,
.lang-nav{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a{
  padding: 6px 8px;
  border-radius: 10px;
}

.primary-nav a[aria-current="page"]{
  font-weight: 700;
  text-decoration: underline;
}

.lang-nav a{
  padding: 6px 6px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}
.lang-nav a[aria-current="true"]{
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
}
