/*
Theme Name: Webwirtschaft Architectural
Theme URI: https://webwirtschaft.de/
Author: Webwirtschaft e.V.
Author URI: https://webwirtschaft.de/
Description: Schlankes, DSGVO-konformes Block-Theme im Schweizer Architektur-Design für webwirtschaft.de.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: webwirtschaft
*/

/* ==========================================================================
   1. LOKALE SCHRIFTARTEN (@font-face – DSGVO-konform, 0 externe Requests)
   ========================================================================== */

/* Lato 400 Italic (latin-ext) */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-italic-latin-ext.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;
}

/* Lato 400 Italic (latin) */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-italic-latin.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;
}

/* Lato 400 Normal (latin-ext) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-normal-latin-ext.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;
}

/* Lato 400 Normal (latin) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/lato-400-normal-latin.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;
}

/* Lato 700 Normal (latin-ext) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700-normal-latin-ext.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;
}

/* Lato 700 Normal (latin) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/lato-700-normal-latin.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;
}

/* Outfit 500 Normal (latin-ext) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/outfit-500-normal-latin-ext.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;
}

/* Outfit 500 Normal (latin) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/outfit-500-normal-latin.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;
}

/* Outfit 600 Normal (latin-ext) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/outfit-600-normal-latin-ext.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;
}

/* Outfit 600 Normal (latin) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/outfit-600-normal-latin.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;
}

/* Outfit 700 Normal (latin-ext) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/outfit-700-normal-latin-ext.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;
}

/* Outfit 700 Normal (latin) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/outfit-700-normal-latin.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. CSS CUSTOM PROPERTIES & ORTHOGONALER BASIS-RESET
   ========================================================================== */

:root {
  --bg-paper: #FBFCFA;
  --bg-pure: #FFFFFF;
  --bg-stone: #EFF3F0;
  --ink-primary: #121A21;
  --ink-body: #2B3640;
  --ink-muted: #4A5662;
  --brand-signal: #0FBE7C;
  --brand-accessible: #076E46;
  --line-hairline: #C4D0CA;
  --state-error: #A81E23;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: var(--line-hairline);
}

html {
  height: 100%;
  background-color: var(--bg-paper);
  color: var(--ink-body);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-paper);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* WordPress Block-Theme Container Reset */
