/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 23 2026 | 13:40:58 */
/* =====================================================================
   DIE WERKSTATT – globales CSS
   Gebündelt aus allen Lay-HTML-Elementen (Stand 18.11.2026)
   Einbinden über „Simple Custom CSS and JS“:
   Linking type: External File · Where on page: Header · Where in site: Frontend

   Inhalt
   1. Marquee (Footer + Startseite/Café)
   2. Wippe Café/Werkstatt (Header, alle Seiten)
   2b. Wippe über roten Sections
   3. Google-Maps-Button
   4. „Mehr“-Button (Werkstatt)
   5. Kontaktformular
   6. Google-Bewertung (Durchschnitt)
   7. Frühes CTA (Kontakt aufnehmen + Anrufen)
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. MARQUEE
   Die Schriftzüge liegen als SVG-Dateien in der Mediathek
   (dw-marquee-1/2/3.svg). Beim Austauschen URL beibehalten.
   --------------------------------------------------------------------- */

/* Die Fläche hängt direkt in der Lay-Section (Row) – wie Lays eigene Hintergrundfarbe –
   und ist damit immer exakt so groß wie die Section. Nichts ragt hinaus. */
.dw-marquee {
	position: absolute;
	inset: 0;
	overflow: hidden;
	contain: strict;              /* Änderungen bleiben auf diese Fläche beschränkt */
	container-type: size;
	background: var(--mq-bg, transparent);   /* transparent = Hintergrundfarbe der Section aus Lay */
	pointer-events: none;
	z-index: 0;
}
/* Gedrehtes Band, groß genug, um die Section bei -20° immer zu bedecken */
.dw-marquee .dw-marquee__band {
	position: absolute;
	left: 50%; top: 50%;
	width: calc(94cqw + 35cqh + 100px);
	height: calc(35cqw + 94cqh + 100px);
	transform: translate(-50%, -50%) rotate(-20deg);
	margin: 0; padding: 0;
	display: flex; flex-direction: column; justify-content: center;
	overflow: hidden;
}
.mq-line {
	flex: 0 0 auto;
	padding: 4px 0;
	border-bottom: 2px solid #E2281B;
	overflow: hidden;
}
.mq-line:first-child { border-top: 2px solid #E2281B; }
/* Eine Zeile = ein einziges Element mit wiederholtem SVG-Hintergrund */
.mq-strip {
	height: 50.77px;
	width: calc(100% + var(--p));
	background-repeat: repeat-x;
	background-size: var(--p) 50.77px;
	animation: mq-scroll var(--dur, 20s) linear infinite;
	will-change: transform;
}
@keyframes mq-scroll { to { transform: translate3d(calc(-1 * var(--p)), 0, 0); } }
.dw-marquee.is-paused .mq-strip { animation-play-state: paused; }   /* außerhalb des Bildschirms: Pause */
@media (prefers-reduced-motion: reduce) { .mq-strip { animation: none; } }

.mq-p0 { --p: 2051.41px; background-image: url("/wp-content/uploads/2026/11/dw-marquee-1.svg"); }
.mq-p1 { --p: 1933.39px; background-image: url("/wp-content/uploads/2026/11/dw-marquee-2.svg"); }
.mq-p2 { --p: 1766.2px;  background-image: url("/wp-content/uploads/2026/11/dw-marquee-3.svg"); }


/* ---------------------------------------------------------------------
   2. WIPPE CAFÉ / WERKSTATT
   --------------------------------------------------------------------- */
.dw-wippe-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}
.dw-wippe {
  --dw-rot: #DA2114;
  --dw-weiss: #FFFFFF;
  --dw-schwarz: #1D1F08;   /* nur im Hover, wie Google-Maps-Button */
  --dw-squeeze: 0.5;       /* inaktiver Begriff: 50 % Breite */
  --dw-total: 16.25;       /* Gesamtbreite beider Wortbilder in Vielfachen von --dw-h.
                              Bleibt immer gleich – der aktive Begriff füllt den Rest.
                              16.25 = Werkstatt aktiv mit 140 % (wie bisher) */
  --dw-r1: 4.1483;         /* Seitenverhältnis CAFÉ (wie --r im HTML) */
  --dw-r2: 10.1265;        /* Seitenverhältnis WERKSTATT (wie --r im HTML) */
  --dw-h: 10px;            /* Höhe der Großbuchstaben (entspricht 14px Arial Black) */
  --dw-dur: 0.3s;
  --dw-ease: cubic-bezier(0.65, 0, 0.35, 1);
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
}
.dw-wippe .dw-wippe__item {
  /* Breite inaktiv: eigenes Seitenverhältnis × Squeeze
     Breite aktiv: Gesamtbreite minus Breite des anderen (inaktiven) Begriffs */
  --w-in:  calc(var(--dw-h) * var(--r) * var(--dw-squeeze));
  --w-act: calc(var(--dw-h) * (var(--dw-total) - var(--r-other) * var(--dw-squeeze)));
  --w: var(--w-in);
  display: flex;
  align-items: center;
  padding: 12px 18px;
  color: var(--dw-rot);
  background: var(--dw-weiss);
  text-decoration: none;
  position: relative;
  border: 1.75px solid var(--dw-rot);
  overflow: visible;
}
.dw-wippe .dw-wippe__item + .dw-wippe__item { margin-left: -1px; } /* gemeinsame Mittellinie */
.dw-wippe .dw-wippe__item:first-child { --r-other: var(--dw-r2); }
.dw-wippe .dw-wippe__item:last-child  { --r-other: var(--dw-r1); }
.dw-wippe .dw-wippe__item.is-active {
  --w: var(--w-act);
  color: var(--dw-weiss);
  background: var(--dw-rot);
}
.dw-wippe .dw-wippe__item:focus-visible { outline: 2px solid var(--dw-rot); outline-offset: 3px; }

