/*
Theme Name: Listeo Child
Theme URI: http://listeo.pro/
Description: Child theme for Listeo customizations on thueringenweb.
Author: Thueringen Engine
Author URI: https://thueringenweb.local/
Template: listeo
Version: 1.0.0
Text Domain: listeo-child
*/

.page section[id^="landing-"],
.page section[id^="section-landing-"] {
  margin: 0 0 32px;
}

@media (max-width: 992px) {
  .mobile-navigation-wrapper .mobile-nav-widgets,
  .mobile-navigation-wrapper .mobile-search-trigger {
    display: none !important;
  }

  .tw-mobile-top-btn {
    opacity: 0.48;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: 0 8px 18px rgba(18, 61, 85, 0.12);
    backdrop-filter: blur(4px);
  }

  .tw-mobile-top-btn:hover,
  .tw-mobile-top-btn:focus,
  .tw-mobile-top-btn.is-visible:hover {
    opacity: 0.78;
  }

  .mobile-navigation-wrapper .mobile-nav-header {
    align-items: center;
    min-height: 72px;
    padding: 14px 18px;
  }

  .mobile-navigation-wrapper .menu-logo img {
    width: auto;
    max-width: 168px;
    max-height: 42px;
    object-fit: contain;
  }

  .mobile-navigation-wrapper .mobile-navigation-list {
    padding-top: 0;
  }

  .mobile-navigation-wrapper #mobile-nav,
  .mobile-navigation-wrapper #mobile-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-navigation-wrapper #mobile-nav > li > a,
  .mobile-navigation-wrapper #mobile-nav .sub-menu a {
    display: block;
    padding: 14px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-navigation-wrapper #mobile-nav > li:last-child > a {
    border-bottom: 0;
  }

  .mobile-navigation-wrapper #mobile-nav .sub-menu {
    padding-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
  }

  .mobile-navigation-wrapper #mobile-nav .sub-menu a {
    padding-left: 34px;
    font-size: 14px;
  }
}

.page section[id^="landing-"] > h2,
.page section[id^="section-landing-"] > h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  color: #163447;
}

.page section[id^="landing-"] > p,
.page section[id^="section-landing-"] > p {
  margin: 0 0 16px;
  color: #4a6070;
  font-size: 17px;
  line-height: 1.65;
}

