﻿@import url("../../src/styles/hr-theme.css");

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2'),
       url('../fonts/inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2'),
       url('../fonts/inter-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2'),
       url('../fonts/inter-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2'),
       url('../fonts/inter-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-600.woff2') format('woff2'),
       url('../fonts/lora-600.ttf') format('truetype');
}

:root {
  --primary-dark: var(--color-ink);
  --primary: var(--color-sage);
  --secondary: var(--color-sky);
  --light-blue: var(--color-hover);
  --accent: var(--color-sage);
  --accent-hover: var(--color-hover);
  --bg: var(--color-bg-main);
  --bg-secondary: var(--color-paper);
  --white: var(--color-white);
  --text: var(--color-ink);
  --muted: var(--color-slate);
  --border: var(--color-line);
  --shadow: 0 18px 44px rgba(10, 31, 55, 0.08);
  --radius: var(--radius-button);
  --radius-card: 18px;
  --content: var(--container-max);
  --hero-fallback: linear-gradient(135deg, rgba(10, 31, 55, 0.95), rgba(79, 124, 130, 0.82));
  --panel-fallback: linear-gradient(135deg, var(--color-bg-main), var(--color-paper));
  --image-shade-overlay: linear-gradient(150deg, rgba(10, 31, 55, 0.26), rgba(79, 124, 130, 0.14) 45%, rgba(10, 31, 55, 0.22));
  --image-shade-vignette: radial-gradient(120% 120% at 50% 10%, rgba(255, 255, 255, 0.10) 0%, rgba(10, 31, 55, 0) 42%, rgba(10, 31, 55, 0.18) 100%);
  --hr-primary: var(--primary-dark);
  --hr-secondary: var(--primary);
  --hr-accent: var(--light-blue);
  --hr-hover: var(--bg-secondary);
  --hr-white: var(--white);
  --hr-bg: var(--bg-secondary);
  --hr-border: var(--border);
  --hr-text-main: var(--text);
  --hr-text-secondary: var(--muted);
  --hr-radius-sm: var(--radius);
  --hr-radius-md: var(--radius-card);
  --hr-radius-lg: var(--radius-card);
  --hr-radius-xl: 28px;
  --hr-shadow-soft: var(--shadow);
  --hr-shadow-card: var(--shadow);
  --hr-max-width: var(--content);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 3px;
}

.consent-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  width: min(420px, calc(100% - 32px));
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 60px rgba(10, 37, 64, 0.18);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.consent-banner p {
  margin-bottom: 16px;
  color: var(--muted);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: var(--padding-card);
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.consent-placeholder h3 {
  margin-bottom: 8px;
}

.consent-placeholder p {
  max-width: 36rem;
}

.consent-placeholder[hidden] {
  display: none;
}

.container {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.hr-logo,
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hr-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-mark,
.hr-logo-mark {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.18);
}

.brand-mark::after,
.hr-logo-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

.brand-text,
.hr-logo-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
}

.brand-text {
  font-size: 22px;
  letter-spacing: 0.01em;
}

.hr-logo-divider {
  width: 1px;
  height: 52px;
  background: var(--primary-dark);
  opacity: 0.2;
}

.hr-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hr-logo-subtitle {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
}

.hr-logo-claim {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
}

.nav-item {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  background: rgba(118, 211, 218, 0.14);
  color: var(--primary-dark);
  border-color: rgba(79, 124, 130, 0.18);
  outline: none;
}

.nav-item[data-open="true"] .nav-trigger {
  background: rgba(10, 37, 64, 0.06);
  border-color: rgba(10, 37, 64, 0.1);
  color: var(--primary-dark);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 300px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 60px rgba(10, 37, 64, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 200;
}

.nav-item[data-open="true"] .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(118, 211, 218, 0.14);
  color: var(--primary-dark);
}

.nav-dropdown small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  margin-top: 2px;
}

.caret {
  width: 10px;
  height: 10px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-item[data-open="true"] .caret {
  transform: rotate(-135deg) translateX(-2px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  background: var(--primary-dark);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--primary-dark) !important;
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.16);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--hero-tone-overlay, linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,0))),
    var(--image-shade-vignette),
    var(--image-shade-overlay),
    linear-gradient(90deg, rgba(10, 37, 64, 0.82) 0%, rgba(10, 37, 64, 0.68) 42%, rgba(10, 37, 64, 0.42) 100%),
    var(--hero-image, var(--hero-fallback));
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-clean::before {
  background:
    var(--hero-tone-overlay, linear-gradient(0deg, rgba(255,255,255,0), rgba(255,255,255,0))),
    var(--image-shade-vignette),
    var(--image-shade-overlay),
    linear-gradient(90deg, rgba(10, 37, 64, 0.82) 0%, rgba(10, 37, 64, 0.68) 42%, rgba(10, 37, 64, 0.42) 100%),
    var(--hero-image, var(--hero-fallback));
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-noimage::before {
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.82) 55%, rgba(10, 37, 64, 0.72) 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 48px;
  align-items: end;
  min-height: 78vh;
  padding: var(--space-hero-content-start) 0 var(--padding-hero-y);
}

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

.wissensseite-content .container {
  max-width: 980px;
}

.wissensseite-content .page-hero .hero-grid {
  grid-template-columns: 1fr;
  min-height: 58vh;
  align-items: start;
  padding: var(--padding-hero-y) 0;
}

.wissensseite-content .hero-headline-wrap,
.wissensseite-content .hero-content-wrap,
.wissensseite-content .hero-title,
.wissensseite-content .hero-subheadline,
.wissensseite-content .hero-copy {
  max-width: 980px;
}

.wissensseite-content .section-heading {
  margin-bottom: 20px;
}

.wissensseite-content .content-list {
  margin-top: var(--padding-card-small);
}

