/*
Theme Name: Isermann
Theme URI: https://www.anwalt-isermann-koeln.de
Author: Heinrichs Consult & Invest UG
Author URI: https://heinrichs-consult.de
Description: Maßgeschneidertes Theme für die Rechtsanwaltskanzlei Annette Isermann (Köln). Tailwind-basiert, ACF-gepflegt — Annette kann alle Inhalte selbst editieren.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isermann
Tags: lawyer, professional, custom-logo, custom-menu, featured-images
*/

/*
 * Hinweis: Das eigentliche Styling läuft über Tailwind CSS (per CDN geladen in header.php).
 * Diese Datei enthält nur die WordPress-Theme-Metadaten + minimale Custom-CSS-Regeln,
 * die nicht über Tailwind ausgedrückt werden können (z.B. WP-Editor-Resets).
 */

/* WordPress-spezifische Anpassungen */
.alignleft   { float: left;  margin-right: 1.5em; margin-bottom: 1em; }
.alignright  { float: right; margin-left: 1.5em;  margin-bottom: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 1em; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: #5A5A5A; text-align: center; margin-top: 0.5rem; }

/* Screen-reader text */
.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;
}

/* WordPress-Admin-Bar Abstand zum fixed Header */
.admin-bar #header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #header { top: 46px; }
}
/* WP-Admin-Bar wird unterhalb 600px viewport bottom-fixed — Header darf wieder top:0 */
@media screen and (max-width: 600px) {
    .admin-bar #header { top: 0 !important; }
    .admin-bar main#site-content { padding-top: 6rem !important; }
}
/* Header neu höher: site-content braucht entsprechend Platz */
.admin-bar main#site-content { padding-top: calc(6rem + 32px); }
@media (max-width: 782px) { .admin-bar main#site-content { padding-top: calc(6rem + 46px); } }
