/* ==========================================
   DESIGN SYSTEM & FOUNDATION - FREIE WILDBAHN
   ========================================== */

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary-green: #268080;      /* Duda brand green/teal */
  --secondary-green: #2f9999;    /* Light teal */
  --dark-green: #1b5d5d;         /* Deep forest green */
  --brand-orange: #dd3300;       /* Accent orange-red */
  --brand-orange-hover: #b82a00; /* Darker orange for hover */
  
  /* Neutral Colors */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --bg-white: #ffffff;
  --bg-light: #faf9f6;           /* Crisp off-white */
  --bg-cream: #f6f4ec;           /* Warm cream */
  --border-light: #e2e8f0;
  --border-gray: #bbbbbb;
  
  /* Layout Options */
  --container-width: 1200px;
  --page-container-width: 1440px;
  --text-section-width: 980px;
  --page-gutter: 20px;
  --hero-width: 1680px;
  --hero-heading-content-gap: 22px;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 23px; /* Duda default/paragraph size */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', sans-serif; /* CI: Open Sans per Duda style panel */
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

h1, h2, h3 {
  font-weight: 800;
}

/* Duda type scale */
h1 { font-size: 40px; }
h2 { font-size: 36px; }
h3 { font-size: 33px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 14px; }

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--dark-green);
}

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

/* Common Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-container {
  width: min(80vw, var(--page-container-width));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero-grid {
  width: min(94vw, var(--hero-width));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.content-box {
  width: min(64vw, var(--text-section-width));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.page-container.content-box {
  width: min(64vw, var(--text-section-width)) !important;
  max-width: none !important;
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-cream {
  background-color: var(--bg-cream);
}

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

.orange-text {
  color: var(--brand-orange);
}

.green-text {
  color: var(--primary-green);
}

.dachzeile {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-green);
  margin-bottom: 12px;
  display: block;
}

/* Grid & Columns */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ==========================================
   BUTTONS & CTAs
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
}

.btn-orange {
  background-color: var(--brand-orange);
  color: var(--bg-white);
  border-color: var(--brand-orange);
}

.btn-orange:hover {
  background-color: var(--bg-white);
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-green {
  background-color: var(--primary-green);
  color: var(--bg-white);
}

.btn-green:hover {
  background-color: var(--dark-green);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.btn-outline:hover {
  background-color: var(--brand-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-arrow {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-speed) ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================
   GLOBAL CONTENT CTA PAIRS
   ========================================== */
.content-cta-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.content-cta-pair .btn {
  min-height: 56px;
  border: 2px solid;
  font-weight: 700;
  transform: none;
}

.content-cta-pair .btn:hover {
  transform: none;
}

.content-cta-pair .btn-cta-primary {
  color: #fff;
  border-color: #dd3300;
  background: #dd3300;
}

.content-cta-pair .btn-cta-primary:hover,
.content-cta-pair .btn-cta-primary:focus-visible {
  color: #dd3300;
  border-color: #dd3300;
  background: #fff;
}

.content-cta-pair .btn-cta-secondary {
  color: #268080;
  border-color: #268080;
  background: #fff;
}

.content-cta-pair .btn-cta-secondary:hover,
.content-cta-pair .btn-cta-secondary:focus-visible {
  color: #fff;
  border-color: #268080;
  background: #268080;
}

.content-cta-pair.on-brand-background .btn-cta-secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.content-cta-pair.on-brand-background .btn-cta-secondary:hover,
.content-cta-pair.on-brand-background .btn-cta-secondary:focus-visible {
  color: #268080;
  border-color: #fff;
  background: #fff;
}

/* Homepage pricing-table exception: one dedicated CTA per price card. */
.pricing-footer-btn-wrapper .btn-pricing-consultation {
  color: #fff;
  border: 2px solid #dd3300;
  background: #dd3300;
}

.pricing-footer-btn-wrapper .btn-pricing-consultation:hover,
.pricing-footer-btn-wrapper .btn-pricing-consultation:focus-visible {
  color: #dd3300;
  border-color: #dd3300;
  background: #fff;
  transform: none;
}

.pricing-footer-btn-wrapper .btn-pricing-membership {
  color: #fff;
  border: 2px solid #268080;
  background: #268080;
}

.pricing-footer-btn-wrapper .btn-pricing-membership:hover,
.pricing-footer-btn-wrapper .btn-pricing-membership:focus-visible {
  color: #268080;
  border-color: #268080;
  background: #fff;
  transform: none;
}

.article-cta .content-cta-pair,
.rechner-cta-banner .content-cta-pair {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .content-cta-pair {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .content-cta-pair .btn {
    width: 100%;
  }
}

.link-cta {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--brand-orange);
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  transition: color var(--transition-speed) ease;
}

.link-cta:hover {
  color: var(--brand-orange-hover);
}

.link-cta .btn-arrow {
  width: 14px;
  height: 14px;
}

/* ==========================================
   RESTORED TWO-LEVEL HEADER
   ========================================== */
header {
  width: 100%;
  background-color: var(--bg-white);
}

/* Keep the global site navigation available while the page scrolls. */
body > header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 220ms ease;
}

body > header.is-scrolled {
  box-shadow: 0 8px 24px rgba(25, 49, 47, 0.12);
}

/* Level 1: Top bar (Green) */
.top-bar {
  background-color: var(--primary-green);
  color: var(--bg-white);
  padding: 8px 0;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  transition: padding 220ms ease;
}

body > header.is-scrolled .top-bar {
  padding-top: 4px;
  padding-bottom: 4px;
}

.top-bar-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top-nav-list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.top-nav-list a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-speed) ease;
  text-transform: uppercase; /* CI: uppercase nav per brand requirement */
  font-size: 12px;
  letter-spacing: 0.5px;
}

.top-nav-list a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* Level 2: Main Navigation Bar (White) */
.main-nav {
  padding: 15px 0;
  border-bottom: 3px solid var(--primary-green);
  transition: padding 220ms ease;
}

body > header.is-scrolled .main-nav {
  padding-top: 9px;
  padding-bottom: 9px;
}

.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  transition: height 220ms ease;
}