.wissensseite-content h1,
.wissensseite-content h2,
.wissensseite-content h3 {
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.wissensseite-content .section,
.wissensseite-content .section-tight {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.hero-title-wide {
  grid-column: 1 / -1;
}

.hero-headline-wrap {
  max-width: 980px;
}

.hero-title {
  max-width: 980px;
  white-space: normal;
}

.hero-title-dynamic {
  white-space: normal !important;
  text-wrap: balance;
}

.wissen-ukasse-page .hero-title-large {
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 1.18;
}

.wissen-ukasse-page .wissen-subheader-section {
  padding-top: var(--space-section);
}

.wissen-ukasse-page .wissen-subheader-section h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
  margin-bottom: var(--space-section-title-content);
}

.page-hero h1.hero-subheadline-match {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin: var(--space-h1-subheadline) 0 var(--space-subheadline-intro);
}

.wissen-ukasse-page .section.section-tight {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.wissen-ukasse-page h2,
.wissen-ukasse-page .card h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
}

.wissen-pensionszusage-page h2 {
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.25;
}

.wissen-pensionszusage-page .card h3 {
  font-size: clamp(12px, 1.5vw, 17px);
  line-height: 1.25;
}

.wissen-pensionszusage-page .section.section-tight {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.wissen-denkansatz-page .hero-title-dynamic {
  white-space: normal !important;
  text-wrap: balance;
}

.wissen-denkansatz-page .hero-title-single-line,
.wissen-analyseprozess-page .hero-title-single-line {
  white-space: nowrap !important;
  text-wrap: nowrap;
  max-width: none;
  font-size: clamp(40px, 5.4vw, 58px);
}

.wissensseite-content .hero-title-compact {
  max-width: none;
  font-size: clamp(40px, 5.4vw, 58px);
  line-height: 1.18;
  white-space: nowrap;
  text-wrap: nowrap;
}

.wissen-denkansatz-page .section.section-tight {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.wissen-image-card {
  padding: var(--padding-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.wissen-image-card h2 {
  margin-bottom: 24px;
}

.wissen-image-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: var(--space-card-gap);
  align-items: stretch;
}

.wissen-image-card-content p:last-child {
  margin-bottom: 0;
}

.wissen-image-card-media {
  min-height: 100%;
  margin: 0;
}

.wissen-image-card-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius-card) - 4px);
}

.wissen-hero-grid,
.wissen-post-grid,
.wissen-topics-grid,
.wissen-relevant-grid {
  display: grid;
  gap: var(--space-knowledge-card-gap);
}

.wissen-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.wissen-topics-grid,
.wissen-post-grid,
.wissen-relevant-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wissen-post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wissen-post-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wissen-post-body {
  display: flex;
  flex-direction: column;
  gap: var(--padding-card-small);
  height: 100%;
  padding: var(--padding-card);
}

.wissen-post-category {
  font-size: var(--font-size-label);
  line-height: var(--line-height-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
}

.wissen-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--padding-card-small);
  margin-top: auto;
}

.wissen-post-meta .btn,
.wissen-post-meta .hr-button {
  width: auto;
  min-width: 150px;
  min-height: 44px;
  overflow-wrap: normal;
  white-space: nowrap;
}

.wissen-posts .section-head {
  margin-bottom: var(--space-heading-content);
}

.wissen-topic-card {
  display: block;
  min-height: 100%;
}

.analyseprozess-page h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
}

.analyseprozess-page section:not(.page-hero) h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-ink);
}

.wissen-analyseprozess-page .page-hero h1.hero-title {
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.22;
}

.generationen-page .generationen-hero-title {
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.22;
}

.generationen-page h2 {
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.25;
}

.generationen-page section:not(.page-hero) h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--color-ink);
}

.hero-content-wrap {
  max-width: 680px;
}

.hero-grid > .hero-headline-wrap {
  grid-column: 1 / -1;
}

.hero-grid > .hero-content-wrap {
  grid-column: 1 / 2;
}

.hero-grid > .hero-panel {
  grid-column: 2 / 3;
}

.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: var(--padding-card-small);
}

h1, h2, h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  margin: 0;
  color: var(--primary-dark);
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.22;
  margin-bottom: 32px;
}

.analyseprozess-page .page-hero h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.18;
}

.analyseprozess-page .hero-subheadline,
.analyseprozess-page .hero-copy {
  font-size: 20px;
}

.denkansatz-page .page-hero h1,
.honorartarif-page .page-hero h1 {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.18;
}

.honorartarif-page .page-hero .hero-title {
  white-space: normal;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  color: var(--primary-dark);
}

.full-width-section-title {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto var(--space-section-title-content);
  padding: 0;
}

.full-width-section-subtitle {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto var(--space-section-title-content);
  color: var(--muted);
  font-size: 18px;
}

h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  color: var(--primary-dark);
}

.hero-intro,
.hero-copy,
.lead,
p,
li,
.card p,
.contact-list,
.legal-copy,
.step-number,
.small,
.footer-copy {
  font-size: 18px;
}

.hero-intro,
.hero-copy,
.lead,
p,
.card p,
.legal-copy,
.footer-copy,
.contact-list {
  color: var(--muted);
}

p {
  margin: 0 0 20px;
}

.page-hero .hero-intro,
.page-hero .hero-copy,
.page-hero li,
.page-hero .lead,
.page-hero p,
.page-hero .small {
  color: rgba(255, 255, 255, 0.90);
}

.page-hero .hero-intro,
.page-hero .hero-copy,
.page-hero .lead {
  line-height: 1.78;
}

.page-hero .hero-intro + .hero-copy,
.page-hero .hero-copy + .hero-copy,
.page-hero .hero-copy + .hero-intro {
  margin-top: 20px;
}

.hero-copy + .hero-copy,
p + p {
  margin-top: 14px;
}

.hr-section {
  padding: var(--space-section) var(--container-padding-desktop);
}

.hr-container {
  max-width: var(--hr-max-width);
  margin: 0 auto;
}

.hero-subheadline {
  margin: var(--space-h1-subheadline) 0 var(--space-subheadline-intro);
  color: var(--white);
}

