/* =========================================================================
   Haase Media — statische Website v6
   Leitidee: Die Logo-Scheibe als Raster. Eine Form, eine Farbe.
   Typografie: Plus Jakarta Sans · DM Serif Display Italic als warmer Akzent
   ========================================================================= */

/* ---- Fonts --------------------------------------------------------------- */

@font-face {
  font-family: "DM Serif Display";
  src: url("fonts/DMSerifDisplay-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens -------------------------------------------------------------- */

:root {
  --paper: #f2eee5;
  --paper-light: #fbf8f1;
  --ink: #26242a;
  --anthracite: #3f3d42;
  --text: #47434a;
  --muted: #6f6a70;
  --orange: #ff8c00;
  --orange-deep: #a65300;
  --line: #cdc6ba;
  --line-soft: #e0d9cd;
  --white: #ffffff;

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-accent: "DM Serif Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --container: 80rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
}

/* ---- Reset --------------------------------------------------------------- */

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--anthracite);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dl {
  margin: 0;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

/* ---- Layout helpers ------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}

section[id] {
  scroll-margin-top: 5rem;
}

.section > .container > * + * {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

/* zweispaltiges Split-Layout für Lead + Beistellung */
.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* gemeinsames Lesemaß */
.section h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.6rem);
  line-height: 1.08;
  max-width: 18ch;
}

.section h2 + p {
  margin-top: clamp(0.9rem, 2vw, 1.25rem);
}

.section p {
  max-width: 60ch;
}

/* ---- Skip-Link ----------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  transform: translateY(calc(-100% - 1px));
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(1rem);
}

/* ---- Kicker & Text-Links ------------------------------------------------- */

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--orange);
}

.kicker-light {
  color: var(--orange);
}

.text-link {
  font-weight: 600;
  color: var(--anthracite);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-link::after {
  content: " →";
  color: var(--orange-deep);
  transition: margin-left 0.15s ease;
}

.text-link:hover {
  color: var(--orange-deep);
}

.text-link:hover::after {
  margin-left: 0.2rem;
}

.text-link-light {
  color: var(--paper-light);
  border-color: var(--orange);
}

.text-link-light:hover {
  color: var(--white);
}

/* ---- Buttons ------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  min-height: 44px;
}

.button-primary {
  background: var(--orange);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--orange-deep);
  color: var(--white);
}

.button-dark {
  background: var(--ink);
  color: var(--paper-light);
}

.button-dark:hover {
  background: #000;
}

.button-light {
  background: var(--paper-light);
  color: var(--anthracite);
  border-color: var(--line);
}

.button-light:hover {
  border-color: var(--orange);
}

.button-small {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  min-height: 44px;
}

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

/* ---- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand img {
  width: 175px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  margin-left: auto;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--anthracite);
  padding: 0.25rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.18s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-inner .button-dark {
  flex-shrink: 0;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-menu summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  min-width: 14rem;
  padding: 0.5rem;
  box-shadow: 0 12px 30px rgba(38, 36, 42, 0.12);
}

.mobile-menu nav a {
  padding: 0.75rem 0.75rem;
  text-decoration: none;
  color: var(--anthracite);
  font-weight: 500;
  border-radius: 0.2rem;
}

.mobile-menu nav a:hover {
  background: var(--paper);
  color: var(--orange-deep);
}

/* =========================================================================
   HERO — Hero-Budget: Marke, Headline, Stützsatz, ein CTA, ein Visual
   Das Scheiben-Motiv ist das dominante Visual.
   ========================================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 8rem) clamp(4.5rem, 9vw, 9rem);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255, 140, 0, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paper-light), var(--paper));
}

/* feines technisches Raster als Atmosphäre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
  opacity: 0.45;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(120% 100% at 70% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* das Scheiben-Motiv, groß und rechts beschnitten */
.mark-field {
  position: absolute;
  top: 50%;
  right: clamp(-10rem, -5vw, -4rem);
  transform: translateY(-50%);
  width: clamp(24rem, 42vw, 38rem);
  color: var(--anthracite);
  pointer-events: none;
  z-index: 0;
}

.mark-motif {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.mark-motif .mark-fill {
  fill: var(--orange);
}

/* Konturlinien dezenter als das gefüllte Segment */
.mark-motif g {
  opacity: 0.5;
}

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

.hero-copy {
  max-width: 40rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--orange-deep);
}

.hero-lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--text);
  max-width: 38rem;
  margin: 0 0 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

