:root {
  --eeg-forest: #123f2d;
  --eeg-leaf: #247a4a;
  --eeg-leaf-dark: #17683d;
  --eeg-leaf-light: #ddeee3;
  --eeg-solar: #f4be2a;
  --eeg-solar-light: #fff3c4;
  --eeg-sky: #287b98;
  --eeg-sand: #f5f2e9;
  --eeg-canvas: #f8faf7;
  --eeg-white: #fff;
  --eeg-ink: #163229;
  --eeg-muted: #587067;
  --eeg-line: #d7e4da;
  --eeg-shadow: 0 14px 38px rgba(18, 63, 45, 0.1);
  --eeg-radius: 20px;
  --eeg-radius-small: 12px;
  --eeg-shell: min(1240px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:lang(de-AT) body {
  hyphens: auto;
}

body {
  min-width: 280px;
  margin: 0;
  overflow-wrap: break-word;
  color: var(--eeg-ink);
  background: var(--eeg-canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--eeg-leaf-dark);
  hyphens: none;
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--eeg-forest);
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--eeg-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--eeg-forest);
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 1.6em 0.55em;
  color: var(--eeg-forest);
  font-weight: 750;
  hyphens: auto;
  line-height: 1.16;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

h1 {
  max-width: 19ch;
  margin-top: 0;
  font-size: clamp(2.15rem, 1.5rem + 3vw, 4.25rem);
  letter-spacing: -0.045em;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.section-heading h2 {
  overflow-wrap: break-word;
}

/* Keep long German headings readable when text is enlarged on narrow screens. */
.front-page-entry h2,
.front-page-entry h3 {
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.65rem, 1.38rem + 1.25vw, 2.6rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.65rem);
}

p,
ul,
ol {
  margin-block: 0 1.1em;
}

.site-shell {
  width: var(--eeg-shell);
  margin-inline: auto;
}

.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,
.skip-link:focus {
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto !important;
  color: var(--eeg-white);
  background: var(--eeg-forest);
  border-radius: 8px;
  white-space: normal;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--eeg-line);
  box-shadow: 0 4px 20px rgba(18, 63, 45, 0.05);
  backdrop-filter: blur(12px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--eeg-leaf) 0 55%, var(--eeg-solar) 55% 78%, var(--eeg-sky) 78%);
}

.site-header__inner {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.site-branding {
  flex: 0 1 auto;
  min-width: 0;
}

.custom-logo-link,
.eeg-brand-logo-link,
.eeg-brand-logo-display,
.site-branding__fallback {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
  color: var(--eeg-forest);
  text-decoration: none;
}

.eeg-brand-logo--header {
  display: block;
  width: auto;
  max-width: min(280px, 48vw);
  max-height: 58px;
  object-fit: contain;
}

.site-branding__fallback-copy {
  display: grid;
  min-width: 0;
}

.site-title {
  overflow: hidden;
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.22rem);
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-description {
  overflow: hidden;
  color: var(--eeg-muted);
  font-size: 0.74rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-navigation-panel {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.primary-navigation {
  min-width: 0;
}

.primary-menu,
.primary-menu ul,
.footer-menu,
.legal-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: block;
  padding: 0.68rem 0.72rem;
  color: var(--eeg-ink);
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 680;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu a:focus-visible,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--eeg-forest);
  background: var(--eeg-leaf-light);
}

.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 230px;
  padding: 0.45rem;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
  box-shadow: var(--eeg-shadow);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}

.header-login,
.button,
.wp-element-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  color: var(--eeg-white);
  background: var(--eeg-leaf);
  border: 2px solid var(--eeg-leaf);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  hyphens: none;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: normal;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  white-space: normal;
  word-break: normal;
}

.header-login:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  color: var(--eeg-white);
  background: var(--eeg-forest);
  border-color: var(--eeg-forest);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.header-whatsapp,