.page-hero .hero-panel,
.page-hero .hero-content-wrap,
.page-hero .hero-headline-wrap {
  align-self: start;
}

@media (min-width: 1101px) {
  .page-hero .hero-grid:not(.hero-grid-single) > .hero-panel {
    align-self: end;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-intro-buttons);
  margin-top: var(--space-intro-buttons);
}

.btn,
.hr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn:hover,
.hr-btn:hover {
  transform: translateY(-1px);
}
.btn-primary,
.hr-btn-primary {
  background: var(--color-sage);
  color: var(--white);
  border-color: var(--color-sage);
  box-shadow: 0 10px 24px rgba(10, 31, 55, 0.18);
}
.btn-primary:hover,
.hr-btn-primary:hover {
  background: var(--accent-hover);
  color: var(--primary-dark);
  border-color: var(--accent-hover);
  box-shadow: 0 12px 28px rgba(10, 31, 55, 0.14);
}
.btn-secondary,
.hr-btn-secondary {
  background: var(--color-ink);
  color: var(--color-white);
  border-color: var(--color-ink);
}

.btn-secondary:hover,
.hr-btn-secondary:hover {
  background: var(--color-hover);
  color: var(--color-ink);
  border-color: var(--color-hover);
}

.btn-dark,
.btn-light {
  border-color: transparent;
}

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

.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--border);
}

.btn-dark:hover,
.btn-light:hover {
  background: var(--accent-hover);
  color: var(--primary-dark);
}

.hero-panel {
  background: rgba(10, 37, 64, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: var(--padding-card);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.hero-panel h3 {
  font-weight: 400;
}

.page-hero .hero-panel .kpi-label {
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--color-sky);
  margin-bottom: var(--padding-card-small);
}

.page-hero .hero-panel h3 {
  color: var(--white);
  font-weight: 600;
}

.page-hero .hero-panel p,
.page-hero .hero-panel .small,
.page-hero .hero-panel li {
  color: rgba(255, 255, 255, 0.92);
}

.hero-panel ul,
.content-list,
.content-bullets {
  margin: 0;
  padding-left: 22px;
}

.section {
  padding: var(--space-section) 0;
}

.section-tight {
  padding: var(--space-section) 0;
}

.page-hero-noimage ~ .section-tight {
  padding-top: var(--space-knowledge-block-gap);
  padding-bottom: var(--space-knowledge-block-gap);
}

.section-tight .container > h2 + p,
.section-tight .container > h2 + ul,
.section-tight .container > h2 + .statements,
.section-tight .container > h2 + .cards-3 {
  margin-top: var(--space-heading-content);
}

.section-tight .container > h2 {
  max-width: none;
}

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}
.section-dark p,
.section-dark li,
.section-dark .lead,
.section-dark .small {
  color: rgba(255, 255, 255, 0.88);
}

.two-col,
.feature-grid,
.cards-3,
.cards-4,
.contact-grid,
.footer-grid,
.case-grid {
  display: grid;
  gap: 24px;
}

.two-col {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.footer-grid { grid-template-columns: 1.1fr 0.8fr 0.8fr; }
.case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.home-ebook-section {
  background: var(--bg);
}

.home-ebook-heading {
  max-width: none;
  margin-bottom: 34px;
}

.home-ebook-heading h2 {
  max-width: none;
  font-size: clamp(26px, 2.45vw, 30px);
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.home-ebook-heading h2 span {
  display: block;
  margin-top: 4px;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.home-ebook-heading h2 span:first-child {
  margin-top: 0;
}

.home-ebook-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--space-section-title-content);
  align-items: center;
}

.home-ebook-media {
  margin: 0;
}

.home-ebook-media img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(10, 37, 64, 0.12);
}

.home-ebook-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.home-ebook-btn {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 20px rgba(79, 124, 130, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
}

.home-ebook-btn:hover {
  background: var(--color-sky);
  color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(79, 124, 130, 0.28);
}

.home-ebook-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.ebook-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 37, 64, 0.72);
}

.ebook-modal:target {
  display: flex;
}

.ebook-dialog {
  position: relative;
  width: min(100%, 500px);
  padding: var(--padding-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(10, 37, 64, 0.24);
}

.ebook-dialog h3 {
  margin-bottom: 20px;
}

.ebook-close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--primary-dark);
  font-size: 28px;
  line-height: 1;
}

.ebook-form {
  display: grid;
  gap: 12px;
}

.ebook-form input[type="text"],
.ebook-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
}

.ebook-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--primary-dark);
  font-size: 13px;
  line-height: 1.5;
}

.ebook-consent a {
  color: var(--primary);
  font-weight: 700;
}

.footer-ebook-cta {
  margin-top: 34px;
  padding: 40px 20px;
  background: var(--color-bg-main);
  border-top: 1px solid var(--color-line);
  border-radius: var(--radius-card);
}

.footer-ebook-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-ebook-headline {
  margin: 0 0 var(--space-section-title-content);
  color: var(--color-ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.footer-ebook-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-card-gap);
}

.footer-ebook-image {
  flex: 0 0 180px;
  text-align: center;
}

.footer-ebook-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.12);
}

.footer-ebook-text {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-ebook-text p {
  margin-bottom: 18px;
  color: var(--color-slate);
  font-size: 15px;
  line-height: 1.6;
}

.footer-ebook-button {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  margin-right: auto;
  margin-left: auto;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  background: var(--color-sage);
  color: var(--color-white) !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79, 124, 130, 0.25);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.footer-ebook-button:hover {
  transform: translateY(-1px);
  background: var(--color-hover);
  color: var(--color-ink);
  box-shadow: 0 12px 26px rgba(79, 124, 130, 0.28);
}

.footer-ebook-note {
  margin-top: 10px;
  margin-bottom: 0 !important;
  color: var(--color-sage) !important;
  font-size: 13px !important;
  font-weight: 700;
  text-align: center;
}

.section-heading {
  max-width: 850px;
  margin-bottom: var(--space-section-title-content);
}
.section-heading h2 + p,
.section-heading h2 + .lead {
  margin-top: var(--space-heading-content);
}

.card,
.hr-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--padding-card);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.22;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.card h3 + p,
.card h3 + ul,
.card .small,
.card p + p,
.card p + ul {
  margin-top: var(--padding-card-small);
}
.card.dark-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.card.dark-card p,
.card.dark-card li,
.card.dark-card .small,
.card.dark-card h3 {
  color: rgba(255, 255, 255, 0.92);
}

