/*
Theme Name: Einzelfallhilfe Atelier
Theme URI: https://example.org/einzelfallhilfe-atelier
Author: Roman Bungartz
Description: Editoriale Atelier-Variante des reduzierten Portfolio-Themes für freiberufliche Fachkräfte der Sozialen Arbeit.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.0
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: einzelfallhilfe-portfolio
Tags: portfolio, blog, custom-logo, custom-menu, featured-images, accessibility-ready, translation-ready, block-styles, wide-blocks
*/

:root {
  --efh-ink: #1c1e1c;
  --efh-muted: #6f736e;
  --efh-paper: #f6f6f2;
  --efh-surface: #fdfdfb;
  --efh-accent: #a8b8ae;
  --efh-accent-soft: #e6ebe7;
  --efh-line: #d7dad5;
  --efh-strong-line: #a9aea8;
  --efh-content: 800px;
  --efh-wide: 1280px;
  --efh-font: Inter, "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--efh-ink); background: var(--efh-paper); font-family: var(--efh-font); font-size: 1rem; line-height: 1.62; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: #52625a; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--efh-ink); outline-offset: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; top: 1rem; left: 1rem; z-index: 99999; width: auto; height: auto; clip: auto; padding: .75rem 1rem; background: #fff; color: #000; }
.site-shell { width: min(calc(100% - 2.5rem), var(--efh-wide)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--efh-line); background: rgba(246,246,242,.96); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-branding { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.custom-logo { display: block; max-height: 42px; width: auto; }
.site-title { margin: 0; font-size: .82rem; line-height: 1.2; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.site-title a { text-decoration: none; }
.site-description { margin: .3rem 0 0; color: var(--efh-muted); font-size: .7rem; letter-spacing: .045em; }
.menu-toggle { display: none; border: 1px solid var(--efh-strong-line); border-radius: 0; background: transparent; padding: .55rem .8rem; text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; }
.primary-menu { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); list-style: none; padding: 0; margin: 0; }
.primary-menu li { position: relative; }
.primary-menu a { position: relative; display: block; text-decoration: none; font-size: .72rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--efh-accent); transition: right .22s ease; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { right: 0; }

.architecture-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 280px); column-gap: clamp(2rem, 5vw, 5rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--efh-muted); font-size: .68rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }

.architecture-hero { position: relative; overflow: hidden; padding: clamp(3.25rem, 6vw, 5.75rem) 0 clamp(3rem, 5.5vw, 5rem); border-bottom: 1px solid var(--efh-line); }
.architecture-intro { grid-column: 1 / 3; max-width: 1040px; }
.architecture-intro h1 { margin: 0; max-width: 1000px; font-size: clamp(3rem, 6.8vw, 6.4rem); font-weight: 460; line-height: .92; letter-spacing: -.058em; }
.hero-statement { max-width: 850px; margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--efh-strong-line); font-size: clamp(1.25rem, 2.35vw, 2rem); line-height: 1.22; letter-spacing: -.025em; }
.hero-lead { max-width: 680px; margin: 1.65rem 0 0; font-size: clamp(1.05rem, 1.8vw, 1.32rem); color: var(--efh-muted); }
.hero-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-top: clamp(1.75rem, 3vw, 2.75rem); border-top: 1px solid var(--efh-strong-line); }
.hero-meta p { margin: 0; padding: .8rem 1.5rem .8rem 0; border-bottom: 1px solid var(--efh-line); font-size: .86rem; }
.hero-meta p + p { padding-left: 1.5rem; border-left: 1px solid var(--efh-line); }
.hero-meta span { display: block; margin-bottom: .28rem; color: var(--efh-muted); font-size: .64rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }

.architecture-content { padding: clamp(3.25rem, 6vw, 5.75rem) 0; border-bottom: 1px solid var(--efh-line); background: var(--efh-surface); }
.architecture-editor { grid-column: 1 / 3; }
.entry-content > * { max-width: var(--efh-content); margin-left: 0; margin-right: auto; }
.entry-content > .alignwide { max-width: 100%; }
.entry-content > .alignfull { max-width: none; width: calc(100% + 3rem); margin-left: -1.5rem; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content h2 { margin-top: 3.25rem; margin-bottom: 1rem; font-size: clamp(2.15rem, 4.6vw, 4.4rem); font-weight: 480; line-height: 1; letter-spacing: -.043em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 2.2rem; font-size: 1.35rem; font-weight: 600; }
.entry-content p { color: #383b38; }
.entry-content a:not(.wp-block-button__link) { text-decoration-color: var(--efh-accent); transition: color .2s ease, text-decoration-color .2s ease; }
.entry-content a:not(.wp-block-button__link):hover { text-decoration-color: var(--efh-ink); }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content li + li { margin-top: .45rem; }
.entry-content figure figcaption { margin-top: .7rem; color: var(--efh-muted); font-size: .72rem; letter-spacing: .035em; }
.entry-content blockquote { margin: 2.5rem 0; padding: .25rem 0 .25rem 2rem; border-left: 2px solid var(--efh-accent); font-size: 1.32rem; }
.entry-content hr { margin: 2.75rem 0; border: 0; border-top: 1px solid var(--efh-line); }
.entry-content img, .wp-block-image img { border-radius: 0; }
.wp-block-columns { gap: clamp(1.5rem, 3vw, 3rem); }
.wp-block-group.has-background { padding: clamp(1.5rem, 3.5vw, 3rem); }
.wp-block-cover { min-height: clamp(340px, 52vw, 680px); }
.wp-block-details { padding: 1rem 0; border-top: 1px solid var(--efh-line); border-bottom: 1px solid var(--efh-line); }
.wp-block-details summary { cursor: pointer; font-weight: 600; letter-spacing: -.01em; }
.wp-block-button__link { transition: background .2s ease, color .2s ease; }
.wp-block-button__link:hover { background: var(--efh-accent-soft); color: var(--efh-ink); }
.editor-placeholder { max-width: 760px; padding: 2rem 0; border-top: 1px solid var(--efh-strong-line); border-bottom: 1px solid var(--efh-line); }
.editor-placeholder h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 480; line-height: 1; }
.editor-placeholder p { color: var(--efh-muted); }
.editor-placeholder a { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }

.architecture-slogan { padding: clamp(3.5rem, 6.5vw, 6rem) 0; background: var(--efh-accent-soft); }
.slogan-copy h2 { margin: 0; max-width: 950px; font-size: clamp(2.6rem, 5.8vw, 5.8rem); font-weight: 450; line-height: .94; letter-spacing: -.052em; }
.slogan-note { align-self: end; margin: 0; padding-top: 1rem; border-top: 1px solid var(--efh-strong-line); color: var(--efh-muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

.page-main { padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.page-hero { padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--efh-line); }
.page-heading { grid-column: 1; }
.entry-title { margin: 0; font-size: clamp(3rem, 7vw, 6.6rem); font-weight: 460; line-height: .94; letter-spacing: -.052em; }
.page-intro { max-width: 680px; margin: 1.5rem 0 0; color: var(--efh-muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.page-featured { grid-column: 2; align-self: end; margin: 0; }
.page-featured img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.72) contrast(1.02); transition: filter .35s ease; }
.page-featured:hover img { filter: saturate(.95) contrast(1.01); }
.page-content-wrap { padding-top: clamp(3rem, 5.5vw, 5.5rem); }

.content-area { width: min(calc(100% - 2.5rem), var(--efh-content)); margin-inline: auto; padding: 4rem 0; }
.content-area.is-wide { width: min(calc(100% - 3rem), var(--efh-wide)); }
.entry-header { margin-bottom: 3rem; }
.entry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--efh-line); border: 1px solid var(--efh-line); }
.entry-card { background: var(--efh-surface); }
.entry-card img { display: block; aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.entry-card-content { padding: 1.5rem; }
.entry-meta { color: var(--efh-muted); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.entry-card h2,.entry-card h3 { margin: .7rem 0; font-size: 1.35rem; line-height: 1.2; }
.entry-card h2 a,.entry-card h3 a { text-decoration: none; }
.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; }

.site-footer { padding: 1.6rem 0; border-top: 1px solid var(--efh-line); color: var(--efh-muted); background: var(--efh-paper); font-size: .72rem; letter-spacing: .05em; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.footer-menu a { color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .main-navigation { position: relative; }
  .primary-menu { display: none; position: absolute; top: calc(100% + .7rem); right: 0; z-index: 10; min-width: 250px; padding: .8rem; border: 1px solid var(--efh-line); background: var(--efh-surface); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-menu.is-open { display: flex; }
  .primary-menu a { display: block; padding: .8rem; }
  .primary-menu a::after { display: none; }
  .architecture-grid { grid-template-columns: minmax(0,1fr); column-gap: 0; }
  .slogan-note, .page-featured { grid-column: 1; margin-top: 4rem; }
  .architecture-editor, .page-heading { grid-column: 1; }
  .entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .site-shell { width: min(calc(100% - 1.5rem), var(--efh-wide)); }
  .header-inner { min-height: 72px; }
  .site-description { display: none; }
  .architecture-grid { grid-template-columns: 1fr; }
  .architecture-intro, .architecture-editor, .slogan-note, .page-heading, .page-featured { grid-column: 1; }
  .architecture-hero { min-height: auto; padding-top: 3rem; }
  .architecture-intro h1 { font-size: clamp(2.75rem, 16vw, 4.8rem); }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta p { padding-right: 0; }
  .hero-meta p + p { padding-left: 0; border-left: 0; }
  .entry-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Version 2.3.0: Einheitlich zentrierter Lesebereich */
:root {
  --efh-reading: 820px;
  --efh-reading-wide: 1080px;
}

/* Fließtext bleibt linksbündig, steht aber auf jeder Seite mittig im Raster. */
.entry-content > * {
  max-width: var(--efh-reading);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  max-width: var(--efh-reading-wide);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignfull {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Seitenkopf und Seiteninhalt folgen demselben mittigen Lesebereich. */
.page-hero {
  display: block;
}

.page-heading {
  width: min(100%, var(--efh-reading));
  margin-inline: auto;
}

.page-featured {
  width: min(100%, var(--efh-reading-wide));
  margin: clamp(2rem, 4vw, 3.5rem) auto 0;
}

.page-featured img {
  max-height: 720px;
  aspect-ratio: 16 / 9;
}

.page-content-wrap {
  display: block;
}

.page-content-wrap .architecture-editor,
.architecture-content .architecture-editor {
  width: 100%;
  margin-inline: auto;
}

/* Auch der frei editierbare Bereich der Startseite beginnt auf derselben Achse. */
.editor-placeholder {
  width: min(100%, var(--efh-reading));
  margin-inline: auto;
}

/* Überschriften, Linien, Listen und Zitate bleiben an der gemeinsamen Leseachse. */
.entry-content blockquote,
.entry-content hr,
.entry-content ul,
.entry-content ol {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 620px) {
  :root {
    --efh-reading: 100%;
    --efh-reading-wide: 100%;
  }

  .page-featured img {
    aspect-ratio: 4 / 3;
  }
}


/* =========================================================
   Atelier-Variante 1.0.0
   Kompakter, editorialer, mit ruhiger dunkler Abschlussfläche
   ========================================================= */
:root {
  --efh-ink: #20231f;
  --efh-muted: #6d716a;
  --efh-paper: #f3f2ec;
  --efh-surface: #faf9f5;
  --efh-accent: #93a197;
  --efh-accent-soft: #dfe4df;
  --efh-line: #d1d3cc;
  --efh-strong-line: #979d96;
  --efh-wide: 1240px;
}

body { line-height: 1.58; }
.site-shell { width: min(calc(100% - 3rem), var(--efh-wide)); }

.site-header {
  border-top: 4px solid var(--efh-accent);
  background: rgba(243,242,236,.94);
}
.header-inner { min-height: 68px; }
.site-title { font-size: .78rem; letter-spacing: .13em; }
.site-description { display: none; }
.primary-menu { gap: clamp(1rem, 2vw, 2rem); }
.primary-menu a { font-size: .68rem; letter-spacing: .13em; }
.primary-menu a::after { bottom: -.32rem; }

.architecture-hero {
  padding: clamp(2.8rem, 5vw, 4.8rem) 0 clamp(2.7rem, 4.5vw, 4.3rem);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - .5px), rgba(32,35,31,.055) 50%, transparent calc(50% + .5px));
}
.architecture-intro {
  width: min(100%, 940px);
  margin-inline: auto;
}
.architecture-intro h1 {
  max-width: 900px;
  font-size: clamp(2.85rem, 6vw, 5.7rem);
  line-height: .95;
  letter-spacing: -.052em;
}
.eyebrow { margin-bottom: .9rem; color: #667067; }
.hero-statement {
  max-width: 760px;
  margin-top: 1.1rem;
  padding-top: .85rem;
  font-size: clamp(1.18rem, 2vw, 1.78rem);
}
.hero-lead { max-width: 650px; margin-top: 1.2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 760px;
  margin-top: 1.55rem;
  border-bottom: 1px solid var(--efh-line);
}
.hero-meta p {
  flex: 1 1 280px;
  padding: .65rem 1.35rem .65rem 0;
  border-bottom: 0;
}
.hero-meta p + p { padding-left: 1.35rem; }

.architecture-content {
  padding: clamp(2.8rem, 5vw, 4.7rem) 0;
  background: var(--efh-surface);
}
.entry-content > * + * { margin-top: .95rem; }
.entry-content h2 { margin-top: 2.7rem; margin-bottom: .8rem; }
.entry-content h3 { margin-top: 1.8rem; }
.entry-content blockquote { margin: 2rem auto; }
.entry-content hr { margin: 2.2rem auto; }
.wp-block-columns { gap: clamp(1.25rem, 2.5vw, 2.5rem); }

.architecture-slogan {
  padding: clamp(3rem, 5.5vw, 5rem) 0;
  color: var(--efh-paper);
  background: var(--efh-ink);
}
.architecture-slogan .architecture-grid {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
}
.architecture-slogan .eyebrow,
.architecture-slogan .slogan-note { color: #b8c1b9; }
.slogan-copy h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  letter-spacing: -.047em;
}
.slogan-note { border-top-color: #59605a; }

.page-hero {
  padding-top: clamp(2.9rem, 5vw, 4.8rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.8rem);
  background: linear-gradient(180deg, rgba(147,161,151,.09), transparent 75%);
}
.entry-title { font-size: clamp(2.8rem, 6.3vw, 5.8rem); }
.page-intro { margin-top: 1.15rem; }
.page-content-wrap { padding-top: clamp(2.4rem, 4.5vw, 4.2rem); }
.page-featured { margin-top: clamp(1.5rem, 3vw, 2.7rem); }
.page-featured img { filter: saturate(.64) contrast(1.03); }

.entry-content > .wp-block-group.alignwide,
.entry-content > .wp-block-columns.alignwide {
  padding-top: .25rem;
  padding-bottom: .25rem;
}
.entry-content .is-style-kicker,
.entry-content .eyebrow {
  letter-spacing: .14em;
}

.site-footer { padding: 1.25rem 0; background: #ecebe5; }

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 2rem), var(--efh-wide)); }
  .architecture-hero { background: none; }
  .hero-meta { display: grid; grid-template-columns: 1fr; }
  .hero-meta p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--efh-line); }
  .architecture-slogan .architecture-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Design Release 2.4.0
   Einheitliches Editorial-System für Inhalts- und Rechtstexte
   ========================================================= */
:root {
  --efh-reading: 780px;
  --efh-reading-wide: 1060px;
  --efh-space-section: clamp(2.35rem, 4.2vw, 4.25rem);
}

body { font-size: 1.02rem; line-height: 1.56; }

.site-header { box-shadow: 0 1px 0 rgba(32,35,31,.025); }
.header-inner { min-height: 64px; }
.primary-menu a { transition: color .2s ease; }

.page-hero {
  padding-top: clamp(2.45rem, 4.2vw, 4rem);
  padding-bottom: clamp(1.9rem, 3.2vw, 3rem);
}
.page-heading { max-width: var(--efh-reading); }
.entry-title { font-size: clamp(2.65rem, 5.6vw, 5.15rem); }
.page-intro { max-width: 650px; font-size: clamp(1.05rem, 1.45vw, 1.22rem); }
.page-content-wrap { padding-top: var(--efh-space-section); }

.entry-content > * { max-width: var(--efh-reading); }
.entry-content > .alignwide { max-width: var(--efh-reading-wide); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 {
  margin-top: clamp(2.5rem, 4.5vw, 4.2rem);
  margin-bottom: .85rem;
  padding-bottom: .72rem;
  border-bottom: 1px solid var(--efh-line);
  font-size: clamp(1.85rem, 3.5vw, 3.25rem);
  line-height: 1.02;
}
.entry-content h3 {
  margin-top: 2rem;
  margin-bottom: .55rem;
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.22;
}
.entry-content p { margin-top: 0; margin-bottom: .9rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.1rem; }
.entry-content li + li { margin-top: .3rem; }
.entry-content hr { margin-top: 2.4rem; margin-bottom: 2.4rem; }
.entry-content blockquote {
  margin-top: 2.1rem;
  margin-bottom: 2.1rem;
  padding-left: 1.35rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.45;
}

/* Editorial block styles */
.is-style-efh-kicker {
  margin-bottom: .7rem !important;
  color: var(--efh-muted);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.is-style-efh-lead {
  color: #343834;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -.012em;
}
.is-style-efh-rule-group {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--efh-line);
  border-bottom: 1px solid var(--efh-line);
}
.is-style-efh-note {
  padding: 1.25rem 1.4rem;
  border-left: 2px solid var(--efh-accent);
  background: rgba(147,161,151,.09);
}

/* Legal/editorial pages */
.efh-legal-intro { margin-bottom: 2.2rem; }
.efh-legal-section { padding: 1.15rem 0 1.35rem; border-top: 1px solid var(--efh-line); }
.efh-legal-section:last-child { border-bottom: 1px solid var(--efh-line); }
.efh-legal-section h2,
.efh-legal-section h3 { border: 0; padding: 0; margin-top: 0; }
.efh-legal-meta { color: var(--efh-muted); font-size: .82rem; }

/* Tables stay compact and readable. */
.entry-content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry-content th,
.entry-content td { padding: .75rem .7rem; border-bottom: 1px solid var(--efh-line); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 650; }

/* Subtle image and link interactions. */
.entry-content figure img { transition: filter .25s ease, opacity .25s ease; }
.entry-content figure:hover img { filter: saturate(.9); }
.entry-content a:not(.wp-block-button__link) { text-decoration-thickness: 1px; }

.site-footer { padding: 1.05rem 0; }
.footer-menu { gap: 1.25rem; }

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .page-hero { padding-top: 2.1rem; padding-bottom: 1.7rem; }
  .entry-content h2 { margin-top: 2.35rem; }
  .entry-content > .alignwide { max-width: 100%; }
}


/* =========================================================
   Version 3.0.0 — Einheitliche Seitenarchitektur
   Die Startseite folgt exakt dem Raster aller Inhaltsseiten.
   ========================================================= */
body.home .page-hero,
body.front-page .page-hero,
body.efh-front-page .page-hero {
  background: linear-gradient(180deg, rgba(147,161,151,.09), transparent 75%);
}

.portfolio-page--front .page-heading,
.portfolio-page--front .entry-content > * {
  max-width: var(--efh-reading);
}

.portfolio-page--front .entry-content > .alignwide {
  max-width: var(--efh-reading-wide);
}

.portfolio-page--front .entry-content > .alignfull {
  max-width: none;
}

/* Alte Startseiten-Sonderflächen werden in 3.0 nicht mehr verwendet. */
.portfolio-page--front + .architecture-slogan,
body.home .architecture-hero,
body.home .architecture-slogan {
  display: none;
}