.header-login {
  min-height: 44px;
  padding: 0.62rem 0.85rem;
  white-space: nowrap;
  font-size: 1rem;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--eeg-forest);
  background: var(--eeg-white);
  border: 2px solid #80978d;
  border-radius: 999px;
  font-weight: 750;
  hyphens: none;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: normal;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
  word-break: normal;
}

.header-whatsapp:hover {
  color: var(--eeg-forest);
  background: var(--eeg-leaf-light);
  border-color: var(--eeg-leaf);
}

.button--secondary,
.is-style-outline > .wp-block-button__link {
  color: var(--eeg-forest);
  background: transparent;
  border-color: var(--eeg-forest);
}

.button--secondary:hover,
.is-style-outline > .wp-block-button__link:hover {
  color: var(--eeg-white);
  background: var(--eeg-forest);
}

.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem;
  color: var(--eeg-forest);
  background: transparent;
  border: 1px solid var(--eeg-line);
  border-radius: 10px;
  font-weight: 750;
}

.menu-toggle__icon {
  display: grid;
  width: 22px;
  gap: 4px;
}

.menu-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.breadcrumbs {
  width: var(--eeg-shell);
  margin: 0.9rem auto 0;
  color: var(--eeg-muted);
  font-size: 1rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.32rem;
  color: #80978d;
  content: "/";
}

.breadcrumbs a {
  color: inherit;
}

.site-main {
  min-height: 55vh;
  scroll-margin-top: 6rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 80% 18%, rgba(244, 190, 42, 0.3), transparent 25rem),
    radial-gradient(circle at 15% 90%, rgba(40, 123, 152, 0.13), transparent 28rem),
    linear-gradient(135deg, #eff8f1, #fffdf5);
  border-bottom: 1px solid var(--eeg-line);
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: -90px;
  width: 52vw;
  height: 180px;
  background: rgba(36, 122, 74, 0.08);
  border-radius: 50% 50% 0 0;
  content: "";
  transform: rotate(-4deg);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 5rem);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--eeg-leaf-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 0.35em;
  font-size: clamp(2.15rem, 1.6rem + 2.6vw, 3.8rem);
  text-wrap: balance;
}