.trust-quote-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--padding-card);
}

.trust-quote-image-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 380px;
}

.trust-quote-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.97) contrast(1.08) brightness(0.94);
}

.trust-quote-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--image-shade-overlay);
}

.trust-quote-content h3 {
  margin-bottom: 14px;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
}

.trust-quote-content h4 {
  margin: 24px 0 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}

.trust-quote-content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.trust-quote-content p + p {
  margin-top: 16px;
}

.trust-quote-author {
  color: var(--primary-dark) !important;
  font-weight: 600;
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(10, 37, 64, 0.10), rgba(10, 37, 64, 0.10)),
    var(--panel-image, var(--panel-fallback));
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--image-shade-overlay);
}

.statements {
  display: grid;
  gap: var(--space-knowledge-card-gap);
}

.statements-3 {
  grid-template-columns: 1fr;
}

.statements-3 .card {
  width: 100%;
}

.u-kasse-card-spacer {
  padding: var(--space-section) 0;
}

.u-kasse-card-spacer .container {
  display: grid;
  gap: var(--space-heading-content);
}

.u-kasse-placeholder-card {
  min-height: 250px;
  background: var(--light-blue);
  border-radius: var(--radius-card);
}

.u-kasse-placeholder-card--content {
  min-height: 0;
  padding: var(--padding-card);
}

.u-kasse-placeholder-card--content h2,
.u-kasse-placeholder-card--content h3 {
  margin-bottom: var(--padding-card-small);
  color: var(--primary-dark);
}

.u-kasse-placeholder-card--content p {
  margin: 0;
  color: var(--muted);
}

.u-kasse-placeholder-card--content p + p {
  margin-top: 16px;
}

.info-link {
  color: var(--primary-dark);
  text-decoration: underline;
  font-weight: 600;
}

.info-dialog {
  width: min(900px, calc(100% - 32px));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.info-dialog::backdrop {
  background: rgba(10, 37, 64, 0.45);
}

.info-dialog-inner {
  padding: var(--padding-card);
}

.info-dialog-inner h3 {
  margin-bottom: var(--padding-card-small);
  color: var(--primary-dark);
}

.info-dialog-inner p {
  margin: 0;
}

.info-dialog-inner p + p,
.info-dialog-inner p + ul,
.info-dialog-inner ul + p {
  margin-top: 14px;
}

.info-dialog-inner ul {
  margin: 0;
  padding-left: 22px;
}

.info-dialog-inner button {
  margin-top: 20px;
}

.kidron-link {
  color: var(--color-sage);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.kidron-link:hover {
  color: var(--color-sky);
}

.kidron-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 37, 64, 0.7);
}

.kidron-popup-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: var(--padding-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.kidron-popup-box h3 {
  margin-bottom: 20px;
  color: var(--color-ink);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
}

.kidron-popup-box p {
  margin-bottom: 16px;
  color: var(--color-slate);
  font-size: 16px;
  line-height: 1.7;
}

.kidron-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: var(--color-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kidron-popup-button {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--color-sage);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.kidron-popup-button:hover {
  transform: translateY(-1px);
  background: var(--color-sky);
  color: var(--white);
}

.u-kasse-content-section {
  padding-top: var(--space-section-heading-top);
}

.kpi-card {
  padding: 24px;
}

.trust-signals-section .section-heading,
.trust-signals-section .section-heading h2 {
  max-width: none;
}

.trust-signals-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-signals-grid .card h3 {
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
  font-size: clamp(20px, 2vw, 26px);
}

.kpi-label {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 10px;
}

.step-number {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-box {
  background: rgba(118, 211, 218, 0.12);
  border: 1px solid rgba(118, 211, 218, 0.28);
  border-radius: var(--radius-card);
  padding: var(--padding-card);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child {
  border-bottom: 0;
}
.contact-label {
  min-width: 90px;
  color: var(--primary-dark);
  font-weight: 600;
}

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.site-footer h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.site-footer a {
  color: var(--muted);
}
.site-footer a:hover {
  color: var(--primary-dark);
}
.footer-links {
  display: grid;
  gap: 10px;
}

.legal-hero {
  padding: var(--padding-hero-y) 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.04), rgba(10, 37, 64, 0));
}
.legal-hero h1 {
  color: var(--primary-dark);
}
.legal-section {
  padding: var(--space-section) 0;
}
.legal-section h2 {
  font-size: 32px;
  margin-bottom: var(--space-section-title-content);
}
.legal-section p,
.legal-section li {
  color: var(--muted);
}
.legal-section ul { padding-left: 22px; }

.legal-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

.legal-table th {
  color: var(--primary-dark);
  background: var(--bg);
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-page .legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.legal-page .legal-info-card h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
}

.legal-page .legal-info-card h2:not(:first-child) {
  margin-top: var(--space-intro-buttons);
}

.legal-page .legal-longform-card h3 {
  margin: var(--padding-card) 0 var(--padding-card-small);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
}

.legal-page .legal-longform-card ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-page .legal-info-card p:last-child {
  margin-bottom: 0;
}

.legal-page .legal-info-card a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-hero {
  padding: var(--space-section) 0;
  background: var(--primary-dark);
  color: var(--white);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 38px;
  align-items: center;
}

.lp-hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(42px, 5.4vw, 70px);
}

.lp-hero p,
.lp-hero li {
  color: rgba(255, 255, 255, 0.9);
}

.lp-hero-list {
  margin: 24px 0;
}

.lp-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    var(--primary);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.lp-hero-media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.lp-statement {
  padding: var(--padding-card);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lp-statement p {
  margin: 0;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.lp-statement p + p {
  margin-top: var(--padding-card-small);
}

.lp-wide-card h2 {
  margin-bottom: var(--space-section-title-content);
}

.lp-lead-after {
  margin-top: var(--space-intro-buttons);
}

.lp-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.lp-service-grid .card ul,
.lp-steps-grid .card ul,
.lp-columns-list {
  margin: 16px 0 0;
  padding-left: 22px;
}

.lp-steps-cta {
  margin-top: 34px;
}

.lp-columns-list {
  columns: 2;
  column-gap: 38px;
}

.lp-video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-video-card p,
.lp-video-card h3 {
  margin: 0;
}

.lp-video-card .btn {
  width: fit-content;
  margin-top: auto;
}

.lp-video-placeholder {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed var(--primary);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--primary-dark);
  font-weight: 700;
}

.lp-faq-list {
  display: grid;
  gap: 14px;
}

.lp-faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lp-faq-list summary {
  cursor: pointer;
  padding: 22px 26px;
  color: var(--primary-dark);
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
}

.lp-faq-list details > p {
  padding: 0 26px 22px;
}

.lp-final-cta .cta-box .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.lp-final-cta .cta-box .btn-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary-dark);
}

