/* ==========================================================================
   TM GmbH — Editorial/catalog design, applied to the secondary pages
   (about, services, markets, blog, contact). Loaded ONLY by those five
   pages — index.html keeps its own home.css, and the /en pages are
   untouched. Same color tokens as style.css, no content changes.
   ========================================================================== */

/* ---------- Page hero: remove the soft orb/glow background everywhere ---------- */
.page-hero .hero-bg { display: none; }

/* ---------- About: highlights — flatten ---------- */
.highlight-item { border-radius: 4px; }

/* About: no visual next to the intro text anymore — text column alone,
   comfortably measured instead of stretched full-width. */
.page-about .about-grid-solo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-bottom: 0;
}

/* About: stats relocated directly under the intro, on the plain page
   background (unlike the homepage's .stats-section, which keeps its
   tinted treatment). The .stats-section wrapper is kept only so main.js's
   count-up observer still finds it; its own background/glow are
   neutralized here. The cards themselves (white, bordered, shadowed) are
   styled in style.css's .about-stat-card rules, shared with the /en page. */
.page-about .stats-section { background: none; overflow: visible; }
.page-about .about-stats {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

/* ---------- Stats wrapper on about.html: the band itself is gone from
   the homepage, what is left here is only the full-width container the
   about-stat-card deck sits in. ---------- */
.stats-section { padding: 0; }
.stats-section .container {
  max-width: none;
  padding: 0;
}

/* ---------- Services: alternating rows — flatten media, no soft shadow ---------- */
.service-row-media {
  border-radius: 2px;
  box-shadow: none;
}
.card-icon { border-radius: 2px; }
.timeline-card { border-radius: 4px; }

/* ---------- Services page only: "End-to-End-Exportlösungen" as 4 plain
   text cards (no image) — heading, text, link. Scoped to .page-services
   so blog.html's .service-row/.blog-block rows (same base classes) are
   unaffected. ---------- */
.page-services .service-rows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 0;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.page-services .service-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  background: var(--surface);
}
.page-services .service-row-content {
  display: flex;
  flex-direction: column;
  padding: 36px 30px 34px;
}
.page-services .service-row-content h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.page-services .service-row-content p { flex: 1; }
@media (max-width: 900px) {
  .page-services .service-rows { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .page-services .service-rows { grid-template-columns: 1fr; }
}

/* ---------- Markets: brand grid — seamless colour mosaic instead of shadowed tiles ---------- */
/* Hairline grid look without a coloured parent background: each tile
   draws its own right/bottom divider as an inset shadow, so an
   incomplete (and therefore centred) last row can never expose an
   empty grey cell the way the old gap:1px-over-background trick did.
   The outer frame is a real border on the container. */
.brands-grid {
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.brands-grid .brand-card {
  flex-basis: calc(100% / var(--brand-cols));
  border-radius: 0;
  box-shadow: inset -1px 0 0 var(--border), inset 0 -1px 0 var(--border);
}
.brands-grid .brand-card:hover {
  transform: none;
  box-shadow: inset -1px 0 0 var(--border), inset 0 -1px 0 var(--border);
  background: var(--surface-hover);
}
.brand-card-link { border-radius: 4px; }

/* ---------- Blog: post rows — remove the card shell, use hairline separators ---------- */
.blog-block {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.blog-block:hover { transform: none; box-shadow: none; }
.page-blog .service-rows { gap: 0; }
.service-rows .blog-block + .blog-block {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 56px;
}
.blog-block .service-row-media { border-radius: 2px; }

/* ---------- CTA band: page-specific variations — on the four catalog
   pages (about/services/markets/blog) the closing CTA no longer
   repeats the identical full-bleed green block; each gets its own,
   smaller treatment so the pages read as distinct from one another.
   (Homepage keeps its own cta-band-photo treatment from home.css.) ---------- */
/* Nach dem gepinnten Slider blieb vor dem CTA eine leere graue Flaeche
   stehen: der Abschnitt bringt unten seinen vollen Abschnitts-Innenabstand
   mit, obwohl der Pin dort laengst geloest ist und nichts mehr folgt.
   Unten deshalb auf einen normalen Abstand gekuerzt, oben unveraendert. */
body.about-green-bg .value-slideshow-section { padding-top: 64px; padding-bottom: 48px; }
/* Im gepinnten Panel setzt style.css die Abstaende der Ueberschrift
   selbst; dieser Wert gilt nur noch fuer schmale Fenster, wo das Panel
   nicht gepinnt wird und die Punkte untereinander stehen. */
.value-slideshow-section .section-header { margin-bottom: 32px; }

.page-about .cta-band { padding: clamp(80px, 7vw, 96px) 0; text-align: left; overflow: hidden; }
.page-about .cta-band-flex {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.page-about .cta-band-inner { max-width: 560px; margin: 0; padding: 0; flex: 1 1 460px; }
.page-about .cta-band .hero-actions { justify-content: flex-start; flex-wrap: nowrap; }

/* Document-preview composition (right half of the CTA band): a mini
   dot-map backdrop echoing the real Standorte network map, a two-page
   stack (the actual Customer Card PDF's first page, rendered to image
   — see assets/img/customer-card-p1/p2.webp/png — with its second
   page peeking out behind as a stack hint) tilted to its resting
   angle, and two floating stat badges. Entrance (slide in from the
   right, then rotate onto -6deg; badges stagger in after via
   [data-delay]) rides the sitewide [data-reveal="right"] system in
   style.css for opacity/translate — `rotate` is this component's own
   addition, kept as its own transition so it never fights that or the
   hover state below (same "list each property once, where it's
   actually used" technique as the card-type [data-reveal] rules). */
.cta-doc-composition { position: relative; flex: 0 0 310px; width: 310px; height: 320px; }
.cta-doc-map { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-doc-map-dots { color: var(--white); opacity: 0.18; }
.cta-doc-map-point { fill: var(--surface); opacity: 0.9; }
.cta-doc-map-point-core { fill: var(--green-l); }
.cta-doc-map-line {
  fill: none;
  stroke: var(--surface);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: 0.8;
  animation: ctaMapFlow 2.4s linear infinite;
}
.cta-doc-map-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  fill: rgba(255,255,255,0.85);
  text-anchor: middle;
}
@keyframes ctaMapFlow { to { stroke-dashoffset: -24; } }

.cta-doc-stack {
  position: absolute;
  top: 50%; left: 50%;
  width: 178px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  translate: -50% -50%;
  rotate: -6deg;
  transition: rotate 0.3s ease, translate 0.3s ease;
}
.cta-doc-stack[data-reveal="right"] { rotate: 0deg; transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), translate 1.2s cubic-bezier(0.16,1,0.3,1), rotate 1.2s cubic-bezier(0.16,1,0.3,1); }
.cta-doc-stack[data-reveal="right"].in-view { rotate: -6deg; }
.cta-doc-stack[data-reveal="right"].in-view:hover { rotate: 0deg; translate: -50% calc(-50% - 6px); transition: rotate 0.3s ease, translate 0.3s ease; }
.cta-doc-page { display: block; width: 100%; border-radius: 6px; box-shadow: 0 24px 50px rgba(10, 20, 15, 0.3); }
.cta-doc-page--back { position: absolute; top: 16px; left: 16px; border: 1px solid rgba(0,0,0,0.06); }
.cta-doc-page--front { position: relative; border: 1px solid rgba(0,0,0,0.06); }

@media (prefers-reduced-motion: reduce) {
  .cta-doc-stack { rotate: -6deg; }
  .cta-doc-map-line { animation: none; }
}

@media (max-width: 900px) {
  .page-about .cta-band { padding: 56px 0; }
  .page-about .cta-band-flex { flex-direction: column; align-items: center; text-align: center; gap: 36px; }
  .page-about .cta-band-inner { text-align: center; }
  /* Back to the base .hero-actions wrap behavior (overridden to nowrap
     above for the desktop side-by-side layout) so the two buttons
     stack on narrow screens instead of being squeezed onto one line. */
  .page-about .cta-band .hero-actions { justify-content: center; flex-wrap: wrap; }
  .cta-doc-composition { flex: 0 0 auto; width: 100%; max-width: 240px; height: 260px; }
}

.page-services .cta-band { padding: 48px 0; background: var(--ink); }
.page-services .cta-band p { color: rgba(255,255,255,0.65); }
/* Dunkles Band: heller Rahmen, Fuellung hell, Schrift kippt auf dunkel. */
.page-services .cta-band .btn {
  --btn-line: rgba(255,255,255,0.45);
  --btn-text: rgba(255,255,255,0.9);
  --btn-fill: var(--white);
  --btn-text-on-fill: #16191c;
}
.page-services .cta-band .btn:hover,
.page-services .cta-band .btn:focus-visible { border-color: var(--white); }
.page-services .cta-band .btn-primary { padding: 20px 38px; font-size: 16.5px; }

.page-markets .cta-band {
  padding: 48px 0;
  background: var(--bg-tint-green);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.page-markets .cta-band h2 { color: var(--ink); }
.page-markets .cta-band p { color: var(--ink-2); }
/* Helles Band: Standardvorgabe aus .btn passt, nichts zu drehen. */

.page-blog .cta-band { padding: 56px 24px; background: none; }
.page-blog .cta-band-inner {
  max-width: 760px;
  background: var(--grad);
  border-radius: 8px;
  padding: 44px clamp(24px, 5vw, 56px);
}
/* ---------- Legal pages (Impressum/Datenschutz): simple centered
   prose container, no card/grid chrome — long-form legal text. ---------- */
.page-legal .legal-content { padding: 20px 0 120px; }
.page-legal .legal-container { max-width: 760px; margin: 0 auto; }
.page-legal .legal-container h2 { font-size: 22px; margin: 44px 0 14px; }
.page-legal .legal-container h2:first-child { margin-top: 0; }
.page-legal .legal-container h3 { font-size: 17px; margin: 28px 0 10px; }
.page-legal .legal-container p { color: var(--ink-2); line-height: 1.75; margin: 0 0 16px; }
.page-legal .legal-container ul { color: var(--ink-2); line-height: 1.75; margin: 0 0 16px; padding-left: 22px; }
.page-legal .legal-container li { margin-bottom: 6px; }
.page-legal .legal-container a { color: var(--blue-d); }
.page-legal .legal-container strong { color: var(--ink); }

/* ---------- Contact page: the full-bleed photo hero + form and the
   .contact-tiles/.contact-locations section below it are their own
   components, styled in style.css (not page-scoped — nothing else on
   the site uses .contact-hero/.contact-tiles). ---------- */

/* ---------- Blog article pages (long-form): same centred-prose pattern
   as the legal pages, plus a meta row, callout box, FAQ list, sources
   list and a small cross-link block. Scoped under .page-article so it
   never touches the legal pages' own rules. ---------- */
.page-article .article-content { padding: 20px 0 100px; }
.page-article .article-container { max-width: 760px; margin: 0 auto; }
.page-article .article-container h2 { font-size: 24px; margin: 48px 0 14px; }
.page-article .article-container h2:first-child { margin-top: 0; }
.page-article .article-container h3 { font-size: 18px; margin: 28px 0 10px; }
.page-article .article-container p { color: var(--ink-2); line-height: 1.75; margin: 0 0 16px; }
.page-article .article-container ul,
.page-article .article-container ol { color: var(--ink-2); line-height: 1.75; margin: 0 0 16px; padding-left: 22px; }
.page-article .article-container li { margin-bottom: 6px; }
.page-article .article-container a { color: var(--blue-d); }
.page-article .article-container strong { color: var(--ink); }

.article-meta-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  margin-bottom: 30px; font-size: 13px; color: var(--ink-3);
}
.article-meta-row .blog-meta { margin-bottom: 0; }
.article-meta-row .article-meta-dot::before { content: '·'; }

/* Featured image at the top of each article — same photo as its
   blog.html overview card, same 16:9 ratio for a consistent look. */
.article-featured-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}
.article-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-lead { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin: 0 0 24px; }

.article-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
.article-table th, .article-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-table th { font-family: var(--font-display); font-weight: 700; color: var(--ink); background: var(--bg-subtle); }
.article-table td { color: var(--ink-2); }

.article-callout {
  background: var(--grad-soft);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin: 28px 0;
}
.article-callout p { margin: 0; color: var(--ink-2); }
.article-callout p:first-child { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.article-faq-item { border-top: 1px solid var(--border); padding: 18px 0; }
.article-faq-item:last-child { border-bottom: 1px solid var(--border); }
.article-faq-item h3 { margin: 0 0 8px; font-size: 16.5px; }
.article-faq-item p { margin: 0; }

.article-sources { font-size: 14px; }
.article-sources li { margin-bottom: 8px; }

.article-crosslinks {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
}
.article-crosslinks .article-crosslinks-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.article-crosslinks a { font-weight: 600; }

@media (max-width: 560px) {
  .page-article .article-container h2 { font-size: 21px; }
  .article-callout { padding: 18px 20px; }
}

/* ---------- Customer Card: Online-Formular (customer-card.html) ----------
   Die Seite ist im Layout der ausfuellbaren PDF gehalten, damit Formular
   und Dokument als eine Sache wahrgenommen werden: weisses Blatt mit Logo
   links und Titel rechts, duenne Trennlinie, Abschnittsueberschrift mit
   kurzem gruenem Unterstrich, Label links und blassgruen gefuelltes Feld
   rechts, Fusszeile mit der Anschrift. Die Farbwerte sind aus der PDF
   entnommen und liegen als Variablen vor, damit der Dark Mode sie kippen
   kann, ohne die Regeln zu duplizieren. ---------- */
.cc-page {
  --cc-sheet:       #FFFDF8;
  --cc-rule:        #dee8d4;
  --cc-accent:      #6ba834;
  --cc-field-bg:    #edf4e6;
  --cc-field-br:    #cfdfc1;
  --cc-foot:        #57605c;
  --cc-heading:     #16181c;
}
:root[data-theme="dark"] .cc-page {
  --cc-sheet:       var(--surface);
  --cc-rule:        var(--border-c);
  --cc-accent:      var(--accent-green);
  --cc-field-bg:    var(--tint-green-bg);
  --cc-field-br:    var(--border-strong);
  --cc-foot:        var(--text-muted);
  --cc-heading:     var(--text);
}

.cc-sheet {
  max-width: 860px;
  margin: 0 auto;
  background: var(--cc-sheet);
  border: 1px solid var(--cc-rule);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(20, 30, 20, 0.07);
  padding: clamp(28px, 4vw, 54px) clamp(22px, 4vw, 58px);
}
.cc-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cc-rule);
}
.cc-sheet-logo { width: 110px; height: auto; display: block; }
.cc-sheet-headings { text-align: right; }
.cc-sheet-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  color: var(--cc-heading);
}
.cc-sheet-org { font-size: 13.5px; color: var(--cc-foot); margin: 6px 0 0; }

