/* Additions for the WordPress version (the design itself is in site.css). */

/* Google Map: shown only after a click */
.map-consent{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:340px;height:100%;padding:28px;text-align:center;background:#e7ecf2;color:#3a4656}
.map-consent p{max-width:46ch;margin:0;font-size:.95rem}

/* hidden spam trap in the contact form */
.form__hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* legal pages (Impressum, Datenschutz) */
.legal{padding-top:56px}
.legal .prose{max-width:760px}
.legal .prose h2{margin-top:2em}
.legal .notice{background:#fff6d6;border-left:4px solid #e0b100;padding:12px 16px;margin-bottom:2em;font-size:.95rem}

/* articles: WordPress image captions and alignment */
.prose .wp-block-image{margin:2em 0}
.prose .aligncenter{margin-left:auto;margin-right:auto}

/* Articles: short text (excerpt) as a white lead line under the title */
.pagehead--post .post-lead{color:#d9e1ec;font-size:1.125rem;max-width:62ch;margin:.75em 0 1em}

/* Articles without a main picture: the dark title band ends normally and the text starts on white
   (with a picture, the picture overlaps the band as in the design) */
.article--noimg .pagehead--post{padding-bottom:clamp(40px,5vw,64px)}
.article--noimg .article__wrap{margin-top:0;padding-top:clamp(40px,5vw,64px)}

/* WordPress writes the picture's original width/height into the <img>; let the design's shape win
   (wide strip on the article) and keep pictures in the text in proportion */
.article__hero img{height:auto}
.prose img{height:auto;max-width:100%}

.cf-turnstile{min-height:65px}

/* page not found (404) */
.pagehead--404{min-height:55vh;display:flex;align-items:center}
.pagehead--404 .wrap{width:100%}
.pagehead__actions{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 0}
.pagehead--404 .btn--ghost{color:#fff}

/* language switcher entries are links in WordPress (buttons in the static design) */
a.flag{text-decoration:none;color:inherit}