/* Wortbild: Breite = Höhe × Seitenverhältnis × Faktor → staucht/streckt rein horizontal */
.dw-wippe .dw-wippe__svg {
  display: block;
  height: var(--dw-h);
  width: var(--w);
  overflow: visible;        /* Akzent auf dem É darf über die Versalhöhe ragen */
}
/* ohne JS: beide Begriffe normal breit */
.dw-wippe:not(.is-ready) .dw-wippe__item { --w: calc(var(--dw-h) * var(--r)); }

/* Text für Screenreader & Suchmaschinen */
.dw-wippe .dw-wippe__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Übergänge erst nach dem ersten Setzen, damit beim Laden nichts animiert */
.dw-wippe.is-anim .dw-wippe__item {
  transition: background-color var(--dw-dur) var(--dw-ease), color var(--dw-dur) var(--dw-ease),
              border-color var(--dw-dur) var(--dw-ease);
}
.dw-wippe.is-anim .dw-wippe__svg { transition: width var(--dw-dur) var(--dw-ease); }

/* Hover: der andere Bereich nimmt den aktiven Zustand ein */
@media (hover: hover) {
  .dw-wippe.is-ready .dw-wippe__item:not(.is-active):hover {
    --w: var(--w-act);
    color: var(--dw-rot);
    background: var(--dw-schwarz);
    border-color: var(--dw-schwarz);
    z-index: 1;
  }
  .dw-wippe.is-ready .dw-wippe__item.is-active:hover {
    color: var(--dw-rot);
    background: var(--dw-schwarz);
    border-color: var(--dw-schwarz);
    z-index: 1;
  }
  .dw-wippe.is-ready:has(.dw-wippe__item:not(.is-active):hover) .dw-wippe__item.is-active {
    --w: var(--w-in);
    color: var(--dw-rot);
    background: var(--dw-weiss);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dw-wippe, .dw-wippe * { transition: none !important; }
}

/* ---------------------------------------------------------------------
   2b. WIPPE ÜBER ROTEN SECTIONS
   Das JS setzt .is-on-red, solange die Wippe über einer roten Lay-Row liegt.
   Dort trägt der aktive Begriff die Hover-Farben (schwarz, rote Schrift).
   Kontur: schwarze Fläche = schwarze Kontur, weiße Fläche = rote Kontur.
   Die innere Kante (wo Café und Werkstatt sich treffen) entfällt.
   Hover funktioniert wie überall.
   --------------------------------------------------------------------- */
.dw-wippe.is-on-red .dw-wippe__item {
  border-color: var(--dw-rot);
}
.dw-wippe.is-on-red .dw-wippe__item.is-active {
  color: var(--dw-rot);
  background: var(--dw-schwarz);
  border-color: var(--dw-schwarz);
}
/* Hover auf den anderen Begriff: aktiver Begriff wird weiß → Kontur wieder rot */
.dw-wippe.is-on-red.is-ready:has(.dw-wippe__item:not(.is-active):hover) .dw-wippe__item.is-active {
  border-color: var(--dw-rot);
}
/* Innere Kante ohne Kontur. Transparent statt 0, damit nichts springt:
   die Fläche läuft unter dem Rand durch. */
.dw-wippe.is-on-red .dw-wippe__item:has(+ .dw-wippe__item) { border-right-color: transparent !important; }
.dw-wippe.is-on-red .dw-wippe__item + .dw-wippe__item      { border-left-color: transparent !important; }


/* ---------------------------------------------------------------------
   3. GOOGLE-MAPS-BUTTON
   --------------------------------------------------------------------- */
.maps-btn-2 {
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(1em + 24px);   /* gleiche Höhe wie die Textversion: 18px Zeile + 2×10px Padding + 2×2px Rahmen */
  border: 2px solid #E2281B;
  background-color: transparent;
  color: #E2281B;
  padding: 10px 15px;
  font-size: 18px;                /* Referenzgröße – bestimmt die Versalhöhe der SVG */
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* SVG-Höhe = Versalhöhe Arial Black bei 18px (0,716 em) × 139/133,6 (Überhang des „G“)
   × 147/139 (4 Einheiten Luft oben/unten in der viewBox, damit keine Rundung abgeschnitten wird) */
.maps-btn-2 .maps-btn__svg {
  display: block;
  height: 0.7884em;
  width: auto;
  aspect-ratio: 2629 / 147;
  overflow: visible;
  max-width: 100%;
  flex: 0 1 auto;
}
/* Text für Screenreader & Suchmaschinen */
.maps-btn-2 .maps-btn__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Hover: Fläche schwarz, SVG bleibt rot */
.maps-btn-2:hover,
.maps-btn-2:focus-visible {
  background-color: #1D1F08;
  border: 2px solid #1D1F08;
  color: #E2281B;
  outline: none;
}


/* ---------------------------------------------------------------------
   4. „MEHR“-BUTTON
   Breite = Breite der Lay-Spalte (über die Guides einstellen)
   --------------------------------------------------------------------- */
.mehr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: calc(1em + 24px);   /* gleiche Höhe wie die Textversion: 18px Zeile + 2×10px Padding + 2×2px Rahmen */
  border: 2px solid #E2281B;
  background-color: transparent;
  color: #E2281B;
  padding: 10px 15px;
  font-size: 18px;                /* Referenzgröße – bestimmt die Versalhöhe der SVG */
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* SVG-Höhe = Versalhöhe Arial Black bei 18px (0,716 em) × 139/133,6 (Überhang des „G“)
   × 147/139 (4 Einheiten Luft oben und unten in der viewBox, damit keine Rundung abgeschnitten wird) */
.mehr-btn .mehr-btn__svg {
  display: block;
  height: 0.7884em;
  width: auto;
  max-width: 100%;               /* schmaler als der Schriftzug: SVG verkleinert sich proportional */
  flex: 0 1 auto;
  overflow: visible;
}
/* Optional: Schriftzug füllt die ganze Button-Breite – Klasse "mehr-btn--fill" am <a> ergänzen */
.mehr-btn.mehr-btn--fill .mehr-btn__svg {
  width: 100%;
  height: auto;
}
/* Text für Screenreader & Suchmaschinen */
.mehr-btn .mehr-btn__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Hover: Fläche schwarz, SVG bleibt rot */
.mehr-btn:hover,
.mehr-btn:focus-visible {
  background-color: #1D1F08;
  border: 2px solid #1D1F08;
  color: #E2281B;
  outline: none;
}


/* ---------------------------------------------------------------------
   5. KONTAKTFORMULAR
   --------------------------------------------------------------------- */
.dw-form {
  --dw-rot: #E52421;
  --dw-weiss: #FFFFFF;
  --dw-schwarz: #1D1F08;
  --dw-linie: 2px;        /* Konturstärke für alle Felder, Buttons und die Checkbox */
  --dw-x: 1.3;            /* Arial Bold horizontal gestreckt: 130 % */
  --dw-btn-fs: 13px;      /* Schriftgröße aller Buttons – bestimmt auch die Versalhöhe der SVG */
  --dw-btn-plus: 4px;     /* SVG „Anfrage senden“: Versalhöhe so viel höher als bei den anderen Buttons */
  --dw-dur: 0.3s;
  --dw-ease: cubic-bezier(0.65, 0, 0.35, 1);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  color: var(--dw-rot);
  font-family: Arial, "Helvetica Neue", sans-serif;
}
.dw-form *, .dw-form *::before, .dw-form *::after { box-sizing: border-box; }

.dw-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.dw-form__full { grid-column: 1 / -1; }

.dw-form__label,
.dw-form legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dw-rot);
}
.dw-form__opt { font-family: Arial, sans-serif; font-weight: 400; text-transform: none; letter-spacing: 0; }

