/* ==========================================================================
   Villa Restaurant - Kontakt Seite (Konzept Der Brief) - v2
   ========================================================================== */

/* === SCHREIBTISCH SZENE === */
.brief-scene {
  position: relative;
  padding: var(--vr-space-2xl) var(--vr-section-pad-x);
  background:
    radial-gradient(ellipse at center top, rgba(217, 83, 30, 0.10), transparent 60%),
    radial-gradient(ellipse at center, var(--vr-burgund) 0%, var(--vr-burgund-tief) 65%, #2A0B11 100%);
  overflow: hidden;
}
.brief-scene::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none; z-index: 0;
}
.brief-scene::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent 0px, transparent 80px, rgba(0,0,0,0.04) 80px, rgba(0,0,0,0.04) 81px);
  pointer-events: none; z-index: 0;
}
.brief-scene__inner {
  position: relative; z-index: 1;
  max-width: var(--vr-container-md);
  margin: 0 auto;
}

/* === HERO === */
.brief-hero { text-align: center; margin-bottom: var(--vr-space-2xl); color: var(--vr-creme); }
.brief-hero__headline {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-hero);
  font-weight: var(--vr-fw-bold);
  line-height: var(--vr-leading-tight);
  margin: 0 0 var(--vr-space-md);
  color: var(--vr-creme);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.brief-hero__sub {
  font-family: var(--vr-font-hand);
  font-size: var(--vr-text-2xl);
  color: var(--vr-gold-hell);
  line-height: 1; margin: 0;
  transform: rotate(-2deg);
  display: inline-block;
}

/* === BRIEF === */
.brief {
  position: relative;
  background: var(--vr-papier);
  padding: clamp(2rem, 6vw, 4rem);
  border-radius: var(--vr-radius-sm);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 8px 16px rgba(0,0,0,0.25), inset 0 0 1px rgba(184,146,74,0.3);
}
.brief::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60px; height: 60px;
  background: linear-gradient(225deg, rgba(184,146,74,0.18) 50%, transparent 50%);
  pointer-events: none; border-bottom-left-radius: 8px;
}
.brief__anrede {
  font-family: 'Dancing Script', 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.1;
  color: var(--vr-burgund);
  margin: 0 0 var(--vr-space-lg);
  transform: rotate(-1deg);
  display: inline-block;
}

/* === THEMEN SIEGEL === */
.brief__themen { border: none; padding: 0; margin: 0 0 var(--vr-space-xl); }
.brief__themen-label {
  display: block;
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  letter-spacing: var(--vr-tracking-wider);
  text-transform: uppercase;
  margin: 0 0 var(--vr-space-sm);
}
.siegel-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--vr-space-2xs);
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 900px) {
  .siegel-list { grid-template-columns: repeat(3, 1fr); gap: var(--vr-space-xs); }
}
@media (max-width: 540px) {
  .siegel-list { grid-template-columns: repeat(2, 1fr); gap: var(--vr-space-xs); }
}
.siegel {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1;
  padding: var(--vr-space-2xs);
  background: radial-gradient(circle at 30% 30%, var(--vr-burgund-hell), var(--vr-burgund) 50%, var(--vr-burgund-tief) 100%);
  border: none; border-radius: var(--vr-radius-full);
  outline: 2px solid var(--vr-gold);
  outline-offset: -6px;
  color: var(--vr-creme);
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-xs);
  font-weight: var(--vr-fw-semibold);
  text-align: center; line-height: 1.15;
  cursor: pointer;
  transition: transform var(--vr-trans-base), box-shadow var(--vr-trans-base);
  box-shadow: var(--vr-shadow-burgund), inset 0 -3px 6px rgba(0,0,0,0.3), inset 0 3px 6px rgba(255,255,255,0.1);
}
.siegel::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(248,242,228,0.5) 50%, transparent 100%);
  pointer-events: none; transform: skewX(-20deg);
}
.siegel:hover::before,
.siegel:focus-visible::before {
  animation: vr-shimmer 0.9s ease-out;
}
@media (min-width: 541px) {
  .siegel { font-size: var(--vr-text-sm); }
}
.siegel:hover {
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: var(--vr-shadow-lg), inset 0 -3px 6px rgba(0,0,0,0.3), inset 0 3px 6px rgba(255,255,255,0.15);
}
.siegel.is-selected {
  background: radial-gradient(circle at 30% 30%, var(--vr-glut), var(--vr-burgund) 60%, var(--vr-burgund-tief) 100%);
  transform: scale(1.05);
  outline-color: var(--vr-gold-hell);
}
.siegel:focus-visible { outline-color: var(--vr-gold-hell); outline-offset: 3px; }