.wp-site-blocks {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-site-blocks > main {
  flex-grow: 1;
}

h1, h2, h3, h4, h5, h6,
p, figure, blockquote, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  cursor: pointer;
  background: transparent;
  border: 0;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* ==========================================================================
   3. STANDALONE UTILITY & LAYOUT CLASSES (Zero CDN Dependency)
   ========================================================================== */

/* --- Display & Visibility --- */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* --- Positioning & Z-Index --- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* --- Flexbox & Grid --- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* --- Gap Utilities --- */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-y-2 { row-gap: 0.5rem; }

/* --- Space Between Utilities (space-y-*) --- */
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

/* --- Sizing (Width & Height) --- */
.w-2 { width: 0.5rem; }
.w-6 { width: 1.5rem; }
.w-9 { width: 2.25rem; }
.w-24 { width: 6rem; }
.w-36 { width: 9rem; }
.w-48 { width: 12rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-full { max-width: 100%; }
.max-w-\[78ch\] { max-width: 78ch; }
.max-w-\[1240px\] { max-width: 1240px; }

.h-2 { height: 0.5rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-24 { height: 6rem; }
.h-28 { height: 7rem; }
.h-48 { height: 12rem; }
.h-\[400px\] { height: 400px; }
.h-auto { height: auto; }
.h-full { height: 100%; }

.min-h-\[240px\] { min-height: 240px; }
.min-h-screen { min-height: 100vh; }

.max-h-14 { max-height: 3.5rem; }
.max-h-\[300px\] { max-height: 300px; }

/* --- Margin & Padding --- */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }

.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }

/* --- Backgrounds --- */
.bg-bg-paper { background-color: var(--bg-paper); }
.bg-bg-pure { background-color: var(--bg-pure); }
.bg-bg-stone { background-color: var(--bg-stone); }
.bg-ink-primary { background-color: var(--ink-primary); }
.bg-ink-body { background-color: var(--ink-body); }
.bg-brand-signal { background-color: var(--brand-signal); }
.bg-brand-accessible { background-color: var(--brand-accessible); }

/* --- Text Colors & Placeholders --- */
.text-bg-paper { color: var(--bg-paper); }
.text-bg-pure { color: var(--bg-pure); }
.text-bg-stone { color: var(--bg-stone); }
.text-ink-primary { color: var(--ink-primary); }
.text-ink-body { color: var(--ink-body); }
.text-ink-muted { color: var(--ink-muted); }
.text-brand-signal { color: var(--brand-signal); }
.text-brand-accessible { color: var(--brand-accessible); }
.text-line-hairline { color: var(--line-hairline); }
.text-state-error { color: var(--state-error); }
.text-\[\#8A9690\] { color: #8A9690; }

.placeholder-ink-muted::placeholder { color: var(--ink-muted); opacity: 1; }
.placeholder-line-hairline::placeholder { color: var(--line-hairline); opacity: 1; }

/* --- Borders & Dividers --- */
.border { border: 1px solid var(--line-hairline); }
.border-0 { border-width: 0; }
.border-t { border-top: 1px solid var(--line-hairline); }
.border-t-2 { border-top: 2px solid var(--line-hairline); }
.border-b { border-bottom: 1px solid var(--line-hairline); }
.border-b-2 { border-bottom: 2px solid var(--line-hairline); }
.border-l { border-left: 1px solid var(--line-hairline); }
.border-l-\[3px\] { border-left: 3px solid var(--line-hairline); }
.border-r { border-right: 1px solid var(--line-hairline); }

.border-line-hairline { border-color: var(--line-hairline); }
.border-ink-primary { border-color: var(--ink-primary); }
.border-ink-body { border-color: var(--ink-body); }
.border-ink-muted { border-color: var(--ink-muted); }
.border-brand-signal { border-color: var(--brand-signal); }
.border-brand-accessible { border-color: var(--brand-accessible); }
.border-\[\#2B3640\] { border-color: #2B3640; }

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top: 1px solid var(--line-hairline);
}
.divide-x > :not([hidden]) ~ :not([hidden]) {
  border-left: 1px solid var(--line-hairline);
}
.divide-line-hairline > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--line-hairline);
}

/* --- Typography Tokens & Utilities --- */
.font-label-sm,
.font-label-md,
.font-headline-sm,
.font-headline-md,
.font-headline-lg,
.font-headline-xl,
.font-heading,
.font-display {
  font-family: var(--font-heading);
}