.dw-form input[type="text"],
.dw-form input[type="tel"],
.dw-form input[type="email"],
.dw-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 14px;
  border: var(--dw-linie) solid var(--dw-rot);
  border-radius: 0;
  background: var(--dw-weiss);
  color: var(--dw-rot);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;               /* verhindert Auto-Zoom auf iPhone */
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--dw-dur) var(--dw-ease);
}
.dw-form textarea { min-height: 150px; resize: vertical; }
.dw-form input:focus,
.dw-form textarea:focus { outline: none; border-color: var(--dw-schwarz); }
.dw-form input::placeholder,
.dw-form textarea::placeholder { color: #F29290; opacity: 1; }  /* Platzhalter: helles Rot, deckend (sieht aus wie Rot 50 % auf Weiss) */
.dw-form .is-invalid { border-color: var(--dw-rot) !important; background: #FDEBEA !important; }

/* Anliegen: Auswahl im Stil der Wippe */
.dw-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.dw-form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dw-form__chip { position: relative; display: block; cursor: pointer; }
.dw-form__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dw-form__chip > span {
  display: block;
  padding: 11px 35px;
  border: var(--dw-linie) solid var(--dw-rot);
  background: var(--dw-weiss);
  color: var(--dw-rot);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: var(--dw-btn-fs);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--dw-dur) var(--dw-ease), color var(--dw-dur) var(--dw-ease),
              border-color var(--dw-dur) var(--dw-ease);
}
.dw-form__chip input:checked + span { background: var(--dw-rot); color: var(--dw-weiss); }
.dw-form__chip input:focus-visible + span { outline: 2px solid var(--dw-rot); outline-offset: 3px; }
@media (hover: hover) {
  .dw-form__chip:hover > span { background: var(--dw-schwarz); border-color: var(--dw-schwarz); color: var(--dw-rot); }
}

/* Einwilligung */
.dw-form__consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.45; color: var(--dw-rot); cursor: pointer;
}
.dw-form__consent input {
  -webkit-appearance: none; appearance: none;
  flex: 0 0 auto; width: 20px; height: 20px; margin: 0;
  border: var(--dw-linie) solid var(--dw-rot); border-radius: 0; background: var(--dw-weiss);
  cursor: pointer; display: grid; place-content: center;
}
.dw-form__consent input::after { content: ""; width: 10px; height: 10px; background: var(--dw-rot); transform: scale(0); transition: transform 0.15s; }
.dw-form__consent input:checked::after { transform: scale(1); }
.dw-form__consent input:focus-visible { outline: 2px solid var(--dw-rot); outline-offset: 3px; }
.dw-form__consent a { color: var(--dw-rot); }
.dw-form__consent a:hover { color: var(--dw-schwarz); }