/* === FELDER === */
.brief__felder { display: grid; gap: var(--vr-space-lg); }
.brief__feld { display: flex; flex-direction: column; }
.brief__feld--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--vr-space-md); }
@media (max-width: 640px) {
  .brief__feld--row { grid-template-columns: 1fr; }
}
.brief__label {
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  letter-spacing: var(--vr-tracking-wide);
  margin: 0 0 var(--vr-space-3xs);
}
.brief__input, .brief__textarea {
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-md);
  color: var(--vr-anthrazit);
  background: transparent;
  border: none; border-bottom: 1px solid var(--vr-linie);
  padding: var(--vr-space-2xs) 0;
  outline: none;
  transition: border-color var(--vr-trans-base);
  width: 100%;
}
.brief__input:focus, .brief__textarea:focus { border-bottom-color: var(--vr-burgund); }
.brief__textarea {
  resize: vertical; min-height: 240px; line-height: 40px;
  padding-top: 0; padding-bottom: 40px;
  overflow: hidden;
  font-family: 'Dancing Script', 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--vr-burgund);
  background-image: repeating-linear-gradient(to bottom, transparent 0px, transparent 31px, var(--vr-linie-soft) 31px, var(--vr-linie-soft) 32px, transparent 32px, transparent 40px);
}
.brief__honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.brief__datenschutz {
  display: flex; align-items: flex-start; gap: var(--vr-space-2xs);
  font-family: var(--vr-font-body); font-size: var(--vr-text-sm);
  color: var(--vr-text-secondary); line-height: var(--vr-leading-snug);
  cursor: pointer;
}
.brief__datenschutz input { margin-top: 4px; accent-color: var(--vr-burgund); }
.brief__datenschutz a { color: var(--vr-burgund); text-decoration: underline; }

/* === SEND BUTTON MIT SHIMMER === */
.brief__send {
  position: relative; overflow: hidden;
  margin-top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--vr-space-2xs);
  background: linear-gradient(135deg, var(--vr-burgund), var(--vr-burgund-tief));
  color: var(--vr-creme);
  border: 2px solid var(--vr-gold);
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-md);
  font-weight: var(--vr-fw-semibold);
  letter-spacing: var(--vr-tracking-wide);
  padding: var(--vr-space-sm) var(--vr-space-xl);
  border-radius: var(--vr-radius-full);
  cursor: pointer;
  transition: transform var(--vr-trans-base), box-shadow var(--vr-trans-base);
  box-shadow: var(--vr-shadow-burgund);
  align-self: flex-start;
}
.brief__send::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(248,242,228,0.45) 50%, transparent 100%);
  pointer-events: none; transform: skewX(-20deg);
}
.brief__send:hover::before,
.brief__send:focus-visible::before,
.brief__send:active::before {
  animation: vr-shimmer 0.9s ease-out;
}
@keyframes vr-shimmer {
  0% { left: -120%; }
  100% { left: 120%; }
}
.brief__send:hover { transform: translateY(-2px); box-shadow: var(--vr-shadow-lg); }
.brief__send:active { transform: translateY(0); }
.brief__send:disabled { opacity: 0.6; cursor: wait; }
.brief__send-icon { width: 1.2em; height: 1.2em; position: relative; z-index: 1; }

/* === STATUS === */
.brief__status {
  margin-top: var(--vr-space-md);
  padding: var(--vr-space-sm) var(--vr-space-md);
  border-radius: var(--vr-radius-sm);
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-base);
  display: none;
}
.brief__status.is-success {
  display: block;
  background: rgba(74,107,58,0.12);
  color: var(--vr-success);
  border-left: 4px solid var(--vr-success);
}
.brief__status.is-error {
  display: block;
  background: rgba(160,40,48,0.10);
  color: var(--vr-error);
  border-left: 4px solid var(--vr-error);
}
.brief__status a { color: inherit; text-decoration: underline; }