/* Hero-Staffelung beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.2s; }

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

/* =========================================================================
   PROFILE-STRIP — Kurzprofil direkt nach dem Hero (nicht im Hero)
   ========================================================================= */

.profile-strip {
  background: var(--ink);
  color: var(--paper-light);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.profile-strip-inner {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(0, 4fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

.person-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--paper-light);
  text-decoration: none;
}

.person-proof img {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 4.5rem;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid rgba(251, 248, 241, 0.32);
  border-radius: 0.25rem;
}

.person-proof span {
  display: grid;
  gap: 0.2rem;
}

.person-proof strong {
  color: var(--white);
  font-size: 1rem;
}

.person-proof small {
  color: rgba(251, 248, 241, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
}

.person-proof:hover strong {
  color: var(--orange);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.fact-strip > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  padding-left: 1rem;
}

.fact-strip > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--orange);
}

.fact-strip dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 241, 0.6);
}

.fact-strip dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--paper-light);
}

/* =========================================================================
   SITUATION
   ========================================================================= */

.situation-anlaesse {
  border-left: 1px solid var(--line);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.situation-anlaesse strong {
  display: block;
  font-family: var(--font-display);
  color: var(--anthracite);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.situation-anlaesse li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}

.situation-anlaesse li:last-child {
  border-bottom: none;
}

/* =========================================================================
   CORE — dunkle Kernleistungs-Sektion (größte Fläche)
   ========================================================================= */

.core-section {
  background: var(--anthracite);
  color: var(--paper-light);
  border-top-color: var(--ink);
}

.core-section h2,
.core-section h3 {
  color: var(--white);
}

.core-section p {
  color: rgba(251, 248, 241, 0.82);
}

.core-intro {
  max-width: 52rem;
}

.service-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(251, 248, 241, 0.16);
  border: 1px solid rgba(251, 248, 241, 0.16);
}

.service-ledger article {
  background: var(--anthracite);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.service-ledger h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-ledger p {
  margin: 0;
  font-size: 0.98rem;
}

.core-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink);
  border-left: 3px solid var(--orange);
}

.offer-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.core-offer strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}

.core-offer > div p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 36ch;
}

/* =========================================================================
   PROJECTS
   ========================================================================= */

.projects-intro {
  max-width: 50rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.project figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  aspect-ratio: 4 / 3;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.project:hover img {
  transform: scale(1.03);
}

.project-copy {
  padding-top: 1.25rem;
}

.project-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.project-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.project-copy p {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
}

.project-copy span {
  font-size: 0.82rem;
  color: var(--orange-deep);
  font-weight: 600;
}

.project-copy .text-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 0.8rem;
}

.projects-link {
  text-align: right;
}

/* =========================================================================
   EXTENSIONS
   ========================================================================= */

.extensions-intro {
  max-width: 50rem;
}

.extension-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.extension {
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 0.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.extension-type {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.extension h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.extension > p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
}

.extension ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.extension li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text);
}

.extension li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
  border-radius: 1px;
}

.extension .text-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.extension-note {
  display: flex;
  gap: 1.5rem;
  align-items: baseline;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.extension-note span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.extension-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* =========================================================================
   OPERATION — dunkle Betriebs-Sektion
   ========================================================================= */

.operation-section {
  padding-block: var(--section-y);
  background: var(--ink);
  color: var(--paper-light);
  border-top: 1px solid var(--ink);
}

.operation-section .section-split {
  align-items: center;
}

.operation-copy h2 {
  color: var(--white);
}

.operation-copy p {
  color: rgba(251, 248, 241, 0.82);
  max-width: 46ch;
  margin-top: 1.25rem;
}

.operation-offer {
  border: 1px solid rgba(251, 248, 241, 0.2);
  border-left: 3px solid var(--orange);
  border-radius: 0.25rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.operation-offer span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.operation-offer strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  color: var(--white);
}

.operation-offer small {
  color: rgba(251, 248, 241, 0.65);
  font-size: 0.85rem;
}

.operation-offer .text-link-light {
  margin-top: 0.75rem;
  align-self: start;
}

/* =========================================================================
   PRICING
   ========================================================================= */

.pricing-intro {
  max-width: 50rem;
}

.pricing-ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  overflow: hidden;
}

.pricing-ledger > div {
  background: var(--paper-light);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.5rem;
}

.pricing-ledger span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--anthracite);
}

.pricing-ledger p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.pricing-ledger strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--orange-deep);
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================================
   PROCESS
   ========================================================================= */