.dw-form__note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--dw-rot); }

/* Buttons „Anfrage senden“ + „Ruf’s an“: nebeneinander, gleich breit (max. 400 px) und gleich hoch */
.dw-form__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }   /* gleicher Abstand wie bei den Anliegen-Buttons */

/* Senden: im Stil des Google-Maps-Buttons */
.dw-form__submit {
  -webkit-appearance: none; appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 400px;     /* gleiche Breite wie der Google-Maps-Button */
  margin: 0;
  padding: 12px 50px;
  border: var(--dw-linie) solid var(--dw-rot);
  border-radius: 0;
  background: var(--dw-rot);      /* umgekehrt: rote Fläche, weiße Schrift */
  color: var(--dw-weiss);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: var(--dw-btn-fs);  /* gleiche Größe wie die Anliegen-Buttons */
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dw-form__submit:hover,
.dw-form__submit:focus-visible { background: var(--dw-schwarz); border-color: var(--dw-schwarz); color: var(--dw-rot); outline: none; }
.dw-form__submit[disabled] { cursor: wait; }
/* Versalhöhe der SVG = Versalhöhe der Buttons (Arial 0,716 em) + --dw-btn-plus; × 139/133,6 wegen Überhang des „G“ */
.dw-form__submit-svg { display: block; height: calc((0.7163em + var(--dw-btn-plus)) * 1.0407); width: auto; aspect-ratio: 1652 / 139;
  flex: 0 1 auto; max-width: 100%;   /* wie der Anruf-Button: wird der Button schmaler, verkleinert sich der Schriftzug proportional */
  overflow: visible;          /* Rundungen an der Unterkante nicht abschneiden (Pixel-Rundung) */
  max-height: none; vertical-align: top; }  /* gegen globale Theme-Regeln für svg/img */
/* „Kontakt aufnehmen“ hat ein eigenes Seitenverhältnis */
.dw-cta .dw-form__submit-svg { aspect-ratio: 2069 / 139; }

/* Anruf-Button rechts neben „Anfrage senden“ */
.dw-form__actions .dw-form__submit,
.dw-form__call { flex: 1 1 0; min-width: 0; max-width: 400px; min-height: 43px; }   /* auch untereinander gleich hoch */
.dw-form__actions .dw-form__status { flex: 1 1 100%; }
.dw-form__call {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 50px;
  border: var(--dw-linie) solid var(--dw-rot);
  border-radius: 0;
  background: transparent;        /* rote Kontur, rote Schrift */
  color: var(--dw-rot);
  font-size: var(--dw-btn-fs);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.dw-form__call:hover,
.dw-form__call:focus-visible { background: var(--dw-schwarz); border-color: var(--dw-schwarz); color: var(--dw-rot); outline: none; }
/* gleiche Versalhöhe wie „Anfrage senden“; × 147/133,6 wegen 4 Einheiten Luft in der viewBox */
.dw-form__call-svg { display: block; height: calc((0.7163em + var(--dw-btn-plus)) * 1.1006); width: auto; aspect-ratio: 1657 / 147;
  flex: 0 1 auto; max-width: 100%; max-height: none; overflow: visible; vertical-align: top; }
.dw-form__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.dw-form__status { margin: 0; font-size: 15px; line-height: 1.45; color: var(--dw-rot); }
.dw-form__status:empty { display: none; }
.dw-form__status.is-error { color: var(--dw-rot); font-weight: 700; }

/* Strecken: Breite wird per JS gemessen, ohne JS normale Arial Bold */
.dw-form .dw-x { display: inline-block; white-space: nowrap; text-align: left; transform-origin: left center; }
.dw-form .dw-x.is-x { transform: scaleX(var(--dw-x)); }

.dw-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.dw-form__done { display: none; padding: 32px 0; text-align: center; }
.dw-form__done-title {
  margin: 0 0 12px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-weight: 700;
  font-size: 40px; line-height: 0.9; text-transform: uppercase; color: var(--dw-rot);
}
.dw-form__done p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--dw-rot); }
.dw-form.is-sent .dw-form__grid { display: none; }
.dw-form.is-sent .dw-form__done { display: block; }

