/* Grundstile der Avantgarde-Bausteine. Das Theme kann alles überschreiben. */

.agk-kontakt { font-style: normal; display: flex; flex-direction: column; gap: .25em; }
.agk-kontakt__name { font-family: var(--wp--preset--font-family--ueberschrift, inherit); font-weight: 400; font-size: 1.15em; }
.agk-social { display: flex; flex-wrap: wrap; gap: 1.25em; margin-top: 1em; }

.agk-mosaik { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.agk-mosaik img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.agk-mosaik a { display: block; overflow: hidden; }
.agk-mosaik__button { justify-content: center; margin-top: 1.5rem; }
@media (max-width: 600px) { .agk-mosaik { grid-template-columns: repeat(2, 1fr); } }

.agk-blick { margin: 0; display: grid; gap: .75em; }
.agk-blick__zeile { display: grid; grid-template-columns: minmax(8em, 30%) 1fr; gap: 1em; padding-bottom: .75em; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
.agk-blick dt { font-weight: 600; }
.agk-blick dd { margin: 0; }
@media (max-width: 600px) { .agk-blick__zeile { grid-template-columns: 1fr; gap: .15em; } }

.agk-verfuegbarkeit p { margin: 0; padding: .9em 1.25em; background: var(--wp--preset--color--flaeche, #f2eee9); text-align: center; }

.agk-siegel { display: inline-block; line-height: 0; }
.agk-siegel img { display: block; height: auto; max-width: 100%; }

.agk-credits { list-style: none; padding: 0; margin: 0; display: grid; gap: .4em; }
.agk-credits__rolle { font-weight: 600; }
.agk-credits__titel { margin-top: 1.5em; }

.agk-coming-soon-fallback { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; box-sizing: border-box; }
.agk-coming-soon-fallback h1 { font-family: var(--wp--preset--font-family--ueberschrift, Georgia, serif); font-weight: 400; margin: 0 0 .5em; }
.agk-coming-soon-fallback nav { margin-top: 3rem; font-size: .85em; display: flex; gap: 1.5em; justify-content: center; }

.agk-rechtstext-seite { padding: 72px 24px 96px; box-sizing: border-box; }
.agk-rechtstext-seite > div { max-width: 760px; margin: 0 auto; }
.agk-rechtstext-seite h1 { font-family: var(--wp--preset--font-family--ueberschrift, Georgia, serif); font-weight: 400; margin: 0 0 1em; }
.agk-rechtstext-seite h2 { font-size: 1.25em; margin: 2em 0 .5em; }
.agk-rechtstext__zurueck { margin-top: 3em; font-size: .9em; }

/* Rechtstexte in der Aufbauphase */
.agk-schlank { min-height: 100vh; display: flex; flex-direction: column; }
.agk-schlank__kopf { display: flex; justify-content: center; padding: 28px 24px; border-bottom: 1px solid rgba(0,0,0,.08); }
.agk-schlank__inhalt { flex: 1; }
.agk-schlank__inhalt h1 { font-size: clamp(30px, 3.2vw, 42px); }
.agk-schlank__inhalt h2 { font-size: 22px; line-height: 1.3; margin-top: 2em; }
.agk-schlank__fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 28px 24px 40px; border-top: 1px solid rgba(0,0,0,.08); font-size: 14px; }

/* ---------- 0.10: Stimmen, Siegel, Social, 404, Beiträge ---------- */

.agk-stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.agk-stimme { margin: 0; padding: 22px 0 0; border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); font-style: italic; }
.agk-stimme p { margin: 0; }
.agk-stimme cite { display: block; margin-top: 12px; font-size: .875em; font-style: normal; }
.agk-google-bewertungen { margin-top: 32px; }

.agk-siegel-leiste__innen { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.agk-siegel-leiste__innen img { height: var(--agk-siegel-hoehe, 100px); width: auto; display: block; }
.agk-siegel--code { max-height: calc(var(--agk-siegel-hoehe, 100px) * 1.6); overflow: hidden; }

.agk-social-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; }
.agk-social-liste a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.agk-social-liste a:hover { opacity: .75; }

.agk-seite-404 { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.agk-404__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.agk-404__text > * { margin: 0; }
.agk-404__bild { flex: 1 1 360px; min-width: 0; margin: 0; }
.agk-404__bild img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; object-position: 50% 100%; }
.agk-404__wege { list-style: none; margin: 8px 0 0; padding: 0; }
.agk-404__wege li { border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.agk-404__wege li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.agk-404__wege a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; font-size: 1.05em; }

.agk-beitragsinfo p { margin: 0; font-size: .875em; opacity: .85; }

.agk-autorin { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 28px; background: var(--wp--preset--color--flaeche, #f2eee9); }
.agk-autorin__bild { flex: 0 0 112px; }
.agk-autorin__bild img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; display: block; }
.agk-autorin__text { flex: 1 1 320px; min-width: 0; }
.agk-autorin__text > * { margin: 0 0 8px; }
.agk-autorin__name { font-family: var(--wp--preset--font-family--ueberschrift, inherit); font-size: 1.35em; }

.agk-verwandt__titel { margin: 0 0 28px; }
.agk-verwandt { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.agk-verwandt__beitrag > * { margin: 0 0 10px; }
.agk-verwandt__bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 100%; }
.agk-verwandt__beitragstitel { font-size: 1.3em; line-height: 1.3; }
.agk-verwandt__beitragstitel a { text-decoration: none; color: inherit; }

/* ---------- 0.12: Rechtstexte aus "Meine Website → Rechtstexte" ----------
   Schrift, Farbe und Grundgröße kommen aus dem Theme. Hier nur die Abstufung der Überschriften,
   Tabellen und lange Adressen. */
.agk-rechtstext { overflow-wrap: anywhere; margin-top: 32px; }
.agk-rechtstext h2 { font-size: 22px; line-height: 1.3; margin-top: 2em; margin-bottom: .6em; }
.agk-rechtstext h3 { font-size: 18px; line-height: 1.35; margin-top: 1.6em; margin-bottom: .5em; }
.agk-rechtstext h4, .agk-rechtstext h5, .agk-rechtstext h6 { font-size: 16px; line-height: 1.4; margin-top: 1.4em; margin-bottom: .4em; }
.agk-rechtstext > :first-child, .agk-rechtstext > :first-child > :first-child { margin-top: 0; }
.agk-rechtstext a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.agk-rechtstext table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .9em; }
.agk-rechtstext th, .agk-rechtstext td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.agk-rechtstext__cookies { margin-top: 2em; }
.agk-rechtstext__cookies, .agk-rechtstext__cookies * { font-family: inherit !important; color: inherit !important; background: transparent !important; }
.agk-rechtstext__cookies table { width: 100% !important; }
.agk-rechtstext__hinweis { padding: 12px 16px; border-left: 3px solid #c9a227; background: #fbf6e6; color: #3b3418; font-size: 14px; }
.agk-bildnachweis { padding-left: 1.2em; }

/* 0.14: eine Stimme groß */
.agk-stimmen--gross { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.agk-stimmen--gross .agk-stimme { border-top: 0; padding: 0; }
.agk-stimmen--gross .agk-stimme p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; font-family: var(--wp--preset--font-family--ueberschrift, inherit); }
.agk-stimmen--gross .agk-stimme cite { margin-top: 20px; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