.font-body-sm,
.font-body-md,
.font-body-lg,
.font-sans {
  font-family: var(--font-body);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-label-sm {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.text-label-md {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.text-body-sm {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.text-body-md {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

.text-body-lg {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.text-headline-sm {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.text-headline-md {
  font-size: clamp(1.5rem, 2.5vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.text-headline-lg {
  font-size: clamp(2rem, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.text-headline-xl {
  font-size: clamp(2.5rem, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.text-\[11px\] { font-size: 11px; }
.text-\[12px\] { font-size: 12px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.65; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.whitespace-nowrap { white-space: nowrap; }
.decoration-1 { text-decoration-thickness: 1px; }
.underline-offset-4 { text-underline-offset: 4px; }
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-none { list-style-type: none; }

/* --- Media, Overflow & Effects --- */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.filter { filter: var(--tw-filter, none); }
.grayscale { filter: grayscale(100%); }

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }

/* --- Hover, Focus & Group-Hover States --- */
.hover\:bg-brand-accessible:hover { background-color: var(--brand-accessible); }
.hover\:bg-brand-signal:hover { background-color: var(--brand-signal); }
.hover\:bg-ink-primary:hover { background-color: var(--ink-primary); }

.hover\:text-bg-pure:hover { color: var(--bg-pure); }
.hover\:text-brand-accessible:hover { color: var(--brand-accessible); }
.hover\:text-brand-signal:hover { color: var(--brand-signal); }
.hover\:text-ink-primary:hover { color: var(--ink-primary); }

.hover\:border-brand-accessible:hover { border-color: var(--brand-accessible); }
.hover\:border-brand-signal:hover { border-color: var(--brand-signal); }

.hover\:underline:hover { text-decoration-line: underline; }
.hover\:grayscale-0:hover { filter: grayscale(0%); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-brand-accessible:focus { border-color: var(--brand-accessible); }
.focus\:border-brand-signal:focus { border-color: var(--brand-signal); }

.group:hover .group-hover\:text-brand-accessible { color: var(--brand-accessible); }
.group:hover .group-hover\:border-brand-signal { border-color: var(--brand-signal); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0%); }

/* --- Responsive Breakpoint: sm (min-width: 640px) --- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:p-8 { padding: 2rem; }
  .sm\:w-48 { width: 12rem; }
}

/* --- Responsive Breakpoint: md (min-width: 768px) --- */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:h-12 { height: 3rem; }
  .md\:w-auto { width: auto; }
  .md\:p-12 { padding: 3rem; }
  .md\:divide-y-0 > :not([hidden]) ~ :not([hidden]) { border-top-width: 0; }
  .md\:divide-x > :not([hidden]) ~ :not([hidden]) { border-left: 1px solid var(--line-hairline); }
}

/* --- Responsive Breakpoint: lg (min-width: 1024px) --- */
@media (min-width: 1024px) {
  .lg\:inline-block { display: inline-block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:border-b-0 { border-bottom-width: 0; }
  .lg\:border-r { border-right: 1px solid var(--line-hairline); }
  .lg\:p-16 { padding: 4rem; }
}

/* ==========================================================================
   4. ARCHITEKTUR-KOMPONENTEN & DESIGN-SYSTEM KLASSEN
   ========================================================================== */

/* --- Hairline Structural Borders --- */
.hairline-border { border: 1px solid var(--line-hairline); }
.hairline-t { border-top: 1px solid var(--line-hairline); }
.hairline-b { border-bottom: 1px solid var(--line-hairline); }
.hairline-l { border-left: 1px solid var(--line-hairline); }
.hairline-r { border-right: 1px solid var(--line-hairline); }

/* --- Buttons & Callout Badge --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--ink-primary);
  color: var(--bg-pure);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink-primary);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--brand-accessible);
  border-color: var(--brand-accessible);
  color: var(--bg-pure);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--bg-pure);
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line-hairline);
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--brand-accessible);
  color: var(--brand-accessible);
}

.callout-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-stone);
  color: var(--brand-accessible);
  border: 1px solid var(--line-hairline);
  padding: 0.375rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: color 150ms ease, border-color 150ms ease;
}

.callout-badge:hover {
  color: var(--ink-primary);
  border-color: var(--brand-signal);
}

/* --- Quote Box & Blockquotes --- */
.quote-box,
.wp-block-quote {
  border-left: 3px solid var(--brand-signal);
  border-top: 1px solid var(--line-hairline);
  border-right: 1px solid var(--line-hairline);
  border-bottom: 1px solid var(--line-hairline);
  background-color: var(--bg-pure);
  padding: 1.25rem;
}

/* --- Sponsor Logo Cells --- */
.sponsor-logo-cell {
  background-color: var(--bg-pure);
  border: 1px solid var(--line-hairline);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7rem;
  transition: border-color 150ms ease;
}

.sponsor-logo-cell:hover {
  border-color: var(--brand-signal);
}

.sponsor-logo-cell img {
  max-height: 3.5rem;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 200ms ease, opacity 200ms ease;
}

.sponsor-logo-cell:hover img,
.sponsor-logo-cell img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Article Cards & Entry Titles --- */
.article-card {
  background-color: var(--bg-pure);
  border: 1px solid var(--line-hairline);
  transition: border-color 150ms ease;
}

.article-card:hover {
  border-color: var(--brand-accessible);
}

.entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.entry-title a:hover {
  color: var(--brand-accessible);
}

/* --- Search Highlight --- */
.search-Highlight,
mark.search-Highlight {
  background-color: rgba(15, 190, 124, 0.22);
  color: var(--ink-primary);
  font-weight: 700;
  padding: 0 0.2em;
}

/* --- Pagination (.wp-pagenavi & .default-wp-page) --- */
.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-hairline);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.wp-pagenavi span.pages {
  color: var(--ink-muted);
  margin-right: 0.75rem;
  padding: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.wp-pagenavi a.page,
.wp-pagenavi span.current,
.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.first,
.wp-pagenavi a.last {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line-hairline);
  background-color: var(--bg-pure);
  color: var(--ink-primary);
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.wp-pagenavi a.page:hover,
.wp-pagenavi a.nextpostslink:hover,
.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.first:hover,
.wp-pagenavi a.last:hover {
  border-color: var(--brand-accessible);
  color: var(--brand-accessible);
}

.wp-pagenavi span.current {
  background-color: var(--ink-primary);
  border-color: var(--ink-primary);
  color: var(--bg-pure);
}

ul.default-wp-page {
  list-style: none !important;
  padding: 0;
}

/* ==========================================================================
   5. PROSE ARCHITECTURAL & WORDPRESS POST CONTENT TYPOGRAPHY
   ========================================================================== */

.prose-architectural,
.wp-block-post-content {
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 78ch;
}

.prose-architectural > * + *,
.wp-block-post-content > * + * {
  margin-top: 1.5rem;
}

.prose-architectural h2,
.wp-block-post-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.prose-architectural h3,
.wp-block-post-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-hairline);
}

.prose-architectural h4,
.wp-block-post-content h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-architectural p,
.wp-block-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.prose-architectural a:not(.btn-primary):not(.btn-secondary):not(.inline-block),
.wp-block-post-content a:not(.btn-primary):not(.btn-secondary):not(.inline-block):not(.wp-block-button__link) {
  color: var(--brand-accessible);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}

.prose-architectural a:not(.btn-primary):not(.btn-secondary):not(.inline-block):hover,
.wp-block-post-content a:not(.btn-primary):not(.btn-secondary):not(.inline-block):not(.wp-block-button__link):hover {
  color: var(--ink-primary);
}

.prose-architectural ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page),
.wp-block-post-content ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page):not(.wp-block-latest-posts) {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0;
  border-top: 1px solid var(--line-hairline);
  border-bottom: 1px solid var(--line-hairline);
}

.prose-architectural ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page) > li,
.wp-block-post-content ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page):not(.wp-block-latest-posts) > li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-bottom: 1px solid var(--line-hairline);
}

.prose-architectural ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page) > li:last-child,
.wp-block-post-content ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page):not(.wp-block-latest-posts) > li:last-child {
  border-bottom: 0;
}

.prose-architectural ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page) > li::before,
.wp-block-post-content ul:not(.nav-tabs):not(.divide-y):not(.tick):not(.default-wp-page):not(.wp-block-latest-posts) > li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--brand-signal);
  font-size: 0.75rem;
  line-height: 1.7;
}

.prose-architectural ol:not(.divide-y),
.wp-block-post-content ol:not(.divide-y) {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 1.25rem 0;
}

.prose-architectural ol:not(.divide-y) > li,
.wp-block-post-content ol:not(.divide-y) > li {
  padding: 0.375rem 0;
}

/* ==========================================================================
   6. WP ARTICLE LINKS PLUGIN (.wpal-linkbox)
   ========================================================================== */

html body .wpal-linkbox {
  margin-top: 3.5rem !important;
  padding: 0 !important;
  border: 1px solid #C4D0CA !important;
  background-color: #EFF3F0 !important; /* Ganze Box ist im kühlen Salbei-Stein */
  overflow: hidden !important;
}

/* 6.1 Schwarzer Tab-Balken oben (#121A21) */
html body .wpal-linkbox ul.nav.nav-tabs,
html body .wpal-linkbox ul.nav-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #121A21 !important;
  background-color: #121A21 !important;
  border: 0 !important;
  border-bottom: 1px solid #121A21 !important;
  width: 100% !important;
}