@media (max-width: 600px) {
  .dw-form__grid { grid-template-columns: minmax(0, 1fr); }
  .dw-form__submit { width: 100%; max-width: 400px; }
  .dw-form__actions .dw-form__submit,
  .dw-form__call { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dw-form, .dw-form * { transition: none !important; }
}


/* ---------------------------------------------------------------------
   6. GOOGLE-BEWERTUNG
   Grösse folgt dem Lay-Format "Default":
   Desktop clamp(18px, 1.25vw, 24px) · Tablet 20px · Phone 18px
   --dw-rating-faktor = Verhältnis zum Fliesstext
   --------------------------------------------------------------------- */
.dw-rating {
  --dw-rating-faktor: 0.9;
  --dw-rating-basis: clamp(18px, 1.25vw, 24px);
  display: flex;
  align-items: center;
  gap: 0.555em;                 /* = 12px bei 21,6px */
  width: fit-content;
  margin-left: auto;
  padding: 0;
  border: 0;
  color: #E2281B;
  text-decoration: none;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: calc(var(--dw-rating-basis) * var(--dw-rating-faktor));
  line-height: 1;
  transition: color .2s ease;
}
@media (max-width: 1024px) { .dw-rating { --dw-rating-basis: 20px; } }
@media (max-width: 600px)  { .dw-rating { --dw-rating-basis: 18px; } }

.dw-rating__stars { letter-spacing: 0.111em; }   /* = 2,4px bei 21,6px */
.dw-rating__value { --x: 1.6; }
.dw-rating__count { --x: 0.8; text-transform: uppercase; }
.dw-rating__value,
.dw-rating__count {
  display: inline-block;
  white-space: nowrap;
  transform-origin: left center;
}
.dw-rating .is-x { transform: scaleX(var(--x)); }

.dw-rating__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.dw-rating:hover,
.dw-rating:focus-visible { color: #1D1F08; outline: none; }



/* ---------------------------------------------------------------------
   7. FRÜHES CTA (nach der Hero-Section)
   Dieselben Buttons wie im Formular. Breite = Breite der Lay-Spalte
   (über die Guides im Gridder einstellen).
   „Kontakt aufnehmen“ springt zu #kontakt (Formular, per JS Abschnitt 6).
   --------------------------------------------------------------------- */
.dw-cta {
  --dw-rot: #E52421;
  --dw-weiss: #FFFFFF;
  --dw-schwarz: #1D1F08;
  --dw-linie: 2px;
  --dw-btn-fs: 13px;
  --dw-btn-plus: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;                      /* gleicher Abstand wie im Formular */
  width: 100%;                   /* Breite = Breite der Lay-Spalte */
}
.dw-cta > .dw-form__submit,
.dw-cta > .dw-form__call {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;               /* keine 400-px-Grenze wie im Formular */
  min-height: 43px;
  text-decoration: none;
}



/* ---------------------------------------------------------------------
   8. BUTTONS AUF KLEINEREN DESKTOPS (z. B. MacBook 13")
   Fliessend: ab 1920 px Breite 100 %, bis 1440 px abwärts 80 %.
   Tablet und Phone (≤ 1024 px) behalten die Originalgrössen.
   Innenabstände und Mindesthöhen sind in em, damit sie mitwachsen.
   Formel: Basis × (0,2 + Breite / 2400) → zwischen 80 % und 100 %
   --------------------------------------------------------------------- */
@media (min-width: 1025px) {
  /* Google-Maps- und Mehr-Buttons (Basis 18px) */
  .maps-btn-2,
  .mehr-btn {
    font-size: clamp(14.4px, 3.6px + 0.75vw, 18px);
    padding: 0.5556em 0.8333em;            /* = 10px 15px bei 18px */
    min-height: 2.3333em;                  /* = 1em + 24px bei 18px */
  }

  /* Formular-Buttons, Anliegen-Auswahl und frühes CTA (Basis 13px) */
  .dw-form,
  .dw-cta {
    --dw-btn-fs: clamp(10.4px, 2.6px + 0.5417vw, 13px);
    --dw-btn-plus: clamp(3.2px, 0.8px + 0.1667vw, 4px);
  }
  .dw-form__chip > span { padding: 0.8462em 2.6923em; }     /* = 11px 35px bei 13px */
  .dw-form__submit,
  .dw-form__call { padding: 0.9231em 3.8462em; }             /* = 12px 50px bei 13px */
  .dw-form__actions .dw-form__submit,
  .dw-form__call,
  .dw-cta > .dw-form__submit,
  .dw-cta > .dw-form__call { min-height: 3.3077em; }         /* = 43px bei 13px */
}



/* ---------------------------------------------------------------------
   9. COOKIE-BANNER (Real Cookie Banner) IM DW-STIL
   Das Plugin vergibt zufällige Klassennamen (af16c-…), die sich bei
   Updates ändern. Die Regeln greifen deshalb nur über stabile Merkmale:
   <dialog data-nosnippet aria-modal>, role="heading", role="button".
   !important ist nötig, weil das Plugin seine Stile sehr spezifisch setzt.

   Buttons
   · Startansicht: „Alle akzeptieren“ + „Weiter ohne Einwilligung“
     gleichwertig als rote Buttons, „Individuell festlegen“ als Textlink
   · Individuelle Einstellungen: alle drei Aktionen als rote Buttons,
     „Service-Informationen anzeigen“ als Textlink
   --------------------------------------------------------------------- */
dialog[data-nosnippet][aria-modal] {
  --cb-rot: #E2281B;
  --cb-schwarz: #1D1F08;
  --cb-weiss: #FFFFFF;
  --cb-linie: 2px;
}

/* Keine Abdunkelung hinter dem Banner (nur 100 % Deckkraft, keine Transparenzen) */
div:has(> dialog[data-nosnippet][aria-modal]) {
  background-color: transparent !important;
}
/* Alles mit 100 % Deckkraft – das Plugin blendet z. B. die Pflicht-Checkbox „Essenziell“ auf 50 % ab */
dialog[data-nosnippet][aria-modal],
dialog[data-nosnippet][aria-modal] *,
.rcb-content-blocker,
.rcb-content-blocker * {
  opacity: 1 !important;
}

/* Schrift überall: Arial, Markenrot, linksbündig, rote Linien */
dialog[data-nosnippet][aria-modal],
dialog[data-nosnippet][aria-modal] * {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  color: var(--cb-rot) !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  border-color: var(--cb-rot) !important;
}

/* Box: eckig, rote Kontur, kein Schatten */
dialog[data-nosnippet][aria-modal] > div {
  border: var(--cb-linie) solid var(--cb-rot) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--cb-weiss) !important;
}
dialog[data-nosnippet][aria-modal] > div div { border-radius: 0 !important; }
dialog[data-nosnippet][aria-modal] > div > div > div { background: var(--cb-weiss) !important; }

/* Trennlinien */
dialog[data-nosnippet][aria-modal] div[aria-hidden="true"]:empty {
  background: var(--cb-rot) !important;
  height: var(--cb-linie) !important;
  opacity: 1 !important;
}

/* Überschrift: Arial Bold, horizontal 130 % gestreckt, Versalien.
   Breite = verfügbare Breite (minus 40px für das X) ÷ 1,3 – nach dem Strecken
   füllt die Zeile genau die Box. */
dialog[data-nosnippet][aria-modal] [role="heading"] {
  --cb-x: 1.3;
  box-sizing: border-box !important;
  width: calc((100% - 40px) / var(--cb-x)) !important;
  padding-right: 0 !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  transform: scaleX(var(--cb-x)) !important;
  transform-origin: left center !important;
}
dialog[data-nosnippet][aria-modal] div:has(> [role="heading"]),
dialog[data-nosnippet][aria-modal] div:has(> div > [role="heading"]) {
  justify-content: flex-start !important;
}

/* Fliesstext */
dialog[data-nosnippet][aria-modal] p {
  font-size: 13px !important;
  line-height: 1.45 !important;
}
dialog[data-nosnippet][aria-modal] p a {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* --- Grundform aller Aktionen: Textlink ------------------------------ */
dialog[data-nosnippet][aria-modal] a[role="button"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  padding: 6px 0 !important;
  border: var(--cb-linie) solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: background-color .2s, color .2s, border-color .2s !important;
}
dialog[data-nosnippet][aria-modal] a[role="button"] * {
  font-weight: 700 !important;
  font-size: 13px !important;
  color: inherit !important;
  text-transform: inherit !important;
  text-align: inherit !important;
}
dialog[data-nosnippet][aria-modal] a[role="button"]:hover,
dialog[data-nosnippet][aria-modal] a[role="button"]:focus-visible {
  color: var(--cb-schwarz) !important;
  outline: none !important;
}

/* --- Button-Gruppe (3 Aktionen nebeneinander/untereinander): rote Buttons --- */
dialog[data-nosnippet][aria-modal] div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"] {
  display: flex !important;
  justify-content: center !important;
  min-height: 43px !important;
  padding: 12px 20px !important;
  border-color: var(--cb-rot) !important;
  background: var(--cb-rot) !important;
  color: var(--cb-weiss) !important;
  text-align: center !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}
dialog[data-nosnippet][aria-modal] div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:hover,
dialog[data-nosnippet][aria-modal] div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:focus-visible {
  background: var(--cb-schwarz) !important;
  border-color: var(--cb-schwarz) !important;
  color: var(--cb-rot) !important;
}

/* Startansicht (noch keine Checkboxen): 3. Aktion „Individuell festlegen“ als Textlink */
dialog[data-nosnippet][aria-modal]:not(:has(input[type="checkbox"])) div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:nth-child(3) {
  display: inline-flex !important;
  justify-content: flex-start !important;
  min-height: 0 !important;
  padding: 6px 0 !important;
  border-color: transparent !important;
  background: transparent !important;
  color: var(--cb-rot) !important;
  text-align: left !important;
  text-transform: none !important;
  text-decoration: underline !important;
}
dialog[data-nosnippet][aria-modal]:not(:has(input[type="checkbox"])) div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:nth-child(3):hover,
dialog[data-nosnippet][aria-modal]:not(:has(input[type="checkbox"])) div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:nth-child(3):focus-visible {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--cb-schwarz) !important;
}

