/* Clarity – Kontaktbereich (draggo_clarity_contact)
   1:1 nach Startseite Abschnitt 10. Ohne JS (Editor-Arbeitsfläche) steht der Kreis im
   Endzustand (nicht gezoomt) und der Nebentext an der Standardposition.
   Textteile mit Spezifität (0,1,2) ("div h2.teil"): über .draggo-canvas h2/p (0,1,1), unter den Stil-Tab-Teilen (0,2,0). */
.cl-contact { display: flow-root; position: relative; z-index: 3; background-color: var(--cl-ct-bg, #010317); background-image: var(--cl-ct-img, none); background-size: cover; background-position: center; background-repeat: no-repeat; }
.cl-contact__inner { position: relative; box-sizing: border-box; max-width: 1400px; margin: 0 auto; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cl-ct-circle, #e10419); }
.cl-contact__inner.is-overlap { margin-top: -100px; }
.cl-contact__circle { position: relative; box-sizing: border-box; flex: 0 0 auto; width: 100%; max-width: 500px; margin: 0 0 0 -70px; padding: 60px 60px 40px; border-radius: 500px; background: var(--cl-ct-circle, #e10419); text-align: center; overflow: hidden; will-change: transform; transform-origin: center center; }
.cl-contact__touch { position: relative; box-sizing: border-box; flex: 1 1 auto; width: auto; margin: 190px 0 0 -50px; padding: 0; }

div h3.cl-contact__formtitle { margin: 0 0 35px; padding: 0; color: #fff; font-family: var(--cl-display); font-size: 36px; line-height: 1.27; font-weight: 500; text-transform: capitalize; }
div h2.cl-contact__title { margin: 0; padding: 0; color: #e10419; font-family: var(--cl-display); font-size: 72px; line-height: 72px; font-weight: 500; text-transform: capitalize; }
.cl-contact .cl-contact__title span { font-family: inherit; font-weight: inherit; }
.cl-contact .cl-contact__l1 { display: inline-block; }
.cl-contact .cl-contact__l2 { display: table; margin: 10px auto 0; }
.cl-contact .cl-contact__text { position: absolute; top: 0; left: calc(var(--cl-ct-l1, 359px) + 80px); }
div .cl-contact__text p { margin: 0; color: #fff; opacity: .8; font-family: var(--cl-sans); font-size: 18px; line-height: 30px; font-weight: 400; text-align: right; }

/* Editor-Arbeitsfläche (kein JS): Überschrift im Endzustand des Farbwechsels (Weiß), sonst verschwindet das Rot auf dem Kreis */
.draggo-canvas .cl-contact[data-tint] .cl-contact__title span { color: #fff; }

/* Formular (Formulargenerator) im Kreis-Stil */
.cl-contact__form .ce_form, .cl-contact__form form { margin: 0; }
.cl-contact__form .widget { margin: 0; }
.cl-contact__form input.text { box-sizing: border-box; width: 100%; height: 60px; margin: 0; padding: 8px 16px; border: 0; border-bottom: 1px solid rgba(217, 217, 217, .7); border-radius: 0; background: transparent; outline: none; box-shadow: none; color: #fff; font-family: var(--cl-sans); font-size: 16px; font-weight: 300; }
.cl-contact__form input.text::placeholder { color: #fff; opacity: 1; font-family: var(--cl-sans); font-weight: 300; }
.cl-contact__form input.text:focus { border-bottom-color: #fff; }
.cl-contact__form textarea { box-sizing: border-box; display: block; width: 100%; height: 92px; min-height: 60px; max-height: 220px; margin: 0; padding: 18px 16px 8px; border: 0; border-bottom: 1px solid rgba(217, 217, 217, .7); border-radius: 0; background: transparent; outline: none; box-shadow: none; resize: vertical; color: #fff; font-family: var(--cl-sans); font-size: 16px; line-height: 1.5; font-weight: 300; }
.cl-contact__form textarea::placeholder { color: #fff; opacity: 1; font-family: var(--cl-sans); font-weight: 300; }
.cl-contact__form textarea:focus { border-bottom-color: #fff; }
/* ohne Formular-Titel: Kreis oben weniger Innenabstand, Absenden-Knopf mit Luft zum letzten Feld */
.cl-contact__circle:not(:has(.cl-contact__formtitle)) { padding-top: 70px; }
.cl-contact__form .widget-submit { padding-top: 18px; }
.cl-contact__form .widget-submit { position: relative; margin: 0; }
.cl-contact__form button.submit { position: relative; z-index: 1; margin: 0; padding: 8px 16px; border: 1px solid #c36; border-radius: 3px; background: var(--cl-ct-circle, #e10419); color: #fff; font-family: var(--cl-display); font-size: 16px; line-height: 1; font-weight: 500; text-transform: uppercase; cursor: pointer; }
.cl-contact__form button.submit::after { content: ""; position: absolute; left: 50%; bottom: -212px; z-index: -1; width: 353px; height: 274px; border-radius: 50%; background: #fff; opacity: .31; transform: translateX(-50%); transition: 400ms ease-in-out; pointer-events: none; }
.cl-contact__form button.submit:hover, .cl-contact__form button.submit:focus-visible { letter-spacing: .5px; color: #e10419; }
.cl-contact__form button.submit:hover::after, .cl-contact__form button.submit:focus-visible::after { opacity: 1; }
.cl-contact__form p.error { margin: 4px 0 0; color: #fff; font-family: var(--cl-sans); font-size: 14px; }
/* Labels nur für Screenreader (wie draggo-site.css – auch in der Arbeitsfläche) */
.cl-contact__form .widget.label-sr > label, .cl-contact__form .invisible { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1199px) {
    .cl-contact__inner, .cl-contact__inner.is-overlap { flex-wrap: wrap; margin-top: 0; padding-bottom: 50px; }
    .cl-contact__circle { margin-left: 0; }
    .cl-contact__touch { flex-basis: 100%; margin: 50px 0 0; }
}
@media (max-width: 767px) {
    .cl-contact__circle { padding: 40px 30px 30px; }
    .cl-contact__touch { padding: 0 10px; }
    div h3.cl-contact__formtitle { font-size: 22px; }
    div h2.cl-contact__title { font-size: 40px; line-height: 46px; }
    .cl-contact .cl-contact__l2 { margin-left: 0; }
    .cl-contact .cl-contact__text { position: static; margin-top: 20px; }
    div .cl-contact__text p { text-align: left; }
}

/* Draggo-Editor: keine Überlappung in den vorherigen Abschnitt */
.draggo-canvas .cl-contact__inner.is-overlap { margin-top: 0; }

/* Blöcke im Kreis (nur ohne Formular): Adresse, Zeiten, E-Mail, Telefon.
   Titel in Clarity Display, Fließtext in Clarity Sans; Spezifität wie oben ("div h4.teil"). */
.cl-contact--blocks .cl-contact__circle { padding: 70px 66px 60px; }
.cl-contact__blocks { display: flex; flex-direction: column; gap: 24px; text-align: center; }
.cl-contact__block + .cl-contact__block { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .35); }
.cl-contact .cl-contact__bicon { display: block; margin: 0 0 12px; color: #fff; font-size: 22px; line-height: 1; }
div h4.cl-contact__btitle { margin: 0 0 10px; padding: 0; color: #fff; font-family: var(--cl-display); font-size: 22px; line-height: 30px; font-weight: 500; }
.cl-contact .cl-contact__btext { color: #fff; font-family: var(--cl-sans); font-size: 16px; line-height: 26px; }
div .cl-contact__btext :is(p, li) { margin: 0; color: #fff; font-family: var(--cl-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.cl-contact .cl-contact__btext > * + * { margin-top: 2px; }
.cl-contact .cl-contact__btext :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
.cl-contact .cl-contact__btext a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cl-contact .cl-contact__btext a:hover { text-decoration: none; }

@media (max-width: 767px) {
    /* Mobil wird der Block-Kreis zur runden Karte (Konzept A10) – besser lesbar als die hohe Ellipse.
       Gilt nur für die Block-Variante, die Formular-Variante (Startseite) bleibt unverändert. */
    .cl-contact--blocks .cl-contact__circle { max-width: none; border-radius: 30px; padding: 44px 26px 40px; }
    .cl-contact--blocks .cl-contact__blocks { gap: 22px; }
    .cl-contact--blocks .cl-contact__block + .cl-contact__block { padding-top: 22px; }
    div h4.cl-contact__btitle { font-size: 20px; line-height: 28px; }
    div .cl-contact__btext :is(p, li) { font-size: 17px; line-height: 28px; }
}

/* Formular im Kreis UND Blöcke: die Blöcke stehen neben dem Kreis unter dem Nebentext */
.cl-contact--sideblocks .cl-contact__touch .cl-contact__blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 34px; text-align: left; }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__block { display: flex; flex-direction: column; gap: 6px; }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__btitle { margin: 0; font-family: var(--cl-display); font-size: 18px; line-height: 26px; font-weight: 600; color: #fff; }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__btext { font-family: var(--cl-sans); font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .85); }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__btext :is(p, li) { margin: 0; font: inherit; color: inherit; }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__btext a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cl-contact--sideblocks .cl-contact__touch .cl-contact__bicon { margin-bottom: 4px; color: #e10419; font-size: 20px; }
.draggo-canvas .cl-contact--sideblocks .cl-contact__touch .cl-contact__btitle { font-family: var(--cl-display); color: #fff; }
.draggo-canvas .cl-contact--sideblocks .cl-contact__touch .cl-contact__btext :is(p, li) { font-family: var(--cl-sans); font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .85); }
@media (max-width: 767px) {
    .cl-contact--sideblocks .cl-contact__touch .cl-contact__blocks { grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }
}

/* Variante mit Formular UND Blöcken: Titel, Nebentext und Blöcke stehen untereinander (kein absoluter Text) */
.cl-contact--sideblocks .cl-contact__touch { margin-top: 120px; padding-right: 20px; }
.cl-contact--sideblocks .cl-contact__text { position: static; margin-top: 18px; max-width: 620px; }
.cl-contact--sideblocks .cl-contact__text p { text-align: left; }
@media (max-width: 1199px) {
    .cl-contact--sideblocks .cl-contact__touch { margin-top: 50px; padding-right: 0; }
}

/* Bestätigung nach dem Absenden (Formular per Ajax) im Kreis */
.cl-contact__form .form-confirmation { display: flex; flex-direction: column; justify-content: center; min-height: 330px; padding: 0 0 20px; }
.cl-contact__form .form-confirmation::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e10419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat; }
div.cl-contact__form .form-confirmation, div.cl-contact__form .form-confirmation p { margin: 0; color: #fff; font-family: var(--cl-sans); font-size: 20px; line-height: 28px; font-weight: 600; }
div.cl-contact__form .form-confirmation p + p { margin-top: 6px; font-size: 16px; line-height: 24px; font-weight: 400; }

/* Datenschutz-Hinweis unter dem Formular (Formularfeld „Erklärung“ mit Klasse cl-form-hinweis) */
.cl-contact__form .widget-explanation { margin: 0; padding: 12px 6px 0; }
div.cl-contact__form .widget-explanation p { margin: 0; color: #fff; opacity: .9; font-family: var(--cl-sans); font-size: 13px; line-height: 18px; font-weight: 400; }
div.cl-contact__form .widget-explanation a { color: #fff; font-family: var(--cl-sans); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
div.cl-contact__form .widget-explanation a:hover, div.cl-contact__form .widget-explanation a:focus-visible { text-decoration: none; }
.cl-contact__form .widget-explanation + .widget-submit { padding-top: 14px; }

/* Form „Karte“: Überschrift + Nebentext links, Formular in abgerundeter Karte rechts (längere Formulare, Landingpages) */
.cl-contact--card .cl-contact__inner { gap: 60px; align-items: center; padding: 100px 20px; }
.cl-contact--card .cl-contact__circle { order: 2; flex: 0 1 600px; max-width: 600px; margin: 0; padding: 50px 50px 44px; border-radius: 30px; text-align: left; }
.cl-contact--card .cl-contact__touch { order: 1; flex: 1 1 0; margin: 0; }
.cl-contact--card .cl-contact__title span { display: block; margin: 0; }
div.cl-contact--card h2.cl-contact__title { font-size: 60px; line-height: 1.1; text-transform: none; }
.cl-contact.cl-contact--card .cl-contact__l2 { display: block; margin: 0; }
.cl-contact.cl-contact--card .cl-contact__text { position: static; max-width: 520px; margin-top: 24px; }
div.cl-contact--card .cl-contact__text p { text-align: left; }
.cl-contact--card div h3.cl-contact__formtitle { margin-bottom: 20px; font-size: 28px; text-align: left; }
.cl-contact--card .cl-contact__form .widget-submit { padding-top: 26px; }
.cl-contact--card .cl-contact__form .widget-explanation { padding: 14px 0 0; }
.cl-contact--card .cl-contact__form .form-confirmation { min-height: 260px; text-align: center; }
/* Auswahlfeld im Stil der Textfelder */
.cl-contact__form select { box-sizing: border-box; width: 100%; height: 60px; margin: 0; padding: 8px 40px 8px 16px; border: 0; border-bottom: 1px solid rgba(217, 217, 217, .7); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; appearance: none; color: #fff; font-family: var(--cl-sans); font-size: 16px; font-weight: 300; cursor: pointer; }
.cl-contact__form select:focus { outline: none; border-bottom-color: #fff; }
.cl-contact__form select option { color: #000; }
/* Altcha-Spamschutz im roten Bereich */
.cl-contact__form .widget-altcha { padding-top: 16px; }
.cl-contact__form altcha-widget { --altcha-color-base: transparent; --altcha-color-text: #fff; --altcha-color-border: rgba(255, 255, 255, .6); --altcha-color-border-focus: #fff; --altcha-border-radius: 6px; --altcha-max-width: 100%; font-family: var(--cl-sans); accent-color: #fff; }
@media (max-width: 1199px) {
    .cl-contact--card .cl-contact__inner { gap: 40px; padding: 70px 20px; }
    .cl-contact--card .cl-contact__circle { order: 2; flex: 1 1 100%; max-width: none; }
    .cl-contact--card .cl-contact__touch { flex-basis: 100%; }
}
@media (max-width: 767px) {
    .cl-contact--card .cl-contact__inner { padding: 50px 16px; }
    .cl-contact--card .cl-contact__circle { padding: 34px 22px 30px; border-radius: 22px; }
    div.cl-contact--card h2.cl-contact__title { font-size: 38px; }
    .cl-contact--card .cl-contact__form button.submit { width: 100%; padding: 12px 14px; line-height: 1.25; }
}
