/* Contact unter dem Seitenkopf (Thomas 18.10.: Vorschläge 1–5 „ja setze mal um, wir sehen es dann in echt an“).
   1 Kontaktwege als zwei große, antippbare Felder (Linien-Symbole wie im Handy-Menü), Ort als ruhige Zeile statt Leer-Link auf maps.google.com
   2 Formular ruhiger: helle Platzhalter, feinere Beschriftungen, Knopf volle Breite   3 Desktop: linke Spalte bleibt beim Scrollen stehen
   4 Newsletter auf Contact weggelassen (im HTML)   5 Handy: Email + WhatsApp nebeneinander, darunter das Formular
   Blocs erzwingt Textfarben mit !important → eigene Farben ebenfalls mit !important. */
.kontakt-intro { margin: 0 !important; }
.kontakt-wege { display: grid; gap: 14px; margin-top: 28px; }
.kontakt-weg { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--swatch-var-2425);
	border-radius: 6px; color: var(--swatch-var-5803) !important; text-decoration: none !important; background: transparent; transition: background-color .3s ease; }
.kontakt-weg svg { color: var(--swatch-var-2425); flex: none; }
.kw-text { display: block; min-width: 0; }
.kw-titel { display: block; font-family: "InterTight-Regular", "Helvetica Neue", Arial, sans-serif; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase;
	color: var(--swatch-var-2425) !important; margin-bottom: 2px; }