.lp-final-note {
  margin-top: 16px;
}

.lp-internal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-internal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}

.lp-internal-links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.contact-page {
  padding: 88px 0;
  background: transparent;
}

.contact-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  grid-template-areas:
    "form intro"
    "form portrait"
    "form info";
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: var(--space-card-gap);
  align-items: start;
}

.contact-page .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: var(--space-card-gap);
  align-items: stretch;
  min-height: auto;
  padding: 0;
}

.contact-page .hero-copy,
.contact-page .hero-image-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-page .hero-copy {
  grid-area: intro;
  padding: var(--padding-hero-y) var(--padding-hero-x);
}

.contact-page .contact-layout .hero-copy {
  align-self: start;
  padding: var(--padding-card);
}

.contact-page .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.contact-page .hero-copy h1 {
  margin: 0 0 22px;
  color: var(--primary-dark);
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: none;
}

.contact-page .hero-lead,
.contact-page .hero-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-page .hero-copy p + p {
  margin-top: var(--space-subheadline-intro);
}

.contact-page .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--padding-card-small);
  margin-top: 24px;
}

.contact-page .badge {
  background: rgba(118, 211, 218, 0.18);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
}

.contact-page .hero-image-card {
  grid-area: portrait;
  position: relative;
  overflow: hidden;
  padding: var(--padding-card-small);
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
}

.contact-page .hero-image {
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 34vw, 560px);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 16px;
  filter: saturate(0.97) contrast(1.08) brightness(0.94);
}

.contact-page .hero-image-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  pointer-events: none;
  background: var(--image-shade-overlay);
}

.contact-page .main-grid {
  margin-top: var(--space-intro-buttons);
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: var(--space-card-gap);
  align-items: stretch;
}

.contact-page .form-card,
.contact-page .side-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: var(--padding-card);
}

.contact-page .form-card {
  grid-area: form;
}

.contact-page .side-card {
  grid-area: info;
  align-self: stretch;
}

.contact-page .form-card h2,
.contact-page .side-card h2 {
  color: var(--primary-dark);
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.contact-page .form-card p,
.contact-page .side-card p {
  color: var(--muted);
}

.contact-page form {
  margin-top: 24px;
}

.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-card-gap);
}

.contact-page .field,
.contact-page .full {
  display: grid;
  gap: 8px;
}

.contact-page .full {
  grid-column: 1 / -1;
}

.contact-page label {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  width: 100%;
  border: 1px solid var(--hr-border);
  border-radius: 14px;
  background: var(--hr-white);
  color: var(--hr-text-main);
  font-size: 17px;
  padding: 14px 16px;
}

.contact-page input::placeholder,
.contact-page textarea::placeholder {
  color: var(--hr-text-secondary);
}

.contact-page textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-page .option-list {
  display: grid;
  gap: 12px;
}

.contact-page .option-row {
  display: flex;
  align-items: flex-start;
  gap: var(--padding-card-small);
  padding: 14px 16px;
  border: 1px solid var(--hr-border);
  border-radius: 16px;
  background: var(--hr-bg);
}

.contact-page .option-row input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 0;
}

.contact-page .option-text {
  display: grid;
  gap: 2px;
}

.contact-page .option-text strong {
  color: var(--primary-dark);
  font-size: 20px;
}

.contact-page .option-text span {
  color: var(--muted);
  font-size: 17px;
}

.contact-page .form-actions {
  margin-top: 24px;
}

.contact-page .form-status {
  width: 100%;
  margin: 10px 0 0;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 600;
}

.contact-trust-box {
  margin: var(--padding-card) 0 var(--space-intro-buttons);
  padding: var(--padding-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
}

.contact-trust-box h3 {
  margin: 0 0 var(--padding-card-small);
  font-size: 1.1rem;
}

.contact-trust-box .content-list {
  margin: 0;
}

#termin {
  scroll-margin-top: 110px;
}

.contact-page .privacy-consent {
  margin-bottom: 16px;
}

.contact-page .privacy-consent a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--color-sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-page .button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--primary-dark);
}

.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 37, 64, 0.68);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal-box {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: var(--padding-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-secondary);
  box-shadow: 0 24px 70px rgba(10, 37, 64, 0.24);
}

.contact-modal-box h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.contact-modal-box p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--primary-dark);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.modal-form-grid {
  margin-top: 22px;
}

.contact-modal-actions {
  margin-top: 24px;
}

.contact-success-box {
  max-width: 580px;
}

.contact-page .side-card {
  display: flex;
  flex-direction: column;
}