/* Fusszeile: Datenschutz • Impressum */
dialog[data-nosnippet][aria-modal] a[rel="noopener"] {
  font-size: 12px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
dialog[data-nosnippet][aria-modal] a[rel="noopener"]:hover { color: var(--cb-schwarz) !important; }

/* Checkboxen */
dialog[data-nosnippet][aria-modal] input[type="checkbox"] { accent-color: var(--cb-rot); }

/* --- Graue Linien des Plugins entfernen ------------------------------
   (Trennlinien unter der Überschrift und über der Fusszeile sind
   ::after-Elemente des Plugins) */
dialog[data-nosnippet][aria-modal] div:not([class*="hint--"])::after,
dialog[data-nosnippet][aria-modal] div::before,
.rcb-content-blocker div::after,
.rcb-content-blocker div::before {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
dialog[data-nosnippet][aria-modal] div { box-shadow: none !important; }
dialog[data-nosnippet][aria-modal] div[aria-hidden="true"]:empty {
  display: none !important;
}

/* --- Buttons an die untere Kante -----------------------------------
   In den individuellen Einstellungen stehen die Buttons sonst oben rechts. */
dialog[data-nosnippet][aria-modal] div:has(> div > a[role="button"] ~ a[role="button"] ~ a[role="button"]) {
  display: flex !important;
  flex-direction: column !important;
}
dialog[data-nosnippet][aria-modal] div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) {
  order: 99 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* --- Fusszeile Datenschutz · Impressum: wie im Website-Footer --------- */
dialog[data-nosnippet][aria-modal] a[rel="noopener"] {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: -0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}
dialog[data-nosnippet][aria-modal] a[rel="noopener"]:hover,
dialog[data-nosnippet][aria-modal] a[rel="noopener"]:focus-visible {
  color: var(--cb-schwarz) !important;
  text-decoration: none !important;
}
/* Trennzeichen „•“ → „·“ wie im Footer */
dialog[data-nosnippet][aria-modal] a[rel="noopener"] + span[aria-hidden="true"] {
  font-size: 0 !important;
}
dialog[data-nosnippet][aria-modal] a[rel="noopener"] + span[aria-hidden="true"]::after {
  content: "·";
  margin: 0 4px;
  font-size: 12px;
  font-weight: 700;
}

/* --- Checkboxen wie im Kontaktformular ------------------------------- */
dialog[data-nosnippet][aria-modal] label > input[type="checkbox"] + div[aria-hidden="true"] {
  box-sizing: border-box !important;
  display: inline-grid !important;
  place-content: center !important;
  vertical-align: middle !important;
  width: 20px !important;
  height: 20px !important;
  border: var(--cb-linie) solid var(--cb-rot) !important;
  border-radius: 0 !important;
  background: var(--cb-weiss) !important;
  box-shadow: none !important;
}
dialog[data-nosnippet][aria-modal] label > input[type="checkbox"] + div[aria-hidden="true"] svg {
  display: none !important;
}
dialog[data-nosnippet][aria-modal] label > input[type="checkbox"] + div[aria-hidden="true"]::after {
  content: "" !important;
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  background: var(--cb-rot) !important;
  transform: scale(0);
  transition: transform .15s;
}
dialog[data-nosnippet][aria-modal] label > input[type="checkbox"]:checked + div[aria-hidden="true"]::after {
  transform: scale(1);
}
dialog[data-nosnippet][aria-modal] label > input[type="checkbox"]:focus-visible + div[aria-hidden="true"] {
  outline: 2px solid var(--cb-rot) !important;
  outline-offset: 3px;
}

/* --- Schliessen: nur ein rotes X, 2px Strich, ohne Kasten ------------- */
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"] {
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"] > span > span {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 2px !important;
  height: 28px !important;
  margin: -14px 0 0 -1px !important;
  background: var(--cb-rot) !important;
  transform: rotate(45deg) !important;
  transform-origin: 50% 50% !important;
  transition: background-color .2s;
}
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"] > span > span + span {
  transform: rotate(-45deg) !important;
}
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"]:hover > span > span {
  background: var(--cb-schwarz) !important;
}
/* Tooltip „Schließen ohne Speichern“ ausblenden (bleibt für Screenreader) */
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"]::before,
dialog[data-nosnippet][aria-modal] [aria-label^="Schließen"]::after {
  display: none !important;
}