.process-intro {
  max-width: 46rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.process-list li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--line);
}

.process-list li span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--orange-deep);
  display: block;
  margin-bottom: 0.75rem;
}

.process-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-list p {
  margin: 0;
  font-size: 0.95rem;
}

/* =========================================================================
   PROFILE
   ========================================================================= */

.profile-section .section-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: start;
}

.profile-portrait {
  margin: 0;
}

.portrait-frame {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.portrait-frame img {
  width: 100%;
  height: auto;
}

.profile-portrait figcaption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-portrait figcaption span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--anthracite);
}

.profile-portrait figcaption small {
  font-size: 0.85rem;
  color: var(--muted);
}

.profile-body {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.profile-copy a {
  margin-top: 1.25rem;
  display: inline-block;
}

.profile-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  overflow: hidden;
}

.profile-facts dl {
  background: var(--paper-light);
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) 1fr;
  gap: 1rem;
  align-items: baseline;
}

.profile-facts dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  font-weight: 600;
}

.profile-facts dd {
  margin: 0;
  color: var(--text);
}

/* =========================================================================
   FAQ
   ========================================================================= */

.faq-intro {
  max-width: 40rem;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--anthracite);
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 2.5rem 1.5rem 0;
  color: var(--text);
  max-width: 70ch;
}

/* =========================================================================
   CONTACT — Schluss-CTA mit Scheiben-Motiv
   ========================================================================= */

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-light);
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--ink);
}

.mark-field-contact {
  color: var(--paper-light);
  right: clamp(-14rem, -8vw, -7rem);
  width: clamp(22rem, 36vw, 34rem);
  opacity: 0.62;
}

.mark-field-contact .mark-fill {
  fill: var(--orange);
  opacity: 0.18;
}

.mark-field-contact .mark-motif g {
  opacity: 0.13;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
}

.contact-copy p {
  color: rgba(251, 248, 241, 0.82);
  margin-top: 1.25rem;
  max-width: 48ch;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.contact-actions a:not(.button) {
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  color: var(--paper-light);
  border-bottom: 1px solid rgba(255, 140, 0, 0.5);
  padding-bottom: 2px;
}

.contact-actions a:not(.button):hover {
  border-color: var(--orange);
  color: var(--white);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(251, 248, 241, 0.2);
  background: rgba(251, 248, 241, 0.04);
}

.form-status {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--orange);
  background: rgba(251, 248, 241, 0.1);
  color: var(--paper-light);
  font-size: 0.9rem;
}

.form-status[hidden] {
  display: none;
}

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

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  color: var(--paper-light);
  font-size: 0.875rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(251, 248, 241, 0.34);
  border-radius: 0.2rem;
  background: var(--paper-light);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(255, 140, 0, 0.36);
  outline-offset: 2px;
  border-color: var(--orange);
}

.contact-submit {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.contact-submit p {
  margin: 0;
  color: rgba(251, 248, 241, 0.76);
  font-size: 0.875rem;
}

.contact-submit a {
  color: var(--paper-light);
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================================
   SUBPAGES — gemeinsame statische Seitenelemente
   ========================================================================= */

.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
}

.breadcrumb a {
  color: var(--anthracite);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange-deep);
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 100% at 95% 20%, rgba(255, 140, 0, 0.08), transparent 65%),
    var(--paper-light);
}

.subpage-hero::after {
  content: "";
  position: absolute;
  width: clamp(18rem, 34vw, 31rem);
  aspect-ratio: 1;
  right: clamp(-14rem, -8vw, -5rem);
  bottom: clamp(-16rem, -15vw, -10rem);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 clamp(3rem, 6vw, 5rem) transparent,
    inset 1px 0 0 var(--line-soft),
    0 -1px 0 var(--line-soft);
  opacity: 0.75;
}

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

.subpage-hero-copy {
  max-width: 52rem;
}

.subpage-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 1.7rem + 3.8vw, 5.2rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.subpage-hero h1 em {
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--orange-deep);
}

.subpage-lead {
  max-width: 62ch;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.trust-bar {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink);
  color: var(--paper-light);
}

.trust-bar-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}

.trust-bar-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--orange);
  font-size: 0.9rem;
  color: rgba(251, 248, 241, 0.78);
}

.trust-bar-list strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.section-heading {
  max-width: 54rem;
}

.section-heading h2 {
  max-width: 20ch;
}