html body .wpal-linkbox ul.nav.nav-tabs > li,
html body .wpal-linkbox ul.nav-tabs > li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
  display: inline-block !important;
}

html body .wpal-linkbox ul.nav-tabs > li::before,
html body .wpal-linkbox ul.nav-tabs > li::after {
  display: none !important;
  content: none !important;
}

/* Inaktive Tabs: Tiefschwarz, weiße/cremige Schrift (#C4D0CA / #FFF), feiner vertikaler Trennstrich (#2B3640) */
html body .wpal-linkbox ul.nav-tabs > li > a,
html body .wpal-linkbox ul.nav-tabs > li > button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #121A21 !important;
  background-color: #121A21 !important;
  color: #C4D0CA !important;
  border: 0 !important;
  border-right: 1px solid #2B3640 !important;
  border-radius: 0 !important;
  padding: 0.75rem 1.5rem !important;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  transition: background-color 150ms ease, color 150ms ease !important;
}

html body .wpal-linkbox ul.nav-tabs > li > a:hover,
html body .wpal-linkbox ul.nav-tabs > li > a:focus,
html body .wpal-linkbox ul.nav-tabs > li > button:hover,
html body .wpal-linkbox ul.nav-tabs > li > button:focus {
  background: #1E2832 !important;
  background-color: #1E2832 !important;
  color: #FFFFFF !important;
}