.contact-page .contact-list {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.contact-page .contact-item {
  display: grid;
  gap: 4px;
  padding: 0;
  border-bottom: 0;
}

.contact-page .contact-label {
  min-width: 0;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.contact-page .contact-value {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-page .map-wrap {
  margin-top: auto;
  padding-top: 20px;
}

.contact-page .map-frame {
  width: 100%;
  height: 360px;
  border: 1px solid var(--hr-border);
  border-radius: 16px;
}

.honorar-after-hero {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.honorar-between-containers {
  padding-top: var(--space-section-heading-top);
  padding-bottom: var(--space-section);
}

.honorar-next-section {
  padding-top: var(--space-section-heading-top);
  padding-bottom: var(--space-section);
}

.honorar-next-section h2 {
  margin-bottom: var(--space-section-title-content);
}

.honorartarif-page .section-tight .container > h2 + .cards-3 {
  margin-top: var(--space-card-gap);
}

.honorartarif-page .section-dark .hero-actions {
  gap: var(--space-card-gap);
}

.principles-section {
  padding: var(--space-section) var(--container-padding-mobile);
  background-color: var(--hr-bg);
}

.about-teaser-section {
  padding-top: var(--space-section);
}

.u-kasse-placeholder-card--content h2,
.u-kasse-placeholder-card--content h3,
.about-teaser-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin-bottom: var(--space-heading-content);
}

.about-teaser-card p + p {
  margin-top: 16px;
}

.principles-section.honorar-principles {
  padding-top: var(--space-section);
}

.principles-section.honorar-principles .card-grid {
  grid-template-columns: 1fr !important;
  gap: 24px;
}

.principles-section .section-title {
  font-family: 'Lora', serif;
  font-size: 36px;
  color: var(--hr-primary);
  margin-bottom: var(--space-section-title-content);
}

.principles-section .card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.principles-section .card {
  background-color: var(--hr-white);
  padding: var(--padding-card);
  border-radius: var(--hr-radius-lg);
  border: 1px solid var(--hr-border);
  box-shadow: var(--hr-shadow-card);
  transition: all 0.3s ease;
}

.principles-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.principles-section .card h3 {
  font-family: 'Lora', serif;
  font-size: 20px;
  color: var(--hr-primary);
  margin-bottom: 15px;
}

.principles-section .card p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hr-text-secondary);
}

.hr-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: var(--padding-hero-y) var(--padding-hero-x);
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.62)), var(--hero-image, var(--hero-fallback));
  background-size: cover;
  background-position: center;
  color: var(--hr-white);
}

.hr-hero h1 {
  color: var(--hr-white);
  max-width: 760px;
}

.hr-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  font-size: 21px;
}

.hr-hero-highlight {
  border-left: 3px solid var(--hr-accent);
  padding-left: 22px;
  margin: var(--space-intro-buttons) 0;
  color: var(--hr-white);
}

.hr-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-card-gap);
}

.hr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-card-gap);
}

.hr-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--hr-radius-xl);
  min-height: 420px;
  padding: var(--padding-card);
  display: flex;
  align-items: flex-end;
  background: var(--hr-primary);
  color: var(--hr-white);
}

.hr-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.72);
  z-index: 1;
}

.hr-image-card-content {
  position: relative;
  z-index: 2;
}

.hr-image-card h2,
.hr-image-card h3,
.hr-image-card p {
  color: var(--hr-white);
}

.hr-muted {
  color: var(--hr-text-secondary);
}

.hr-accent {
  color: var(--hr-accent);
}

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

.hr-bg-soft {
  background: var(--hr-bg);
}

.hr-divider {
  width: 100%;
  height: 1px;
  background: var(--hr-border);
  margin: 48px 0;
}

.no-wrap {
  white-space: nowrap;
}

.generationen-intro-title {
  width: 100%;
  white-space: nowrap;
}

.generationen-intro-card ul + p {
  margin-top: 24px;
}

.generationen-cards-stack {
  grid-template-columns: 1fr;
}

.generationen-first-card ul + p {
  margin-top: 24px;
}

.generationen-case-left ul + p,
.generationen-case-right ul + p {
  margin-top: 24px;
}

@media (min-width: 1100px) {
  .page-hero .hero-title {
    white-space: nowrap;
  }
}

@media (max-width: 1099px) {
  .page-hero .hero-title {
    white-space: normal;
  }

  .generationen-intro-title {
    white-space: normal;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .lp-hero-grid,
  .two-col,
  .feature-grid,
  .cards-3,
  .cards-4,
  .home-ebook-grid,
  .legal-page .legal-card-grid,
  .lp-service-grid,
  .contact-grid,
  .footer-grid,
  .case-grid,
  .statements-3 {
    grid-template-columns: 1fr;
  }
  .image-panel { min-height: 360px; }

  .trust-quote-card {
    grid-template-columns: 1fr;
  }

  .trust-quote-image-wrap {
    min-height: 320px;
  }

  .principles-section .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-page .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "portrait"
      "form"
      "info";
  }

  .lp-hero-media img {
    min-height: 420px;
  }

  .contact-page .hero-image {
    min-height: 420px;
  }

  .contact-page .main-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > .hero-headline-wrap,
  .hero-grid > .hero-content-wrap,
  .hero-grid > .hero-panel {
    grid-column: 1;
  }
}

/* --- Mobile Menu Base --- */
.menu-toggle { display: none; }
.menu-overlay { display: none; }