/* --- Button-Texte: Arial Bold, horizontal 130 % gestreckt --------------
   Nur die roten bzw. weissen Buttons, nicht die Textlinks. Der Text bekommt
   die Button-Breite ÷ 1,3 und wird aus der Mitte gestreckt – so passt er auch
   auf schmalen Phones und darf notfalls zweizeilig umbrechen. */
dialog[data-nosnippet][aria-modal] div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"] > span,
.rcb-content-blocker a[role="button"]:not([aria-expanded]) > span {
  display: block !important;
  width: calc(100% / 1.3) !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-weight: 700 !important;
  transform: scaleX(1.3) !important;
  transform-origin: center center !important;
}
/* Startansicht: „Individuell festlegen“ ist ein Textlink → nicht strecken */
dialog[data-nosnippet][aria-modal]:not(:has(input[type="checkbox"])) div:has(> a[role="button"] ~ a[role="button"] ~ a[role="button"]) > a[role="button"]:nth-child(3) > span {
  display: inline !important;
  width: auto !important;
  margin: 0 !important;
  text-align: left !important;
  transform: none !important;
}

/* --- Content-Blocker (Platzhalter für das Vimeo-Video) -------------------
   .rcb-content-blocker ist eine feste Klasse des Plugins. Der Platzhalter
   füllt die Fläche des Videos (3:2 wie das Vimeo-Element): weisse Fläche,
   Texte und Linien rot – wie der Cookie-Banner. */