/* Aktiver Tab: Knalliges Webwirtschaft-Smaragdgrün (#0FBE7C) mit tiefschwarzer Schrift.
   Hohe Selektor-Kaskade, um die Plugin-Inline-Styles (color: #0fbe7c !important) zu überschreiben! */
html body div.wpal-linkbox ul.nav-tabs > li.active > a,
html body div.wpal-linkbox ul.nav-tabs > li.active > a:hover,
html body div.wpal-linkbox ul.nav-tabs > li.active > a:focus,
html body .wpal-linkbox ul.nav-tabs > li.active > a,
html body .wpal-linkbox ul.nav-tabs > li.active > a:hover,
html body .wpal-linkbox ul.nav-tabs > li.active > a:focus,
html body div.wpal-linkbox ul.nav-tabs > li.active > button,
html body .wpal-linkbox ul.nav-tabs > li.active > button {
  background: #0FBE7C !important;
  background-color: #0FBE7C !important;
  color: #121A21 !important;
  -webkit-text-fill-color: #121A21 !important;
  font-weight: 700 !important;
  border: 0 !important;
  border-right: 1px solid #0FBE7C !important;
}

/* 6.2 Unterer Toolbar-Bereich: Durchgehend im Salbeistein (#EFF3F0) – KEINE innere weiße Kiste! */
html body .wpal-linkbox .tab-content {
  background: #EFF3F0 !important;
  background-color: #EFF3F0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body .wpal-linkbox .tab-content > .tab-pane {
  display: none !important;
  background: #EFF3F0 !important;
  background-color: #EFF3F0 !important;
  border: 0 !important; /* Überschreibt border: 1px solid #CCC vom Plugin */
  padding: 1.25rem 1.5rem !important;
  margin: 0 !important;
}

html body .wpal-linkbox .tab-content > .tab-pane.active {
  display: block !important;
}

/* 6.3 Social Icons & Google-Button Zeile */
html body .wpal-linkbox .social-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}

/* Quadratische weiße Kacheln NUR für die 5 Social-Share-Links */
html body .wpal-linkbox .social-icons > a:not(.wpal-google-source-link) {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #C4D0CA !important;
  color: #121A21 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  text-decoration: none !important;
  transition: all 150ms ease !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

html body .wpal-linkbox .social-icons > a:not(.wpal-google-source-link) svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  color: #121A21 !important;
  transition: color 150ms ease !important;
}

html body .wpal-linkbox .social-icons > a:not(.wpal-google-source-link):hover {
  background-color: #0FBE7C !important;
  border-color: #076E46 !important;
  color: #121A21 !important;
}

