:root {
  color-scheme: light;
  --red: #c7191e;
  --red-dark: #9f1117;
  --ink: #222222;
  --muted: #5f6368;
  --line: #dddddd;
  --paper: #ffffff;
  --wash: #f2f2f2;
  --soft: #f8f8f8;
  --dark: #3b3b3b;
  --shadow: 0 14px 34px rgba(34, 34, 34, 0.09);
  --shadow-soft: 0 8px 20px rgba(34, 34, 34, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skipLink {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--red);
}

.skipLink:focus {
  top: 12px;
}





.siteHeader {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 26px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brandMark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
}

nav a {
  color: #333;
  font-weight: 700;
}

nav a[aria-current="page"] {
  color: var(--red);
}

.navButton {
  padding: 8px 12px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(199, 25, 30, 0.22);
}

.navButton:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.loginLink {
  color: var(--red);
}

.pageGrid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 360px);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 26px 60px;
}

.contentColumn,
.sideColumn {
  min-width: 0;
}

.introArticle,
.articleBlock,
.localBox,
.sideCard {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.introArticle {
  padding: 34px 34px 28px;
  border-top: 6px solid var(--red);
  background:
    linear-gradient(135deg, rgba(199, 25, 30, 0.07), rgba(255, 255, 255, 0) 42%),
    var(--paper);
}

.sectionKicker {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  color: #1c1c1c;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.teaser {
  max-width: 770px;
  margin-top: 18px;
  color: #454545;
  font-size: 21px;
  line-height: 1.45;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primaryAction,
.secondaryAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primaryAction {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(199, 25, 30, 0.26);
}

.primaryAction:hover {
  background: var(--red-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(199, 25, 30, 0.31);
}

.secondaryAction {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.secondaryAction:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none;
  transform: translateY(-2px);
}

.quickFacts {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.trustBadges {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}

.trustBadges span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 34px;
  padding: 0.4rem 0.8rem;
  border: 1px solid #dce3ea;
  border-radius: 20px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 500;
}

.trustBadges span::before {
  margin-right: 7px;
  display: inline-flex;
  min-width: 20px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.badgePrivacy::before {
  content: "";
  width: 18px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(#168a3c, #168a3c) center 9px / 11px 7px no-repeat,
    radial-gradient(ellipse at center, transparent 42%, #168a3c 45% 62%, transparent 65%) center 2px / 12px 12px no-repeat,
    #e7f7ec;
}

.badgeGermany::before {
  content: "";
  width: 22px;
  min-width: 22px;
  height: 14px;
  border: 1px solid #d4d4d4;
  background: linear-gradient(#111 0 33%, #d71920 33% 66%, #ffce00 66%);
}

.badgeWriting::before {
  content: "✎";
  background: transparent;
  color: var(--red);
  font-size: 16px;
}

.redBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 26px 0;
  padding: 28px 32px;
  background: var(--red);
  color: #fff;
}

.redBanner:hover {
  text-decoration: none;
  background: var(--red-dark);
}

.redBanner strong {
  display: block;
  font-size: 27px;
  line-height: 1.15;
}

.redBanner small {
  display: block;
  max-width: 620px;
  margin-top: 7px;
  color: #fff;
  font-size: 16px;
}

.redBanner b,
.whiteButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #fff;
  color: var(--red);
  font-weight: 800;
}

.articleBlock,
.localBox {
  margin-top: 26px;
  padding: 30px 34px;
}

.articleBlock p + p {
  margin-top: 16px;
}

.benefitGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.benefitGrid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: var(--soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.benefitGrid div:hover,
.stepCard:hover,
.infoCards article:hover,
.applicationGrid article:hover,
.pricingGrid div:hover,
.sideCard:hover {
  border-color: #c8c8c8;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.benefitGrid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.benefitGrid p {
  color: #4a4a4a;
}

.stepFlow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stepCard {
  position: relative;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 160ms ease;
}

.stepCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stepCard + .stepCard::before {
  position: absolute;
  left: -22px;
  top: 43px;
  content: "→";
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
}

.stepBadge {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
}

.stepFlow h3 {
  font-size: 20px;
}

.stepFlow p {
  color: #4a4a4a;
}

.infoCards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

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

.infoCards article {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: var(--soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.infoCards span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.infoCards h3 {
  font-size: 20px;
}

.infoCards p {
  color: #4a4a4a;
}

.sourceNote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sourceBox {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.sourceBox strong {
  font-size: 18px;
}

.sourceBox a {
  font-weight: 800;
}

.processStrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0;
  background: #fff;
  border: 1px solid var(--line);
}

.processStrip div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.processStrip div:last-child {
  border-right: 0;
}

.processStrip strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--red);
  color: #fff;
}

.processStrip span {
  font-weight: 800;
  line-height: 1.25;
}

.processStripWide {
  margin: 26px 0 0;
}

.articleBlock h2,
.localBox h2 {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.articleBlock h2:first-child,
.localBox h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.supportList {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.supportList a {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.supportList a::before,
.arrowList li::before {
  position: absolute;
  content: "›";
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.supportList a::before {
  left: 4px;
  top: 14px;
}

.applicationGrid,
.pricingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.pricingGrid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.applicationGrid article,
.pricingGrid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: var(--soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.applicationGrid span,
.pricingGrid span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 8px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.applicationGrid h3 {
  margin-bottom: 8px;
}

.applicationCardPreview {
  display: grid;
  align-content: start;
}

.emptyState {
  margin-top: 20px;
  padding: 24px;
  border: 2px dashed #cfcfcf;
  background: var(--soft);
}

.emptyState strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.topicMatrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.topicMatrix div {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.topicMatrix strong,
.topicMatrix span {
  display: block;
}

.topicMatrix strong {
  margin-bottom: 7px;
  color: var(--red-dark);
  font-size: 18px;
}

.topicMatrix span {
  color: #4a4a4a;
}

.metaList {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
}

.metaList div {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.metaList dt,
.metaList dd {
  margin: 0;
}

.metaList dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.metaList dd {
  font-weight: 700;
}

.disabledButton {
  min-height: 42px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #eeeeee;
  color: #777;
  font: inherit;
  font-weight: 800;
  cursor: not-allowed;
}

.pricingGrid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
}

.pricingGrid .preferredCard {
  position: relative;
  border: 2px solid #2563eb;
  border-top-width: 2px;
  border-radius: 12px;
  background: #f8fafc;
}

.pricingGrid .preferredCard span {
  background: #2563eb;
  color: #fff;
}

.pricingGrid .preferredCard::before {
  position: absolute;
  top: -12px;
  right: 16px;
  content: "Empfohlen";
  padding: 2px 10px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.trustBlock {
  margin-top: 26px;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--dark);
}

.trustBlock p {
  color: #464646;
}

.accordionItem {
  border-top: 1px solid var(--line);
}

.accordionItem:last-child {
  border-bottom: 1px solid var(--line);
}

.accordionItem summary {
  cursor: pointer;
  padding: 18px 0;
  color: var(--red);
  font-size: 18px;
  font-weight: 800;
}

.accordionItem div {
  padding: 0 0 22px;
}

.accordionItem ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.timelineStep {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timelineStep > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.timelineStep h3 {
  margin-bottom: 8px;
}

.timelineStep p {
  color: #464646;
}

.splitInfo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.splitInfo > div {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.splitInfo h3 {
  font-size: 20px;
}

.examplePanel {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: #fff;
}

.exampleHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 5px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.exampleHeader span {
  padding: 4px 10px;
  background: #f6dddd;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

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

.exampleRows div {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exampleRows div:nth-child(2n) {
  border-right: 0;
}

.exampleRows div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.exampleRows small {
  color: var(--muted);
  font-weight: 700;
}

.checkList {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.checkList li {
  position: relative;
  padding-left: 24px;
}

.checkList li::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "✓";
  color: var(--red);
  font-weight: 900;
}

.negativeList li::before {
  content: "×";
  color: var(--dark);
}

.doBox {
  border-top: 4px solid var(--red) !important;
}

.dontBox {
  border-top: 4px solid var(--dark) !important;
}

.localBox {
  border-top: 5px solid var(--red);
}

.sideColumn {
  display: grid;
  align-content: start;
  gap: 24px;
}

.sideCard {
  padding: 25px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sideCard h2 {
  margin-bottom: 12px;
  font-size: 23px;
}

.sideCard p {
  color: #464646;
}

.redCard {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.redCard p {
  color: #fff;
}

.redCard .whiteButton {
  margin-top: 20px;
}

.mutedCard {
  background: var(--soft);
}

.pilotCard label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #333;
  font-weight: 800;
}

.pilotCard input,
.pilotCard textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  font: inherit;
  resize: vertical;
}

.redInlineButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.redInlineButton:hover {
  background: var(--red-dark);
  text-decoration: none;
}

.arrowList {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arrowList li {
  position: relative;
  padding-left: 22px;
  font-weight: 700;
}

.arrowList li::before {
  left: 0;
  top: 0;
}

.textLink {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
}

.siteFooter {
  background: #3a3a3a;
  color: #fff;
}

.footerHead,
.footerNav {
  max-width: 1180px;
  margin: 0 auto;
}

.footerHead {
  padding: 30px 26px 20px;
}

.footerHead strong {
  display: block;
  font-size: 22px;
}

.footerHead span {
  display: block;
  margin-top: 5px;
  color: #dedede;
}

.footerNav {
  display: flex;
  gap: 24px;
  padding: 18px 26px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footerNav a {
  color: #fff;
  font-weight: 700;
}

.legalPage {
  max-width: 920px;
  min-height: 70vh;
  margin: 0 auto;
  padding: 52px 26px 80px;
}

.legalPage article {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
}

.legalPage h1 {
  font-size: 40px;
}

.legalPage h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legalPage p {
  margin-top: 12px;
  color: #3e3e3e;
}

.legalPage ul {
  margin-top: 12px;
  padding-left: 22px;
  color: #3e3e3e;
}

.legalPage li {
  margin-top: 6px;
}

.legalPage a {
  color: var(--red);
  font-weight: 600;
}

.authWrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(199, 25, 30, 0.08), rgba(37, 99, 235, 0.08)),
    var(--wash);
}

.authCard {
  width: min(100%, 520px);
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  background: #fff;
  box-shadow: var(--shadow);
}

.authBrand {
  margin-bottom: 28px;
}

.authCard h1 {
  font-size: 34px;
}

.authCard p {
  margin-top: 10px;
  color: #4a4a4a;
}

.authLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-weight: 800;
}

.formStack {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.formStack label {
  display: grid;
  gap: 7px;
  color: #333;
  font-weight: 800;
}

.formStack input,
.formStack textarea,
.formStack select {
  width: 100%;
  border: 1px solid #ccd4dd;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.formStack textarea {
  resize: vertical;
}

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

.checkLine {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 700 !important;
}

.checkLine input {
  width: auto;
  margin-top: 5px;
}

.formError,
.errorText {
  color: #a20f15 !important;
  font-weight: 800;
}

.successText {
  color: #168a3c !important;
  font-weight: 800;
}

.portalShell {
  min-height: 100vh;
  background: #f4f6f8;
}

.loadingScreen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.portalSidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: grid;
  width: 286px;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.portalBrand {
  margin-bottom: 28px;
}

.portalNav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.portalNav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #334155;
}

.portalNav a[aria-current="page"],
.portalNav a:hover {
  background: #eef2ff;
  color: #1d4ed8;
  text-decoration: none;
}

.portalPublicLink {
  font-weight: 800;
}

.portalMain {
  min-height: 100vh;
  margin-left: 286px;
}

.portalTopbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.menuButton {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.profileMenu {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  font-weight: 800;
}

.smallAction {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.portalHero,
.portalSection {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 28px;
}

.portalHero {
  padding-top: 44px;
}

.portalHero h1,
.portalSection h1 {
  font-size: 38px;
}

.portalHero p {
  margin-top: 10px;
  color: #46515f;
  font-size: 20px;
}

.portalActionGrid,
.templateGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 22px;
}

.portalActionCard,
.templateCard,
.caseCard,
.portalPanel {
  display: block;
  padding: 22px;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.portalActionCard:hover,
.templateCard:hover,
.caseCard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.portalActionCard h2,
.templateCard h3,
.caseCard h3 {
  font-size: 22px;
}

.portalActionCard p,
.templateCard p,
.caseCard p {
  margin-top: 8px;
  color: #526070;
}

.mutedComing {
  opacity: 0.72;
}

.mutedComing span,
.templateCard span,
.statusPill {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.sectionHead,
.caseHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.caseList,
.documentList,
.messageList {
  display: grid;
  gap: 16px;
}

.progressTrack {
  height: 10px;
  overflow: hidden;
  margin: 16px 0 10px;
  border-radius: 999px;
  background: #e5eaf0;
}

.progressTrack span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #2563eb);
}

.filterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.filterChip {
  min-height: 38px;
  border: 1px solid #ccd4dd;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  font: inherit;
  font-weight: 800;
}

.filterChip.active,
.stepTabs a.active {
  border-color: var(--red);
  background: #fff1f1;
  color: #a80f14;
}

.caseLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 20px;
}

.saveState {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e7f7ec;
  color: #168a3c;
  font-weight: 900;
}

.saveState.error {
  background: #fff1f1;
  color: #b91c1c;
}

.stepTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.stepTabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccd4dd;
  border-radius: 999px;
  background: #fff;
  padding: 0 13px;
  font-weight: 800;
  color: var(--ink);
}

.choiceGroup {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.choiceGroup legend {
  padding: 0 6px;
  font-weight: 900;
}

.infoBox,
.errorBox {
  border-radius: 10px;
  padding: 14px;
  background: #f1f5f9;
}

.errorBox {
  border: 1px solid #fecaca;
  background: #fff1f1;
  color: #991b1b;
}

.documentNeedList {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.documentNeedList li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.documentNeedList li.done strong {
  color: #168a3c;
}

.documentNeedList li.missing strong {
  color: #b91c1c;
}

.documentNeedList small {
  display: block;
  color: var(--muted);
}

.miniUpload {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
}

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

.reviewGrid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fbfdff;
}

.stepList,
.activityList {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.stepList .done {
  color: #168a3c;
  font-weight: 800;
}

.activityList small {
  display: block;
  color: var(--muted);
}

.disabledButton {
  border-radius: 8px;
}

/* Kompakter Header vor dem Umschalten auf mobile Stapel-Navigation:
   Nav bleibt einzeilig (kein Umbruch einzelner Buttons), Platz wird durch
   Wegfall der Marken-Unterzeile und engere Abstände geschaffen. */
@media (max-width: 1180px) {
  .headerInner {
    gap: 16px;
  }

  .brand small {
    display: none;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 15px;
  }

  .navButton {
    padding: 8px 12px;
  }
}

@media (max-width: 920px) {

  .headerInner,
  .pageGrid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .headerInner,
  .redBanner,
  .footerNav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .brand small {
    display: block;
  }

  .trustBadges {
    grid-template-columns: 1fr;
  }

  .trustBadges span {
    width: 100%;
    white-space: normal;
  }

  nav {
    gap: 14px 20px;
  }

  .pageGrid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .introArticle,
  .articleBlock,
  .localBox,
  .sideCard,
  .legalPage article {
    padding: 24px;
  }

  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 25px;
  }

  .teaser {
    font-size: 19px;
  }

  .benefitGrid {
    grid-template-columns: 1fr;
  }

  .processStrip,
  .applicationGrid,
  .pricingGrid,
  .topicMatrix,
  .infoCards,
  .infoCardsThree,
  .stepFlow,
  .splitInfo,
  .exampleRows {
    grid-template-columns: 1fr;
  }

  .stepCard + .stepCard::before {
    left: 22px;
    top: -22px;
    content: "↓";
  }

  .processStrip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .processStrip div:last-child {
    border-bottom: 0;
  }

  .timelineStep {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .exampleRows div,
  .exampleRows div:nth-child(2n) {
    border-right: 0;
  }

  .exampleRows div:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .exampleRows div:last-child {
    border-bottom: 0;
  }

  .authWrap {
    padding: 16px;
  }

  .authCard {
    padding: 22px;
  }

  .formGrid,
  .caseLayout {
    grid-template-columns: 1fr;
  }

  .portalSidebar {
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .portalShell.navOpen .portalSidebar {
    transform: translateX(0);
  }

  .portalMain {
    margin-left: 0;
  }

  .menuButton {
    display: inline-flex;
    align-items: center;
  }

  .profileMenu span {
    display: none;
  }

  .portalHero,
  .portalSection,
  .portalActionGrid,
  .templateGrid {
    padding-right: 18px;
    padding-left: 18px;
  }

  .sectionHead,
  .caseHeader {
    flex-direction: column;
  }
}

/* Bedingte Felder: Wrapper ist layout-neutral, versteckt via [hidden] */
.fieldWrap { display: contents; }
.fieldWrap[hidden] { display: none; }

/* ---- Zentrale Ad-Slots (öffentliche Seiten) ---- */
.adSlot { width: 100%; margin: 1.5rem 0; }
.adSlot[hidden] { display: none; margin: 0; } /* kein Leerraum, wenn Werbung aus */
.adSlot[data-ad-slot="sidebar"] { display: none; } /* mobil unsichtbar */
@media (min-width: 1024px) {
  .adSlot[data-ad-slot="sidebar"]:not([hidden]) { display: block; }
}
.houseAd {
  display: block; border: 1px solid var(--border, #d9dee5); border-radius: 12px;
  padding: 1rem 1.15rem; background: var(--surface, #fff); max-width: 100%;
}
.houseAdLabel { display: inline-block; font-size: 0.7rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: #6b7280; margin-bottom: 0.4rem; }
.houseAdTitle { display: block; font-size: 1.05rem; margin-bottom: 0.25rem; }
.houseAdBody { margin: 0 0 0.7rem; color: #4b5563; }
.houseAdCta { display: inline-block; font-weight: 600; text-decoration: none;
  color: var(--brand, #b91c1c); }
.houseAdCta:hover { text-decoration: underline; }

/* ---- Öffentliche Content-/Ratgeber-Seiten ---- */
.breadcrumbs { font-size: 0.85rem; margin: 0 0 0.75rem; color: #6b7280; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.crumbSep { margin: 0 0.35rem; color: #9ca3af; }
.stepList { margin: 0.4rem 0 0.4rem 1.2rem; padding: 0; }
.stepList li { margin: 0.3rem 0; }
.faqItem { margin: 0.75rem 0; }
.faqItem h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.faqItem p { margin: 0; color: #374151; }
.ctaBlock { text-align: center; }

/* ---- Kompakter Seitenkopf (Cluster-Übersicht & Ratgeber-Artikel, Typ B/C) ---- */
.pageHead { margin: 0 0 6px; }
.pageHead h1 { margin: 6px 0 8px; line-height: 1.15; font-size: 32px; }
.pageHead .lead { margin: 0; color: #4b5563; font-size: 1.05rem; max-width: 64ch; }
@media (max-width: 640px) { .pageHead h1 { font-size: 26px; } }

/* Direkte-Antwort-Box für Dauer-/Problem-Artikel (Kernaussage zuerst) */
.leadAnswer { margin: 0; padding: 14px 16px; border-left: 4px solid var(--red);
  background: rgba(199, 25, 30, 0.05); border-radius: 8px; font-size: 1.05rem; max-width: 70ch; }

/* Artikelinhalt straffer: erster fachlicher Abschnitt früher sichtbar */
.contentArticle .articleBlock { margin-top: 16px; padding: 22px 26px; }
.contentArticle .articleBlock:first-of-type { margin-top: 10px; }
.contentArticle .articleBlock h2 { margin-top: 0; }
.contentArticle .breadcrumbs { margin-bottom: 6px; }
/* dezente Typ-Akzente – gleiche Designsprache, kleine Unterschiede */
.ct-requirement .articleBlock .arrowList li,
.ct-documents .articleBlock .arrowList li { margin: 0.35rem 0; }