.page section[id$="-regionen_liste"],
.page section[id$="-orte_liste"],
.page section[id^="section-landing-"][id$="-regionen_liste"],
.page section[id^="section-landing-"][id$="-orte_liste"] {
  padding: 28px;
  border: 1px solid rgba(18, 61, 85, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #123d55 0%, #1e5870 55%, #2f7584 100%);
  box-shadow: 0 24px 50px rgba(18, 61, 85, 0.18);
}

.page section[id$="-regionen_liste"] h2,
.page section[id$="-regionen_liste"] > p,
.page section[id$="-orte_liste"] h2,
.page section[id$="-orte_liste"] > p,
.page section[id^="section-landing-"][id$="-regionen_liste"] h2,
.page section[id^="section-landing-"][id$="-regionen_liste"] > p,
.page section[id^="section-landing-"][id$="-orte_liste"] h2,
.page section[id^="section-landing-"][id$="-orte_liste"] > p {
  color: #fff;
}

.page section[id^="landing-"] .tw-overview-hero,
.page section[id^="section-landing-"] .tw-overview-hero {
  padding: 28px;
  border: 1px solid rgba(18, 61, 85, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #123d55 0%, #1e5870 55%, #2f7584 100%);
  box-shadow: 0 24px 50px rgba(18, 61, 85, 0.18);
  color: #fff;
}

.page section[id^="landing-"] .tw-overview-hero.tw-overview-hero-with-calculator,
.page section[id^="section-landing-"] .tw-overview-hero.tw-overview-hero-with-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.page section[id^="landing-"] .tw-overview-copy,
.page section[id^="section-landing-"] .tw-overview-copy {
  min-width: 0;
}

.page section[id^="landing-"] .tw-overview-calculator-shell,
.page section[id^="section-landing-"] .tw-overview-calculator-shell {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(11, 31, 43, 0.18);
}

.page section[id^="landing-"] .tw-overview-calculator-shell p,
.page section[id^="section-landing-"] .tw-overview-calculator-shell p {
  margin: 0;
}

.page section[id^="landing-"] .tw-overview-hero h2,
.page section[id^="section-landing-"] .tw-overview-hero h2,
.page section[id^="landing-"] .tw-overview-hero p,
.page section[id^="section-landing-"] .tw-overview-hero p {
  color: #fff;
}

.page section[id^="landing-"] .tw-overview-kicker,
.page section[id^="section-landing-"] .tw-overview-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page section[id^="landing-"] .tw-overview-benefits,
.page section[id^="section-landing-"] .tw-overview-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page section[id^="landing-"] .tw-overview-benefits span,
.page section[id^="section-landing-"] .tw-overview-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.page section[id^="landing-"] .tw-overview-search-shell,
.page section[id^="section-landing-"] .tw-overview-search-shell {
  margin-top: 20px;
}

.page section[id^="landing-"] .tw-overview-section-head,
.page section[id^="section-landing-"] .tw-overview-section-head {
  margin-bottom: 18px;
}

.page section[id^="landing-"] .tw-overview-section-head .tw-overview-kicker,
.page section[id^="section-landing-"] .tw-overview-section-head .tw-overview-kicker {
  background: #edf6fa;
  color: #1d5566;
}

.page section[id$="-regionen_liste"] .tw-overview-section-head .tw-overview-kicker,
.page section[id$="-orte_liste"] .tw-overview-section-head .tw-overview-kicker,
.page section[id^="section-landing-"][id$="-regionen_liste"] .tw-overview-section-head .tw-overview-kicker,
.page section[id^="section-landing-"][id$="-orte_liste"] .tw-overview-section-head .tw-overview-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.page section[id$="-regionen_liste"] .tw-overview-section-head p,
.page section[id$="-orte_liste"] .tw-overview-section-head p,
.page section[id^="section-landing-"][id$="-regionen_liste"] .tw-overview-section-head p,
.page section[id^="section-landing-"][id$="-orte_liste"] .tw-overview-section-head p {
  color: rgba(255, 255, 255, 0.92);
}

.tw-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

.tw-link-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 132px;
  padding: 18px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 18px 34px rgba(9, 28, 41, 0.18);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tw-link-card:hover {
  transform: translateY(-3px);
  border-color: #ffffff;
  box-shadow: 0 24px 42px rgba(9, 28, 41, 0.24);
}

.tw-link-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 20px;
  line-height: 1.2;
}

.tw-link-card h3::after {
  content: "\203A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #123d55 0%, #2a7087 100%);
  box-shadow: 0 10px 20px rgba(18, 61, 85, 0.22);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.tw-link-card a {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  color: #123d55;
  text-decoration: none;
}

.tw-link-card a:hover,
.tw-link-card a:focus {
  color: #0d6d77;
}

.tw-link-card h3,
.tw-link-card p {
  position: relative;
  z-index: 2;
}

.page section[id$="-regionen_liste"] .tw-link-card p,
.page section[id$="-orte_liste"] .tw-link-card p,
.page section[id^="section-landing-"][id$="-regionen_liste"] .tw-link-card p,
.page section[id^="section-landing-"][id$="-orte_liste"] .tw-link-card p {
  display: none;
}

body.home .tw-homepage {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 24%, #f5f9fc 100%);
  color: #163447;
}

body.home .tw-home-hero {
  padding: 32px 0 18px;
}

body.home .tw-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

body.home .tw-home-hero-copy,
body.home .tw-home-calculator-card,
body.home .tw-home-cta-shell {
  border: 1px solid rgba(18, 61, 85, 0.12);
  border-radius: 28px;
  box-shadow: 0 26px 58px rgba(10, 31, 44, 0.12);
}

body.home .tw-home-hero-copy {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #123d55 0%, #1c5870 58%, #2f7584 100%);
  color: #fff;
}

body.home .tw-home-calculator-card {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1c5870 58%, #2f7584 100%);
  color: #fff;
}

body.home .tw-home-kicker,
body.home .tw-home-search-kicker,
body.home .tw-home-topic-card-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.home .tw-home-kicker,
body.home .tw-home-search-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.home .tw-home-search-kicker {
  background: #edf6fa;
  color: #1d5566;
}

body.home .tw-home-topic-card-kicker {
  background: #edf6fa;
  color: #1d5566;
}

body.home .tw-home-hero-copy h1,
body.home .tw-home-calculator-card h2,
body.home .tw-home-cta-shell h2 {
  margin: 16px 0 12px;
  line-height: 1.12;
}

body.home .tw-home-hero-copy h1 {
  font-size: clamp(42px, 5vw, 62px);
  color: #fff;
}

body.home .tw-home-lead,
body.home .tw-home-calculator-card p,
body.home .tw-home-topic-panel p,
body.home .tw-home-cta-shell p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

body.home .tw-home-lead,
body.home .tw-home-topic-panel p,
body.home .tw-home-cta-shell p {
  color: rgba(255, 255, 255, 0.9);
}

/* Keep the Listeo header aligned with the page content width. */
@media (min-width: 1201px) {
  #header-container #header > .container,
  #header.cloned > .container {
    width: min(1520px, calc(100% - 56px));
    max-width: 1520px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #header-container:not(.hws-wrapper) #header > .container,
  #header.cloned > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #header-container:not(.hws-wrapper) .left-side,
  #header.cloned .left-side {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
  }

  #header-container:not(.hws-wrapper) #logo,
  #header.cloned #logo {
    flex: 0 0 auto;
    width: auto;
    margin: 0 24px 0 0;
  }

  #header-container:not(.hws-wrapper) #navigation.style-1,
  #header.cloned #navigation.style-1 {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
  }

  #header-container:not(.hws-wrapper) #navigation.style-1 > ul,
  #header.cloned #navigation.style-1 > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: auto;
    float: none;
  }

  #header-container:not(.hws-wrapper) #navigation.style-1 > ul > li,
  #header.cloned #navigation.style-1 > ul > li {
    float: none;
    margin: 0 2px;
  }

  #header-container:not(.hws-wrapper) #navigation.style-1 > ul > li.tw-live-search-menu,
  #header.cloned #navigation.style-1 > ul > li.tw-live-search-menu {
    margin-left: 14px;
  }

  #header-container:not(.hws-wrapper) #navigation.style-1 > ul > li.tw-live-search-menu .tw-live-search,
  #header.cloned #navigation.style-1 > ul > li.tw-live-search-menu .tw-live-search {
    min-width: 260px;
    width: auto;
    gap: .45rem;
  }

  #header-container:not(.hws-wrapper) .right-side,
  #header.cloned .right-side {
    width: auto;
    flex: 0 0 auto;
  }
}

body.home .tw-home-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

body.home .tw-home-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

body.home .tw-home-topic-switcher {
  margin-top: 28px;
}

body.home .tw-home-topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.home .tw-home-topic-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.home .tw-home-topic-tab:hover,
body.home .tw-home-topic-tab:focus-visible,
body.home .tw-home-topic-tab.is-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

body.home .tw-home-topic-panels {
  margin-top: 18px;
}

body.home .tw-home-topic-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
}

body.home .tw-home-hero-actions,
body.home .tw-home-cta-actions,
body.home .tw-home-region-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

body.home .tw-home-cta-search {
  width: 100%;
  margin-top: 18px;
}