html body .wpal-linkbox .social-icons > a:not(.wpal-google-source-link):hover svg {
  color: #121A21 !important;
}

/* 6.4 Google-Quelle-Button: Rechtsbündig, frei stehend OHNE Hintergrund und OHNE Rahmen */
html body .wpal-linkbox a.wpal-google-source-link,
html body div.wpal-linkbox a.wpal-google-source-link {
  margin-left: auto !important; /* Schiebt ihn nach ganz rechts! */
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
}

html body .wpal-linkbox img.wpal-google-source-badge,
html body div.wpal-linkbox img.wpal-google-source-badge {
  display: block !important;
  height: 38px !important;
  width: auto !important; /* Original-Proportionen, steht für sich allein */
  max-width: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: opacity 150ms ease !important;
}

html body .wpal-linkbox a.wpal-google-source-link:hover img.wpal-google-source-badge,
html body div.wpal-linkbox a.wpal-google-source-link:hover img.wpal-google-source-badge {
  opacity: 0.8 !important;
  border: none !important;
}

/* Hilfstext unter den Icons ausblenden (in der Vorlage gibt es diesen Text nicht) */
html body .wpal-linkbox .tab-pane#social > p,
html body .wpal-linkbox .tab-pane[id*="social"] > p {
  display: none !important;
}

/* 6.5 Formularfelder in den Tabs URL, HTML, BB-Code */
html body .wpal-linkbox .tab-pane input.form-control,
html body .wpal-linkbox .tab-pane textarea.form-control {
  width: 100% !important;
  background-color: #FFFFFF !important;
  border: 1px solid #C4D0CA !important;
  padding: 0.625rem 0.875rem !important;
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  color: #121A21 !important;
  margin: 0 0 0.5rem 0 !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

html body .wpal-linkbox .tab-pane input.form-control:focus {
  outline: none !important;
  border-color: #076E46 !important;
}

html body .wpal-linkbox .tab-pane p small {
  color: #4A5662 !important;
  font-size: 12px !important;
}

/* ==========================================================================
   7. CONTACT FORM 7 STYLING (CONTENT & FOOTER) & HONEYPOT
   ========================================================================== */

.cf7apps-honeypot-wrap,
.wpcf7-display-none {
  display: none !important;
}

/* 7.1 CONTENT-BEREICH (.entry-content .wpcf7-form) */
.entry-content .wpcf7 {
  margin: 1.5rem 0;
  max-width: 100%;
}

.entry-content .wpcf7-form fieldset {
  border: 1px solid var(--line-hairline);
  background: var(--bg-paper);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.entry-content .wpcf7-form fieldset legend {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-primary);
  padding: 0 0.5rem;
  letter-spacing: -0.01em;
}

.entry-content .wpcf7-form p {
  margin-bottom: 1.25rem;
  color: var(--ink-body);
  font-size: 15px;
}

.entry-content .wpcf7-form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
}

.entry-content .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
}

/* Eingabefelder im Inhaltsbereich */
.entry-content .wpcf7-form input[type="text"],
.entry-content .wpcf7-form input[type="email"],
.entry-content .wpcf7-form input[type="url"],
.entry-content .wpcf7-form input[type="tel"],
.entry-content .wpcf7-form input[type="number"],
.entry-content .wpcf7-form input[type="date"],
.entry-content .wpcf7-form textarea,
.entry-content .wpcf7-form select {
  background-color: var(--bg-pure);
  border: 1px solid var(--line-hairline);
  color: var(--ink-primary);
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 150ms ease;
  box-sizing: border-box;
}

.entry-content .wpcf7-form input[type="text"]::placeholder,
.entry-content .wpcf7-form input[type="email"]::placeholder,
.entry-content .wpcf7-form input[type="url"]::placeholder,
.entry-content .wpcf7-form input[type="tel"]::placeholder,
.entry-content .wpcf7-form textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.8;
}