.section-heading > p {
  margin-top: 1rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.content-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--paper-light);
}

.content-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.content-card p {
  font-size: 0.95rem;
}

.content-card .text-link {
  display: inline-block;
  margin-top: 1rem;
}

.section-follow-up {
  max-width: 48rem;
  margin-top: 1.5rem;
}

.section-follow-up .text-link {
  display: inline;
}

.issue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.issue-list li {
  position: relative;
  padding: 1.15rem 1rem 1.15rem 2rem;
  border-bottom: 1px solid var(--line);
}

.issue-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.issue-list li::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 1.65rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--orange);
}

.feature-ledger {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-ledger > article {
  display: grid;
  grid-template-columns: minmax(11rem, 0.4fr) 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--paper-light);
}

.feature-ledger h3 {
  font-size: 1.15rem;
}

.feature-ledger p {
  font-size: 0.96rem;
}

.decision-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--anthracite);
  color: var(--paper-light);
  border-left: 3px solid var(--orange);
}

.decision-panel h2,
.decision-panel h3 {
  color: var(--white);
}

.decision-panel p {
  color: rgba(251, 248, 241, 0.8);
}

.decision-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.decision-columns h3 {
  margin-bottom: 0.75rem;
}

.decision-columns ul {
  display: grid;
  gap: 0.5rem;
}

.decision-columns li {
  position: relative;
  padding-left: 1.25rem;
}

.decision-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
}

.price-orientation {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.price-orientation .button {
  justify-self: start;
}

.price-orientation strong {
  display: block;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  color: var(--orange-deep);
}

.price-orientation small {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

.service-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(251, 248, 241, 0.18);
  background: rgba(251, 248, 241, 0.18);
}

.service-index article {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--anthracite);
}

.service-index h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-index p {
  color: rgba(251, 248, 241, 0.75);
  font-size: 0.95rem;
}

.service-index a {
  display: inline-block;
  margin-top: 1rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.case-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--white);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

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

.case-card-body {
  padding-top: 1rem;
}

.case-card-body h2,
.case-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.case-card-body p {
  font-size: 0.95rem;
}