body.home .tw-home-cta-search .tw-live-search {
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

body.home .tw-home-cta-search .tw-live-search-input,
body.home .tw-home-cta-search .tw-live-search-category {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

body.home .tw-home-cta-search .tw-live-search-submit {
  background: linear-gradient(135deg, #ffffff 0%, #eaf5fb 100%);
  color: #123d55;
  box-shadow: 0 14px 24px rgba(8, 28, 39, 0.16);
}

body.home .tw-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.home .tw-home-btn:hover,
body.home .tw-home-btn:focus-visible {
  transform: translateY(-1px);
}

body.home .tw-home-btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e9f4f9 100%);
  color: #123d55;
  box-shadow: 0 16px 30px rgba(8, 28, 39, 0.16);
}

body.home .tw-home-btn-secondary {
  border: 1px solid rgba(18, 61, 85, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #123d55;
  box-shadow: 0 12px 22px rgba(11, 31, 43, 0.08);
}

body.home .tw-home-calculator-card h2,
body.home .tw-home-calculator-card p {
  color: #fff;
}

body.home .tw-home-calculator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

body.home .tw-home-calculator-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.home .tw-home-calculator-tab:hover,
body.home .tw-home-calculator-tab:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

body.home .tw-home-calculator-tab.is-active {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.24);
  color: #fff;
  transform: translateY(-1px);
}

body.home .tw-home-calculator-panels {
  position: relative;
  margin-top: 16px;
}

body.home .tw-home-calculator-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.home .tw-home-calculator-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.home .tw-home-calculator-shell,
body.home .tw-home-calculator-fallback {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(11, 31, 43, 0.18);
}

body.home .tw-home-calculator-shell > section {
  margin: 0;
}

body.home .tw-home-calculator-shell h1,
body.home .tw-home-calculator-shell h2,
body.home .tw-home-calculator-shell h3,
body.home .tw-home-calculator-shell p,
body.home .tw-home-calculator-fallback h3,
body.home .tw-home-calculator-fallback p {
  color: #163447;
}

body.home .tw-home-calculator-fallback h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

body.home .tw-home-calculator-fallback p {
  margin-bottom: 16px;
}

body.home .tw-home-calculator-shell iframe,
body.home .tw-home-calculator-shell script,
body.home .tw-home-calculator-shell .iframe-wrapper,
body.home .tw-home-calculator-shell .vc_row,
body.home .tw-home-calculator-shell .wpb_wrapper {
  max-width: 100%;
}

body.home .tw-home-search-row {
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid rgba(18, 61, 85, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1e5870 55%, #2f7584 100%);
  box-shadow: 0 24px 50px rgba(18, 61, 85, 0.18);
}

body.home .tw-home-search-row-head {
  margin-bottom: 16px;
}

body.home .tw-home-search-row-head h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
}

body.home .tw-home-search-row-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.7;
}

body.home .tw-home-search-row .tw-home-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.home .tw-home-search-row .tw-home-search-shell {
  margin-top: 0;
}

body.home .tw-home-search-row .tw-live-search {
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e2ea;
  border-radius: 18px;
  background: #f5fafc;
}

body.home .tw-home-search-row .tw-live-search-submit {
  background: linear-gradient(135deg, #123d55 0%, #2a7087 100%);
  box-shadow: 0 14px 24px rgba(18, 61, 85, 0.18);
}

body.home .tw-home-section {
  padding: 22px 0;
}

body.home .tw-home-topics .container,
body.home .tw-home-regions .container {
  padding: 28px;
  border: 1px solid rgba(18, 61, 85, 0.14);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #123d55 0%, #1e5870 55%, #2f7584 100%);
  box-shadow: 0 24px 50px rgba(18, 61, 85, 0.18);
}

body.home .tw-home-trust .container {
  padding: 28px;
  border: 1px solid rgba(18, 61, 85, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(47, 117, 132, 0.14), transparent 34%),
    linear-gradient(180deg, #eef6fb 0%, #f8fbfd 100%);
  box-shadow: 0 20px 42px rgba(9, 28, 41, 0.08);
}

body.home .tw-home-section-head {
  margin-bottom: 20px;
}

body.home .tw-home-section-head h2 {
  margin: 14px 0 10px;
  color: #163447;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.15;
}

body.home .tw-home-section-head p {
  margin: 0;
  max-width: 760px;
  color: #4a6070;
  font-size: 17px;
  line-height: 1.7;
}

body.home .tw-home-section .tw-home-kicker {
  background: #edf6fa;
  color: #1d5566;
}

body.home .tw-home-topics .tw-home-section-head h2,
body.home .tw-home-topics .tw-home-section-head p,
body.home .tw-home-regions .tw-home-section-head h2,
body.home .tw-home-regions .tw-home-section-head p {
  color: #fff;
}

body.home .tw-home-topics .tw-home-kicker,
body.home .tw-home-regions .tw-home-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

body.home .tw-home-topic-card-grid,
body.home .tw-home-trust-grid,
body.home .tw-home-region-grid {
  display: grid;
  gap: 18px;
}

body.home .tw-home-topic-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.home .tw-home-trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

body.home .tw-home-region-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

body.home .tw-home-topic-card,
body.home .tw-home-trust-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 20px 42px rgba(9, 28, 41, 0.14);
}

body.home .tw-home-topic-card h3,
body.home .tw-home-trust-card h3 {
  margin: 16px 0 10px;
  color: #163447;
  font-size: 22px;
  line-height: 1.2;
}

body.home .tw-home-topic-card h3 a {
  color: inherit;
  text-decoration: none;
}

body.home .tw-home-story-grid {
  display: grid;
  gap: 24px;
}

body.home .tw-home-story-card {
  overflow: hidden;
  border: 1px solid rgba(20, 101, 214, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 35, 74, 0.98), rgba(11, 58, 122, 0.94));
  box-shadow: 0 24px 48px rgba(8, 34, 70, 0.18);
}

body.home .tw-home-story-card-media {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

body.home .tw-home-story-card-text {
  padding: 34px;
}

body.home .tw-home-story-copy {
  padding: 34px;
  color: #f7fbff;
}

body.home .tw-home-story-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.18;
}

body.home .tw-home-story-body,
body.home .tw-home-story-body p {
  color: rgba(244, 249, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.72;
}

body.home .tw-home-story-actions {
  margin-top: 22px;
}

body.home .tw-home-story-media {
  min-height: 260px;
}

body.home .tw-home-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.home .tw-home-topic-card p,
body.home .tw-home-trust-card p {
  margin: 0;
  color: #4a6070;
  font-size: 16px;
  line-height: 1.7;
}

body.home .tw-home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #1d5566;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

body.home .tw-home-inline-link::after {
  content: "\203A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(18, 61, 85, 0.08);
}

body.home .tw-home-region-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #163447;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(9, 28, 41, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.home .tw-home-region-link:hover,
body.home .tw-home-region-link:focus-visible {
  transform: translateY(-1px);
  border-color: #ffffff;
  box-shadow: 0 20px 36px rgba(9, 28, 41, 0.18);
}

body.home .tw-home-cta {
  padding: 20px 0 48px;
}

body.home .tw-home-cta-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #123d55 0%, #1c5870 58%, #2f7584 100%);
  color: #fff;
}