.hero__lead,
.page-header__lead {
  max-width: 62ch;
  color: #38584d;
  font-size: clamp(1.08rem, 1rem + 0.38vw, 1.32rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero__visual {
  display: grid;
  place-items: center;
}

.hero__brand-panel {
  display: grid;
  width: min(27vw, 270px);
  min-width: 190px;
  aspect-ratio: 1;
  padding: clamp(1.35rem, 3vw, 2rem);
  place-items: center;
  background: var(--eeg-white);
  border: 1px solid rgba(36, 122, 74, 0.18);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--eeg-shadow);
}

.hero__brand-panel .eeg-brand-logo-display {
  width: 100%;
  justify-content: center;
}

.eeg-brand-logo--hero {
  display: block;
  width: min(100%, 230px);
  max-height: 230px;
  object-fit: contain;
}

.hero__brand-name {
  color: var(--eeg-forest);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.front-page-entry,
.quick-links,
.archive-view,
.error-page,
.comments-area,
.post-navigation-wrap {
  padding-block: clamp(3rem, 6vw, 6rem);
}

.front-page-entry {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.front-page-entry .eeg-page-intro .eeg-front-intro__lead {
  font-size: clamp(1.15rem, 1rem + 0.55vw, 1.5rem);
  line-height: 1.5;
}

.front-page-entry,
.entry-content,
.single-header,
.page-header {
  width: min(760px, calc(100% - 2rem));
}

.front-page-entry + .quick-links {
  padding-top: 0;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 2rem;
}

.section-heading h2,
.page-header h1 {
  margin-top: 0;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.quick-links__grid,
.post-grid,
.eeg-card-grid,
.eeg-tariff-grid,
.eeg-steps {
  display: grid;
  min-width: 0;
  gap: 1.5rem;
}

.quick-links__grid > *,
.post-grid > *,
.eeg-card-grid > *,
.eeg-tariff-grid > *,
.eeg-steps > * {
  min-width: 0;
}

.quick-links__grid,
.post-grid,
.eeg-card-grid,
.eeg-tariff-grid,
.eeg-steps--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.entry-slug-anmeldung .eeg-steps {
  grid-template-columns: 1fr;
}

.eeg-join-guide {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 2rem;
  background: var(--eeg-leaf-light);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
}

.eeg-join-guide p {
  margin-bottom: 0.9rem;
}

.eeg-join-guide__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.eeg-join-guide__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.5rem 0.9rem;
  color: var(--eeg-forest);
  background: var(--eeg-white);
  border: 1px solid #a8c8b3;
  border-radius: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.eeg-join-guide__links a:hover {
  border-color: var(--eeg-leaf);
  text-decoration: underline;
}

.entry-slug-anmeldung .eeg-step[id] {
  scroll-margin-top: 6rem;
}

.quick-links,
.latest-news > .site-shell,
.archive-view,
.entry-content {
  container-name: eeg-three-up;
  container-type: inline-size;
}

/* 2 × 18rem cards + 1.5rem gap = 37.5rem; 3 cards + 2 gaps = 57rem. */
@container eeg-three-up (min-width: 37.5rem) and (max-width: 56.999rem) {
  :where(
    .quick-links__grid,
    .post-grid,
    .entry-content > .eeg-card-grid,
    .entry-content > .eeg-tariff-grid,
    .entry-content > .eeg-steps--compact
  ) > :last-child:nth-child(3) {
    grid-column: 1 / -1;
  }
}

.quick-card {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  overflow: hidden;
  color: var(--eeg-ink);
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius);
  box-shadow: 0 8px 26px rgba(18, 63, 45, 0.06);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.quick-card:hover {
  color: var(--eeg-ink);
  border-color: var(--eeg-leaf);
  box-shadow: var(--eeg-shadow);
  transform: translateY(-3px);
}

.quick-card::after {
  position: absolute;
  right: -32px;
  bottom: -45px;
  width: 140px;
  height: 140px;
  background: var(--eeg-leaf-light);
  border-radius: 50%;
  content: "";
}

.quick-card:nth-child(2)::after {
  background: var(--eeg-solar-light);
}

.quick-card:nth-child(3)::after {
  background: #dceef3;
}

.quick-card__number {
  color: var(--eeg-leaf);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.quick-card__title {
  margin-block: auto 0.35rem;
  color: var(--eeg-forest);
  font-size: 1.55rem;
  font-weight: 800;
}

.quick-card > span {
  position: relative;
  z-index: 1;
}

.section-surface {
  padding-block: clamp(3.5rem, 7vw, 7rem);
  background: var(--eeg-sand);
  border-block: 1px solid #e5e0d3;
}

.post-card,
.eeg-card,
.eeg-tariff-card,
.eeg-step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius);
  box-shadow: 0 8px 26px rgba(18, 63, 45, 0.06);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--eeg-leaf-light);
  text-decoration: none;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.025);
}

.post-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.45rem;
}

.post-card__meta,
.entry-meta {
  color: var(--eeg-muted);
  font-size: 0.86rem;
}