/* === ANTWORTZEIT === */
.brief-promise {
  text-align: center;
  margin: var(--vr-space-xl) 0 0;
  color: var(--vr-creme);
  font-family: var(--vr-font-hand);
  font-size: var(--vr-text-xl);
  opacity: 0.9;
}

/* === ACTION BAR (Tisch, Zimmer, Anruf) === */
.contact-actions {
  background: var(--vr-creme);
  padding: var(--vr-space-lg) var(--vr-section-pad-x);
}
.contact-actions__inner {
  max-width: var(--vr-container-md);
  margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--vr-space-md);
}
.contact-action {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: var(--vr-space-sm) var(--vr-space-xl);
  background: transparent;
  color: var(--vr-burgund);
  border: 2px solid var(--vr-burgund);
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-md);
  font-weight: var(--vr-fw-semibold);
  letter-spacing: var(--vr-tracking-wide);
  border-radius: var(--vr-radius-full);
  cursor: pointer; text-decoration: none;
  transition: transform var(--vr-trans-base), box-shadow var(--vr-trans-base), background var(--vr-trans-base), color var(--vr-trans-base);
  min-width: 200px;
}
.contact-action--primary {
  background: linear-gradient(135deg, var(--vr-burgund), var(--vr-burgund-tief));
  color: var(--vr-creme);
  border-color: var(--vr-burgund);
}
.contact-action--gold {
  background: linear-gradient(135deg, var(--vr-gold), var(--vr-gold-tief));
  color: var(--vr-creme);
  border-color: var(--vr-gold);
}
.contact-action::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(248,242,228,0.35) 50%, transparent 100%);
  pointer-events: none; transform: skewX(-20deg);
}
.contact-action:hover::before,
.contact-action:focus-visible::before {
  animation: vr-shimmer 0.9s ease-out;
}
.contact-action:hover {
  background: var(--vr-burgund);
  color: var(--vr-creme);
  transform: translateY(-2px);
  box-shadow: var(--vr-shadow-md);
}
.contact-action--primary:hover {
  background: linear-gradient(135deg, var(--vr-burgund-hell), var(--vr-burgund));
  color: var(--vr-creme);
}
.contact-action--gold:hover {
  background: linear-gradient(135deg, var(--vr-gold-hell), var(--vr-gold));
  color: var(--vr-creme);
}
.contact-action:focus-visible { outline: 3px solid var(--vr-gold-hell); outline-offset: 2px; }
.contact-action__label { position: relative; z-index: 1; }
@media (max-width: 540px) {
  .contact-actions__inner { flex-direction: column; }
  .contact-action { width: 100%; min-width: 0; }
}

/* === FOOTER OVERLAY (Phase 3 vorbereitet) === */
.contact-overlay-trigger {
  margin-top: var(--vr-space-md);
  display: inline-flex; align-items: center; gap: var(--vr-space-2xs);
  background: linear-gradient(135deg, var(--vr-burgund), var(--vr-burgund-tief));
  color: var(--vr-creme); border: 1px solid var(--vr-gold);
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-sm);
  font-weight: var(--vr-fw-semibold);
  letter-spacing: var(--vr-tracking-wide);
  padding: var(--vr-space-2xs) var(--vr-space-md);
  border-radius: var(--vr-radius-full);
  cursor: pointer;
  transition: transform var(--vr-trans-base), box-shadow var(--vr-trans-base);
  box-shadow: var(--vr-shadow-sm);
}
.contact-overlay-trigger:hover { transform: translateY(-2px); box-shadow: var(--vr-shadow-md); border-color: var(--vr-gold-hell); }
.contact-overlay {
  position: fixed; inset: 0;
  z-index: var(--vr-z-modal);
  display: none; align-items: center; justify-content: center;
  padding: var(--vr-space-md);
  background: rgba(26,20,16,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity var(--vr-trans-base);
}
.contact-overlay.is-open { display: flex; opacity: 1; }
.contact-overlay__panel {
  position: relative;
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto;
  background: var(--vr-papier);
  border-radius: var(--vr-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--vr-shadow-xl);
  transform: scale(0.96);
  transition: transform var(--vr-trans-base);
}
.contact-overlay.is-open .contact-overlay__panel { transform: scale(1); }
.contact-overlay__close {
  position: absolute; top: var(--vr-space-sm); right: var(--vr-space-sm);
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none;
  color: var(--vr-text-primary); cursor: pointer;
  border-radius: var(--vr-radius-full);
  transition: background var(--vr-trans-base);
}
.contact-overlay__close:hover { background: var(--vr-creme-tief); }
@media (max-width: 640px) {
  .contact-overlay { padding: 0; align-items: flex-end; }
  .contact-overlay__panel { max-height: 95vh; border-radius: var(--vr-radius-lg) var(--vr-radius-lg) 0 0; }
}
body.has-overlay-open { overflow: hidden; }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .contact-overlay, .contact-overlay__panel, .siegel,
  .brief__send, .contact-overlay-trigger, .contact-action {
    transition: none !important;
  }
  .contact-overlay__panel { transform: none !important; }
  .brief__send::before, .contact-action::before, .siegel::before { display: none; }
}