.cc-sheet-h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--cc-heading);
  margin: 34px 0 0;
  padding-bottom: 7px;
  display: inline-block;
  border-bottom: 2.5px solid var(--cc-accent);
}
.cc-sheet-intro {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 16px 0 30px;
}

/* Label links, Feld rechts — wie in der PDF. Unter 680 px gestapelt. */
.cc-field {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cc-field > label {
  font-size: 14.5px;
  color: var(--ink-2);
  margin: 0;
}
.cc-field input,
.cc-field textarea {
  width: 100%;
  background: var(--cc-field-bg);
  border: 1px solid var(--cc-field-br);
  border-radius: 3px;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cc-field input:focus,
.cc-field textarea:focus {
  outline: none;
  border-color: var(--cc-accent);
  box-shadow: 0 0 0 3px rgba(107, 168, 52, 0.18);
}
.cc-field--block { grid-template-columns: 1fr; align-items: start; gap: 8px; }
.cc-field textarea { resize: vertical; min-height: 104px; }

.cc-sheet-foot {
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid var(--cc-rule);
  font-size: 12.5px;
  color: var(--cc-foot);
}

@media (max-width: 680px) {
  .cc-field { grid-template-columns: 1fr; align-items: start; gap: 7px; }
  .cc-sheet-head { flex-direction: column; align-items: flex-start; }
  .cc-sheet-headings { text-align: left; }
}

.cc-page-form { max-width: 860px; margin: 0 auto; }
.cc-req { color: var(--green-d); font-weight: 700; }
.cc-required-note { font-size: 13px; color: var(--ink-3); margin: 0 0 22px; }

.cc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.cc-check input { margin-top: 3px; accent-color: var(--green); flex: none; }
.cc-check a { color: var(--green-d); }
.cc-check-privacy {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

/* Bestaetigung nach dem Absenden */
.cc-done {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--green);
  border-radius: 4px;
  padding: 44px 36px;
}
.cc-done-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint);
  color: var(--green-d);
}
.cc-done-title { font-size: clamp(20px, 2vw, 25px); margin: 0 0 12px; }
.cc-done-text { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 26px; }