.post-card__title {
  margin-block: 0.5rem 0.75rem;
  font-size: 1.4rem;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__excerpt {
  color: #405e53;
}

.post-card .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 0.5rem;
  gap: 0.25rem;
  color: var(--eeg-leaf-dark);
  font-weight: 760;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.page-header,
.single-header {
  padding-block: clamp(3.25rem, 7vw, 6.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.page-header h1,
.single-header h1 {
  max-width: 22ch;
  font-size: clamp(2rem, 1.55rem + 2.2vw, 3.5rem);
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.entry-meta a {
  color: inherit;
}

.entry-hero-image {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

.entry-hero-image img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--eeg-radius);
}

.entry-content {
  padding-bottom: clamp(3.5rem, 7vw, 7rem);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.08rem);
}

.entry-content :where(p, li, dt, dd, blockquote, figcaption) {
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.entry-content a:not(.button):not(.wp-element-button):not(.wp-block-button__link) {
  hyphens: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content :where(ul, ol) {
  padding-left: 1.4rem;
}

.entry-content li + li {
  margin-top: 0.4rem;
}

.entry-content blockquote {
  padding: 0.5rem 0 0.5rem 1.4rem;
  margin: 2rem 0;
  color: #38584d;
  border-left: 5px solid var(--eeg-solar);
  font-size: 1.1em;
}

.entry-content :where(.alignwide) {
  width: min(1120px, calc(100vw - 2rem));
  max-width: none;
  margin-right: calc((min(760px, calc(100vw - 2rem)) - min(1120px, calc(100vw - 2rem))) / 2);
  margin-left: calc((min(760px, calc(100vw - 2rem)) - min(1120px, calc(100vw - 2rem))) / 2);
}

/* Give tariff cards a wide, scrollbar-safe containing block instead of 100vw arithmetic. */
.entry-slug-tarife .entry-content {
  width: var(--eeg-shell);
}

.entry-slug-tarife .entry-content > * {
  width: 100%;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.entry-slug-tarife .entry-content > .eeg-tariff-grid {
  max-width: 1120px;
}

.entry-content :where(.alignfull) {
  width: calc(100vw - 2rem);
  max-width: none;
  margin-right: calc(50% - 50vw + 1rem);
  margin-left: calc(50% - 50vw + 1rem);
}

.wp-block-image img,
.entry-content > img {
  border-radius: var(--eeg-radius-small);
}

.eeg-original-graphic a,
.eeg-original-graphic img {
  display: block;
  width: 100%;
}

.eeg-original-graphic a {
  border-radius: var(--eeg-radius-small);
}

.wp-block-image figcaption,
.wp-caption-text {
  color: var(--eeg-muted);
  font-size: 0.85rem;
  text-align: left;
}

.wp-block-table {
  overflow-x: auto;
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
}

.wp-block-table table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--eeg-line);
  text-align: left;
  vertical-align: top;
}

.wp-block-table th,
.entry-content th {
  color: var(--eeg-forest);
  background: var(--eeg-leaf-light);
}

.wp-block-navigation a {
  text-underline-offset: 0.2em;
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
  min-width: 44px;
  min-height: 44px;
}

.eeg-card,
.eeg-tariff-card,
.eeg-step {
  padding: clamp(1.25rem, 3vw, 2rem);
}

/* Keep normal spacing while enlarged root text leaves room in nested cards. */
.eeg-card,
.eeg-step {
  padding-inline: min(clamp(1.25rem, 3vw, 2rem), clamp(20px, 3vw, 32px));
}

.entry-content .button {
  display: inline-block;
  min-width: 0;
  padding-inline: min(1.15rem, 18.4px);
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.eeg-registration-grid,
.eeg-association-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.eeg-card.is-highlighted {
  border-top: 5px solid var(--eeg-solar);
  box-shadow: var(--eeg-shadow);
}

.eeg-kicker {
  margin-bottom: 0.55rem;
  color: var(--eeg-leaf-dark);
  font-size: 0.78rem;
  font-weight: 850;
  hyphens: none;
  letter-spacing: 0.09em;
  line-height: 1.35;
  overflow-wrap: normal;
  text-transform: uppercase;
  word-break: normal;
}

.entry-slug-anmeldung .eeg-kicker {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.eeg-card__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--eeg-forest);
  background: var(--eeg-solar-light);
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
}

.eeg-note {
  padding: 1rem 1.15rem;
  color: var(--eeg-ink);
  background: var(--eeg-solar-light);
  border-left: 5px solid var(--eeg-solar);
  border-radius: 0 var(--eeg-radius-small) var(--eeg-radius-small) 0;
}

.eeg-page-intro {
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--eeg-line);
}

.eeg-card > :first-child,
.eeg-tariff-card > :first-child,
.eeg-step > :first-child {
  margin-top: 0;
}

.eeg-card > :last-child,
.eeg-tariff-card > :last-child,
.eeg-step > :last-child {
  margin-bottom: 0;
}

.eeg-tariff-card {
  position: relative;
  border-top: 5px solid var(--eeg-solar);
}

.eeg-tariff-card.is-highlighted {
  border-color: var(--eeg-leaf);
  box-shadow: var(--eeg-shadow);
}

.eeg-tariff-card__price {
  color: var(--eeg-forest);
  font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  font-weight: 850;
  line-height: 1;
}

.eeg-tariff-card__unit {
  color: var(--eeg-muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.eeg-step {
  counter-increment: eeg-step;
}

.eeg-steps {
  counter-reset: eeg-step;
}

.eeg-step::before {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  place-items: center;
  color: var(--eeg-white);
  background: var(--eeg-leaf);
  border-radius: 50%;
  content: counter(eeg-step);
  font-weight: 850;
}

details,
.wp-block-details {
  margin-block: 0 0.8rem;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
}

details summary,
.wp-block-details summary {
  padding: 1rem 3rem 1rem 1.1rem;
  color: var(--eeg-forest);
  cursor: pointer;
  font-weight: 760;
}

details > :not(summary),
.wp-block-details > :not(summary) {
  margin-right: 1.1rem;
  margin-left: 1.1rem;
}

details[open] {
  border-color: #a8c8b3;
  box-shadow: 0 6px 18px rgba(18, 63, 45, 0.06);
}

/* Support for the existing accordion plugin markup without scripting changes. */
.wp-block-aab-accordion-item,
.aagb__accordion_container {
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
}

.wp-block-aab-accordion-item button,
.aagb__accordion_head {
  width: 100%;
  min-height: 50px;
  color: var(--eeg-forest);
  background: var(--eeg-white);
  border: 0;
  border-radius: 0;
  text-align: left;
}

.search-form {
  display: flex;
  max-width: 620px;
  align-items: stretch;
  gap: 0.65rem;
}

.search-form label {
  flex: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.82rem;
  color: var(--eeg-ink);
  background: var(--eeg-white);
  border: 1px solid #80978d;
  border-radius: 9px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

label {
  font-weight: 680;
}

.wpcf7-form p {
  margin-bottom: 1.15rem;
}

.wpcf7-not-valid-tip,
.required,
.comment-form .required {
  color: #9f261d;
}

.wpcf7-response-output,
.comment-notes {
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-list .children {
  padding-left: clamp(1rem, 4vw, 3rem);
  list-style: none;
}

.comment-body {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius-small);
}

.comment-author img {
  border-radius: 50%;
}

.navigation.pagination,
.post-navigation {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.page-numbers,
.post-navigation a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.85rem;
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: 9px;
  text-decoration: none;
}

.page-numbers.current {
  color: var(--eeg-white);
  background: var(--eeg-forest);
  border-color: var(--eeg-forest);
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 1 280px;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation a {
  display: block;
}

.nav-subtitle {
  display: block;
  color: var(--eeg-muted);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-title {
  display: block;
  color: var(--eeg-forest);
  font-weight: 760;
}

.empty-state,
.error-page__card {
  padding: clamp(1.5rem, 5vw, 3rem);
  background: var(--eeg-white);
  border: 1px solid var(--eeg-line);
  border-radius: var(--eeg-radius);
  box-shadow: var(--eeg-shadow);
}

.error-page__card {
  max-width: 760px;
  margin-inline: auto;
}

.error-page__code {
  margin: 0;
  color: var(--eeg-solar);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  line-height: 0.9;
}

.site-footer {
  color: #e7f2eb;
  background: var(--eeg-forest);
}

.site-footer__accent {
  height: 5px;
  background: linear-gradient(90deg, var(--eeg-solar), #ffd965 35%, var(--eeg-sky));
}

.site-footer__inner {
  display: grid;
  padding-block: clamp(2.8rem, 6vw, 5rem);
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.site-footer__brand .eeg-brand-logo-display {
  flex: 0 0 auto;
}

.eeg-brand-logo--footer {
  display: block;
  width: 96px;
  max-height: 96px;
  padding: 0.3rem;
  object-fit: contain;
  background: var(--eeg-white);
  border-radius: 14px;
}

.site-footer__title {
  margin-bottom: 0.25rem;
  color: var(--eeg-white);
  font-size: 1.18rem;
  font-weight: 800;
}

.site-footer__heading,
.footer-widget__title {
  margin: 0 0 0.8rem;
  color: var(--eeg-white);
  font-size: 1rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
  color: #c9ddd1;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--eeg-white);
}

.site-footer a[href^="mailto:"],
.site-footer a[href^="tel:"] {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 0.4rem;
}

.footer-menu a,
.legal-menu a,
.site-footer__meta nav > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-block: 0.4rem;
}

.footer-menu li + li {
  margin-top: 0.45rem;
}

.site-footer__meta {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer__meta p {
  margin: 0;
}

.legal-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .site-header__inner {
    gap: 0.75rem;
  }

  .primary-menu a {
    padding-inline: 0.5rem;
    font-size: 1rem;
  }

  .header-whatsapp,
  .header-login {
    padding-inline: 0.7rem;
    font-size: 1rem;
  }
}

@media (max-width: 1180px) {
  .site-header__inner {
    min-height: 70px;
    flex-wrap: wrap;
  }

  .js .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .header-navigation-panel {
    display: block;
    width: 100%;
    margin-left: 0;
    order: 3;
  }

  .js .header-navigation-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding: 0.75rem 1rem 1rem;
    overflow-y: auto;
    background: var(--eeg-white);
    border-bottom: 1px solid var(--eeg-line);
    box-shadow: var(--eeg-shadow);
    order: initial;
  }

  .js .admin-bar .header-navigation-panel {
    max-height: calc(100vh - 108px);
    max-height: calc(100dvh - 108px);
  }

  .js .menu-toggle[aria-expanded="true"] + .header-navigation-panel {
    display: block;
  }

  .primary-navigation {
    width: 100%;
  }

  .primary-menu {
    display: block;
  }

  .primary-menu a {
    min-height: 48px;
    padding: 0.78rem 0.65rem;
    font-size: 1rem;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 0.85rem;
    margin-top: 0.45rem;
    border-top: 1px solid var(--eeg-line);
  }

  .header-whatsapp,
  .header-login {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    font-size: 1rem;
  }

  .hero__inner {
    grid-template-columns: 1fr minmax(180px, 0.42fr);
    gap: 2rem;
  }

  .hero__brand-panel {
    width: min(100%, 220px);
    min-width: 0;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .js .admin-bar .header-navigation-panel {
    max-height: calc(100vh - 122px);
    max-height: calc(100dvh - 122px);
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }

  .js .admin-bar .header-navigation-panel {
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
  }
}

@media (max-width: 767px) {
  .hero__inner {
    display: block;
  }

  .hero__visual {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --eeg-shell: min(100% - 1.25rem, 1240px);
  }

  .hero {
    padding-block: 2.75rem;
  }

  .hero__actions .button {
    flex: 1 1 180px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 160px;
  }

  .section-heading--row,
  .site-footer__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__meta {
    padding-block: 1rem;
  }

  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-content .wp-block-spacer {
    max-height: 4rem;
  }
}

@media (max-width: 420px) {
  .site-description {
    display: none;
  }

  .eeg-brand-logo--header {
    max-width: 58vw;
    max-height: 56px;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .breadcrumbs {
    overflow: visible;
    white-space: normal;
  }

  .breadcrumbs ol {
    flex-wrap: wrap;
  }

  .breadcrumbs li {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .hero__visual,
  .post-navigation-wrap,
  .comments-area,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .entry-content {
    width: 100%;
    max-width: none;
  }

  a {
    color: #000;
  }
}
