/* Ergänzungen zur wiederhergestellten WordPress-Seite (seit 22.11.2026): Logo, Titelbilder, Suche, Kontaktformular */

/* Logo: liegender Schriftzug statt der alten 2:1-Grafik */
header .custom-logo-link img { max-width: 150px !important; width: 150px !important; height: auto !important; }
.ast-header-break-point header .custom-logo-link img,
.ast-header-break-point .site-branding img { max-width: 120px !important; width: 120px !important; }

/* Titelbilder: einheitlich 16:9, ohne Verzerrung */
img.sunvia-titelbild { width: 100%; height: auto; max-height: 440px; object-fit: cover; object-position: center; border-radius: 12px; }
img.sunvia-titelbild-oben { display: block; max-height: 360px; margin: 0 auto 1.6rem; }

/* Suche */
.sv-suche { position: fixed; inset: 0; z-index: 99999; background: rgba(20, 16, 6, .72); display: none; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; }
.sv-suche.offen { display: flex; }
.sv-suche-box { background: #fff; width: 100%; max-width: 680px; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.3); overflow: hidden; font-family: 'Inter', system-ui, sans-serif; }
.sv-suche-kopf { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ece7d8; }
.sv-suche-kopf svg { flex: none; width: 20px; height: 20px; fill: #D09A40; }
.sv-suche-kopf input { flex: 1; border: 0 !important; outline: 0; font-size: 18px; padding: 6px 0 !important; background: transparent !important; color: #1B1B1B; box-shadow: none !important; }
.sv-suche-zu { border: 0; background: #FAF5E5; color: #1B1B1B; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 14px; }
.sv-suche-liste { max-height: 62vh; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; }
.sv-suche-liste li { margin: 0; }
.sv-suche-liste a { display: block; padding: 10px 18px; text-decoration: none; color: #1B1B1B; }
.sv-suche-liste a:hover, .sv-suche-liste a.aktiv { background: #FAF5E5; }
.sv-suche-liste strong { display: block; font-size: 16px; color: #1B1B1B; }
.sv-suche-liste span { display: block; font-size: 13px; color: #5c5a52; margin-top: 2px; line-height: 1.45; }
.sv-suche-liste mark { background: #f6e3b8; color: inherit; padding: 0 1px; border-radius: 2px; }
.sv-suche-leer { padding: 18px; color: #5c5a52; font-size: 14px; }

/* Kontaktformular */
.sv-kontakt { text-align: left; background: #fff; max-width: 600px; margin: 0 auto; padding: 2rem; border-radius: 1rem; box-shadow: 0 6px 16px rgba(0,0,0,.05); display: flex; flex-direction: column; gap: 1.1rem; }
.sv-kontakt label { font-size: .9rem; font-weight: 600; color: #1B1B1B; display: flex; flex-direction: column; gap: .35rem; }
.sv-kontakt input[type=text], .sv-kontakt input[type=email], .sv-kontakt select, .sv-kontakt textarea { padding: .8rem 1rem; border-radius: .5rem; border: 1px solid #ccc; font-size: 1rem; font-weight: 400; font-family: inherit; }
.sv-kontakt .sv-zustimmung { flex-direction: row; align-items: flex-start; gap: .6rem; font-weight: 400; font-size: .85rem; line-height: 1.45; }
.sv-kontakt .sv-zustimmung input { margin-top: .2rem; }
.sv-kontakt .sv-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sv-kontakt button { background-color: #7cb342; color: #fff; padding: .9rem; border: none; border-radius: .5rem; font-size: 1rem; cursor: pointer; transition: background .3s; }
.sv-kontakt button:hover { background-color: #689f38; }
.sv-kontakt button[disabled] { opacity: .6; cursor: wait; }
.sv-meldung { border-radius: .5rem; padding: .9rem 1rem; font-size: .95rem; display: none; }
.sv-meldung.ok { display: block; background: #edf7e4; color: #2d5e1e; }
.sv-meldung.fehler { display: block; background: #fdecea; color: #8a1f11; }