body > header.is-scrolled .logo img {
  height: 64px;
}

/* Menu Items */
.menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px; /* Tighter gap to accommodate background hover */
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  color: var(--text-dark);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 3px;
  text-transform: uppercase; /* CI: uppercase nav labels, HTML text unchanged */
  letter-spacing: 0.4px;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Hover state: teal/green background matching old site behavior */
.menu-item > a:hover {
  background-color: #009999;
  color: #ffffff;
}

/* Active state: same teal background */
.menu-item.active > a {
  background-color: #009999;
  color: #ffffff;
}

.home-icon {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}

.home-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.arrow-icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-white);
  min-width: 240px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 100;
}

.menu-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  color: var(--text-dark);
  padding: 10px 20px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}

.dropdown-menu li a:hover {
  background-color: #009999;
  color: #ffffff;
  padding-left: 24px; /* Slight indent on hover */
}

/* Right Nav Group (Search + CTA Button) */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-speed) ease;
}

.search-btn:hover {
  color: var(--primary-green);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Header (Hidden by default on Desktop) */
.mobile-header {
  display: none;
  background-color: var(--bg-white);
  padding: 12px 20px;
  border-bottom: 3px solid var(--primary-green);
  justify-content: space-between;
  align-items: center;
  transition: padding 220ms ease;
}

.mobile-logo img {
  height: 40px; /* Proportionally larger on mobile too */
  width: auto;
  transition: height 220ms ease;
}

body > header.is-scrolled .mobile-header {
  padding-top: 8px;
  padding-bottom: 8px;
}

body > header.is-scrolled .mobile-logo img {
  height: 34px;
}

@media (prefers-reduced-motion: reduce) {
  body > header,
  .top-bar,
  .main-nav,
  .logo img,
  .mobile-header,
  .mobile-logo img {
    transition: none;
  }
}

.mobile-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
}

.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-actions .btn {
  padding: 8px 16px;
  font-size: 13px;
}

/* Mobile menu links: uppercase to match desktop */
.mobile-menu-list li a {
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 15px;
}

/* ==========================================
   HOMEPAGE HERO SECTION (STANDARDIZED)
   ========================================== */
.hero-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text-col,
.hero-content-col,
.hero-content {
  grid-column: 2;
  min-width: 0;
}

.hero-image-col,
.hero-visual-col,
.hero-media {
  grid-column: 1;
  min-width: 0;
}

.hero-section h1 {
  font-size: 40px;
  margin-bottom: var(--hero-heading-content-gap);
  line-height: 1.15;
}

