/*
Theme Name: SEO-Book
Theme URI: https://www.seo-book.de/
Author: Bits & Passion
Author URI: https://www.bitsandpassion.com/
Description: Schlankes Blog-Theme für seo-book.de im Look der neuen Bits-&-Passion-Website. Klassisches Theme ohne Build-Schritt: PHP-Vorlagen, eine CSS-Datei, ein Mini-Skript.
Version: 1.3.1
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seo-book
*/

/* ------------------------------------------------------------------
   1. Schrift (lokal, keine Verbindung zu fremden Servern)
   ------------------------------------------------------------------ */
@font-face {
  font-family: 'Asap Sharp Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('fonts/asap-sharp-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Asap Sharp Variable'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('fonts/asap-sharp-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Asap Sharp Variable'; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url('fonts/asap-sharp-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ------------------------------------------------------------------
   2. Design-Werte – identisch zur Website (src/styles/global.css)
   ------------------------------------------------------------------ */
:root {
  --c-purple: #251c2e;
  --c-orange: #ff5e00;
  --c-flame: #ff3f00;
  --c-smoke: #f6f4f3;
  --c-prussian: #14162b;
  --c-white: #fff;
  --c-purple-70: rgb(37 28 46 / 0.7);
  --c-line: rgb(37 28 46 / 0.18);

  --font: 'Asap Sharp Variable', 'Asap Sharp', Arial, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;

  --fs-display-1: clamp(3rem, 5vw, 6rem);
  --fs-display-2: clamp(2.25rem, 3.34vw, 4rem);
  --fs-h1: clamp(1.5rem, 2.08vw, 2.5rem);
  --fs-h2: clamp(1.375rem, 1.67vw, 2rem);
  --fs-h3: clamp(1.125rem, 1.25vw, 1.5rem);
  --fs-body: 1.125rem;

  --content: 1184px;
  --text: 860px;
  --gutter: clamp(16px, 4vw, 64px);
}
@media (max-width: 600px) {
  :root { --fs-display-1: 2.625rem; --fs-display-2: 2rem; --fs-h2: 1.25rem; --fs-h3: 1.5rem; }
}

/* ------------------------------------------------------------------
   3. Grundlagen
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font); font-size: var(--fs-body); font-weight: 300; line-height: 1.3;
  color: var(--c-purple); background: var(--c-smoke);
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
img, svg, video, iframe { max-width: 100%; }
img, svg { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }

.container { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--text { width: min(var(--text), 100% - 2 * var(--gutter)); }

.screen-reader-text, .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 30;
  background: var(--c-orange); color: var(--c-white); padding: 8px 16px;
}
.skip:focus { top: 16px; }

/* Knopf „Button Base“ – auch für Editor-Buttons, Formulare und Kommentare */
.btn, .wp-block-button__link, .prose input[type='submit'], .prose button[type='submit'],
.comment-form .submit, .search-form__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 32px;
  background: var(--c-orange); color: var(--c-white);
  font-size: var(--fs-h3); font-weight: 600; line-height: 1;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  transition: background-color .2s;
}
.btn:hover, .btn:focus-visible, .wp-block-button__link:hover, .wp-block-button__link:focus-visible,
.prose input[type='submit']:hover, .prose button[type='submit']:hover,
.comment-form .submit:hover, .search-form__btn:hover { background: var(--c-flame); color: var(--c-white); }

/* Labyrinth-Muster als Maske – Farbe über background */
.pattern {
  position: absolute; pointer-events: none; z-index: 0;
  aspect-ratio: 1275 / 716; background: var(--c-orange);
  -webkit-mask: url('assets/pattern.svg') center / 100% 100% no-repeat;
  mask: url('assets/pattern.svg') center / 100% 100% no-repeat;
}

/* ------------------------------------------------------------------
   4. Kopf: Logo-Pille links, Menü-Pille rechts, Vollbild-Menü
   ------------------------------------------------------------------ */
.site-header { position: relative; }
/* Angemeldet schiebt die WordPress-Leiste alles nach unten – die fest stehende Menü-Pille zieht mit */
.admin-bar .menu-btn { top: 59px; }
@media (max-width: 782px) { .admin-bar .menu-btn { top: 84px; } }
.brand {
  position: absolute; top: 27px; left: 0; z-index: 10;
  display: flex; align-items: center; height: 72px;
  padding: 0 34px 0 var(--gutter);
  background: var(--c-white); color: var(--c-purple); border-radius: 0 36px 36px 0;
  font-size: var(--fs-h2); font-weight: 800; text-transform: uppercase; line-height: 1;
}
.brand img { width: auto; height: 46px; }
.brand:hover, .brand:focus-visible { color: var(--c-flame); }