/* === BLUR FALLBACK === */
@supports not (backdrop-filter: blur(12px)) {
  .contact-overlay { background: rgba(26,20,16,0.92); }
}


/* Name Input in Schreibschrift fuer persoenlichen Brief Look */
.brief__input--script {
  font-family: 'Dancing Script', 'Caveat', cursive;
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--vr-burgund);
}


/* Atemraum Label zur Textarea */
.brief__group--textarea .brief__label {
  margin-bottom: 1.5rem;
}


/* === Brief Textarea Fokus und Federkiel === */
.brief__textarea-wrap {
  position: relative;
}

.brief__textarea {
  caret-color: var(--vr-burgund);
}

.brief__textarea:focus {
  outline: none;
  box-shadow: none;
}

.brief__pen {
  position: absolute;
  bottom: 12px;
  right: 36px;
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236E1A24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.55;
  transform: rotate(-8deg);
  transform-origin: center;
  transition: opacity 0.25s ease;
  animation: vrBriefPenPulse 1.6s ease-in-out infinite;
}

.brief__pen.is-hidden {
  opacity: 0;
  animation: none;
}

@keyframes vrBriefPenPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
  .brief__pen { animation: none; }
}


/* Box-Sizing Konsistenz fuer Auto-Grow Berechnung */
.brief__textarea { box-sizing: border-box; }


/* === SCHRITT 22 FORCE OVERRIDES === */

/* 1 Atemraum unter "Deine Nachricht" Label */
.brief__group--textarea .brief__label {
  display: block !important;
  margin-bottom: 1.5rem !important;
}

/* 2 Textarea Konsistenz */
.brief__textarea {
  box-sizing: border-box !important;
  min-height: 200px !important;
  padding-top: 4px !important;
  padding-bottom: 40px !important;
}

/* 3 Action Bar mit ausgewogenem Abstand oben und unten */
.brief__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 0 auto !important;
  max-width: 760px !important;
  padding: 3rem 1rem !important;
}

/* Falls Action Bar in einem Wrapper sitzt, diesen auch ausgleichen */
.brief__action-bar,
.brief__actions-wrap,
.kontakt-cta,
.kontakt-footer-cta {
  padding-block: 3rem !important;
}

/* 4 Brief Karte mit Papier Ecken Effekt (Top Right + Bottom Left) */
.brief {
  position: relative !important;
}

.brief::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(225deg, #D9CDA8 0%, #ECE0BC 32%, #F5EDD8 46%, transparent 50%) !important;
  filter: drop-shadow(-3px 4px 5px rgba(0, 0, 0, 0.22)) !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.brief::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(45deg, #D9CDA8 0%, #ECE0BC 32%, #F5EDD8 46%, transparent 50%) !important;
  filter: drop-shadow(3px -4px 5px rgba(0, 0, 0, 0.22)) !important;
  pointer-events: none !important;
  z-index: 3 !important;
}


/* === SCHRITT 23 OVERRIDES === */

/* 1 Page Curl Effekt komplett deaktivieren */
.brief::before,
.brief::after {
  display: none !important;
}

/* 2 Atemraum unter "Deine Nachricht" Label um 3 Pixel mehr */
.brief__group--textarea .brief__label {
  margin-bottom: 1.7rem !important;
}

/* 3 Telefonnummer 2 Pixel kleiner damit optisch gleich gross wie Name und Email */
.brief__input--script[type="tel"],
#brief-phone {
  font-size: calc(1.75rem - 2px) !important;
}