.hero-description {
  font-size: 18px;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.homepage-hero .hero-cta-wrapper {
  gap: 24px;
}

/* Controlled 20px reading-text standard for the homepage only. */
.homepage-page main .hero-description,
.homepage-page main .hero-cta-intro,
.homepage-page main .quote-text-container > p,
.homepage-page main .rechner-text-col > p,
.homepage-page main .feature-grid .feature-card > p,
.homepage-page main .bg-light.section-padding > .container.page-container.text-center > p {
  font-size: 18px !important;
  line-height: 1.7 !important;
}

.homepage-page main .comparison-feature,
.homepage-page main .pricing-wrapper > .text-center > p {
  font-size: 18px !important;
  line-height: 1.5 !important;
}

.hero-cta-intro {
  font-size: 18px;
  font-weight: 400;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.hero-cta-note {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  padding-left: 4px;
}

.hero-image-col {
  position: relative;
}

.hero-image-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background-color: var(--bg-cream);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.homepage-hero .hero-image-container img {
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.homepage-hero .hero-grid {
  grid-template-columns: 1fr 1fr;
}

.homepage-hero .hero-image-container {
  background-color: #fff;
}

/* ==========================================
   QUOTE SECTION (DETLEF HUSEMANN)
   ========================================== */
.quote-section {
  background-color: var(--bg-light);
}

.quote-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.quote-text-container {
  flex: 1;
}

.quote-card {
  width: 320px;
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.quote-card-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  margin: 0 auto 16px auto;
  overflow: hidden;
  border: 0;
  box-shadow: var(--shadow-sm);
  background-color: #fff;
}

.quote-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quote-card blockquote {
  font-style: italic;
  font-size: 15px;
  color: var(--primary-green);
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-author {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.quote-author-title {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================
   RECHNER SECTION
   ========================================== */
.rechner-section {
  background-color: var(--primary-green);
  color: var(--bg-white);
  overflow: visible;
  /* More generous padding so the green band has real height */
  padding-top: 65px;
  padding-bottom: 65px;
}

.rechner-section .dachzeile {
  color: rgba(255, 255, 255, 0.85);
}

.rechner-section h3 {
  font-size: 36px;
  color: var(--bg-white);
  margin-bottom: 20px;
}

.rechner-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 18px;
}

/* White outline CTA button — matches old live design */
.rechner-section .btn-rechner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
  background: transparent;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
  cursor: pointer;
}

.rechner-section .btn-rechner:hover {
  background: var(--bg-white);
  color: var(--primary-green);
}

.rechner-section .btn-rechner .btn-arrow {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Image column: overflow allowed, image sized to exceed section height */
.rechner-image-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Pull image toward the right edge of the section, matching the live design */
  margin-right: -80px;
}

.rechner-image-container {
  /* Push image to overflow the section above and below */
  margin-top: -110px;
  margin-bottom: -110px;
}

.rechner-image-container img {
  /* No rounded corners or shadow — matches the old clean floating look */
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  max-width: 720px;
  display: block;
}

/* ==========================================
   ACTIVITIES SECTION
   ========================================== */
.activity-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.activity-img-container {
  height: 220px;
  overflow: hidden;
}

.activity-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.activity-card:hover .activity-img-container img {
  transform: scale(1.05);
}

.activity-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.activity-content h3 {
  font-size: 20px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--bg-cream);
  padding-bottom: 10px;
}

.activity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.activity-list li {
  position: relative;
  padding-left: 20px;
  font-size: 18px;
  color: var(--text-medium);
}

.activity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-green);
  border-radius: 50%;
}

/* ==========================================
   CARDS & FEATURES SECTION
   ========================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(38, 128, 128, 0.3);
}

.feature-icon-container {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.feature-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================
   PRICING TABLE SECTION
   ========================================== */
.pricing-wrapper {
  margin-top: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary-green);
}

.pricing-card.popular::after {
  content: "EMPFEHLUNG";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-green);
  color: var(--bg-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
}

.pricing-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-card h4 {
  font-size: 24px;
  margin-bottom: 24px;
  color: var(--primary-green);
}

.price-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.price-item:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
}

.price-label {
  font-size: 13px;
  color: var(--text-medium);
  display: block;
  margin-bottom: 4px;
}

.price-value {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
}

.price-currency {
  font-size: 18px;
  font-weight: 600;
  vertical-align: super;
}

.price-subtext {
  font-size: 13px;
  color: var(--text-light);
}

.pricing-footer-btn-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pricing-footer-btn-wrapper .btn {
  width: 100%;
  max-width: 320px;
}

/* Feature list inside each pricing card */
.pricing-features {
  list-style: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-light);
}

.pricing-feature-item:last-child {
  border-bottom: none;
}

.pricing-feature-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-feature-item svg.check {
  fill: #38a169;
}

.pricing-feature-item svg.xmark {
  fill: #e53e3e;
}

/* Comparison Table list */
.comparison-list-wrapper {
  max-width: 800px;
  margin: 60px auto 0 auto;
  border-top: 1px solid var(--border-gray);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.comparison-feature {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-medium);
  text-align: left;
}

.comparison-value {
  display: flex;
  justify-content: center;
}

.comparison-value svg {
  width: 20px;
  height: 20px;
}

.comparison-value svg.check {
  fill: #38a169; /* Green check */
}

.comparison-value svg.xmark {
  fill: #e53e3e; /* Red x */
}

/* ==========================================
   FOOTER — TWO-ZONE LAYOUT
   ========================================== */
.site-footer {
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
}

/* ---- Upper zone ---- */
.footer-upper {
  background-color: #faf9f6; /* Requested contrast color */
  padding: 60px 0 50px;
  border-top: 1px solid #e0ddd5;
}

.footer-upper-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Brand column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.65;
  max-width: 260px;
}