.menu-btn, .menu-close {
  display: flex; align-items: center;
  border: 0; cursor: pointer;
  font-size: var(--fs-h2); font-weight: 400; text-transform: uppercase; line-height: 1;
}
.menu-btn {
  position: fixed; top: 27px; right: 0; z-index: 20; height: 72px;
  padding: 0 clamp(16px, 1.98vw, 38px) 0 30px;
  background: var(--c-white); color: var(--c-purple); border-radius: 36px 0 0 36px;
  box-shadow: 0 2px 16px rgb(37 28 46 / .16);
  transition: padding .45s cubic-bezier(.2, .7, .2, 1);
}
.menu-btn__txt {
  max-width: 6em; margin-right: 24px; overflow: hidden; white-space: nowrap;
  transition: max-width .45s cubic-bezier(.2, .7, .2, 1), margin-right .45s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
/* Beim Scrollen (html.scr, gesetzt vom Mini-Skript) zieht sich die Pille ein */
html.scr .menu-btn:not(:hover, :focus-visible) { padding: 0 12px 0 18px; }
html.scr .menu-btn:not(:hover, :focus-visible) .menu-btn__txt { max-width: 0; margin-right: 0; opacity: 0; }
.menu-btn__bit { flex: none; width: 43px; height: 43px; background: var(--c-orange); transition: transform .3s; }
.menu-btn:hover .menu-btn__bit, .menu-close:hover .menu-btn__bit { transform: rotate(45deg) scale(.8); }

.menu[popover] {
  inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: clamp(110px, 10vw, 180px) var(--gutter) 64px;
  border: 0; background: var(--c-purple); color: var(--c-white); overflow: hidden auto;
}
.menu[popover]::backdrop { background: rgb(37 28 46 / .6); }
.menu-close {
  position: absolute; top: 40px; right: clamp(16px, 3.33vw, 64px); z-index: 2; gap: 24px;
  background: none; padding: 0; color: var(--c-white);
}
.menu__pattern { right: -6%; bottom: -9vw; width: 66%; }
.menu__inner { position: relative; z-index: 1; }
.menu__list { list-style: none; padding: 0; }
.menu__list a {
  display: block; font-size: var(--fs-display-2); font-weight: 800;
  text-transform: uppercase; line-height: 1.1; padding-block: .12em;
  transition: color .2s, padding-left .2s;
}
.menu__list a:hover, .menu__list a:focus-visible, .menu__list .current-menu-item > a { color: var(--c-orange); }
.menu__list a:hover, .menu__list a:focus-visible { padding-left: .3em; }
.menu__list .sub-menu { list-style: none; padding: 0 0 .4em 1.2em; }
.menu__list .sub-menu a { font-size: var(--fs-h1); font-weight: 500; text-transform: none; }
.menu .search-form { margin-top: 48px; max-width: 560px; }
@media (prefers-reduced-motion: no-preference) {
  .menu[popover] { opacity: 0; transition: opacity .3s, display .3s allow-discrete, overlay .3s allow-discrete; }
  .menu[popover]:popover-open { opacity: 1; }
  @starting-style { .menu[popover]:popover-open { opacity: 0; } }
}

@media (max-width: 600px) {
  .brand { top: 38px; height: 50px; padding-right: 22px; border-radius: 0 25px 25px 0; font-size: 1.25rem; }
  .brand img { height: 34px; }
  .menu-btn { top: 38px; height: 50px; padding: 0 16px 0 20px; border-radius: 25px 0 0 25px; }
  .menu-btn__txt { margin-right: 13px; }
  html.scr .menu-btn:not(:hover, :focus-visible) { padding: 0 10px 0 12px; }
  .menu-btn__bit { width: 30px; height: 30px; }
  .menu-close { gap: 13px; }
  .menu[popover] { padding-top: 130px; }
}

/* Suchfeld */
.search-form { display: flex; gap: 0; }
.search-form__field {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px;
  background: var(--c-white); color: var(--c-purple);
  border: 2px solid var(--c-purple); border-right: 0; border-radius: 0; font-weight: 400;
}
.search-form__btn { padding: 0 24px; }

/* ------------------------------------------------------------------
   5. Seitenkopf (dunkles Band mit der einen H1 der Seite)
   ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-purple); color: var(--c-smoke);
  padding: clamp(150px, 13vw, 230px) 0 clamp(56px, 6vw, 104px);
}
/* Muster sitzt rechts unten auf der Kante zum hellen Inhalt auf – links bleibt dunkler Raum unter dem Text */
.hero__pattern { right: -12%; bottom: -1px; width: 62%; opacity: .9; }
@media (max-width: 600px) { .hero__pattern { right: -10%; width: 46%; } }
.hero > .container { position: relative; z-index: 1; }
.hero__title {
  font-size: var(--fs-display-2); font-weight: 800; line-height: 1.12; color: var(--c-white);
  max-width: 18em; overflow-wrap: break-word; hyphens: auto;
}
.hero--start .hero__title { font-size: var(--fs-display-1); text-transform: uppercase; line-height: 1; }
.hero__title span { color: var(--c-orange); }
.hero__lead { margin-top: 20px; max-width: 34em; font-size: var(--fs-h3); font-weight: 400; line-height: 1.45; }
.hero__lead p + p { margin-top: .6em; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 26px;
  font-size: 1rem; font-weight: 400; color: rgb(246 244 243 / .8);
}
.hero__meta a { text-decoration: underline; text-underline-offset: .15em; }
.hero__meta a:hover { color: var(--c-orange); }

/* Abschnitts-Etikett: Pille, die am linken Bildschirmrand andockt */
.tag {
  display: flex; align-items: center; justify-content: flex-end;
  width: max-content; max-width: 100%; min-width: clamp(220px, 24.6vw, 473px); height: clamp(44px, 3.1vw, 60px);
  margin: 0 0 clamp(24px, 2.5vw, 40px) calc(-1 * max(var(--gutter), (100vw - var(--content)) / 2));
  padding-inline: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--c-purple); color: var(--c-white); border-radius: 0 41px 41px 0;
  font-size: clamp(1.25rem, 1.875vw, 2.25rem); font-weight: 500; line-height: 1;
}
.hero .tag, .tag--white { background: var(--c-white); color: var(--c-prussian); }
a.tag:hover, a.tag:focus-visible { color: var(--c-flame); }
@media (max-width: 600px) { .tag { min-width: 220px; height: 46px; padding-inline: 17px 16px; font-size: 1.5rem; } }