@media (max-width: 768px) {
  /* --- Mobile Menu (Off-Canvas) --- */
  body.menu-open { overflow: hidden; }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .menu-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark);
    position: relative;
    transition: background-color 0.3s;
  }

  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    transition: transform 0.3s, top 0.3s;
    left: 0;
  }

  .menu-toggle-icon::before { top: -8px; }
  .menu-toggle-icon::after { top: 8px; }

  .menu-open .menu-toggle-icon { background-color: transparent; }
  .menu-open .menu-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); }

  .menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.4);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .menu-open .menu-overlay {
    display: block;
    opacity: 1;
  }

  .container { width: min(calc(100% - 32px), var(--content)); }
  .header-inner {
    align-items: center;
    flex-direction: row;
    padding: 16px 0;
  }
  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 24px 24px;
    gap: 0;
    box-shadow: -10px 0 30px rgba(10, 37, 64, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .menu-open .site-nav {
    display: flex;
    right: 0;
    transform: translateX(0);
  }
  .site-nav a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 16px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a.active {
    font-weight: 700;
    color: var(--primary-dark);
    padding-left: 14px;
    border-left: 3px solid var(--accent);
  }
  .site-nav a:last-child {
    border-bottom: none;
  }
  .site-nav .nav-cta {
    margin-top: 24px;
    border-bottom: none;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
  }

  .nav-item[data-open="true"] .nav-trigger {
    background: transparent;
    border-color: var(--border);
    color: var(--primary-dark);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 14px;
    min-width: 0;
    display: none;
  }

  .nav-item[data-open="true"] .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(217, 224, 231, 0.5);
    border-radius: 0;
    font-size: 15px;
  }

  .nav-dropdown a:last-child {
    border-bottom: none;
  }
  .hero-grid {
    min-height: auto;
    padding: var(--space-section) 0;
    gap: var(--space-card-gap);
  }

  .lp-hero {
    padding: var(--space-section) 0;
  }
  .hero-title-wide { grid-column: auto; }
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
  .full-width-section-title {
    width: min(calc(100% - 32px), var(--content));
  }
  .generationen-intro-section .generationen-intro-title {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
  .full-width-section-subtitle {
    width: min(calc(100% - 32px), var(--content));
  }
  .section { padding: var(--space-section) 0; }
  .section-tight { padding: var(--space-section) 0; }
  .u-kasse-card-spacer { padding: var(--space-section) 0; }
  .principles-section { padding: var(--space-section) var(--container-padding-mobile); }
  .card, .hero-panel { padding: var(--padding-card); }
  .lp-statement { padding: 24px; }
  .lp-columns-list { columns: 1; }
  .principles-section .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-page { padding: 64px 0; }
  .contact-page .hero-copy {
    padding: var(--padding-card);
  }
  .contact-page .hero-copy h1 {
    max-width: none;
    font-size: 52px;
  }
  .contact-page .hero-image {
    min-height: 320px;
  }
  .contact-page .form-card,
  .contact-page .side-card {
    padding: 24px;
  }
  .contact-page .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-page .option-row {
    padding: var(--padding-card-small);
  }
  .contact-page .map-frame {
    height: 280px;
  }

  .kidron-popup-box {
    padding: var(--padding-card);
  }

  .kidron-popup-box h3 {
    font-size: 22px;
  }

  .kidron-popup-box p {
    font-size: 15px;
  }

  .kidron-popup-button {
    width: 100%;
  }

  .footer-ebook-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-ebook-text p {
    text-align: center;
  }

  .footer-ebook-button {
    max-width: 100%;
  }

  .footer-ebook-note {
    text-align: center;
  }
}

/* ===== Responsive System (Desktop >=1025, Tablet 769-1024, Mobile <=768) ===== */
html,
body {
  overflow-x: hidden;
}

a,
p,
li,
h1,
h2,
h3,
.btn,
.hr-btn,
.contact-value,
.legal-copy,
.footer-copy {
  overflow-wrap: anywhere;
}

.btn,
.hr-btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media (min-width: 1025px) {
  .hero-grid {
    min-height: 72vh;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: min(calc(100% - 40px), var(--content));
  }

  .hero-grid {
    min-height: 62vh;
    padding: var(--space-section) 0;
    gap: var(--space-card-gap);
    align-items: start;
  }

  .page-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 22px;
  }

  .hero-intro,
  .hero-copy,
  .hero-subheadline,
  .page-hero p,
  .page-hero li {
    font-size: 16px;
    line-height: 1.55;
    max-width: 62ch;
  }

  .hero-actions {
    margin-top: var(--space-intro-buttons);
    gap: var(--space-card-gap-mobile);
  }

  .btn,
  .hr-btn,
  .contact-page .button {
    min-height: 44px;
  }

  .two-col,
  .feature-grid,
  .cards-3,
  .cards-4,
  .lp-service-grid,
  .contact-grid,
  .footer-grid,
  .case-grid,
  .statements-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-quote-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section,
  .section-tight,
  .u-kasse-card-spacer,
  .principles-section,
  .contact-page {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }

  .contact-page .hero-copy,
  .contact-page .form-card,
  .contact-page .side-card {
    padding: var(--padding-card);
  }

  .contact-page .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page .main-grid,
  .contact-page .hero-grid,
  .contact-page .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .no-wrap {
    white-space: normal;
  }

  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .page-hero::before,
  .page-hero.page-hero-clean::before {
    background: var(--hero-tone-overlay, linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0))),
      var(--image-shade-vignette),
      var(--image-shade-overlay),
      linear-gradient(90deg, rgba(10, 37, 64, 0.82) 0%, rgba(10, 37, 64, 0.68) 42%, rgba(10, 37, 64, 0.42) 100%),
      var(--hero-image-mobile, var(--hero-image, var(--hero-fallback)));
    background-size: cover;
    background-position: center;
  }

  .header-inner {
    min-height: 72px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 52vh;
    padding: var(--space-section) 0;
    gap: var(--space-card-gap-mobile);
    align-items: start;
  }

  .page-hero h1 {
    font-size: clamp(30px, 8.2vw, 42px);
    line-height: 1.18;
    margin-bottom: 14px;
  }

  .hero-subheadline,
  .hero-intro,
  .hero-copy,
  .page-hero p,
  .page-hero li,
  p,
  li {
    font-size: 16px;
    line-height: 1.52;
    max-width: 38ch;
  }

  .hero-actions,
  .cta-actions {
    margin-top: var(--space-intro-buttons);
    gap: var(--space-card-gap-mobile);
  }

  .hero-actions .btn,
  .hero-actions .hr-btn,
  .cta-actions .btn,
  .cta-actions .hr-btn,
  .contact-page .form-actions .button {
    width: 100%;
    min-height: 44px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .two-col,
  .feature-grid,
  .cards-3,
  .cards-4,
  .contact-grid,
  .footer-grid,
  .case-grid,
  .statements-3,
  .principles-section .card-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .hero-panel,
  .lp-statement,
  .wissen-image-card,
  .contact-page .hero-copy,
  .contact-page .form-card,
  .contact-page .side-card {
    padding: var(--padding-card-small);
  }

  .lp-hero h1 {
    font-size: clamp(32px, 8.4vw, 46px);
  }

  .lp-hero-media img {
    min-height: 320px;
  }

  .wissen-image-card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-card-gap-mobile);
  }

  .wissen-image-card-media img {
    min-height: 280px;
  }

  .section,
  .section-tight,
  .u-kasse-card-spacer,
  .principles-section,
  .contact-page {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }

  .contact-page .hero-copy h1,
  .contact-page .form-card h2,
  .contact-page .side-card h2 {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.12;
  }

  .contact-page .form-grid,
  .contact-page .main-grid,
  .contact-page .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-card-gap-mobile);
  }

  .wissen-post-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-page .map-frame {
    height: 240px;
  }

  .kidron-popup-box {
    padding: var(--padding-card);
  }

  .kidron-popup-box h3 {
    font-size: 22px;
  }

  .kidron-popup-box p {
    font-size: 15px;
  }

  .kidron-popup-button {
    width: 100%;
  }

  .image-panel,
  .trust-quote-image-wrap,
  .contact-page .hero-image {
    min-height: 260px;
    height: auto;
  }

  .trust-quote-card,
  .trust-quote-content,
  .trust-quote-image-wrap,
  .trust-quote-card .hero-actions {
    min-width: 0;
    max-width: 100%;
  }

  .trust-quote-content h3 {
    white-space: normal;
  }

  .hero-grid-home .content-bullets,
  .hero-grid-home .hero-subheadline,
  .hero-grid-home p.hero-copy:nth-of-type(n + 3),
  .hero-grid-home .hero-panel {
    display: none;
  }

  .honorartarif-page .page-hero .hero-headline-wrap,
  .honorartarif-page .page-hero .hero-content-wrap,
  .honorartarif-page .page-hero .hero-panel,
  .honorartarif-page .page-hero .hero-title,
  .honorartarif-page .page-hero .hero-copy,
  .honorartarif-page .page-hero .hero-subheadline {
    max-width: min(100%, 21rem);
    min-width: 0;
  }

  .honorartarif-page .page-hero h1 {
    font-size: clamp(30px, 8vw, 34px);
    overflow-wrap: break-word;
  }
}