/* Link columns */
.footer-col-heading {
  font-size: 14px !important; /* h6 Duda scale */
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 14px;
  color: var(--primary-green);
  transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

.footer-col-links a:hover {
  color: var(--dark-green);
  padding-left: 3px;
}

/* ---- Lower bar ---- */
.footer-lower {
  background-color: #268080; /* Brand teal matching top bar */
  color: rgba(255, 255, 255, 0.9);
  padding: 18px 0;
}

.footer-lower-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Legal navigation */
.footer-legal-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-speed) ease;
}

.footer-legal-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Copyright block */
.footer-copy {
  text-align: center;
  flex: 1;
}

.footer-copy p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.footer-copy a:hover {
  color: #ffffff;
}

/* Right group: social + back to top */
.footer-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-speed) ease;
}

.footer-social-link:hover {
  color: #ffffff;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Back-to-top button */
.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  transition: background-color var(--transition-speed) ease;
  white-space: nowrap;
}

.footer-back-top:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.footer-back-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Responsive: footer */
@media (max-width: 900px) {
  .footer-upper-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-upper-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-lower-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .footer-legal-nav {
    justify-content: center;
  }
  .footer-copy {
    flex: none;
  }
}


/* ==========================================
   INNER PAGE EXAMPLE: KSK-PRÜFUNG
   ========================================== */
.inner-page-hero {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.inner-page-hero h1 {
  margin-bottom: var(--hero-heading-content-gap);
}

.bullets-list {
  list-style: none;
  margin-top: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bullets-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullets-list-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #38a169 !important;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}

.bullets-list-text {
  font-size: 16px;
  color: var(--text-dark);
}

.bullets-list-text strong {
  font-weight: 700;
  color: var(--primary-green);
}

.video-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 30px auto;
  aspect-ratio: 16/9;
  background-color: #000;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
}

.quicklinks-box {
  background-color: var(--bg-cream);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  border: 1px solid var(--border-light);
}

.quicklinks-box h3 {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-green);
  padding-bottom: 8px;
}

.quicklinks-flex {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quicklinks-flex .cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-speed) ease;
}

.quicklinks-flex .cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.quicklinks-flex svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Shared numbered Quicklinks presentation. Applied only after script.js has
   separated each existing number, label and arrow without changing its href. */
html body .global-quicklinks-box {
  width: min(100%, 1160px) !important;
  max-width: 1160px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .global-quicklinks-box .global-quicklink-row {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 18px 20px !important;
  font-size: 23px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  transition: all var(--transition-speed) ease !important;
}

html body .global-quicklinks-box .global-quicklink-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-green) !important;
  color: var(--primary-green) !important;
}

.global-quicklink-number {
  display: inline !important;
  color: var(--primary-green) !important;
  font-size: inherit !important;
  font-weight: 800 !important;
  letter-spacing: .05em !important;
  line-height: 1 !important;
}

html body .global-quicklinks-box .global-quicklink-label {
  min-width: 0;
  font-size: inherit !important;
  overflow-wrap: anywhere;
}

.global-quicklink-label::before {
  content: none !important;
}

.global-quicklink-arrow {
  justify-self: end;
  color: var(--primary-green) !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

svg.global-quicklink-arrow {
  width: 14px !important;
  height: 14px !important;
  fill: currentColor !important;
}

@media (max-width: 768px) {
  html body .global-quicklinks-box .global-quicklink-row {
    grid-template-columns: 42px minmax(0, 1fr) 18px !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    font-size: 20px !important;
  }
}

.block-section {
  padding-top: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
}

.block-section h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.block-section p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 20px;
}