.case-card-body span {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.case-facts > div {
  padding: 1.25rem;
  background: var(--paper-light);
}

.case-facts dt {
  margin-bottom: 0.35rem;
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  color: var(--anthracite);
  font-weight: 600;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.42fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.case-copy {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.case-copy section h2 {
  max-width: 22ch;
  margin-bottom: 0.8rem;
}

.case-copy section p + p {
  margin-top: 1rem;
}

.case-aside {
  position: sticky;
  top: 6.5rem;
  padding: 1.5rem;
  border-top: 3px solid var(--orange);
  background: var(--paper-light);
}

.case-aside h2 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.case-aside ul {
  display: grid;
  gap: 0.55rem;
}

.case-aside li {
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}

.case-image {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  overflow: hidden;
  background: var(--white);
}

.case-image img {
  width: 100%;
}

.case-image figcaption {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.compact-contact {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--ink);
  color: var(--paper-light);
}

.compact-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.compact-contact h2 {
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
}

.compact-contact p {
  max-width: 55ch;
  color: rgba(251, 248, 241, 0.78);
  margin-top: 0.8rem;
}

.compact-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.legal-content {
  max-width: 50rem;
}

.legal-content h1 {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.legal-content h2 {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
}

.legal-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.legal-content p + p,
.legal-content ul + p,
.legal-content p + ul {
  margin-top: 1rem;
}

.legal-content ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
  list-style: square;
}

.legal-content a {
  color: var(--orange-deep);
}

.legal-note {
  margin-block: 2rem;
  padding: 1.2rem 1.35rem;
  border-left: 3px solid var(--orange);
  background: var(--paper-light);
}

.legal-note .button + .button {
  margin-left: 0.5rem;
}

.legal-note [data-matomo-status] {
  margin-bottom: 1rem;
}

.legal-note small {
  display: block;
  margin-top: 1rem;
}

/* =========================================================================
   WISSEN & BRANCHENSEITEN
   ========================================================================= */

.article-hero .subpage-hero-copy {
  max-width: 58rem;
}

.article-meta {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.34fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.article-content {
  min-width: 0;
  max-width: 52rem;
}

.article-content > * + *,
.article-content > div > * + *,
.article-content > section + section {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.article-content section > * + *,
.article-content .blog-post > * + * {
  margin-top: 1rem;
}

.article-content h2 {
  max-width: 24ch;
  font-size: clamp(1.65rem, 1.35rem + 1.35vw, 2.55rem);
  line-height: 1.15;
  margin-top: clamp(2.6rem, 6vw, 4.5rem);
  scroll-margin-top: 6rem;
}

.article-content > section:first-child h2,
.article-content .blog-post > h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.25;
  margin-top: 1.75rem;
}

.article-content h4 {
  margin: 1.5rem 0 0;
  color: var(--anthracite);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.article-content p,
.article-content li {
  max-width: 72ch;
}

.article-content p + p {
  margin-top: 1rem;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 0.65rem;
  margin-block: 1.25rem;
  padding-left: 1.35rem;
  list-style: square;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  padding-left: 0.2rem;
}

.article-content li::marker {
  color: var(--orange-deep);
  font-weight: 700;
}

.article-content ul.checklist,
.article-content ul.checklist--negative {
  gap: 0.85rem;
  padding-left: 0;
  list-style: none;
}

.article-content .checklist li,
.article-content .checklist--negative li {
  position: relative;
  padding-left: 2.1rem;
}

.article-content .checklist li::before,
.article-content .checklist--negative li::before {
  position: absolute;
  top: 0.05em;
  left: 0;
  display: flex;
  width: 1.4rem;
  height: 1.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--paper-light);
  color: var(--orange-deep);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.article-content .checklist li::before {
  content: "✓";
}

.article-content .checklist--negative li::before {
  content: "✕";
  color: var(--anthracite);
}

.article-content a:not(.button) {
  color: var(--orange-deep);
  text-underline-offset: 0.2em;
}

.article-content code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line-soft);
  border-radius: 0.2rem;
  background: var(--paper-light);
  color: var(--anthracite);
  font-size: 0.92em;
}

.article-content blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: var(--paper-light);
  color: var(--anthracite);
}

.article-content details {
  border-bottom: 1px solid var(--line);
}

.article-content details:first-child {
  border-top: 1px solid var(--line);
}

.article-content summary {
  min-height: 44px;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  color: var(--anthracite);
  font-weight: 700;
}

.article-content details > p {
  padding: 0 1rem 1rem 0;
}

.article-cards,
.article-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

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

.article-card,
.article-columns > div {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  background: var(--paper-light);
}

.article-card h3,
.article-columns h3,
.article-step h3 {
  margin-top: 0;
}

.article-content ol.article-steps,
.article-steps {
  display: grid;
  gap: 1px;
  margin-block: 1.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
  counter-reset: article-step;
}

.article-content li.article-step,
.article-step {
  position: relative;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 1.9rem) clamp(1.35rem, 3vw, 1.9rem)
    clamp(1.35rem, 3vw, 1.9rem) clamp(3.6rem, 7vw, 4.6rem);
  background: var(--paper-light);
  counter-increment: article-step;
}

.article-step::before {
  content: counter(article-step);
  position: absolute;
  top: clamp(1.35rem, 3vw, 1.9rem);
  left: clamp(1.35rem, 3vw, 1.9rem);
  display: flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.article-step > :first-child {
  margin-top: 0;
}

.article-card ul {
  margin-bottom: 0;
}

.article-panel {
  margin-block: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--orange);
  background: var(--paper-light);
}

.article-table-wrap {
  overflow-x: auto;
  margin-block: 1.75rem;
}

.article-content table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  background: var(--paper-light);
  font-size: 0.9rem;
}

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

.article-content th {
  color: var(--anthracite);
  background: var(--paper);
}

.article-content img[width="72"] {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.article-aside {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 3px solid var(--orange);
  background: var(--paper-light);
}

.article-aside ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-aside li {
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.88rem;
}

.article-aside li:last-child {
  border-bottom: 0;
}

.article-aside li a {
  display: block;
  padding: 0.6rem 0;
  color: var(--anthracite);
  text-decoration: none;
  transition: color 0.16s ease;
}

.article-aside li a:hover,
.article-aside li a:focus-visible {
  color: var(--orange-deep);
}

.article-aside li a[aria-current="true"] {
  color: var(--orange-deep);
  font-weight: 700;
}

.article-aside-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.knowledge-card {
  display: flex;
  min-width: 0;
  min-height: 20rem;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper-light);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}

.knowledge-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.knowledge-card:hover {
  background: var(--white);
}