@media (max-width: 680px) {
    .cc-done { padding: 32px 22px; }
}

/* ==========================================================================
   Kategorieseiten (kategorien/*.html)
   Aufbau wie die Leistungsseiten: kompakter Hero mit Breadcrumb, darunter
   die Marken der Kategorie, ein B2B-Abschnitt und die Querverweise auf die
   anderen Kategorien. Das Produktbild uebernimmt die .product-showcase-
   Komponente der frueheren Szenen unveraendert — nur ohne Pinning.
   ========================================================================== */
/* Der kompakte Hero der Leistungsseiten zentriert seinen Text in einer
   780px-Spalte. Hier steht daneben das Produktbild, also wird die
   Spalte breiter und der Text linksbuendig. */
.kat-hero .hero-content { max-width: 1180px; text-align: left; }
.kat-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kat-hero-claim {
  margin: 0 0 14px;
  color: var(--green-d);
  font-weight: 700;
  font-size: 16px;
}
.kat-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.kat-hero-tags li {
  padding: 7px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
}
.kat-hero-media { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; }
/* Die .product-showcase stammt aus den frueheren gepinnten Szenen und
   blendet ihr Bild dort erst ein, wenn die Szene .is-active wird. Den
   Schalter gibt es hier nicht mehr — im Hero steht das Produkt von
   Anfang an, und es darf deutlich groesser sein als in der Szene. */