body.home .tw-home-cta-shell h2 {
  color: #fff;
}

body.home .tw-home-cta-shell .tw-home-btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #eaf5fb 100%);
}

body.home .tw-home-cta-shell .tw-home-btn-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 1200px) {
  body.home .tw-home-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body.home .tw-home-hero-copy,
  body.home .tw-home-calculator-card,
  body.home .tw-home-cta-shell,
  body.home .tw-home-topic-card,
  body.home .tw-home-trust-card,
  body.home .tw-home-story-card-text,
  body.home .tw-home-story-copy {
    padding: 22px;
  }

  body.home .tw-home-story-card-media {
    grid-template-columns: 1fr;
  }

  body.home .tw-home-hero-copy h1 {
    font-size: 38px;
  }

  body.home .tw-home-topic-panel h2,
  body.home .tw-home-section-head h2 {
    font-size: 30px;
  }

  body.home .tw-home-calculator-shell,
  body.home .tw-home-calculator-fallback,
  body.home .tw-home-search-row {
    padding: 14px;
  }

  body.home .tw-home-search-row .tw-live-search {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.home .tw-home-search-row .tw-live-search-input,
  body.home .tw-home-search-row .tw-live-search-category,
  body.home .tw-home-search-row .tw-live-search-submit,
  body.home .tw-home-cta-search .tw-live-search-input,
  body.home .tw-home-cta-search .tw-live-search-category,
  body.home .tw-home-cta-search .tw-live-search-submit {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
    margin: 0;
    box-sizing: border-box;
  }

  body.home .tw-home-cta-search .tw-live-search {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  body.home .tw-home-cta-search .tw-live-search.tw-live-search-compact {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  body.home .tw-home-cta-search .tw-live-search-input {
    appearance: none;
    -webkit-appearance: none;
  }

  body.home .tw-home-search-row .tw-live-search.tw-live-search-compact,
  body.home .tw-home-cta-search .tw-live-search.tw-live-search-compact,
  body.home .tw-home-search-row .tw-live-search-input,
  body.home .tw-home-cta-search .tw-live-search-input,
  body.home .tw-home-search-row .tw-live-search-category,
  body.home .tw-home-cta-search .tw-live-search-category,
  body.home .tw-home-search-row .tw-live-search-submit,
  body.home .tw-home-cta-search .tw-live-search-submit {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body.home .tw-home-search-row .tw-live-search-input,
  body.home .tw-home-cta-search .tw-live-search-input {
    padding-right: 12px !important;
  }
}

.tw-link-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 20px 0 0;
}

.tw-page-link,
.tw-page-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1;
}

.tw-page-link {
  border: 1px solid #d7e2e8;
  background: #fff;
  color: #123d55;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 45, 64, 0.06);
}

.tw-page-link:hover,
.tw-page-link:focus {
  border-color: #bfd2dd;
  color: #0d6d77;
  text-decoration: none;
}

.tw-page-link.is-current {
  border-color: #123d55;
  background: #123d55;
  color: #fff;
  box-shadow: none;
}

.tw-page-gap {
  color: #6d7f8d;
}

.page section[id^="landing-"] .tw-live-search,
.page section[id^="section-landing-"] .tw-live-search {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 8px;
  padding: 18px;
  border: 1px solid #c8dce8;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #edf6fb 100%);
  box-shadow: 0 14px 30px rgba(18, 45, 64, 0.08);
}

.page section[id^="landing-"] .tw-live-search-input,
.page section[id^="landing-"] .tw-live-search-category,
.page section[id^="section-landing-"] .tw-live-search-input,
.page section[id^="section-landing-"] .tw-live-search-category {
  min-height: 50px;
  border: 1px solid #c8d6df;
  border-radius: 12px;
  font-size: 16px;
}

.page section[id^="landing-"] .tw-live-search-input,
.page section[id^="section-landing-"] .tw-live-search-input {
  flex: 1 1 auto;
  padding: 0 16px;
}

.page section[id^="landing-"] .tw-live-search-category,
.page section[id^="section-landing-"] .tw-live-search-category {
  min-width: 180px;
  padding: 0 14px;
}

.page section[id^="landing-"] .tw-live-search-submit,
.page section[id^="section-landing-"] .tw-live-search-submit {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #123d55 0%, #1f5d75 100%);
  box-shadow: 0 16px 30px rgba(18, 61, 85, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.page section[id^="landing-"] .tw-live-search-submit:hover,
.page section[id^="section-landing-"] .tw-live-search-submit:hover,
.page section[id^="landing-"] .tw-live-search-submit:focus,
.page section[id^="section-landing-"] .tw-live-search-submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(18, 61, 85, 0.34);
  background: linear-gradient(135deg, #1a5169 0%, #2a7087 100%);
  color: #fff;
}

.page section[id^="landing-"] .tw-live-search-results,
.page section[id^="section-landing-"] .tw-live-search-results {
  top: calc(100% - 4px);
}

@media (max-width: 768px) {
  body.home .tw-live-search,
  .page section[id^="landing-"] .tw-live-search,
  .page section[id^="section-landing-"] .tw-live-search,
  .page .entry-content .tw-browse-search-panel .tw-live-search {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  body.home .tw-live-search.tw-live-search-compact,
  .page section[id^="landing-"] .tw-live-search.tw-live-search-compact,
  .page section[id^="section-landing-"] .tw-live-search.tw-live-search-compact,
  .page .entry-content .tw-browse-search-panel .tw-live-search.tw-live-search-compact {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.home .tw-live-search-input,
  body.home .tw-live-search-category,
  body.home .tw-live-search-submit,
  .page section[id^="landing-"] .tw-live-search-input,
  .page section[id^="landing-"] .tw-live-search-category,
  .page section[id^="landing-"] .tw-live-search-submit,
  .page section[id^="section-landing-"] .tw-live-search-input,
  .page section[id^="section-landing-"] .tw-live-search-category,
  .page section[id^="section-landing-"] .tw-live-search-submit,
  .page .entry-content .tw-browse-search-panel .tw-live-search-input,
  .page .entry-content .tw-browse-search-panel .tw-live-search-category,
  .page .entry-content .tw-browse-search-panel .tw-live-search-submit {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0;
    box-sizing: border-box;
  }

  body.home .tw-live-search-input,
  .page section[id^="landing-"] .tw-live-search-input,
  .page section[id^="section-landing-"] .tw-live-search-input,
  .page .entry-content .tw-browse-search-panel .tw-live-search-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 12px !important;
  }

  .page section[id$="-regionen_liste"],
  .page section[id$="-orte_liste"],
  .page section[id^="section-landing-"][id$="-regionen_liste"],
  .page section[id^="section-landing-"][id$="-orte_liste"] {
    padding: 22px;
    border-radius: 22px;
  }

  .page section[id^="landing-"] > h2,
  .page section[id^="section-landing-"] > h2 {
    font-size: 24px;
  }

  .page section[id^="landing-"] .tw-live-search,
  .page section[id^="section-landing-"] .tw-live-search {
    flex-direction: column;
    align-items: stretch;
  }

  .page section[id^="landing-"] .tw-live-search-category,
  .page section[id^="section-landing-"] .tw-live-search-category {
    min-width: 0;
  }

  .page section[id^="landing-"] .tw-overview-hero,
  .page section[id^="section-landing-"] .tw-overview-hero {
    padding: 22px;
    border-radius: 22px;
  }

  .page section[id^="landing-"] .tw-overview-hero.tw-overview-hero-with-calculator,
  .page section[id^="section-landing-"] .tw-overview-hero.tw-overview-hero-with-calculator {
    grid-template-columns: 1fr;
  }

  .tw-link-grid {
    grid-template-columns: 1fr;
  }
}

.page .entry-content .tw-browse-hub {
  margin: 0 0 28px;
  padding: 30px;
  border: 1px solid #deebf1;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  box-shadow: 0 18px 42px rgba(18, 45, 64, 0.07);
}

.page .entry-content .tw-browse-hero {
  background:
    radial-gradient(circle at top right, rgba(58, 139, 160, 0.16), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1e5870 55%, #2f7584 100%);
  color: #fff;
  border-color: rgba(18, 61, 85, 0.15);
  box-shadow: 0 24px 54px rgba(18, 61, 85, 0.2);
}

.page .entry-content .tw-browse-eyebrow,
.page .entry-content .tw-browse-section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page .entry-content .tw-browse-hero .tw-browse-section-kicker {
  background: rgba(255, 255, 255, 0.14);
}

.page .entry-content .tw-browse-backlink {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}

.page .entry-content .tw-browse-backlink:hover,
.page .entry-content .tw-browse-backlink:focus {
  color: #fff;
}

.page .entry-content .tw-browse-hub h1,
.page .entry-content .tw-browse-hub h2 {
  margin: 14px 0 12px;
  color: #163447;
  line-height: 1.15;
}

.page .entry-content .tw-browse-hub h1 {
  font-size: 42px;
}

.page .entry-content .tw-browse-hub h2 {
  font-size: 30px;
}

.page .entry-content .tw-browse-hero h1,
.page .entry-content .tw-browse-hero h2,
.page .entry-content .tw-browse-hero p,
.page .entry-content .tw-browse-hero .tw-browse-lead {
  color: #fff;
}

.page .entry-content .tw-browse-hub p {
  margin: 0;
  color: #4a6070;
  font-size: 17px;
  line-height: 1.7;
}

.page .entry-content .tw-browse-lead {
  max-width: 840px;
  opacity: 0.96;
}

.page .entry-content .tw-browse-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 0;
}

.page .entry-content .tw-browse-stat {
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 61, 85, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  color: #163447;
}

.page .entry-content .tw-browse-hero .tw-browse-stat {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page .entry-content .tw-browse-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.1;
}

.page .entry-content .tw-browse-stat span {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.page .entry-content .tw-browse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page .entry-content .tw-browse-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.page .entry-content .tw-browse-action:hover,
.page .entry-content .tw-browse-action:focus {
  transform: translateY(-1px);
}

.page .entry-content .tw-browse-action-primary {
  background: #f97316;
  color: #fff;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.page .entry-content .tw-browse-action-primary:hover,
.page .entry-content .tw-browse-action-primary:focus {
  color: #fff;
  background: #ea580c;
}

.page .entry-content .tw-browse-action-secondary {
  background: rgba(18, 61, 85, 0.06);
  color: #123d55;
  border: 1px solid rgba(18, 61, 85, 0.12);
}

.page .entry-content .tw-browse-hero .tw-browse-action-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.page .entry-content .tw-browse-section-head {
  margin-bottom: 20px;
}

.page .entry-content .tw-browse-section-head .tw-browse-section-kicker {
  background: #edf6fa;
  color: #1d5566;
}

.page .entry-content .tw-browse-search-panel {
  padding: 24px;
  border: 1px solid #d9e6ed;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
}

.page .entry-content .tw-browse-search-panel .tw-live-search {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-input,
.page .entry-content .tw-browse-search-panel .tw-live-search-category {
  min-height: 56px;
  border: 1px solid #cddbe4;
  border-radius: 16px;
  font-size: 16px;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-input {
  flex: 1 1 280px;
  padding: 0 18px;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-category {
  min-width: 180px;
  padding: 0 16px;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-submit {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.24);
  font-size: 15px;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-note {
  color: #5b7281;
}

.page .entry-content .tw-browse-search-panel .tw-live-search-results {
  top: calc(100% + 10px);
}

.page .entry-content .tw-browse-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.page .entry-content .tw-browse-card {
  min-height: 190px;
  border: 1px solid #d7e2e8;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
  box-shadow: 0 16px 34px rgba(18, 45, 64, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page .entry-content .tw-browse-card:hover {
  transform: translateY(-3px);
  border-color: #bfd2dd;
  box-shadow: 0 22px 40px rgba(18, 45, 64, 0.12);
}

.page .entry-content .tw-browse-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 190px;
  padding: 22px;
  text-decoration: none;
}

.page .entry-content .tw-browse-card-title {
  display: block;
  color: #163447;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.page .entry-content .tw-browse-card-meta {
  display: block;
  margin-top: 10px;
  color: #5b7281;
  font-size: 15px;
  line-height: 1.5;
}

.page .entry-content .tw-browse-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #0d6d77;
  font-size: 14px;
  font-weight: 700;
}

.page .entry-content .tw-browse-card-cta::after {
  content: ">";
  font-size: 16px;
}

.page .entry-content .tw-browse-card-grid-places {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
  .page .entry-content .tw-browse-hub {
    padding: 22px;
    border-radius: 22px;
  }

  .page .entry-content .tw-browse-hub h1 {
    font-size: 32px;
  }

  .page .entry-content .tw-browse-hub h2 {
    font-size: 24px;
  }

  .page .entry-content .tw-browse-stats,
  .page .entry-content .tw-browse-actions {
    flex-direction: column;
  }

  .page .entry-content .tw-browse-search-panel {
    padding: 18px;
  }

  .page .entry-content .tw-browse-search-panel .tw-live-search-input,
  .page .entry-content .tw-browse-search-panel .tw-live-search-category,
  .page .entry-content .tw-browse-search-panel .tw-live-search-submit {
    width: 100%;
  }

  .page .entry-content .tw-browse-card-grid,
  .page .entry-content .tw-browse-card-grid-places {
    grid-template-columns: 1fr;
  }

  .page .entry-content .tw-browse-card,
  .page .entry-content .tw-browse-card-link {
    min-height: 0;
  }
}

.page .entry-content .tw-browse-root {
  display: grid;
  gap: 32px;
}

.page .entry-content .tw-browse-root .tw-browse-hub {
  margin: 0;
}

.page .entry-content .tw-browse-root-hero {
  padding: 38px;
}

.page .entry-content .tw-browse-root-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
  align-items: stretch;
}

.page .entry-content .tw-browse-root-hero-copy,
.page .entry-content .tw-browse-root-hero-panel {
  min-width: 0;
}

.page .entry-content .tw-browse-root-hero-copy h1,
.page .entry-content .tw-browse-root-hero-copy p,
.page .entry-content .tw-browse-root-hero-copy .tw-browse-lead,
.page .entry-content .tw-browse-root-hero-copy .tw-browse-lead p {
  color: #fff;
}

.page .entry-content .tw-browse-root-hero-copy .tw-browse-lead p {
  color: rgba(255, 255, 255, 0.92);
}

.page .entry-content .tw-browse-root-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page .entry-content .tw-browse-root-hero-panel h2,
.page .entry-content .tw-browse-root-hero-panel p {
  color: #fff;
}

.page .entry-content .tw-browse-root-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page .entry-content .tw-browse-root-topic-pills {
  margin-top: 18px;
}

.page .entry-content .tw-browse-root-topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.page .entry-content .tw-browse-root-topic-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.page .entry-content .tw-browse-root-topic-pill:hover,
.page .entry-content .tw-browse-root-topic-pill:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.page .entry-content .tw-browse-root-stories,
body.home .tw-home-story-sections .tw-browse-root-stories {
  display: grid;
  gap: 26px;
}

.page .entry-content .tw-browse-root-story,
body.home .tw-home-story-sections .tw-browse-root-story {
  padding: 0;
  border: 1px solid rgba(18, 61, 85, 0.15);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1e5870 58%, #2f7584 100%);
  box-shadow: 0 24px 52px rgba(18, 61, 85, 0.18);
  overflow: hidden;
}

.page .entry-content .tw-browse-root-story-grid,
body.home .tw-home-story-sections .tw-browse-root-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-grid,
body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-media,
body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-media {
  order: 2;
}

.page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-copy,
body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-copy {
  order: 1;
}

.page .entry-content .tw-browse-root-story-copy,
body.home .tw-home-story-sections .tw-browse-root-story-copy {
  padding: 38px;
}

.page .entry-content .tw-browse-root-story-copy h2,
body.home .tw-home-story-sections .tw-browse-root-story-copy h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.12;
  color: #fff;
}

.page .entry-content .tw-browse-root-story-body p,
body.home .tw-home-story-sections .tw-browse-root-story-body p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

.page .entry-content .tw-browse-root-section-actions,
body.home .tw-home-story-sections .tw-browse-root-section-actions {
  margin-top: 22px;
}

.page .entry-content .tw-browse-root-section-cta,
body.home .tw-home-story-sections .tw-browse-root-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #123d55;
  background: linear-gradient(135deg, #ffffff 0%, #dff4ff 100%);
  box-shadow: 0 14px 28px rgba(9, 25, 36, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.page .entry-content .tw-browse-root-section-cta:hover,
.page .entry-content .tw-browse-root-section-cta:focus,
body.home .tw-home-story-sections .tw-browse-root-section-cta:hover,
body.home .tw-home-story-sections .tw-browse-root-section-cta:focus {
  color: #123d55;
  background: linear-gradient(135deg, #ffffff 0%, #eef9ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(9, 25, 36, 0.22);
}

.page .entry-content .tw-browse-root-story-media,
body.home .tw-home-story-sections .tw-browse-root-story-media {
  position: relative;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.08);
}

.page .entry-content .tw-browse-root-story-media img,
body.home .tw-home-story-sections .tw-browse-root-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page .entry-content .tw-browse-root-story-media-placeholder,
body.home .tw-home-story-sections .tw-browse-root-story-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.14) 100%);
}

.page .entry-content .tw-browse-root-story-media-placeholder span,
body.home .tw-home-story-sections .tw-browse-root-story-media-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 700;
}

.page .entry-content .tw-browse-root-textblock,
body.home .tw-home-story-sections .tw-browse-root-textblock {
  padding: 34px 38px;
  border: 1px solid rgba(18, 61, 85, 0.15);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1e5870 58%, #2f7584 100%);
  box-shadow: 0 20px 42px rgba(18, 61, 85, 0.18);
}

.page .entry-content .tw-browse-root-textblock h2,
body.home .tw-home-story-sections .tw-browse-root-textblock h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.18;
  color: #fff;
}

.page .entry-content .tw-browse-root-textblock-body p,
body.home .tw-home-story-sections .tw-browse-root-textblock-body p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.85;
}

body.home .tw-home-story-sections .tw-home-story-cta-block {
  text-align: center;
}

body.home .tw-home-story-sections .tw-home-story-cta-block .tw-browse-root-section-actions {
  display: flex;
  justify-content: center;
}

.page .entry-content .tw-browse-root-search .tw-browse-search-panel,
.page .entry-content .tw-browse-root-topics {
  background:
    radial-gradient(circle at top right, rgba(58, 139, 160, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.page .entry-content .tw-browse-root-search,
.page .entry-content .tw-browse-root-topics {
  border-color: rgba(18, 61, 85, 0.15);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #123d55 0%, #1e5870 58%, #2f7584 100%);
  box-shadow: 0 24px 52px rgba(18, 61, 85, 0.18);
}

.page .entry-content .tw-browse-root-search h2,
.page .entry-content .tw-browse-root-search p,
.page .entry-content .tw-browse-root-topics h2,
.page .entry-content .tw-browse-root-topics p {
  color: #fff;
}

.page .entry-content .tw-browse-root-search .tw-browse-section-kicker,
.page .entry-content .tw-browse-root-topics .tw-browse-section-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.page .entry-content .tw-browse-root-topics .tw-browse-card {
  min-height: 210px;
}

.page .entry-content .tw-browse-root-topics .tw-browse-card-link {
  gap: 12px;
}

@media (max-width: 960px) {
  .page .entry-content .tw-browse-root-hero-grid,
  .page .entry-content .tw-browse-root-story-grid,
  .page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-grid,
  body.home .tw-home-story-sections .tw-browse-root-story-grid,
  body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-grid {
    grid-template-columns: 1fr;
  }

  .page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-media,
  .page .entry-content .tw-browse-root-story.is-reverse .tw-browse-root-story-copy,
  body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-media,
  body.home .tw-home-story-sections .tw-browse-root-story.is-reverse .tw-browse-root-story-copy {
    order: initial;
  }
}

@media (max-width: 768px) {
  .page .entry-content .tw-browse-root {
    gap: 22px;
  }

  .page .entry-content .tw-browse-root-hero,
  .page .entry-content .tw-browse-root-story-copy,
  .page .entry-content .tw-browse-root-textblock {
    padding: 24px;
  }

  .page .entry-content .tw-browse-root-hero-panel {
    padding: 20px;
  }

  .page .entry-content .tw-browse-root-story-copy h2 {
    font-size: 28px;
  }

  .page .entry-content .tw-browse-root-story-media {
    min-height: 240px;
  }
}

.page article.page-container-col:has(> section[id^="strom-"]),
.page article.page-container-col:has(> section[id^="gas-"]),
.page article.page-container-col:has(> section[id^="internet-"]),
.page article.page-container-col:has(> section[id^="kfz-"]),
.page article.page-container-col:has(> section[id^="solar-"]) {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.page article.page-container-col.tw-topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"],
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"],
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"],
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"],
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"],
.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px 32px;
  border: 1px solid rgba(18, 61, 85, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #123d55 0%, #1d5770 58%, #2f7584 100%);
  box-shadow: 0 22px 48px rgba(18, 61, 85, 0.18);
  overflow: hidden;
}

.page article.page-container-col.tw-topic-layout > section[id^="strom-"],
.page article.page-container-col.tw-topic-layout > section[id^="gas-"],
.page article.page-container-col.tw-topic-layout > section[id^="internet-"],
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"],
.page article.page-container-col.tw-topic-layout > section[id^="solar-"],
.page article.page-container-col.tw-topic-layout > section.tw-related-links {
  grid-column: 1 / -1;
  margin: 0;
  padding: 30px 32px;
  border: 1px solid rgba(18, 61, 85, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #123d55 0%, #1d5770 58%, #2f7584 100%);
  box-shadow: 0 22px 48px rgba(18, 61, 85, 0.18);
  overflow: hidden;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-intro"],
.page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-intro"],
.page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-intro"],
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-intro"],
.page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-intro"] {
  grid-column: 1;
  min-height: 100%;
}

.page article.page-container-col.tw-topic-layout > section[id$="-intro"] {
  grid-column: 1;
  min-height: 100%;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-tarifvergleich"],
.page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-tarifvergleich"],
.page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-tarifvergleich"],
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-tarifvergleich"],
.page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-tarifvergleich"] {
  grid-column: 2;
  padding: 18px;
}

.page article.page-container-col.tw-topic-layout > section[id$="-tarifvergleich"] {
  grid-column: 2;
  padding: 18px;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-intro"] h2,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-intro"] h2,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-intro"] h2,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-intro"] h2,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-intro"] h2,
.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h2,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h2,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h2,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h2,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h2,
.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h3,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h3,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h3,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h3,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h3,
.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links h3,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links h3,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links h3,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links h3,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.15;
}

.page article.page-container-col.tw-topic-layout > section[id$="-intro"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="strom-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="gas-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="internet-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="solar-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="strom-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="gas-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="internet-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="solar-"] h3,
.page article.page-container-col.tw-topic-layout > section.tw-related-links h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.15;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h2,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h2,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h2,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h2,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h2 {
  font-size: 34px;
}

.page article.page-container-col.tw-topic-layout > section[id^="strom-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="gas-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="internet-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h2,
.page article.page-container-col.tw-topic-layout > section[id^="solar-"] h2 {
  font-size: 34px;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h3,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h3,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h3,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h3,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h3 {
  font-size: 28px;
}

.page article.page-container-col.tw-topic-layout > section[id^="strom-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="gas-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="internet-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h3,
.page article.page-container-col.tw-topic-layout > section[id^="solar-"] h3 {
  font-size: 28px;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] p,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] p,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] p,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] p,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] p,
.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links p,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links p,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links p,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links p,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.82;
}

.page article.page-container-col.tw-topic-layout > section[id^="strom-"] p,
.page article.page-container-col.tw-topic-layout > section[id^="gas-"] p,
.page article.page-container-col.tw-topic-layout > section[id^="internet-"] p,
.page article.page-container-col.tw-topic-layout > section[id^="kfz-"] p,
.page article.page-container-col.tw-topic-layout > section[id^="solar-"] p,
.page article.page-container-col.tw-topic-layout > section.tw-related-links p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.82;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-tarifvergleich"] p,
.page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-tarifvergleich"] p,
.page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-tarifvergleich"] p,
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-tarifvergleich"] p,
.page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-tarifvergleich"] p {
  margin: 0;
}

.page article.page-container-col.tw-topic-layout > section[id$="-tarifvergleich"] p {
  margin: 0;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-tarifvergleich"] > div[id^="c24pp-"],
.page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-tarifvergleich"] > div[id^="c24pp-"],
.page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-tarifvergleich"] > div[id^="c24pp-"],
.page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-tarifvergleich"] > div[id^="c24pp-"],
.page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-tarifvergleich"] > div[id^="c24pp-"] {
  min-height: 100%;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(9, 25, 36, 0.14);
}

.page article.page-container-col.tw-topic-layout > section[id$="-tarifvergleich"] > div[id^="c24pp-"] {
  min-height: 100%;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(9, 25, 36, 0.14);
}

.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links .tw-badges,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links .tw-badges,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links .tw-badges,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links .tw-badges,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links .tw-badges {
  gap: 10px;
}

.page article.page-container-col.tw-topic-layout > section.tw-related-links .tw-badges {
  gap: 10px;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links .tw-badge,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links .tw-badge,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links .tw-badge,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links .tw-badge,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links .tw-badge {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page article.page-container-col.tw-topic-layout > section.tw-related-links .tw-badge {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links .tw-badge:hover,
.page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links .tw-badge:hover,
.page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links .tw-badge:hover,
.page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links .tw-badge:hover,
.page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links .tw-badge:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.18);
}

.page article.page-container-col.tw-topic-layout > section.tw-related-links .tw-badge:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 980px) {
  .page article.page-container-col:has(> section[id^="strom-"]),
  .page article.page-container-col:has(> section[id^="gas-"]),
  .page article.page-container-col:has(> section[id^="internet-"]),
  .page article.page-container-col:has(> section[id^="kfz-"]),
  .page article.page-container-col:has(> section[id^="solar-"]) {
    grid-template-columns: 1fr;
  }

  .page article.page-container-col.tw-topic-layout {
    grid-template-columns: 1fr;
  }

  .page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-intro"],
  .page article.page-container-col:has(> section[id^="strom-"]) > section[id$="-tarifvergleich"],
  .page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-intro"],
  .page article.page-container-col:has(> section[id^="gas-"]) > section[id$="-tarifvergleich"],
  .page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-intro"],
  .page article.page-container-col:has(> section[id^="internet-"]) > section[id$="-tarifvergleich"],
  .page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-intro"],
  .page article.page-container-col:has(> section[id^="kfz-"]) > section[id$="-tarifvergleich"],
  .page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-intro"],
  .page article.page-container-col:has(> section[id^="solar-"]) > section[id$="-tarifvergleich"] {
    grid-column: 1 / -1;
  }

  .page article.page-container-col.tw-topic-layout > section[id$="-intro"],
  .page article.page-container-col.tw-topic-layout > section[id$="-tarifvergleich"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"],
  .page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"],
  .page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"],
  .page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"],
  .page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"],
  .page article.page-container-col:has(> section[id^="strom-"]) > section.tw-related-links,
  .page article.page-container-col:has(> section[id^="gas-"]) > section.tw-related-links,
  .page article.page-container-col:has(> section[id^="internet-"]) > section.tw-related-links,
  .page article.page-container-col:has(> section[id^="kfz-"]) > section.tw-related-links,
  .page article.page-container-col:has(> section[id^="solar-"]) > section.tw-related-links {
    padding: 22px;
    border-radius: 24px;
  }

  .page article.page-container-col.tw-topic-layout > section[id^="strom-"],
  .page article.page-container-col.tw-topic-layout > section[id^="gas-"],
  .page article.page-container-col.tw-topic-layout > section[id^="internet-"],
  .page article.page-container-col.tw-topic-layout > section[id^="kfz-"],
  .page article.page-container-col.tw-topic-layout > section[id^="solar-"],
  .page article.page-container-col.tw-topic-layout > section.tw-related-links {
    padding: 22px;
    border-radius: 24px;
  }

  .page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h2,
  .page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h2,
  .page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h2,
  .page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h2,
  .page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h2 {
    font-size: 28px;
  }

  .page article.page-container-col.tw-topic-layout > section[id^="strom-"] h2,
  .page article.page-container-col.tw-topic-layout > section[id^="gas-"] h2,
  .page article.page-container-col.tw-topic-layout > section[id^="internet-"] h2,
  .page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h2,
  .page article.page-container-col.tw-topic-layout > section[id^="solar-"] h2 {
    font-size: 28px;
  }

  .page article.page-container-col:has(> section[id^="strom-"]) > section[id^="strom-"] h3,
  .page article.page-container-col:has(> section[id^="gas-"]) > section[id^="gas-"] h3,
  .page article.page-container-col:has(> section[id^="internet-"]) > section[id^="internet-"] h3,
  .page article.page-container-col:has(> section[id^="kfz-"]) > section[id^="kfz-"] h3,
  .page article.page-container-col:has(> section[id^="solar-"]) > section[id^="solar-"] h3 {
    font-size: 24px;
  }

  .page article.page-container-col.tw-topic-layout > section[id^="strom-"] h3,
  .page article.page-container-col.tw-topic-layout > section[id^="gas-"] h3,
  .page article.page-container-col.tw-topic-layout > section[id^="internet-"] h3,
  .page article.page-container-col.tw-topic-layout > section[id^="kfz-"] h3,
  .page article.page-container-col.tw-topic-layout > section[id^="solar-"] h3 {
    font-size: 24px;
  }
}