.ph:has(> .rcb-content-blocker) {
  padding-bottom: 66.6667% !important;   /* Seitenverhältnis des Videos */
}
.ph > .rcb-content-blocker {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFFFFF !important;
}
.rcb-content-blocker,
.rcb-content-blocker * {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  color: #E2281B !important;
  letter-spacing: 0 !important;
  border-color: #E2281B !important;
}
.rcb-content-blocker div {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.rcb-content-blocker > div { width: 100%; max-width: 640px; padding: 24px; box-sizing: border-box; }
.rcb-content-blocker [role="heading"] {
  --cb-x: 1.3;
  width: calc(100% / var(--cb-x)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  transform: scaleX(var(--cb-x)) !important;
  transform-origin: center center !important;
}
.rcb-content-blocker p {
  font-size: 12px !important;
  line-height: 1.45 !important;
}
.rcb-content-blocker p a { text-decoration: underline !important; }
.rcb-content-blocker div[aria-hidden="true"]:empty { background: #E2281B !important; }
/* „Zeige alle Services …“: Textlink */
.rcb-content-blocker a[role="button"][aria-expanded] {
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-decoration: underline !important;
}
/* „Services akzeptieren und Inhalte laden“: roter Button, weisse Schrift */
.rcb-content-blocker a[role="button"]:not([aria-expanded]) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 43px !important;
  padding: 12px 20px !important;
  border: 2px solid #E2281B !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #E2281B !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background-color .2s, color .2s, border-color .2s !important;
}
.rcb-content-blocker a[role="button"]:not([aria-expanded]) * {
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.rcb-content-blocker a[role="button"]:not([aria-expanded]):hover,
.rcb-content-blocker a[role="button"]:not([aria-expanded]):focus-visible {
  background: #1D1F08 !important;
  border-color: #1D1F08 !important;
  color: #E2281B !important;
  outline: none !important;
}

/* ===== DW Leistungs-Kacheln (Auto / Motorrad / Oldtimer & Sportwagen) =====
   Gilt für jede Lay-Spalte mit einem Stack, in dem ein „mehr-btn“ steckt. */

/* Ganze Kachel klickbar (per JS, siehe kacheln.js) – der Button bleibt ein eigener Link mit eigenem Hover */
#grid .col:has(> .stack-wrap a.mehr-btn) { cursor: pointer; }

/* Abstände innerhalb der Kachel */
#grid .col:has(> .stack-wrap a.mehr-btn) > .stack-wrap > .stack-element:nth-child(2) > .col { padding-top: 6px; }  /* Headline → Subline */
#grid .col:has(> .stack-wrap a.mehr-btn) > .stack-wrap > .stack-element:nth-child(3) > .col { padding-top: 14px; } /* Subline → Text */

/* Headline oben ausrichten: die erste Zeile aller h3 steht auf derselben Grundlinie,
   zweizeilige Titel laufen nach unten weiter (Subline darunter bleibt in allen Kacheln auf einer Höhe) */
#grid .col:has(> .stack-wrap a.mehr-btn) > .stack-wrap > .stack-element:nth-child(1) > .col {
  display: flex; flex-direction: column; justify-content: flex-start;
}

/* Hover: rote Fläche wird nur eingeblendet (300ms), Größe bleibt gleich.
   Die Fläche ragt rundum gleich weit über die Kachel hinaus: --dw-tile-side = halbe Lücke
   zur Nachbarkachel (setzt das Script, passt sich der Bildschirmbreite an). */
#grid .col:has(> .stack-wrap a.mehr-btn) {
  isolation: isolate;                            /* Fläche liegt hinter dem Inhalt, aber über der Row */
}
#grid .col:has(> .stack-wrap a.mehr-btn)::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(-1 * var(--dw-tile-side, 6px)); right: calc(-1 * var(--dw-tile-side, 6px));
  top: calc(-1 * var(--dw-tile-side, 6px));
  bottom: calc(-1 * var(--dw-tile-side, 6px));
  background-color: #E2281B;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#grid .col:has(> .stack-wrap a.mehr-btn) * {
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  #grid .col:has(> .stack-wrap a.mehr-btn):hover::before { opacity: 1; }
  #grid .col:has(> .stack-wrap a.mehr-btn):hover * { color: #1D1F08 !important; }
  #grid .col:has(> .stack-wrap a.mehr-btn):hover a.mehr-btn {
    border-color: #1D1F08 !important; background-color: transparent !important;
  }
  /* Button selbst gehovert: sein eigener Zustand (Schwarz, SVG Rot) */
  #grid .col:has(> .stack-wrap a.mehr-btn):hover a.mehr-btn:hover {
    background-color: #1D1F08 !important; border-color: #1D1F08 !important; color: #E2281B !important;
  }
  #grid .col:has(> .stack-wrap a.mehr-btn):hover a.mehr-btn:hover * { color: #E2281B !important; }
}