.breadcrumb { margin-bottom: 18px; font-size: .9375rem; font-weight: 400; color: rgb(246 244 243 / .75); }
.breadcrumb a { text-decoration: underline; text-underline-offset: .15em; }

/* ------------------------------------------------------------------
   6. Artikel-Kacheln (Vorbild: Card.astro, Blog-Variante)
   ------------------------------------------------------------------ */
.section { padding: clamp(56px, 6vw, 104px) 0; }
.section--tight { padding-top: 0; }
.section__title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.2; margin-bottom: clamp(24px, 2.5vw, 40px); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
@media (max-width: 767px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden; isolation: isolate; contain: paint;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100%; aspect-ratio: 580 / 413;
  padding: 29px 27px; background: var(--c-purple); color: var(--c-white);
}
.card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card--bild::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(37 28 46 / .85) 25%, rgb(37 28 46 / .1) 99%);
}
/* Ohne Beitragsbild: orangenes „Bit“ oben rechts, das sich beim Überfahren zur Raute dreht */
.card--text::before {
  content: ''; position: absolute; top: 27px; right: 27px; z-index: -1;
  width: 43px; height: 43px; background: var(--c-orange); transition: transform .3s;
}
.card--text:hover::before { transform: rotate(45deg) scale(.8); }
.cards > :nth-child(4n + 2) .card--text, .cards > :nth-child(4n + 3) .card--text { background: var(--c-prussian); }

.card__date { font-size: .9375rem; font-weight: 400; color: rgb(246 244 243 / .75); margin-bottom: 8px; }
.card__title { font-size: var(--fs-h2); font-weight: 500; line-height: 1.25; max-width: 17em; overflow-wrap: break-word; hyphens: auto; }
.card--text .card__title { padding-right: 60px; }
/* ganze Kachel klickbar, ohne verschachtelte Links */
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--c-orange); outline-offset: 3px; }
.card__colon { color: var(--c-orange); }
.card__excerpt {
  margin-top: 10px; max-width: 34em; font-size: 1rem; line-height: 1.45; color: rgb(246 244 243 / .85);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.card__more { margin-top: 10px; font-size: var(--fs-body); font-weight: 400; color: var(--c-orange); }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; padding: 0; list-style: none; }