.kat-hero-media .product-showcase__stage,
.kat-hero-media .product-showcase__item {
  opacity: 1;
  transform: none;
}
.kat-hero-media .product-showcase__stage {
  width: 86%;
  max-width: 420px;
}
/* Die schwebende Variante (Putz- & Haushaltsmittel) setzt ihre
   Ruhelage ebenfalls erst im aktiven Zustand — hier sind es die
   leichten Neigungen der beiden Flaschen. */
.kat-hero-media .product-showcase__item--poliboy { transform: rotate(-9deg); }
.kat-hero-media .product-showcase__item--heitmann { transform: rotate(7deg); }

.kat-brands { display: flex; flex-direction: column; gap: 20px; }
.kat-brand {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.kat-brand-logo { display: flex; align-items: center; justify-content: center; }
.kat-brand-logo img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; }
.kat-brand-body h3 { margin: 0 0 10px; font-size: 22px; color: var(--ink); }
.kat-brand-desc { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.kat-brand-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.kat-brand-open { cursor: pointer; font: inherit; }

.kat-b2b-text { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }

/* Im Dark-Theme liegt das farbige Markenlogo wie im Marken-Raster auf
   einer hellen Kachel. */
:root[data-theme="dark"] .kat-brand-logo {
  background: var(--logo-plate);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

@media (max-width: 900px) {
  .kat-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .kat-hero-media { min-height: 260px; }
  .kat-brand { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .kat-brand-logo { justify-content: flex-start; }
}