@media (max-width: 420px) {
  .hero-grid {
    min-height: 50vh;
    padding: var(--space-section) 0;
    gap: var(--space-card-gap-mobile);
  }

  .page-hero h1 {
    font-size: clamp(28px, 9vw, 34px);
    margin-bottom: var(--space-h1-subheadline);
  }

  .hero-subheadline,
  .hero-intro,
  .hero-copy,
  .page-hero p,
  .page-hero li {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: var(--space-subheadline-intro);
  }

  .page-hero .hero-content-wrap .hero-copy,
  .page-hero .hero-content-wrap .hero-intro {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .page-hero .hero-content-wrap .hero-copy + .hero-copy,
  .page-hero .hero-content-wrap .hero-intro + .hero-copy,
  .page-hero .hero-content-wrap .hero-copy + .hero-intro {
    margin-top: 8px;
  }

  .page-hero .hero-content-wrap .content-bullets,
  .page-hero .hero-content-wrap .hero-subheadline,
  .page-hero .hero-content-wrap p.hero-copy:nth-of-type(n + 3),
  .page-hero .hero-panel {
    display: none;
  }

  .honorartarif-page .page-hero .hero-content-wrap .hero-copy,
  .honorartarif-page .page-hero .hero-content-wrap .hero-subheadline,
  .honorartarif-page .page-hero .hero-panel {
    display: block;
  }

  .honorartarif-page .page-hero .hero-headline-wrap,
  .honorartarif-page .page-hero .hero-content-wrap,
  .honorartarif-page .page-hero .hero-panel,
  .honorartarif-page .page-hero .hero-title,
  .honorartarif-page .page-hero .hero-copy,
  .honorartarif-page .page-hero .hero-subheadline {
    max-width: min(100%, 19rem);
    min-width: 0;
  }

  .honorartarif-page .page-hero h1 {
    font-size: 30px;
    overflow-wrap: break-word;
  }

  .honorartarif-page .page-hero .hero-content-wrap .hero-copy {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .honorartarif-page .page-hero .hero-panel {
    margin-top: var(--space-card-gap-mobile);
  }

  .hero-actions {
    margin-top: var(--space-intro-buttons);
  }
}

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-ink) !important;
    text-shadow: none !important;
  }

  body {
    background: var(--white);
    font-size: 11pt;
    line-height: 1.45;
  }

  .site-header,
  .site-footer,
  .mobile-menu,
  .menu-toggle,
  .menu-overlay,
  .hero-actions,
  .consent-banner,
  .consent-placeholder,
  .map-wrap {
    display: none !important;
  }

  .container,
  .full-width-section-title,
  .full-width-section-subtitle {
    width: 100%;
    max-width: none;
  }

  .page-hero,
  .section,
  .section-tight,
  .contact-page {
    padding: 24pt 0;
  }

  .hero-grid,
  .two-col,
  .cards-3,
  .cards-4,
  .contact-grid,
  .footer-grid,
  .case-grid {
    display: block;
  }

  .card,
  .hero-panel,
  .trust-quote-card {
    border: 1px solid var(--color-line);
    break-inside: avoid;
    page-break-inside: avoid;
  }

  a {
    text-decoration: underline;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
    page-break-after: avoid;
  }
}

.contact-page .hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.contact-page .hero-image {
  min-height: 440px;
}

@media (max-width: 980px) {
  .contact-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "portrait"
      "form"
      "info";
  }
}