.card__tags li { display: flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--c-orange); font-size: 1rem; font-weight: 500; }
.sticky .card__date::before { content: '★ '; color: var(--c-orange); }
@media (max-width: 1023px) { .card { aspect-ratio: auto; min-height: 300px; } }
@media (max-width: 600px) {
  .card { padding: 24px 20px; min-height: 252px; }
  .card__excerpt { -webkit-line-clamp: 2; line-clamp: 2; }
  .card__tags li { height: 22px; font-size: .75rem; }
}

/* Seitenzahlen */
.pagination { margin-top: clamp(40px, 4vw, 64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 14px;
  border: 2px solid var(--c-purple); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--c-purple); color: var(--c-white); }
.pagination a.page-numbers:hover, .pagination a.page-numbers:focus-visible { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-white); }
.pagination .page-numbers.dots { border-color: transparent; }

/* ------------------------------------------------------------------
   7. Textsatz für Artikel und Seiten (Vorbild: .prose der Website)
   ------------------------------------------------------------------ */
.entry { padding: clamp(48px, 5vw, 88px) 0 clamp(56px, 6vw, 104px); }
.entry__bild { margin-bottom: clamp(32px, 3vw, 56px); }
.entry__bild img { width: 100%; }

/* Hinweis über Artikeln, die vor 2021 erschienen sind */
.hinweis-alt {
  margin-bottom: clamp(28px, 3vw, 44px); padding: 16px 22px;
  background: var(--c-white); border-left: 6px solid var(--c-orange);
  font-size: 1.0625rem; font-weight: 400; line-height: 1.5;
}
.hinweis-alt strong { font-weight: 700; }

.prose { font-size: 1.25rem; font-weight: 400; line-height: 1.55; overflow-wrap: break-word; }
.prose::after { content: ''; display: table; clear: both; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: var(--fs-display-2); font-weight: 800; line-height: 1.15; margin: 1.6em 0 .5em; }
.prose h2 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.25; margin: 2em 0 .6em; }
.prose h3 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.3; margin: 1.8em 0 .5em; }
.prose h4, .prose h5, .prose h6 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; margin: 1.6em 0 .4em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table, .prose figure, .prose dl,
.prose .wp-block-buttons, .prose .wp-block-file, .prose .wp-block-embed { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .3em; }
.prose li > ul, .prose li > ol { margin: .3em 0 0; }
.prose li::marker { color: var(--c-orange); }
.prose a { color: var(--c-flame); text-decoration: underline; text-underline-offset: .15em; }
.prose a:hover { color: var(--c-purple); }
.prose strong, .prose b { font-weight: 700; }
.prose hr { border: 0; border-top: 3px solid var(--c-purple); margin: 2.5em 0; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0 0 .6em 1.4em; }

/* Zitate */
.prose blockquote { padding: .2em 0 .2em 1em; border-left: 6px solid var(--c-orange); font-weight: 500; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose blockquote cite, .prose .wp-block-quote cite { display: block; margin-top: .5em; font-size: 1rem; font-style: normal; font-weight: 400; color: var(--c-purple-70); }

/* Code (z. B. .htaccess- und robots.txt-Beispiele) */
.prose code, .prose kbd { font-family: var(--font-mono); font-size: .85em; background: rgb(37 28 46 / .08); padding: .1em .35em; }
.prose pre {
  padding: 20px 24px; overflow-x: auto; background: var(--c-prussian); color: var(--c-smoke);
  font-family: var(--font-mono); font-size: 1rem; line-height: 1.5; tab-size: 2;
}
.prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }

/* Tabellen: breite Tabellen lassen sich auf dem Handy seitlich schieben */
.prose .wp-block-table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.4; }
.prose .wp-block-table table { margin: 0; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--c-purple); color: var(--c-white); font-weight: 600; border-color: var(--c-purple); }
.prose tbody tr:nth-child(even) td { background: rgb(37 28 46 / .04); }
.prose .wp-block-table.is-style-stripes { border-bottom: 0; }