.block-section-img {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.alert-callout {
  background-color: #fffaf0;
  border-left: 4px solid var(--brand-orange);
  padding: 20px;
  margin: 24px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.alert-callout p {
  margin-bottom: 0 !important;
  color: #dd6b20 !important;
  font-weight: 700;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 26px !important; }
  .grid-2 { gap: 30px; }
  .hero-grid { gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo img { height: 58px; }
}

@media (max-width: 980px) {
  .page-container {
    width: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .content-box {
    width: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    width: auto;
    padding-left: 24px;
    padding-right: 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .homepage-hero .hero-grid {
    grid-template-columns: 1fr;
  }

  .homepage-hero .hero-text-col,
  .homepage-hero .hero-image-col {
    grid-column: 1 !important;
  }

  .hero-text-col,
  .hero-content-col,
  .hero-content {
    grid-column: auto;
    order: 2;
  }

  .hero-image-col,
  .hero-visual-col,
  .hero-media {
    grid-column: auto;
    order: 1;
  }
}

@media (max-width: 768px) {
  /* Show Mobile Header, Hide Desktop Header */
  .top-bar, .main-nav {
    display: none;
  }
  .mobile-header {
    display: flex;
  }
  
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .content-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-cta-wrapper {
    align-items: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }
  
  .quote-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .quote-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .comparison-row {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 12px 10px;
  }
  
  .comparison-feature {
    font-size: 13px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================
   MOBILE MENU DRAWER & OVERLAY
   ========================================== */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: right var(--transition-speed) ease;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
  transition: color var(--transition-speed) ease;
}

.close-drawer:hover {
  color: var(--brand-orange);
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
}

.mobile-menu-group details {
  width: 100%;
}

.mobile-menu-group summary {
  position: relative;
  padding: 10px 38px 10px 12px;
  border-radius: 3px;
  color: var(--text-dark);
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  list-style: none;
  text-transform: uppercase;
}

.mobile-menu-group summary::-webkit-details-marker {
  display: none;
}

.mobile-menu-group summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 12px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.mobile-menu-group details[open] summary::after {
  content: '−';
}

.mobile-menu-group summary:hover {
  background-color: #009999;
  color: #ffffff;
}

.mobile-menu-group ul {
  margin: 4px 0 4px 12px;
  padding-left: 12px;
  border-left: 2px solid var(--border-light);
  list-style: none;
}

.mobile-menu-group ul a {
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-list li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  display: block;
  padding: 10px 12px;
  border-radius: 3px;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.mobile-menu-list li a:hover {
  background-color: #009999;
  color: #ffffff;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   NAVIGATION FEEL IMPROVEMENTS
   ========================================== */
html {
  scrollbar-gutter: stable;
}

main {
  animation: fadeInContent 0.25s ease-out;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    animation: none;
  }
}
/* Blog landing page */
.blog-page { background: #fff; }
.blog-intro { padding: 84px 0 72px; background: linear-gradient(135deg, #f6f4ee 0%, #fff 68%); border-bottom: 1px solid #e8e4da; }
.blog-intro-grid { display: block; }
.blog-intro h1 { margin: 10px 0 18px; font-size: clamp(42px, 5vw, 68px); line-height: 1.02; }
.blog-intro p { max-width: 920px; margin: 0; font-size: 20px; line-height: 1.65; color: #555; }
.blog-search label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.blog-search-control { display: flex; background: #fff; border: 1px solid #d8d6cf; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 30px rgba(39, 53, 52, .07); }
.blog-search-control input { width: 100%; min-width: 0; padding: 17px 18px; border: 0; font: inherit; outline: 0; }
.blog-search-control button { width: 58px; border: 0; color: #fff; background: #279a98; cursor: pointer; }
.blog-search-control svg { width: 18px; fill: currentColor; }
.blog-content { padding-top: 46px; }
.blog-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 52px; }
.blog-categories { justify-content: center; }
.blog-categories a { padding: 10px 16px; border: 1px solid #cfd7d4; border-radius: 5px; color: #284240; font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s ease; }
.blog-categories a:hover, .blog-categories a.active { color: #fff; border-color: #279a98; background: #279a98; }
.blog-featured { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 470px; margin-bottom: 92px; overflow: hidden; border-radius: 16px; background: #f4f1ea; }
.blog-featured-image { min-height: 420px; overflow: hidden; }
.blog-featured-image img, .blog-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.blog-featured:hover img, .blog-card:hover img { transform: scale(1.035); }
.blog-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 72px); }
.blog-category { color: #208b89; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-meta { margin: 13px 0 16px; color: #74736f; font-size: 13px; }
.blog-featured h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 42px); line-height: 1.17; }
.blog-featured h2 a, .blog-card h3 a { color: #263634; text-decoration: none; }
.blog-featured-copy > p:not(.blog-meta) { color: #5c605e; font-size: 17px; line-height: 1.7; }
.blog-read-more { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 16px; color: #208b89; font-weight: 800; text-decoration: none; }
.blog-read-more:hover { color: #ef7b45; }
.blog-section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; margin-bottom: 38px; }
.blog-section-heading h2 { margin: 8px 0 0; font-size: clamp(34px, 4vw, 48px); }
.blog-section-heading > p { max-width: 480px; margin: 0; color: #626764; font-size: 17px; line-height: 1.7; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; border: 1px solid #e2e3df; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(32, 61, 59, .06); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(32, 61, 59, .12); }
.blog-card-image { height: 220px; overflow: hidden; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.blog-card h3 { margin: 0 0 13px; font-size: 22px; line-height: 1.3; }
.blog-card-body > p:not(.blog-meta) { margin: 0; color: #626764; line-height: 1.65; }
.blog-card .blog-read-more { margin-top: auto; padding-top: 22px; }
.blog-card-text { min-height: 330px; background: #f7f5ef; }
.blog-load-more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 48px; }
.blog-load-more p { margin: 0; color: #777; font-size: 13px; }
.blog-newsletter { padding: 72px 0; color: #fff; background: #244d4b; }
.blog-newsletter-inner { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; }
.blog-newsletter .dachzeile { color: #8bd2cf; }
.blog-newsletter h2 { margin: 8px 0 12px; color: #fff; font-size: 38px; }
.blog-newsletter p { margin: 0; color: rgba(255,255,255,.76); }
.blog-newsletter form { display: flex; gap: 10px; }
.blog-newsletter input { flex: 1; min-width: 0; padding: 15px 17px; border: 0; border-radius: 5px; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.blog-variant-switch { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 13px; font-weight: 700; }
.blog-variant-switch span, .blog-variant-switch a { padding: 9px 12px; border-radius: 5px; text-decoration: none; }
.blog-variant-switch span { color: #fff; background: #244d4b; }
.blog-variant-switch a { color: #208b89; border: 1px solid #a8ccca; background: #fff; }
.concept-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #e8e8e4; background: #fff; }
.concept-header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.concept-header img { width: 150px; height: auto; }
.concept-header nav { display: flex; align-items: center; gap: 28px; }
.concept-header nav a { color: #30413f; font-size: 14px; font-weight: 700; text-decoration: none; }
.concept-header nav a.active { color: #208b89; }
.concept-dropdown { position: relative; padding: 34px 0; }
.concept-dropdown-menu { position: absolute; top: 82px; left: 50%; min-width: 220px; padding: 10px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); border: 1px solid #e1e3df; border-radius: 7px; background: #fff; box-shadow: 0 16px 38px rgba(25,49,47,.14); transition: .2s ease; }
.concept-dropdown:hover .concept-dropdown-menu, .concept-dropdown:focus-within .concept-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.concept-header .concept-dropdown-menu a { display: block; padding: 11px 13px; border-radius: 4px; white-space: nowrap; }
.concept-header .concept-dropdown-menu a:hover { color: #fff; background: #279a98; }
.category-hero { padding: 72px 0 62px; background: #f6f4ee; }
.category-hero h1 { margin: 9px 0 18px; font-size: clamp(42px, 5vw, 64px); }
.category-hero a { color: #208b89; font-weight: 700; text-decoration: none; }
.category-empty { padding: 45px; text-align: center; background: #f6f4ee; }
.concept-footer { padding: 44px 0; color: #fff; background: #244d4b; }
.concept-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.concept-footer img { width: 145px; filter: brightness(0) invert(1); }
.concept-footer p { margin: 0; color: rgba(255,255,255,.75); }
.text-blog-lead { max-width: 900px; margin: 0 auto 55px; padding: 45px; border-left: 5px solid #279a98; background: #f5f3ed; }
.text-blog-lead h2 { margin: 13px 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.text-blog-lead h2 a { color: #263634; text-decoration: none; }
.text-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dfe2df; border-left: 1px solid #dfe2df; }
.text-blog-grid article { min-height: 330px; padding: 32px; border-right: 1px solid #dfe2df; border-bottom: 1px solid #dfe2df; }
.text-blog-grid h3 { margin: 12px 0; font-size: 23px; line-height: 1.3; }
.text-blog-grid article > p:not(.blog-meta) { color: #626764; line-height: 1.65; }
.text-blog-grid article > a { color: #208b89; font-weight: 800; text-decoration: none; }
.article-hero { padding: 78px 0 42px; background: #f6f4ee; }
.article-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.article-shell-narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.article-back { display: block; width: fit-content; margin-bottom: 28px; color: #208b89; font-weight: 700; text-decoration: none; }
.article-hero h1 { max-width: 920px; margin: 14px 0 20px; font-size: clamp(36px, 3.4vw, 46px); line-height: 1.14; letter-spacing: -.025em; }
.blog-article-page { overflow-x: hidden; }
.article-deck { max-width: 800px; color: #59615e; font-size: 21px; line-height: 1.55; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: #6d706e; font-size: 14px; }
.article-cover { max-width: 940px; margin: 48px auto 65px; }
.article-cover img { width: 100%; height: clamp(300px, 38vw, 480px); display: block; object-fit: cover; border-radius: 14px; }
.article-cover figcaption { margin-top: 10px; color: #767a77; font-size: 12px; }
.article-body { padding-bottom: 50px; color: #3d4542; font-size: 18px; line-height: 1.82; }
.article-body .article-lead { color: #283633; font-size: 22px; line-height: 1.68; }
.article-body .article-intro-answer { margin-top: 24px; }
.article-body p + p { margin-top: 24px; }
.article-body h2 { margin: 58px 0 18px; color: #263634; font-size: 36px; line-height: 1.2; }
.article-body h3 { margin: 40px 0 14px; color: #263634; font-size: 27px; }
.article-body ul { padding-left: 24px; }
.article-body ol { padding-left: 26px; }
.article-body li + li { margin-top: 9px; }
.article-body a { color: #208b89; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.article-toc { display: grid; gap: 8px; margin: 42px 0; padding: 28px; border-radius: 8px; background: #f2f7f6; }
.article-toc strong { margin-bottom: 6px; font-size: 18px; }
.article-toc a { color: #208b89; text-decoration: none; }
.article-callout { margin: 36px 0; padding: 26px 30px; border-left: 4px solid #ef7b45; background: #fff5ed; }
.article-callout p { margin: 6px 0 0; }
.article-callout.blue,
.article-callout.quick { border-left-color: #208b89; background: #edf7f6; }
.article-body > .article-lead + .article-callout {
  border-left-color: var(--primary-green);
  background: #edf7f6;
}
.article-callout.warn,
.article-callout.orange { border-left-color: #ef7b45; background: #fff5ed; }
.article-table { width: 100%; margin: 28px 0; border: 1px solid #dce6e4; border-collapse: separate; border-spacing: 0; border-radius: 9px; overflow: hidden; font-size: 16px; line-height: 1.55; }
.article-table th,
.article-table td { padding: 14px 16px; border-bottom: 1px solid #dce6e4; text-align: left; vertical-align: top; }
.article-table th { color: #fff; background: #288886; }
.article-table tr:last-child td { border-bottom: 0; }
.article-table tbody tr:nth-child(even) { background: #f7faf9; }
.article-inline-cta { margin: 42px 0; padding: 28px 30px; color: #fff; background: #244d4b; border-radius: 10px; }
.article-inline-cta strong { color: #fff; }
.article-inline-cta p { margin: 7px 0 15px; }
.article-inline-cta-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.article-inline-cta .btn { margin: 5px 8px 0 0; text-decoration: none; }
.article-inline-cta .secondary { border: 2px solid #fff; background: transparent; }
.article-faq { margin: 0; padding: 22px 0; border-top: 1px solid #dce6e4; }
.article-faq h3 { margin: 0 0 8px; font-size: 23px; }
.article-faq > h2 { margin-top: 0; }
.article-faq-list,
.article-faq { margin: 0 0 40px; padding: 0; border-top: 1px solid var(--border-light); }
.article-faq > h2 { margin-top: 52px; }
.article-faq details,
.article-faq-list details { padding: 0; border-bottom: 1px solid var(--border-light); }
.article-faq summary,
.article-faq-list summary {
  position: relative;
  padding: 20px 42px 20px 2px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.article-faq summary::-webkit-details-marker,
.article-faq-list summary::-webkit-details-marker { display: none; }
.article-faq summary::before,
.article-faq summary::after,
.article-faq-list summary::before,
.article-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 18px;
  height: 2px;
  background: var(--primary-green);
  content: '';
  transform: translateY(-50%);
  transition: transform var(--transition-speed) ease;
}
.article-faq summary::after,
.article-faq-list summary::after { transform: translateY(-50%) rotate(90deg); }
.article-faq details[open] summary::after,
.article-faq-list details[open] summary::after { transform: translateY(-50%) rotate(0); }
.article-faq summary:hover,
.article-faq-list summary:hover { color: var(--primary-green); }
.article-faq details p,
.article-faq-list details p { padding: 0 42px 20px 2px; }
.article-sources { margin-top: 44px; padding-top: 24px; border-top: 1px solid #dce6e4; color: #5f6865; font-size: 15px; }
.article-sources h2 { margin-top: 0; font-size: 27px; }
.article-sources a { overflow-wrap: anywhere; }
.article-disclaimer { margin-top: 50px; padding-top: 20px; border-top: 1px solid #ddd; color: #747875; font-size: 14px; }
.article-prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 35px 0 85px; border-top: 1px solid #ddd; }
.article-prev-next a { padding: 18px; color: #2e403d; font-weight: 700; text-decoration: none; background: #f6f4ee; }
.article-prev-next a:last-child { text-align: right; }
.article-prev-next span { display: block; margin-bottom: 5px; color: #208b89; font-size: 12px; text-transform: uppercase; }
.article-related { padding: 75px 0; background: #f6f4ee; }
.article-related h2 { margin: 8px 0 35px; font-size: 42px; }
.article-cta { padding: 70px 0; color: #fff; background: #244d4b; }
.article-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.article-cta h2 { max-width: 760px; margin: 8px 0 12px; color: #fff; font-size: 40px; }
.article-cta p { margin: 0; color: rgba(255,255,255,.78); }
@media (max-width: 800px) {
  .concept-header nav { display: none; }
  .text-blog-grid { grid-template-columns: 1fr; }
  .article-site-header .btn { display: none; }
  .article-prev-next { grid-template-columns: 1fr; }
  .article-prev-next a:last-child { text-align: left; }
  .article-cta .container { align-items: flex-start; flex-direction: column; }
  .article-table { display: block; overflow-x: auto; font-size: 15px; }
  .article-table th,
  .article-table td { min-width: 145px; padding: 12px; }
  .article-inline-cta { padding: 24px 20px; }
}
@media (max-width: 900px) {
  .blog-intro-grid, .blog-featured, .blog-section-heading, .blog-newsletter-inner { grid-template-columns: 1fr; }
  .blog-intro-grid { gap: 38px; }
  .blog-featured { min-height: 0; }
  .blog-featured-image { min-height: 340px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .blog-intro { padding: 56px 0 46px; }
  .blog-intro p { font-size: 17px; }
  .blog-content { padding-top: 30px; }
  .blog-categories { flex-wrap: nowrap; margin-right: -20px; padding-right: 20px; overflow-x: auto; }
  .blog-categories a { flex: 0 0 auto; }
  .blog-featured { margin-bottom: 64px; border-radius: 10px; }
  .blog-featured-image { min-height: 250px; }
  .blog-featured-copy { padding: 30px 24px 34px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 210px; }
  .blog-newsletter form { flex-direction: column; }
}

/* Shared reviews upper-footer */
.global-reviews { padding: 70px 0 68px; background: var(--bg-light); border-top: 1px solid rgba(31,77,74,.05); }
.global-reviews + .site-footer .footer-upper {
  background-color: #fff;
  border-top: 0;
}
.reviews-heading-row { display: grid; grid-template-columns: minmax(280px,1fr) minmax(460px,1fr); gap: 64px; align-items: start; margin-bottom: 62px; }
.reviews-title > span { display: block; margin-bottom: 16px; color: #a8aaad; font-size: 13px; font-weight: 700; }
.reviews-title h2 { font-size: 32px; font-weight: 400; }
.reviews-summary { display: flex; justify-content: space-around; gap: 38px; }
.review-platform { min-width: 214px; padding: 14px 24px 13px; border-radius: 10px; background: #fff; box-shadow: 0 3px 10px rgba(32,41,48,.13); }
.review-platform strong { display: flex; align-items: center; gap: 9px; color: #525366; font-size: 22px; font-weight: 400; }
.review-platform strong i { display: inline-grid; width: 30px; height: 30px; place-items: center; font-style: normal; font-weight: 800; }
.google-logo, .review-google { color: #4285f4; }
.facebook-logo { color: #1877f2; font-family: Arial,sans-serif; font-size: 28px; }
.review-platform div { display: flex; gap: 9px; align-items: center; }
.review-platform b { color: #525366; font-size: 17px; }
.review-platform div span, .review-stars { color: #ff5d48; letter-spacing: 1px; }
.review-platform a { color: #8d8d8d; font-size: 12px; text-decoration: underline; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px 54px; }
.review-card { min-width: 0; }
.review-card-head { display: grid; grid-template-columns: 56px 1fr 24px; gap: 10px; align-items: start; margin-bottom: 10px; }
.review-avatar { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; color: #fff; font-size: 22px; }
.review-avatar-lime { background: #86c43f; }
.review-avatar-blue { background: #08a4e7; }
.review-avatar-red { background: #f0443c; }
.review-avatar-green { background: #44ae54; }
.review-avatar-orange { background: #ff5626; }
.review-person { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.review-person strong { color: #2f9999; font-size: 15px; }
.review-person time { color: #a3a3a3; font-size: 12px; }
.review-stars { font-size: 17px; line-height: 1.1; }
.review-google { font-size: 22px; font-weight: 800; }
.review-card p { color: #525366; font-size: 14px; line-height: 1.5; }

/* Compact Google trust badge for the Home hero. */
.hero-google-review-badge {
  display: inline-flex;
  width: max-content;
  gap: 11px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hero-text-col > .hero-google-review-badge,
.hero-content-col > .hero-google-review-badge {
  display: flex;
}

.homepage-hero .hero-google-review-badge {
  width: fit-content;
  margin-top: 0;
}

.sozialabgabe-hero-copy > .hero-cta-wrapper {
  width: 100%;
  gap: 0;
  align-items: flex-start;
}

/* One paragraph typography standard across all full-width page heroes. */
.inner-page-hero .hero-text-col p,
.ksk-split-hero .hero-content-col > p,
.hero .hero-content-col > p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.hero-google-review-badge:hover,
.hero-google-review-badge:focus-visible {
  border-color: rgba(38, 128, 128, 0.45);
  box-shadow: var(--shadow-md);
}

.hero-google-review-logo {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.hero-google-review-badge > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hero-google-review-badge strong {
  color: var(--text-medium);
  font-size: 14px;
  font-weight: 500;
}

.hero-google-review-badge b {
  font-size: 16px;
}

.hero-google-review-stars {
  color: #f9ab00;
  font-size: 14px;
  letter-spacing: 1px;
}

.hero-google-review-badge small {
  margin-top: 2px;
  color: var(--text-light);
  font-size: 11px;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .reviews-heading-row { grid-template-columns: 1fr; gap: 30px; }
  .reviews-summary { justify-content: flex-start; flex-wrap: wrap; }
  .reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .global-reviews { padding: 48px 0; }
  .reviews-title h2 { font-size: 27px; }
  .reviews-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .review-platform { min-width: 0; padding: 12px; }
  .review-platform strong { font-size: 16px; }
  .reviews-grid { grid-template-columns: 1fr; }
}