/* 4 Action Bar ausgewogenes Padding oben und unten */
.brief__actions {
  padding: 3rem 1rem !important;
}
.brief__actions-wrap,
.brief__action-bar,
.kontakt-cta,
.kontakt-footer-cta,
.cta-band,
section:has(> .brief__actions) {
  padding-block: 3rem !important;
}

/* === SCHRITT 24: Box Sizing + Flex Row Overflow Fix === */
.brief__input {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.brief__feld {
  min-width: 0;
}
.brief__feld--row {
  min-width: 0;
}
.brief__feld--row > * {
  min-width: 0;
  flex: 1 1 0;
}

/* === SCHRITT 25: 3 Spalten auf Mobile vertikal stacken === */
@media (max-width: 720px) {
  .brief__feld--row {
    flex-direction: column;
  }
  .brief__feld--row > * {
    width: 100%;
  }
}

/* === SCHRITT 26: Layout Restructure, Hero kompakt, Spacing === */
.brief-scene {
  padding-top: clamp(1.5rem, 4vw, 2.5rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
}
.brief-hero {
  text-align: center;
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}
.brief-hero__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  margin: 0 0 0.5rem !important;
  line-height: 1.1 !important;
}
.brief-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  margin: 0 !important;
}
.brief__themen {
  margin-top: 0 !important;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem) !important;
}
.brief__anrede {
  margin-top: clamp(0.5rem, 2vw, 1rem) !important;
  margin-bottom: clamp(0.75rem, 2vw, 1.25rem) !important;
}

/* === SCHRITT 27: Textarea resize none + Mobile Responsive Mega Fix === */
.brief__textarea {
  resize: none !important;
  box-sizing: border-box !important;
  overflow-y: hidden !important;
}
.brief__datenschutz {
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.brief__datenschutz > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.brief__datenschutz input[type="checkbox"] {
  flex: 0 0 auto;
}
.brief__datenschutz span,
.brief__datenschutz a,
.brief__datenschutz p {
  word-wrap: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}
@media (max-width: 720px) {
  .brief-scene,
  .brief-scene__inner {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .brief {
    padding: clamp(1.25rem, 4vw, 1.75rem) !important;
    box-sizing: border-box;
    max-width: 100%;
  }
  .brief__datenschutz {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .brief-hero__headline {
    font-size: clamp(1.5rem, 6vw, 1.9rem) !important;
  }
  .brief__siegel-liste,
  .brief__siegel,
  .brief__feld,
  .brief__input,
  .brief__textarea,
  .brief__send {
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* === SCHRITT 28: Custom Wachs Siegel Checkbox === */
.brief__datenschutz input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  min-width: 30px;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1.5px solid var(--vr-gold);
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F8F2E4" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'),
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.25) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, #8C2434 0%, #6E1A24 55%, #4D0F18 100%);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: 0% 0%, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.2),
    inset 0 -1px 2px rgba(0,0,0,0.3),
    0 1px 3px rgba(0,0,0,0.35);
  transition:
    background-size 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  flex: 0 0 auto;
  position: relative;
  top: 2px;
}
.brief__datenschutz input[type="checkbox"]:hover {
  transform: scale(1.08);
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    inset 0 -1px 2px rgba(0,0,0,0.3),
    0 3px 8px rgba(110, 26, 36, 0.4);
}
.brief__datenschutz input[type="checkbox"]:active {
  transform: scale(0.92);
}
.brief__datenschutz input[type="checkbox"]:checked {
  background-size: 65% 65%, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.3),
    inset 0 -1px 3px rgba(0,0,0,0.45),
    0 0 0 2px var(--vr-gold),
    0 2px 6px rgba(110, 26, 36, 0.5);
}
.brief__datenschutz input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--vr-gold);
  outline-offset: 3px;
}