/* Bilder, Bildunterschriften, Ausrichtung (neuer und alter Editor) */
.prose img { max-width: 100%; height: auto; }
.prose figcaption, .prose .wp-caption-text, .prose .wp-element-caption, .gallery-caption {
  margin-top: .5em; font-size: .9375rem; font-weight: 400; line-height: 1.4; color: var(--c-purple-70); text-align: left;
}
.prose .wp-caption { max-width: 100%; margin-bottom: 1em; }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose img.aligncenter { display: block; }
.prose .alignleft { float: left; max-width: 50%; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; max-width: 50%; margin: .3em 0 1em 1.5em; }
.prose .alignwide, .prose .alignfull {
  width: min(var(--content), 100vw - 2 * var(--gutter)); max-width: none;
  margin-inline: calc((100% - min(var(--content), 100vw - 2 * var(--gutter))) / 2);
}
@media (max-width: 600px) {
  .prose { font-size: 1.125rem; }
  .prose .alignleft, .prose .alignright { float: none; max-width: 100%; margin: 0 0 1em; }
}

/* Einbettungen (Videos) und Datei-Downloads */
.prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-has-aspect-ratio iframe { width: 100%; height: 100%; }
.prose .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prose .wp-block-file__button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; background: var(--c-orange); color: var(--c-white); font-weight: 600; text-decoration: none; }
.prose .wp-block-button__link { color: var(--c-white); text-decoration: none; }
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formularfelder im Inhalt (Kontaktformular) und bei Kommentaren */
.prose input:not([type='submit'], [type='checkbox'], [type='radio'], [type='button']), .prose textarea, .prose select,
.comment-form input:not([type='submit'], [type='checkbox']), .comment-form textarea {
  width: 100%; max-width: 100%; min-height: 48px; padding: 10px 14px;
  background: var(--c-white); border: 2px solid var(--c-purple); border-radius: 0; font-weight: 400;
}

/* Kontaktformular (Kurzbefehl [seobook_kontakt]) */
.kontakt { margin: 1.5em 0; scroll-margin-top: 120px; }
.kontakt label { display: block; margin-bottom: 6px; font-weight: 600; }
.kontakt label span { color: var(--c-flame); }
.kontakt [aria-invalid='true'] { border-color: var(--c-flame); outline: 2px solid var(--c-flame); outline-offset: 0; }
.kontakt__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt__haken { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 1.0625rem; }
.kontakt__haken input { width: 22px; height: 22px; margin: .2em 0 0; accent-color: var(--c-orange); }
.kontakt__haken label { margin: 0; font-weight: 400; }
.kontakt__turnstile { min-height: 65px; margin-bottom: 1em; }
.kontakt__ok, .kontakt__fehler { padding: 18px 22px; background: var(--c-white); border-left: 6px solid var(--c-orange); font-weight: 500; }
.kontakt__fehler { border-color: var(--c-flame); margin-bottom: 1.2em; }
.kontakt__fehler p { margin-bottom: .3em; font-weight: 700; }
.kontakt__fehler ul { margin-bottom: 0; }

/* Seitenumbruch innerhalb eines Artikels, Schlagwörter */
.page-links { margin-top: 1.5em; font-weight: 600; }
.page-links a, .page-links > span { display: inline-block; padding: 2px 10px; border: 2px solid var(--c-purple); margin-left: 4px; }
.entry__tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 40px; padding: 0; list-style: none; }
.entry__tags a { display: flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--c-orange); font-size: 1rem; font-weight: 500; }
.entry__tags a:hover, .entry__tags a:focus-visible { background: var(--c-orange); color: var(--c-white); }

/* ------------------------------------------------------------------
   8. Unter dem Artikel: Autor, Blättern, ähnliche Artikel, Kommentare
   ------------------------------------------------------------------ */
.author-box {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: start;
  margin-top: clamp(40px, 4vw, 64px); padding: 28px; background: var(--c-white); border-left: 6px solid var(--c-orange);
}
.author-box img { grid-row: span 3; width: 96px; height: 96px; object-fit: cover; }
.author-box__label { font-size: .9375rem; font-weight: 400; color: var(--c-purple-70); }
.author-box__name { font-size: var(--fs-h3); font-weight: 700; }
.author-box__name a:hover { color: var(--c-flame); }
.author-box__text { font-size: 1.0625rem; font-weight: 400; line-height: 1.5; }
@media (max-width: 600px) { .author-box { grid-template-columns: 1fr; padding: 20px; } .author-box img { grid-row: auto; width: 72px; height: 72px; } }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 4vw, 64px); }
.post-nav a { display: block; padding: 20px 24px; border: 2px solid var(--c-purple); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.post-nav a:hover, .post-nav a:focus-visible { background: var(--c-purple); color: var(--c-white); }
.post-nav small { display: block; margin-bottom: 6px; font-size: .9375rem; font-weight: 400; color: var(--c-flame); }
.post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { grid-column: auto; } }