.knowledge-card > span {
  margin-bottom: 1rem;
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.knowledge-card h2 {
  max-width: 24ch;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.18;
}

.knowledge-card p {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.knowledge-card strong {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--orange-deep);
  font-size: 0.85rem;
}

.related-section {
  border-top: 1px solid var(--line-soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--paper-light);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}

.related-card:hover,
.related-card:focus-visible {
  background: var(--white);
}

.related-card > span {
  margin-bottom: 0.8rem;
  color: var(--orange-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-card h3 {
  max-width: 24ch;
  margin-top: 0;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  line-height: 1.2;
}

.related-card p {
  margin-top: 0.75rem;
  color: var(--text);
  font-size: 0.92rem;
}

.related-card strong {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--orange-deep);
  font-size: 0.85rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.footer-brand img {
  width: 175px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-main > div p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28ch;
}

.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-main nav strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--anthracite);
  margin-bottom: 0.35rem;
}

.footer-main nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  width: fit-content;
}

.footer-main nav a:hover {
  color: var(--orange-deep);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-legal a {
  text-decoration: none;
  color: var(--anthracite);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--orange-deep);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 960px) {
  .main-nav,
  .header-inner > .button-dark {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .section-split,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-ledger,
  .extension-grid,
  .pricing-ledger {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .profile-strip-inner {
    grid-template-columns: 1fr;
  }

  .profile-section .section-split {
    grid-template-columns: 1fr;
  }

  .profile-portrait {
    max-width: 22rem;
  }

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

  .trust-bar-list,
  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-layout,
  .compact-contact-inner,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .case-aside,
  .article-aside {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .compact-contact-actions {
    justify-content: flex-start;
  }

  /* Hero-Motiv aus dem Lesebereich nehmen: nach unten rechts beschnitten.
     Verhindert oranger-Text-auf-orangem-Segment auch im Tablet-Bereich (WCAG). */
  .hero {
    padding-block: clamp(3.5rem, 8vw, 6rem) clamp(7rem, 18vw, 10rem);
  }

  .mark-field {
    width: clamp(23rem, 38vw, 28rem);
    right: -15rem;
    top: auto;
    bottom: -10rem;
    transform: none;
    opacity: 0.3;
  }

  .mark-motif g {
    opacity: 0.4;
  }

  /* Kontakt-Motiv ebenso aus dem Aktionsbereich nehmen */
  .contact-section {
    padding-block: clamp(4rem, 8vw, 6.5rem) clamp(7rem, 18vw, 10rem);
  }

  .mark-field-contact {
    width: clamp(20rem, 34vw, 25rem);
    right: -10rem;
    top: auto;
    bottom: -7rem;
    transform: none;
    opacity: 0.34;
  }
}

@media (max-width: 600px) {
  /* Motiv aus dem Lesebereich nehmen: unten beschnitten, als Atmosphäre.
     Verhindert oranger-Text-auf-orangem-Segment und hält den Kontrast (WCAG). */
  .mark-field {
    width: 21rem;
    right: -15rem;
    top: auto;
    bottom: -8.5rem;
    transform: none;
    opacity: 0.24;
  }

  .mark-motif g {
    opacity: 0.35;
  }

  .hero {
    padding-block: clamp(3rem, 9vw, 4.5rem) clamp(8rem, 24vw, 11rem);
  }

  /* Kontakt-Motiv ebenfalls aus dem Aktionsbereich nehmen */
  .contact-section {
    padding-block: clamp(3.5rem, 9vw, 5rem) clamp(8rem, 26vw, 12rem);
  }

  .mark-field-contact {
    width: 18rem;
    right: -10rem;
    top: auto;
    bottom: -7rem;
    transform: none;
    opacity: 0.28;
  }

  .project-grid,
  .process-list,
  .fact-strip {
    grid-template-columns: 1fr;
  }

  .core-offer,
  .extension-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects-link {
    text-align: left;
  }

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

  .fact-strip {
    gap: 1.25rem;
  }

  .content-grid,
  .issue-list,
  .service-index,
  .case-grid,
  .case-facts,
  .decision-columns,
  .knowledge-grid,
  .related-grid,
  .article-cards,
  .article-columns,
  .article-steps {
    grid-template-columns: 1fr;
  }

  .knowledge-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .issue-list li:nth-child(odd) {
    border-right: 0;
  }

  .feature-ledger > article,
  .price-orientation {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    padding-block: 3.5rem 5rem;
  }

  .subpage-hero::after {
    opacity: 0.4;
  }

}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   MOTION-PREFERENCE
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