.kw-wert { display: block; font-family: "InterTight-Light", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: 19px; line-height: 1.35;
	color: var(--swatch-var-5803) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kw-pfeil { font-family: "DMMono-Light", ui-monospace, monospace; font-size: 15px; color: var(--swatch-var-2425) !important; transition: transform .3s cubic-bezier(.44, 0, .28, .99); }
@media (hover: hover) { .kontakt-weg:hover { background-color: rgba(61, 158, 142, .07); } .kontakt-weg:hover .kw-pfeil { transform: translateX(5px); } }
.kontakt-ort { margin: 22px 0 0 !important; font-size: 15px !important; } /* Thomas 18.10.: Farbe wie „Email me directly …“ („ich sprach nur von der farbe“), Größe bleibt klein */

/* Formular */
.kontakt-form { padding: 30px 30px 32px !important; }
.kontakt-form .form-label { font-family: "InterTight-Regular", "Helvetica Neue", Arial, sans-serif !important; font-size: 14.5px !important; letter-spacing: .01em;
	color: rgba(28, 25, 23, .72) !important; margin-bottom: 6px; }
.kontakt-form .form-control { font-size: 16px; }
.kontakt-form .form-control::placeholder { color: rgba(28, 25, 23, .38) !important; opacity: 1; }
.kontakt-form select.form-control:invalid { color: rgba(28, 25, 23, .38) !important; }
.kontakt-form select.form-control option { color: var(--swatch-var-5803); }
.kontakt-form .form-group.mb-3 > .form-group.mb-3 { margin-bottom: 0 !important; }
.kontakt-senden { display: block; width: 100%; margin-top: 10px; padding-top: 14px !important; padding-bottom: 14px !important; text-align: center; }

/* Desktop: Kontaktwege bleiben neben dem langen Formular stehen */
@media (min-width: 992px) { .kontakt-haften { position: sticky; top: 112px; } }
@media (max-width: 991.98px) { .kontakt-form { margin-top: 44px; } }
/* Handy: Email + WhatsApp nebeneinander (kompakt, ohne Pfeil); unter 375 px wieder untereinander */
@media (max-width: 575.98px) {
	.kontakt-wege { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
	.kontakt-weg { grid-template-columns: 1fr; gap: 10px; padding: 16px 14px; }
	.kw-pfeil { display: none; }
	.kw-wert { font-size: 14.5px; }
	.kontakt-form { padding: 22px 18px 24px !important; }
}
@media (max-width: 374.98px) { .kontakt-wege { grid-template-columns: 1fr; } .kontakt-weg { grid-template-columns: auto 1fr; } }
/* Rahmen bündig (Kontakt-Felder = Kante von Seitenkopf + Formular): Spalte ohne Innenabstand an der Außenseite */
.kontakt-links { padding-left: 0; }
@media (max-width: 991.98px) { .kontakt-links { padding-right: 0; } }

/* Formular im neuen Look (Thomas 18.10.: „erinnert noch sehr an blocs app, stylemässig … nicht an den neuen look angepasst“):
   Felder als feine Linie statt Kasten – beim Hineintippen zeichnet sich die Linie grün von links (wie im Seitenkopf); Beschriftungen klein in Versalien
   mit grüner Nummer wie im Handy-Menü; Überschrift in Fraunces; Meldungen fein statt Bootstrap-Kästen. */
.kontakt-form { --kf-linie: rgba(28, 25, 23, .22); --kf-gruen: var(--swatch-var-2425); padding: 36px 36px 38px !important; }
.kf-titel { font-family: "FrauncesFein", Georgia, serif !important; font-weight: 250 !important; font-size: clamp(30px, 1.4rem + 1.2vw, 40px) !important; line-height: 1.1 !important;
	color: var(--swatch-var-5657) !important; margin: 0 0 30px !important; }
.kontakt-form .form-label { display: flex; align-items: baseline; gap: 10px; font-family: "InterTight-Regular", "Helvetica Neue", Arial, sans-serif !important;
	font-size: 12px !important; letter-spacing: .1em; text-transform: uppercase; color: rgba(28, 25, 23, .62) !important; margin-bottom: 2px; }
.kf-nr { font-family: "FrauncesFein", Georgia, serif; font-weight: 300; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--kf-gruen); }
.kontakt-form .form-group.mb-3 { margin-bottom: 26px !important; }
.kontakt-form .form-control, .kontakt-form .form-select { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 8px 0 11px !important;
	background-color: transparent !important; font-family: "InterTight-Light", "Helvetica Neue", Arial, sans-serif !important; font-weight: 300; font-size: 19px !important;
	line-height: 1.4; color: var(--swatch-var-5803) !important;
	background-image: linear-gradient(var(--kf-gruen), var(--kf-gruen)), linear-gradient(var(--kf-linie), var(--kf-linie)) !important;
	background-size: 0% 1px, 100% 1px !important; background-position: left bottom, left bottom !important; background-repeat: no-repeat !important;
	transition: background-size .7s cubic-bezier(.44, 0, .28, .99); }
.kontakt-form .form-control:focus, .kontakt-form .form-select:focus { background-size: 100% 1px, 100% 1px !important; outline: none; }
.kontakt-form .form-select { padding-right: 28px !important; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233d9e8e' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E"),
		linear-gradient(var(--kf-gruen), var(--kf-gruen)), linear-gradient(var(--kf-linie), var(--kf-linie)) !important;
	background-size: 16px 16px, 0% 1px, 100% 1px !important; background-position: right 2px center, left bottom, left bottom !important; }
.kontakt-form .form-select:focus { background-size: 16px 16px, 100% 1px, 100% 1px !important; }
.kontakt-form textarea.form-control { resize: none; min-height: 112px; }
.kontakt-form .form-control::placeholder { color: rgba(28, 25, 23, .34) !important; }
.kontakt-form input:-webkit-autofill { -webkit-text-fill-color: var(--swatch-var-5803); transition: background-color 600000s 0s; }
.kontakt-form .kontakt-senden { margin-top: 18px; }
/* Prüfung (jqBootstrapValidation setzt .error an die Feldgruppe und hängt .help-block an) */
.kontakt-form .form-group.error .form-control, .kontakt-form .form-group.error .form-select { --kf-gruen: #b4534a; --kf-linie: #b4534a; }
.kontakt-form .help-block, .kontakt-form .help-block ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: #b4534a !important; }
/* Meldungen nach dem Absenden (formHandler.js) */
.kontakt-form .alert { position: relative; margin-top: 18px; border: 0; border-left: 2px solid var(--swatch-var-2425); border-radius: 0; padding: 14px 40px 14px 16px;
	background: rgba(61, 158, 142, .08); color: var(--swatch-var-5803) !important; font-size: 15.5px; }
.kontakt-form .alert-danger { border-left-color: #b4534a; background: rgba(180, 83, 74, .07); }
.kontakt-form .alert .btn-close { position: absolute; top: 14px; right: 12px; float: none !important; width: 10px; height: 10px; opacity: .45; }
@media (max-width: 575.98px) { .kontakt-form { padding: 26px 20px 28px !important; } .kontakt-form .form-control, .kontakt-form .form-select { font-size: 17px !important; } }
.kontakt-form .help-block, .kontakt-form .help-block li { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
/* Feldfehler sind intern <ul class="alert alert-warning"> → nicht wie die Meldung nach dem Absenden aussehen lassen, nur feine rote Schrift */
.kontakt-form .help-block .alert { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; margin: 6px 0 0 !important; font-size: 13.5px; color: #b4534a !important; }
/* Sticky ging nicht: Blocs .page-container { overflow: hidden } macht ihn zum Scroll-Container → „clip“ schneidet genauso ab, lässt sticky aber zu */
.page-container { overflow: clip !important; }

/* Angebot oben wiederholen (Brief v4.1, 24.10.2026: wer auf einen Button klickt, soll hier dasselbe Angebot wiederfinden) */
.kontakt-angebot { margin: 0 0 30px; padding: 24px 26px 22px; border: 1px solid var(--swatch-var-2425); border-radius: 3px; background: linear-gradient(135deg, #ffffff 0%, var(--swatch-var-6896) 100%); }
.kontakt-angebot-titel { margin: 0 0 10px !important; font-family: "InterTight-Regular", "Helvetica Neue", Arial, sans-serif !important; font-size: 12.5px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--swatch-var-2425) !important; }
.kontakt-angebot-text { margin: 0 !important; font-family: "InterTight-Light", "Helvetica Neue", Arial, sans-serif !important; font-size: 18px !important; line-height: 1.6 !important; color: var(--swatch-var-5803) !important; }
@media (max-width: 991.98px) { .kontakt-angebot-text { font-size: 17px !important; } }
