/* Ergänzungen zum Original-Design (ersetzt jQuery-Effekte, Barrierefreiheit, moderne WP-Elemente) */

/* Dropdown-Menü (früher jQuery slideDown) */
.navigation ul ul.is-open { display: block; animation: pp-drop .25s ease; }
@keyframes pp-drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.navigation > div > ul > li.back { position: absolute; }

/* Logo: Höhe kommt aus dem Original-CSS, Breite proportional */
#logo img { width: auto; }

/* Bilder nie breiter als ihr Container */
img { max-width: 100%; height: auto; }

/* Bildergalerie im Blogbeitrag (früher Cycle-Slider) */
.pp-post-gallery { padding: 0; margin-bottom: 30px; background: transparent; }
.pp-post-gallery a.pp-slider__slide { position: absolute; inset: 0; margin: 0; }
.pp-post-gallery a.pp-slider__slide img { width: 100%; height: 100%; object-fit: cover; }

/* Barrierefreiheit */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 10px; top: 10px; z-index: 100001; padding: 10px 16px; background: #fff; color: #6b5b4b; }

/* Block-Editor-Inhalte im alten Raster */
.wp-block-html { margin: 0; }
.wp-block-image img { height: auto; }
.wp-block-embed { margin: 0 0 20px; }

/* Standard-WP-Klassen */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }

/* Contact Form 7 (neue Version) – Meldungen im Stil der Seite */
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 10px 15px; border-width: 1px; }
.wpcf7-not-valid-tip { font-size: 14px; color: #B76973; }

/* Im Original stand vor dem ersten Beitrag in #main immer ein (unsichtbares) Script-Tag,
   daher griff dort .entry:first-child nicht – Abstand beibehalten. */
#main > .entry:first-child { padding-top: 50px; }