.entry-content .wpcf7-form input[type="text"]:focus,
.entry-content .wpcf7-form input[type="email"]:focus,
.entry-content .wpcf7-form input[type="url"]:focus,
.entry-content .wpcf7-form input[type="tel"]:focus,
.entry-content .wpcf7-form input[type="number"]:focus,
.entry-content .wpcf7-form input[type="date"]:focus,
.entry-content .wpcf7-form textarea:focus,
.entry-content .wpcf7-form select:focus {
  outline: none;
  border-color: var(--brand-accessible);
}

.entry-content .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.entry-content .wpcf7-form input[type="file"] {
  display: block;
  width: 100%;
  font-size: 14px;
  color: var(--ink-body);
  margin-top: 0.25rem;
  padding: 0.5rem 0;
}

.entry-content .wpcf7-form .wpcf7-acceptance label,
.entry-content .wpcf7-form .wpcf7-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-body);
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.entry-content .wpcf7-form input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-signal);
  flex-shrink: 0;
}

/* Absende-Buttons im normalen Inhaltsbereich */
.entry-content .wpcf7-form input[type="submit"],
.entry-content .wpcf7-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink-primary);
  color: var(--bg-pure);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--ink-primary);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  width: auto;
}

.entry-content .wpcf7-form input[type="submit"]:hover,
.entry-content .wpcf7-form button[type="submit"]:hover {
  background-color: var(--brand-accessible);
  border-color: var(--brand-accessible);
  color: #FFFFFF;
}

/* 7.2 SPEZIELLES NEWSLETTER-FORMULAR AUF CONTENT-SEITEN (.entry-content .subscribe-field)
       z. B. https://webwirtschaft.de/infomails/
       Vorgabe: Input-Feld in eine Zeile und der Button in eine Zeile darunter */
.entry-content .subscribe-field {
  background-color: var(--bg-stone);
  border: 1px solid var(--line-hairline);
  padding: 1.75rem;
  max-width: 28rem;
  margin: 1.5rem 0;
  box-sizing: border-box;
}

.entry-content .subscribe-field p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entry-content .subscribe-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0;
}

.entry-content .subscribe-field input[type="email"],
.entry-content .subscribe-field input[type="text"] {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--line-hairline);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-primary);
  box-sizing: border-box;
}

.entry-content .subscribe-field input[type="email"]:focus,
.entry-content .subscribe-field input[type="text"]:focus {
  outline: none;
  border-color: var(--brand-accessible);
}

.entry-content .subscribe-field input[type="submit"] {
  display: block;
  width: 100%; /* Oder auto, als volle Zeile darunter */
  background-color: var(--brand-signal);
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--brand-signal);
  cursor: pointer;
  margin-top: 0.25rem;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.entry-content .subscribe-field input[type="submit"]:hover {
  background-color: var(--brand-accessible);
  border-color: var(--brand-accessible);
  color: #FFFFFF;
}

/* Status-Meldungen & Validierung */
.wpcf7-not-valid-tip {
  color: var(--state-error);
  font-size: 13px;
  margin-top: 0.35rem;
  display: block;
}

.wpcf7-response-output {
  margin: 1.5rem 0 0 0 !important;
  padding: 0.875rem 1.25rem !important;
  border-radius: 0 !important;
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #E8F8F1;
  border: 1px solid var(--brand-signal) !important;
  color: #076E46;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  background-color: #FDF2F2;
  border: 1px solid var(--state-error) !important;
  color: var(--state-error);
}

/* 7.3 FOOTER-FORMULAR (#colophon) – Originaler, beliebter Zustand */
#colophon .wpcf7 {
  margin: 0;
}

#colophon .subscribe-field {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

#colophon .subscribe-field p {
  display: block !important;
  margin: 0 !important;
}

#colophon .wpcf7-form {
  max-width: 28rem;
}

#colophon .wpcf7-form p {
  margin: 0 0 0.5rem 0;
}

#colophon .wpcf7-form input[type="email"],
#colophon .wpcf7-form input[type="text"] {
  background: #1B2630 !important;
  border: 1px solid #2B3640 !important;
  color: #FFFFFF !important;
  padding: 0.625rem 0.875rem !important;
  width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 0.5rem 0 !important;
  box-sizing: border-box !important;
}