/* === SCHRITT 28: Custom Wachs Siegel Checkbox === */
.brief__datenschutz input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  min-width: 30px;
  margin: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1.5px solid var(--vr-gold);
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F8F2E4" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'),
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.25) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, #8C2434 0%, #6E1A24 55%, #4D0F18 100%);
  background-position: center, center, center;
  background-repeat: no-repeat;
  background-size: 0% 0%, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.2),
    inset 0 -1px 2px rgba(0,0,0,0.3),
    0 1px 3px rgba(0,0,0,0.35);
  transition:
    background-size 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  flex: 0 0 auto;
  position: relative;
  top: 2px;
}
.brief__datenschutz input[type="checkbox"]:hover {
  transform: scale(1.08);
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.25),
    inset 0 -1px 2px rgba(0,0,0,0.3),
    0 3px 8px rgba(110, 26, 36, 0.4);
}
.brief__datenschutz input[type="checkbox"]:active {
  transform: scale(0.92);
}
.brief__datenschutz input[type="checkbox"]:checked {
  background-size: 65% 65%, 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.3),
    inset 0 -1px 3px rgba(0,0,0,0.45),
    0 0 0 2px var(--vr-gold),
    0 2px 6px rgba(110, 26, 36, 0.5);
}
.brief__datenschutz input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--vr-gold);
  outline-offset: 3px;
}

/* === SCHRITT 29: Checkbox verstaendlicher als Aufforderung === */
.brief__datenschutz input[type="checkbox"] {
  background-color: var(--vr-papier) !important;
  background-image:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.4) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, var(--vr-papier) 0%, #EFE9D7 100%) !important;
  background-size: 100% 100%, 100% 100% !important;
  border: 2px dashed var(--vr-burgund) !important;
  animation: brief-checkbox-pulse 2.4s ease-in-out infinite !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}
@keyframes brief-checkbox-pulse {
  0%, 100% {
    box-shadow:
      0 1px 3px rgba(0,0,0,0.1),
      0 0 0 0 rgba(110, 26, 36, 0.45);
  }
  55% {
    box-shadow:
      0 1px 3px rgba(0,0,0,0.1),
      0 0 0 9px rgba(110, 26, 36, 0);
  }
}
.brief__datenschutz input[type="checkbox"]:hover {
  border-style: solid !important;
  background-color: #FDFAF0 !important;
  transform: scale(1.1) !important;
  animation: none !important;
}
.brief__datenschutz input[type="checkbox"]:checked {
  background-color: #6E1A24 !important;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23F8F2E4" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>'),
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.25) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, #8C2434 0%, #6E1A24 55%, #4D0F18 100%) !important;
  background-size: 65% 65%, 100% 100%, 100% 100% !important;
  border: 1.5px solid var(--vr-gold) !important;
  animation: none !important;
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,0.3),
    inset 0 -1px 3px rgba(0,0,0,0.45),
    0 0 0 2px var(--vr-gold),
    0 2px 6px rgba(110, 26, 36, 0.5) !important;
}

/* === SCHRITT 30: Inline Einbettung + Zittern weg + 5s Animation === */
.brief__datenschutz {
  display: block !important;
  font-size: 1rem;
  line-height: 1.55;
}
.brief__datenschutz input[type="checkbox"] {
  float: left;
  shape-outside: circle(50%);
  margin: 0.25rem 0.85rem 0.4rem 0;
  top: 0 !important;
  will-change: transform, box-shadow;
  border-width: 2px !important;
  animation: brief-checkbox-attention 5.5s ease-in-out 0.8s infinite !important;
}
@keyframes brief-checkbox-attention {
  0%, 85%, 100% {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 0 rgba(110, 26, 36, 0);
    transform: scale(1);
  }
  90% {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 5px rgba(110, 26, 36, 0.45);
    transform: scale(1.05);
  }
  95% {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 0 0 11px rgba(110, 26, 36, 0);
    transform: scale(1);
  }
}
.brief__datenschutz input[type="checkbox"]:hover {
  border-style: solid !important;
  border-width: 2px !important;
  background-color: #FDFAF0 !important;
  transform: scale(1.04) !important;
  animation-play-state: paused !important;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.15),
    0 0 0 4px rgba(110, 26, 36, 0.2) !important;
}
.brief__datenschutz input[type="checkbox"]:active {
  transform: scale(0.94) !important;
  transition: transform 0.1s ease !important;
}
.brief__datenschutz input[type="checkbox"]:checked {
  border-width: 2px !important;
  animation: none !important;
  transform: scale(1) !important;
}
@media (max-width: 720px) {
  .brief__datenschutz {
    font-size: 0.95rem !important;
  }
  .brief__datenschutz input[type="checkbox"] {
    margin-right: 0.7rem;
  }
}