.band { padding: clamp(56px, 6vw, 104px) 0; }
.band--white { background: var(--c-white); }
.band--dark { background: var(--c-purple); color: var(--c-smoke); }
.band--dark .tag { background: var(--c-white); color: var(--c-prussian); }

.comments__title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.2; margin-bottom: 32px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: clamp(16px, 3vw, 48px); }
.comment-body { position: relative; margin-bottom: 20px; padding: 22px 24px; background: var(--c-smoke); }
.bypostauthor > .comment-body { border-left: 6px solid var(--c-orange); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.comment-author img { width: 44px; height: 44px; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 12px; font-size: .9375rem; font-weight: 400; color: var(--c-purple-70); }
.comment-metadata a:hover { text-decoration: underline; }
.comment-content { font-size: 1.0625rem; font-weight: 400; line-height: 1.55; overflow-wrap: break-word; }
.comment-content p { margin-bottom: .8em; }
.comment-content a, .comment-form a, .logged-in-as a, .comment-notes a { color: var(--c-flame); text-decoration: underline; }
.comment-awaiting-moderation { display: block; margin-bottom: 10px; font-style: normal; font-weight: 600; }
.reply { font-size: 1rem; font-weight: 600; }
.reply a { color: var(--c-flame); }
.reply a:hover { text-decoration: underline; }
.comment-respond { margin-top: 40px; }
.comment-reply-title { font-size: var(--fs-h2); font-weight: 800; margin-bottom: 12px; }
.comment-reply-title small { margin-left: 12px; font-size: 1rem; font-weight: 400; }
.comment-form p { margin-bottom: 16px; font-weight: 400; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comments__closed { font-weight: 500; }
.comment-navigation { display: flex; justify-content: space-between; margin-bottom: 24px; font-weight: 600; }

/* Widget-Bereich „Unter dem Inhalt“ (Ersatz für die frühere Seitenleiste) */
.widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 48px; }
.widget__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--c-line); font-weight: 400; line-height: 1.35; }
.band--dark .widget li { border-color: rgb(246 244 243 / .2); }
.widget li ul { margin: 8px 0 -8px 18px; }
.widget li ul li:last-child { border-bottom: 0; }
.widget a:hover, .widget a:focus-visible { color: var(--c-orange); }
.widget p { font-weight: 400; line-height: 1.5; margin-bottom: .8em; }
.widget .wp-block-heading { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 14px; }

/* ------------------------------------------------------------------
   9. Fuß (Vorbild: Footer.astro)
   ------------------------------------------------------------------ */
.footer { background: var(--c-orange); color: var(--c-white); padding: clamp(56px, 7.3vw, 140px) 0; }
.footer__inner { display: grid; grid-template-columns: 1fr 130px; gap: 40px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 32px; }
.footer__title, .footer .wp-block-heading { font-size: var(--fs-h3); font-weight: 500; line-height: 44px; margin: 0; }
.footer ul { list-style: none; padding: 0; }
.footer li, .footer p { font-size: 1.25rem; font-weight: 500; line-height: 1.35; padding: 7px 0; }
.footer a:hover, .footer a:focus-visible { text-decoration: underline; }
.footer :focus-visible { outline-color: var(--c-white); }
.footer__logo { justify-self: end; width: 130px; transition: translate .3s; }
.footer__logo:hover, .footer__logo:focus-visible { translate: 0 -8px; }
.footer__credit { grid-column: 1 / -1; font-size: 1rem; font-weight: 400; }
.footer__credit a { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__logo { order: -1; justify-self: start; width: 77px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer__title, .footer .wp-block-heading { font-size: 1.25rem; font-weight: 800; }
  .footer li, .footer p { font-size: 1.0625rem; }
}

/* Hinweis, wenn nichts gefunden wurde / 404 */
.leer { max-width: 40em; font-size: 1.25rem; font-weight: 400; line-height: 1.55; }
.leer .search-form { margin-top: 28px; max-width: 560px; }

@media print {
  .menu-btn, .menu, .footer, .comment-respond, .post-nav, .band--dark { display: none !important; }
  .hero { background: none; color: #000; padding: 0 0 24px; }
  .hero__title { color: #000; }
  .brand { position: static; padding: 0 0 24px; }
}