#colophon .wpcf7-form input[type="email"]::placeholder,
#colophon .wpcf7-form input[type="text"]::placeholder {
  color: var(--line-hairline) !important;
  opacity: 1 !important;
}

#colophon .wpcf7-form input[type="email"]:focus,
#colophon .wpcf7-form input[type="text"]:focus {
  outline: none !important;
  border-color: var(--brand-signal) !important;
}

#colophon .wpcf7-form input[type="submit"],
#colophon .wpcf7-form button[type="submit"] {
  background: #0FBE7C !important;
  color: #121A21 !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 0.625rem 1.25rem !important;
  border: 1px solid #0FBE7C !important;
  cursor: pointer !important;
  width: auto !important;
  margin-top: 0.25rem !important;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease !important;
}

#colophon .wpcf7-form input[type="submit"]:hover,
#colophon .wpcf7-form button[type="submit"]:hover {
  background: var(--brand-accessible) !important;
  border-color: var(--brand-accessible) !important;
  color: var(--bg-pure) !important;
}

/* ==========================================================================
   8. LEGACY CONTENT CLASSES AUS SPACIOUS-CHILD
   ========================================================================== */

/* Custom Tick/Square List */
ul.tick {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.25rem 0;
}

ul.tick li {
  position: relative;
  list-style: outside none none !important;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

ul.tick li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-signal);
  font-weight: 700;
}

/* TablePress Architectural Styling */
.tablepress {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--line-hairline);
  margin: 2rem 0;
  background-color: var(--bg-pure);
  font-size: 15px;
}

.tablepress thead th {
  background-color: var(--bg-stone);
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-hairline);
}

.tablepress tbody td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-hairline);
  color: var(--ink-body);
  vertical-align: top;
}

.tablepress tbody tr:hover td {
  background-color: var(--bg-paper);
}

/* Sponsoren Callout Box */
.sponsoren {
  background-color: var(--bg-pure);
  border: 1px solid var(--line-hairline);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.sponsoren h3 {
  text-align: center;
  padding-bottom: 0.5rem;
  color: var(--ink-primary);
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.25;
}

.sponsoren p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sponsoren img {
  display: inline-block;
  margin: 0.625rem;
  vertical-align: middle;
}

.partner img {
  border: 1px solid var(--line-hairline);
}

#barcamp-logo-header {
  float: left;
  padding: 0 20px 0 0;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  #barcamp-logo-header {
    float: none;
    text-align: center;
    margin-bottom: 10px;
    padding-right: 0;
  }
}

/* Suche im Header mobil (< 768px) ausblenden, ab Tablet/Desktop flexibel anzeigen */
#masthead form[role="search"],
#masthead form[action*="webwirtschaft.de"] {
  display: none !important;
}

@media (min-width: 768px) {
  #masthead form[role="search"],
  #masthead form[action*="webwirtschaft.de"] {
    display: flex !important;
  }
}

/* ==========================================================================
   Autoren-Box (Single Post View)
   ========================================================================== */
.webwirtschaft-author-box {
  background-color: var(--bg-paper);
  border: 1px solid var(--line-hairline);
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .webwirtschaft-author-box {
    padding: 1.25rem;
  }
}

.webwirtschaft-author-box .author-box-header {
  margin-bottom: 0.5rem;
}

.webwirtschaft-author-box .author-box-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.webwirtschaft-author-box .author-box-name {
  font-family: var(--font-heading, inherit);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.webwirtschaft-author-box .author-box-bio {
  color: var(--ink-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid var(--line-hairline);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.webwirtschaft-author-box .author-box-bio p {
  margin: 0 0 0.5rem 0;
}

.webwirtschaft-author-box .author-box-bio p:last-child {
  margin-bottom: 0;
}

.webwirtschaft-author-box .author-box-bio a {
  color: var(--brand-accessible);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.webwirtschaft-author-box .author-box-bio a:hover {
  color: var(--ink-primary);
}
