/* Inter, self-hosted (variable weight, Latin subset). No external font requests. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* Brand colours from the autocell brand guide (ac_brandguide.pdf, p.16).
   Use these variables instead of writing hex values. Proportion (p.17):
   about 60% white/light gray, 30% gray, 5% yellow, 5% black. */
:root {
  color-scheme: light;
  --black: #151515;
  --white: #ffffff;
  --gray: #ebebeb;
  --light-gray: #f6f6f6;
  --yellow: #fad938;
  /* gray ramp: text on light backgrounds uses black; outlines gray30 (p.21) */
  --gray90: #373737;
  --gray80: #464646;
  --gray70: #656565;
  --gray60: #7b7b7b;
  --gray50: #8e8e8e;
  --gray40: #a3a3a3;
  --gray30: #b3b3b3;
  --gray20: #d8d8d8;
  /* yellow ramp: yellow140 is the dark yellow for yellow accents on white or
     light gray, where plain yellow is not readable (WCAG contrast). The guide
     prints no hex for yellow140; #9c8221 is sampled from its swatch on p.16. */
  --yellow140: #9c8221;
  --yellow80: #fbe160;
  --yellow60: #fce888;
  --yellow40: #fdf0af;
  --yellow20: #fef7d7;
  --yellow10: #fefbeb;
  /* not a brand colour: only for form error messages */
  --error: #b00020;
}

* {
  box-sizing: border-box;
}

html {
  /* Bigger base size (18px instead of the 16px default) scales every rem-based
     size on the site at once, so body copy stays easy to read. Still a
     percentage of the browser's own default, not a fixed px, so a visitor's
     own font-size/zoom setting keeps working. */
  font-size: 112.5%;
  scroll-behavior: smooth;
}
/* smooth-scroll.js animates links to sections itself; the browser's
   own smooth scrolling would fight it. */
html.has-smooth-js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: .02em; /* body text tracking +2% (brand guide p.25) */
  color: var(--black);
  background: var(--white);
}

/* Form controls do not inherit the page font on their own — without this the
   browser draws buttons, inputs, textareas and selects in its own UI font
   (Arial), not in Inter. */
button, input, select, textarea {
  font-family: inherit;
}

img, svg {
  max-width: 100%;
  display: block;
}
/* images with width and height attributes (so the page does not jump while they load) keep their aspect ratio */
img[height] {
  height: auto;
}

a {
  color: inherit;
}

/* Skip link: hidden until keyboard-focused, jumps past the nav to #main */
.s-skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  z-index: 40;
  background: var(--yellow);
  color: var(--black);
  padding: .8rem 1.4rem;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border-radius: 0 0 .8rem 0;
}
.s-skip-link:focus { top: 0; }

/* Rail / nav */
.s-rail {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  /* At least 4vw, but on a wide screen grows to keep the header's content
     from spreading thin across the full width. Capped at 1600px, not
     .s-inner's 1280px: the header's own content (logo + nav +
     CTA) needs more room to stay on one line than a text column does — a
     tighter cap here reintroduces the wrap this comment used to cause. */
  padding: 1.5rem max(4vw, calc((100% - 1600px) / 2));
  /* The bar has to be the same height on every page and at every width. Its
     tallest element is the burger button (2.75rem); on pages without a button
     in the header, and on phones where the button is hidden, the bar would
     otherwise shrink to the height of the nav links. 2.75rem content +
     2 x 1.5rem padding + the 1px border. */
  min-height: calc(5.75rem + 1px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray20);
}
.s-logo { display: block; width: 134px; }
.s-nav { display: flex; gap: 1.2rem; flex: 1; flex-wrap: wrap; }
.s-nav a { position: relative; font-size: 1rem; font-weight: 500; text-decoration: none; opacity: .75; white-space: nowrap; }
.s-nav a[aria-current="page"] { opacity: 1; }
.s-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.s-nav a:focus-visible::after { transform: scaleX(1); }
/* Hover only where there is a real pointer: on touch screens :hover stays
   after a tap and would leave the line and the full opacity behind. */
@media (hover: hover) {
  .s-nav a:hover { opacity: 1; }
  .s-nav a:hover::after { transform: scaleX(1); }
}
.s-nav a:focus-visible, .s-nav-toggle:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* Burger menu (nav.js). Below 1650px the header no longer fits on one line,
   so the nav moves behind the button. Without JS (no .has-nav-js) the nav
   stays visible and wraps. Keep the breakpoint in sync with nav.js. */
.s-nav-toggle {
  display: none; align-items: center; justify-content: center; flex: none;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1.5px solid var(--black); border-radius: 50%;
  color: var(--black); cursor: pointer;
}
.s-nav-toggle-close { display: none; }
.s-nav-toggle[aria-expanded="true"] .s-nav-toggle-open { display: none; }
.s-nav-toggle[aria-expanded="true"] .s-nav-toggle-close { display: block; }
.s-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 1649px) {
  .has-nav-js .s-nav-toggle { display: inline-flex; }
  /* Contact: only an envelope while the menu is behind the burger; the text stays for screen readers. */
  .has-nav-js .s-rail-contact {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%;
  }
  .has-nav-js .s-rail-contact-icon { display: block; }
  .has-nav-js .s-rail-contact-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .has-nav-js .s-nav { display: none; }
  .has-nav-js .s-rail > a:first-child { margin-right: auto; } /* button and burger together on the right */
  /* The envelope belongs next to the burger: on a page with its own header
     button (Living) that button would otherwise sit between the two. */
  .has-nav-js .s-rail-contact, .has-nav-js .s-nav-toggle { order: 1; }
  /* Dim the page behind the open menu so it reads as a panel over the
     content, not just a list appended below the header. Negative z-index
     keeps it under the rail's own (opaque) background and under the nav
     panel, which stacks above it via normal DOM order. */
  .has-nav-js .s-rail.is-nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: rgba(21, 21, 21, .32);
  }
  .has-nav-js .s-rail.is-nav-open .s-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: .5rem 4vw 1.2rem; background: var(--white);
    border-bottom: 1px solid var(--gray20); box-shadow: 0 16px 30px rgba(21, 21, 21, .08);
  }
  .has-nav-js .s-rail.is-nav-open .s-nav a { font-size: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--gray20); opacity: .85; }
  .has-nav-js .s-rail.is-nav-open .s-nav a:last-child { border-bottom: none; }
  .has-nav-js .s-rail.is-nav-open .s-nav a::after { display: none; } /* the list has its own dividers */
}
@media (max-width: 700px) {
  .s-rail { gap: .8rem; }
  .s-rail > .s-cta:not(.s-rail-contact) { display: none; } /* no room on phones; each hero has its own call to action; the contact button stays */
}
.s-cta {
  font-weight: 700; font-size: .88rem;
  background: var(--yellow); color: var(--black); border: none; border-radius: 1.4rem;
  padding: .7rem 1.5rem; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.s-cta:hover { opacity: .9; }
.s-cta--lg { padding: 1rem 2.2rem; font-size: 1rem; }

.s-cta:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

/* Secondary CTA: outlined, next to a yellow button */
.s-cta--ghost { background: transparent; border: 1.5px solid var(--black); }
.s-rail-contact-icon { display: none; }

/* Store buttons (App Store, Google Play): symbol and name in one button */
.s-store-btn { display: inline-flex; align-items: center; gap: .6rem; }
.s-store-icon { flex: none; width: 1.25rem; height: 1.25rem; }
.s-cta--ghost:hover { background: var(--light-gray); opacity: 1; }
.s-cta[disabled] { cursor: not-allowed; opacity: .5; }
.s-cta[disabled]:hover { background: transparent; }

.s-app-downloads { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }
.s-cta[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Bands */
.s-band { padding: 4.5rem 4vw; }
.s-band--white { background: var(--white); }
.s-band--light { background: var(--light-gray); }
.s-band--dark { background: var(--black); color: var(--gray20); }
.s-band--darker { background: var(--black); color: var(--gray20); }
.s-band--accent { background: var(--yellow); }
.s-inner { max-width: 1280px; margin: 0 auto; }
.s-kicker { font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; opacity: .62; margin: 0 0 .8rem; }
.s-kicker--onDark { opacity: .62; }
/* brand-yellow kicker on a dark band, as on the printed flyer */
.s-kicker--accent { color: var(--yellow); opacity: 1; }
/* headlines: line height 100 %, letter spacing -1 % (brand guide p.25) */
.s-h2 { font-weight: 800; font-size: 2.3rem; line-height: 1; letter-spacing: -0.01em; margin: 0 0 1.1rem; max-width: 760px; }
.s-h2--hero { font-size: 2.8rem; }
/* long German words ("Geschäftsbedingungen") must not push the page wider on small phones */
.s-h2, .s-h2--hero { overflow-wrap: anywhere; }
.s-h2--onDark { color: var(--white); }
.s-lede { font-size: 1.05rem; line-height: 1.65; opacity: .8; max-width: 620px; margin: 0 0 1.6rem; }
.s-lede--hero { font-size: 1.1rem; }
.s-lede--onDark { color: var(--gray20); }
/* Running text in columns across the full width of the band: the 620px cap of
   .s-lede would leave the right half of the band empty. Each column stays
   narrow enough to read comfortably. Real columns, not a grid of paragraphs:
   the browser balances them to the same height, so no column ends early and
   leaves a hole under it. */
.s-prose-cols { columns: 3; column-gap: 1.8rem; margin-top: 1.2rem; }
.s-lede--col { max-width: none; margin: 0 0 1.1rem; }
.s-lede--col:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .s-prose-cols { columns: 1; } }

/* Pill badge: small label above a heading, e.g. in a dark hero */
.s-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray20);
  margin-bottom: 1.5rem;
}
.s-pill-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }

/* Accent: highlight a word inline, e.g. in a headline */
.s-accent { color: var(--yellow); }
/* plain yellow text is unreadable on white or light gray (1.4:1); there the
   accent uses the dark yellow from the brand's yellow ramp */
.s-band--white .s-accent, .s-band--light .s-accent, .s-bg-wrap #hero .s-accent { color: var(--yellow140); }
/* The home page hero sits on the illustration, whose own yellow is the bright
   brand yellow. Next to it the dark yellow reads brown. There the accent is
   the brand yellow behind the word instead, so the word keeps black text and
   stays readable. */
.s-bg-wrap #hero .s-accent {
  color: var(--black);
  background: var(--yellow);
  padding: 0 .12em .04em;
  border-radius: .18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.s-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.s-hero-art { border-radius: 1.6rem; overflow: hidden; }
@media (max-width: 860px) { .s-hero-grid { grid-template-columns: 1fr; } }

/* The hero graphic behind this text is a busy illustration, so the text
   needs its own backdrop to stay readable wherever it lands on it. */
.s-hero-copy {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(6px);
  border-radius: 1.4rem;
  padding: 2rem 2.2rem;
}


.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.s-split--reverse .s-split-img { order: -1; }
.s-split-img img { width: 100%; height: auto; }
.s-split-content .s-lede { max-width: 100%; }
@media (max-width: 860px) {
  .s-split { grid-template-columns: 1fr; }
  .s-split--reverse .s-split-img { order: 0; }
}

.s-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.8rem; margin-top: 2.2rem; }
.s-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.6rem; margin-top: 2.2rem; }
.s-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.4rem; margin-top: 2rem; }

.s-card { display: flex; flex-direction: column; gap: .8rem; }
.s-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
}
.s-card-icon img { width: 24px; height: 24px; }
.s-card.on-light .s-card-icon { background: var(--light-gray); }
/* long German compounds must not push the page sideways on narrow screens */
.s-card-title, .s-card-text { hyphens: auto; overflow-wrap: break-word; }
.s-card-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.s-card-title--onDark { color: var(--white); }
.s-card-text { font-size: .92rem; line-height: 1.6; opacity: .75; }
/* Card as a tile: the box of a teaser around a card that is not a link.
   Light gray on a white band, white on a light band. */
.s-card--tile { background: var(--light-gray); border-radius: 1.4rem; padding: 1.6rem; }
.s-band--light .s-card--tile { background: var(--white); }

.s-num-step { display: flex; gap: 1.2rem; align-items: flex-start; }
.s-num-badge {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
}
.s-num-badge img { width: 28px; height: 28px; }
/* Badge with a step number instead of an icon, for sequences longer than the three step icons */
.s-num-badge--digit { font-size: 1.3rem; font-weight: 800; color: var(--black); }

/* Timeline: the numbered path from first contact to the finished system
   (living.html), taken from the printed flyer. An <ol>, so the order survives
   without CSS and screen readers announce it. The connecting line is drawn on
   the list itself, not between the items, so adding or removing a step cannot
   leave a dangling piece of line. */
/* As on the flyer, the line is a column of its own on the far left: the START
   chip sits centred above it, the arrow centred below it, and the numbered
   circles stand clear to its right. --tl-rail is the width of that column and
   --tl-gap the distance from it to the circles; everything else is derived from
   the two, so the chip, the line and the arrow cannot drift apart. */
.s-timeline-block { --tl-rail: 76px; --tl-gap: 30px; }
.s-timeline-start {
  display: block; box-sizing: border-box; width: var(--tl-rail); text-align: center;
  margin: 2rem 0 .7rem; padding: .32rem .4rem;
  background: var(--black); color: var(--white); border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.s-timeline {
  list-style: none; margin: 0; padding: 0 0 0 calc(var(--tl-rail) + var(--tl-gap));
  position: relative;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.s-timeline::before { /* the line itself */
  content: ""; position: absolute; left: calc(var(--tl-rail) / 2 - 1.5px);
  top: 0; bottom: 0; width: 3px; background: var(--black);
}
.s-timeline::after { /* arrow head pointing at the goal bar */
  content: ""; position: absolute; left: calc(var(--tl-rail) / 2 - 8px); bottom: -13px;
  border-left: 8px solid transparent; border-right: 8px solid transparent;
  border-top: 13px solid var(--black);
}
/* a narrow phone cannot spare 106px of indent before the text starts */
@media (max-width: 640px) {
  .s-timeline-block { --tl-rail: 62px; --tl-gap: 12px; }
  .s-timeline-step { gap: .8rem; }
}
.s-timeline-step { display: flex; gap: 1.2rem; align-items: flex-start; }
.s-timeline-badge {
  width: 45px; height: 45px; border-radius: 50%; flex: none; position: relative; /* lifts the badge over the line */
  display: flex; align-items: center; justify-content: center;
  background: var(--black); color: var(--white); font-weight: 800; font-size: 1.05rem;
}
.s-timeline-goal {
  display: flex; align-items: center; gap: 1.2rem; margin-top: 2rem;
  background: var(--black); border-radius: 1.2rem; padding: 1.2rem 1.6rem;
}
.s-timeline-goal-title { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--white); }
/* var(--black) at the shared .s-kicker opacity is too faint on yellow for WCAG AA */
.s-band--accent .s-kicker { opacity: .78; }
/* after the rule above, so the kicker inside the dark goal bar stays fully opaque */
.s-band--accent .s-timeline-goal .s-kicker { color: var(--yellow); opacity: 1; margin: 0 0 .15rem; }
/* the CTA is brand yellow by default and would be invisible on the yellow band */
.s-band--accent .s-cta { background: var(--black); color: var(--white); }

/* Hub: the Energy Server in the middle, the six things it talks to around it
   (living.html), taken from the printed flyer. Two lists plus the picture, so
   the six labels are still a sensible list when the layout collapses on a
   phone or the CSS does not load. The dotted connectors are decorative
   pseudo-elements; they carry no meaning that the list does not already give.
   Geometry below depends on --hub-row and --hub-reach: the rows have a fixed
   height so the diagonals meet the device at a predictable angle. Change the
   two values together, or the lines stop pointing at the box. */
.s-hub {
  --hub-row: 108px;   /* height of one node row */
  --hub-reach: 120px; /* length of a connector before rotation */
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 0 1.1rem; margin-top: 3rem;
  /* a stacking context, so the glow below can sit at z-index -1 without
     disappearing behind the dark band's own background */
  position: relative; z-index: 0;
  /* The glow reaches past the column on both sides (inset: -22% -12%). On a
     phone the column is as wide as the page, so the glow made the page
     draggable sideways. clip, not hidden: it keeps the glow's top and bottom
     and makes no scroll container. */
  overflow-x: clip;
}
.s-hub-side {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-rows: repeat(3, var(--hub-row)); align-content: center;
}
.s-hub-side--left { justify-items: end; }
.s-hub-side--right { justify-items: start; }
.s-hub-node {
  position: relative; align-self: center;
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--white); color: var(--black); border-radius: 1.1rem;
  padding: .85rem 1.4rem; font-weight: 800; font-size: 1.05rem;
}
.s-hub-icon { display: flex; flex: none; }
/* the technologies use the same icon files as the request form */
.s-hub-icon img { width: 22px; height: 22px; }
.s-hub-label { white-space: nowrap; }
/* the connector: a dotted rule pinned to the inner edge of the node and
   turned towards the device. 0deg for the middle row, which is level with it. */
.s-hub-node::after {
  content: ""; position: absolute; top: 50%;
  width: var(--hub-reach); border-top: 3px dotted var(--yellow);
}
.s-hub-side--left .s-hub-node::after { left: 100%; transform-origin: left center; }
.s-hub-side--right .s-hub-node::after { right: 100%; transform-origin: right center; }
.s-hub-side--left .s-hub-node:first-child::after { transform: rotate(26deg); }
.s-hub-side--left .s-hub-node:last-child::after { transform: rotate(-26deg); }
.s-hub-side--right .s-hub-node:first-child::after { transform: rotate(-26deg); }
.s-hub-side--right .s-hub-node:last-child::after { transform: rotate(26deg); }
.s-hub-center { margin: 0; text-align: center; position: relative; }
/* the warm glow the flyer puts behind the device; purely decorative, so it sits
   below the connectors (z-index -1) while the device itself sits above them */
.s-hub-center::before {
  content: ""; position: absolute; z-index: -1; inset: -22% -12%;
  background: radial-gradient(closest-side, rgba(250, 217, 56, .40), rgba(250, 217, 56, 0));
}
.s-hub-center img { width: 100%; max-width: 360px; margin: 0 auto; position: relative; z-index: 1; } /* over the connector ends */
.s-hub-caption { font-weight: 800; font-size: 1.05rem; margin-top: .6rem; color: var(--white); }

/* One column on narrow screens: the device first, then the six labels. The
   connectors would point at nothing once the ring is gone, so they go away. */
@media (max-width: 900px) {
  .s-hub { grid-template-columns: 1fr; gap: 1rem; }
  .s-hub-center { order: -1; }
  .s-hub-side { grid-template-rows: none; gap: 1rem; justify-items: stretch; }
  .s-hub-node { justify-content: center; }
  .s-hub-node::after { content: none; }
}

.s-bignum { font-weight: 800; font-size: 3.2rem; letter-spacing: -0.01em; color: var(--yellow); line-height: 1; margin-bottom: .3rem; }
.s-band--white .s-bignum, .s-band--light .s-bignum { color: var(--yellow140); } /* see .s-accent */
.s-bignum.s-bignum--brand { color: var(--yellow); } /* autocell-Gelb auch auf hellem Grund (WS-17) */

.s-benefit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.s-benefit-list--spaced { margin-top: 2rem; }
.s-benefit-list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; }
.s-check { width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--black); flex: none; display: flex; align-items: center; justify-content: center; font-size: .7rem; }

.s-benefit-col-title { font-weight: 700; font-size: 1rem; margin: 0 0 1rem; opacity: .6; }
.s-benefit-col-title--onDark { color: var(--white); }

.s-shot { margin-top: 2.2rem; max-width: 320px; border-radius: 1.4rem; overflow: hidden; }
/* In a .s-hero-grid the screenshot sits beside the text and may fill its
   column, so the phone is big enough to see. */
.s-shot--wide { margin-top: 0; max-width: 100%; }
@media (max-width: 860px) {
  .s-shot--wide { margin-top: 1.2rem; max-width: 420px; }
}

.s-team-card { display: flex; flex-direction: column; gap: .9rem; }
.s-avatar { width: 100%; }
.s-avatar img { display: block; width: 100%; height: auto; border-radius: 1.2rem; }
.s-team-name { font-weight: 700; font-size: 1rem; }
.s-team-role { font-size: .86rem; line-height: 1.55; opacity: .7; }

/* Product tile (Produktkachel): one sellable or request-only item in a grid */
.s-product-tile {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: var(--white);
  border: 1px solid var(--gray30);
  border-radius: 1.4rem;
  padding: 1.4rem;
}
.s-product-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; }
.s-product-tile-kicker { font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; opacity: .62; }
.s-product-tile-title { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; margin: 0; }
.s-product-tile-text { font-size: .9rem; line-height: 1.6; opacity: .75; flex: 1; }
.s-product-tile-price { font-weight: 800; font-size: 1.3rem; }
.s-product-tile-price-note { font-size: .78rem; opacity: .62; font-weight: 500; margin-top: -.5rem; }
.s-product-tile .s-cta { align-self: flex-start; }
/* Drawn icon in place of a product photo; the tag sits on top of it */
.s-product-tile-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; background: var(--light-gray); border-radius: 1rem;
}
.s-product-tile-media svg { width: 46%; height: 46%; }
.s-product-tile-tag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--black); color: var(--white); border-radius: 999px; padding: .3rem .7rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.s-product-tile-tag--accent { background: var(--yellow); color: var(--black); }
.s-product-tile-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* Teaser: a card that links out to another page or section, not a standalone CTA */
.s-teaser {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: var(--light-gray);
  border-radius: 1.4rem;
  padding: 1.6rem;
  transition: background .15s ease;
}
.s-teaser:hover { background: var(--gray); }
/* Reserve room for two lines so a long kicker ("Mehrfamilienhaus &
   Gewerbe") that wraps doesn't push its own title down below the
   single-line kickers next to it in the same .s-grid4 row. */
.s-teaser-kicker { font-weight: 700; font-size: .76rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; opacity: .62; margin-bottom: .6rem; min-height: 2.6em; }
.s-teaser-title { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: .5rem; }
.s-teaser-text { font-size: .92rem; line-height: 1.6; opacity: .75; margin-bottom: 1rem; }
/* Cards share a row (.s-grid4 makes them equal height via the grid), so a
   shorter text shouldn't leave its "Mehr erfahren" link sitting higher
   than the others' — pin it to the bottom of the card instead. */
.s-teaser-link { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; }
/* Symbol of a teaser: a line icon on a white chip above the title, for
   tiles that stand for something the page also draws (the three building
   types on the VPP page). The chip matches the building chips in the
   graphics of that page. */
.s-teaser-icon {
  width: 96px; height: 96px; border-radius: 22px; background: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
}
.s-teaser-icon img { width: 60px; height: 60px; }
/* A teaser without text: keep the link line clear of the title. */
.s-teaser-title + .s-teaser-link { padding-top: .6rem; }

/* Choice card (Auswahlkarte): a selectable tile with an icon and a label,
   used in grids like a configurator step. A real form control: wrap a
   visually-hidden radio/checkbox `input` in the `<label>`, styling reacts
   to `:checked` via `:has()` — no JS needed. `.is-selected` still works
   as a manual override for a purely illustrative card with no input. */
.s-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--light-gray);
  border-radius: 1.4rem;
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}
.s-choice-card:hover { background: var(--gray); }
.s-choice-card.is-selected, .s-choice-card:has(input:checked) { border-color: var(--yellow); background: var(--white); }
.s-choice-card:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }
.s-choice-card img { width: 96px; height: 96px; }
.s-choice-card-label { font-weight: 700; font-size: 1rem; }
.s-choice-card--onDark { background: var(--black); }
.s-choice-card--onDark:hover { background: var(--gray90); }
.s-choice-card--onDark.is-selected, .s-choice-card--onDark:has(input:checked) { border-color: var(--yellow); background: var(--black); }
.s-choice-card--onDark .s-choice-card-label { color: var(--white); }
.s-choice-card--onDark img { filter: invert(1); }

/* Slider: a range input with a labeled scale below, e.g. a consumption pick.
   Dragging is continuous (step 0.1), not snapped to the 5 labels — those
   are reference points, not stops. The fill to the left of the thumb is a
   linear-gradient on the track, switched by the `data-fill` attribute that
   range-fill.js sets in 5% steps (rounding, not inline style, so this
   stays within the CSP). A box-shadow-on-thumb trick would be JS-free, but
   with a thumb this much bigger than the track it leaves square corners
   peeking out beside the round thumb; painting the track directly avoids
   that. Firefox needs no help: ::-moz-range-progress does this natively. */
.s-slider {
  width: 100%;
  height: 22px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.s-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--gray20);
}
.s-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--black);
  cursor: pointer;
}
.s-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--gray20);
}
.s-slider::-moz-range-progress {
  height: 6px;
  border-radius: 999px 0 0 999px;
  background: var(--yellow);
}
.s-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--black);
  cursor: pointer;
}
.s-slider[data-fill="0"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 0%, var(--gray20) 0%); }
.s-slider[data-fill="5"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 5%, var(--gray20) 5%); }
.s-slider[data-fill="10"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 10%, var(--gray20) 10%); }
.s-slider[data-fill="15"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 15%, var(--gray20) 15%); }
.s-slider[data-fill="20"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 20%, var(--gray20) 20%); }
.s-slider[data-fill="25"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 25%, var(--gray20) 25%); }
.s-slider[data-fill="30"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 30%, var(--gray20) 30%); }
.s-slider[data-fill="35"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 35%, var(--gray20) 35%); }
.s-slider[data-fill="40"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 40%, var(--gray20) 40%); }
.s-slider[data-fill="45"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 45%, var(--gray20) 45%); }
.s-slider[data-fill="50"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 50%, var(--gray20) 50%); }
.s-slider[data-fill="55"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 55%, var(--gray20) 55%); }
.s-slider[data-fill="60"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 60%, var(--gray20) 60%); }
.s-slider[data-fill="65"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 65%, var(--gray20) 65%); }
.s-slider[data-fill="70"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 70%, var(--gray20) 70%); }
.s-slider[data-fill="75"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 75%, var(--gray20) 75%); }
.s-slider[data-fill="80"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 80%, var(--gray20) 80%); }
.s-slider[data-fill="85"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 85%, var(--gray20) 85%); }
.s-slider[data-fill="90"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 90%, var(--gray20) 90%); }
.s-slider[data-fill="95"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 95%, var(--gray20) 95%); }
.s-slider[data-fill="100"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--yellow) 100%, var(--gray20) 100%); }
.s-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: .6rem;
  font-size: .8rem;
  opacity: .6;
}

.s-contact-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1.2rem 0 1.6rem; font-size: .92rem; opacity: .8; }
.s-contact-meta a { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.s-contact-meta img { width: 18px; height: 18px; }
.s-contact-meta-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: .4rem; }
/* a button on a line of its own, e.g. the closing call to action on /vpp */
.s-cta-row { margin: 0 0 2.2rem; }

.s-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 560px; margin-top: 1.4rem; }
.s-form-grid .full { grid-column: 1 / -1; }
.s-field-label { font-size: .78rem; opacity: .62; margin-bottom: .4rem; display: block; }
.s-input, .s-textarea {
  width: 100%; border-radius: 1rem; border: 1px solid var(--gray30); background: var(--white);
  padding: .85rem 1rem; font-size: .92rem; font-family: inherit; color: var(--black);
}
.s-textarea { resize: vertical; }
/* black focus ring like the rest of the site: a yellow ring on white is hard to see */
.s-input:focus, .s-textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.s-consent { display: flex; align-items: flex-start; gap: .6rem; max-width: 480px; margin-top: 1.2rem; font-size: .84rem; line-height: 1.5; opacity: .8; cursor: pointer; }
.s-consent input { flex: none; width: 16px; height: 16px; margin-top: .2rem; }
.s-consent a { text-decoration: underline; }
.s-submit { font-weight: 700; font-size: .95rem; padding: .95rem 2.4rem; border-radius: 1.6rem; background: var(--yellow); color: var(--black); border: none; cursor: not-allowed; margin-top: 1.4rem; opacity: .6; }
.s-form-note { font-size: .8rem; opacity: .62; margin-top: .8rem; max-width: 480px; }

.s-footer { padding: 3rem 4vw 2.2rem; }
.s-footer--dark { background: var(--black); color: var(--gray20); }
.s-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2.4rem; }
.s-footer-col { display: flex; flex-direction: column; gap: .55rem; }
.s-footer-head { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: .3rem; }
.s-footer-col a, .s-footer-soon, .s-footer-address { font-size: .86rem; font-style: normal; line-height: 1.5; text-decoration: none; opacity: .75; }
.s-footer-col a:hover, .s-footer-col a:focus-visible { opacity: 1; text-decoration: underline; }
.s-footer-soon { opacity: 1; color: var(--gray50); } /* dimmer than the links, still readable (5.6:1) */
.s-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--gray90); padding-top: 1.4rem; }
.s-footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.s-footer-links a { font-size: .84rem; opacity: .7; text-decoration: none; }
.s-footer-links a:hover, .s-footer-links a:focus-visible { opacity: 1; }
.s-footer-copy { font-size: .78rem; opacity: .65; }

/* Two audiences next to each other, so their advantages can be compared at a
   glance. White panels on a grey band; they stretch to the same height. On a
   narrow screen they stack. */
.s-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.2rem; }
.s-compare-col { background: var(--white); border-radius: 1.4rem; padding: 2rem; }
.s-compare-title { font-weight: 800; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6rem; }
/* sub-heading inside a band, e.g. the parts of the app section */
.s-app-sub { margin-top: 3rem; }
.s-compare-lede { font-size: .95rem; line-height: 1.6; opacity: .75; margin: 0 0 1.8rem; }
.s-compare-list { display: flex; flex-direction: column; gap: 1.3rem; }
/* title with a yellow tick in front; the tick keeps its size next to a title
   that wraps onto two lines */
.s-card-title--check { display: flex; align-items: flex-start; gap: .6rem; }
.s-card-title--check .s-check { margin-top: .15em; }
@media (max-width: 860px) {
  .s-compare { grid-template-columns: 1fr; }
  .s-compare-col { padding: 1.6rem; }
}

/* FAQ: native <details>/<summary> accordion, no JS needed */
.s-faq { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }
.s-faq-item { background: var(--white); border: 1px solid var(--gray30); border-radius: 1rem; }
.s-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 700; font-size: .98rem; cursor: pointer;
  list-style: none;
}
.s-faq-q::-webkit-details-marker { display: none; }
.s-faq-icon { flex: none; transition: transform .2s ease; }
.s-faq-item[open] .s-faq-icon { transform: rotate(180deg); }
.s-faq-a { padding: 0 1.4rem 1.3rem; font-size: .92rem; line-height: 1.65; opacity: .78; }
.s-faq-a a { text-decoration: underline; }

/* Categories that collapse as a whole, for a page with many questions
   (commercial). A group is a <details> holding a .s-faq list of <details>
   items; the grey bar sets it apart from the white question tiles inside. */
.s-faq-groups { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }
.s-faq-group { background: var(--light-gray); border-radius: 1rem; }
.s-faq-group-q {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; cursor: pointer;
  list-style: none;
}
.s-faq-group-q::-webkit-details-marker { display: none; }
.s-faq-group-title { flex: 1; }
.s-faq-group-count { font-weight: 500; font-size: .85rem; opacity: .6; white-space: nowrap; }
/* only the group's own chevron, not the ones on the questions inside */
.s-faq-group[open] > .s-faq-group-q .s-faq-icon { transform: rotate(180deg); }
.s-faq-group .s-faq { margin-top: 0; padding: 0 .8rem .8rem; }

/* Bigger variant: large clickable tiles (e.g. resource downloads by product) */
.s-faq--lg .s-faq-q { padding: 1.6rem 1.8rem; }
.s-faq-q-title { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.s-faq-q-sub { display: block; margin-top: .2rem; font-size: .88rem; font-weight: 500; opacity: .65; }
.s-faq--lg .s-faq-a { padding: 0 1.8rem 1.6rem; }

/* Configurator: a <form> made of fieldsets of choice cards and a slider.
   Reset the default fieldset chrome; a group is a plain block with a
   legend styled like a heading. */
.s-config-group { border: 0; padding: 0; margin: 0 0 2.4rem; }
.s-config-legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: 1.1rem; }
.s-config-hint { font-size: .82rem; opacity: .62; margin: .6rem 0 0; }
.s-config-hint--lead { margin: 0 0 1rem; }

@media (max-width: 860px) {
  .s-h2 { font-size: 1.8rem; }
  .s-band { padding: 3rem 5vw; }
  .s-form-grid { grid-template-columns: 1fr; }
  .s-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .s-footer-grid { grid-template-columns: 1fr; }
}

/* Homepage only: the energy-system graphic sits behind the hero at the top
   of the page and fades out as the visitor scrolls past it (bg-fade.js sets
   the opacity), instead of staying fixed behind every dark band further
   down. Wrap the page's existing content in .s-bg-wrap so it stacks above
   this graphic. */
.s-bg-graphic {
  position: absolute; top: 0; left: 0; right: 0; height: 100vh; z-index: 0;
  background: var(--white) url("/assets/img/hero-product.png") no-repeat center top;
  background-size: cover;
}
.s-bg-wrap { position: relative; z-index: 1; }
/* Only #hero sits over the graphic now (it fades away within one viewport
   height, see bg-fade.js), so only #hero needs to let it show through;
   every other dark band keeps its normal solid background. */
.s-bg-wrap #hero.s-band--dark { background: transparent; color: var(--black); min-height: 100vh; display: flex; align-items: center; }
.s-bg-wrap #hero .s-h2--onDark, .s-bg-wrap #hero .s-lede--onDark, .s-bg-wrap #hero .s-card-title--onDark { color: var(--black); }
/* the pill badge is styled for a dark band; on the light hero it needs gray text */
.s-bg-wrap #hero .s-pill-badge { color: var(--gray70); border-color: var(--gray30); }

/* 404 page: centered, self-contained (no header/nav/footer — see
   CLAUDE.md), reusing the hero typography and CTA button styles. */
.s-404 {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  max-width: 640px; margin: 0 auto; padding: 2rem 1.5rem;
}
.s-404 .s-logo { width: 134px; margin-bottom: 2.5rem; }
.s-404 .s-kicker { margin-bottom: 1rem; }
.s-404 .s-h2 { max-width: none; }
.s-404 .s-lede { max-width: none; margin-bottom: 2rem; }

/* Legal pages (Impressum, Datenschutz, AGB): a narrow
   prose column, plain headings/paragraphs/lists instead of the marketing
   type scale — these are text to read, not a landing page. */
.s-legal { max-width: 760px; margin: 0 auto; overflow-wrap: anywhere; } /* long links */
.s-legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .7rem; }
.s-legal h2:first-of-type { margin-top: 0; }
.s-legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.s-legal h4 { font-size: .95rem; margin: 1.2rem 0 .4rem; }
.s-legal p, .s-legal ul, .s-legal address { margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; }
.s-legal address { font-style: normal; }
.s-legal ul { padding-left: 1.3rem; }
.s-legal li { margin-bottom: .4rem; }

/* Scrollbar of the page: slim grey pill, yellow on hover. Only the page's
   own scrollbar, not inner scroll areas. */
html::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track { background: var(--light-gray); }
html::-webkit-scrollbar-thumb {
  background: var(--gray30);
  border: 3px solid var(--light-gray);
  border-radius: 6px;
}
html::-webkit-scrollbar-thumb:hover { background: var(--yellow); }
html::-webkit-scrollbar-thumb:active { background: var(--black); }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--gray30) var(--light-gray); }
}

/* Resources page: product list on the left, the material of the chosen product on
   the right. Radio buttons inside the tabs choose the product (no JS). Without
   :has() support every panel simply stays visible. */
.s-res { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 2rem; }
.s-res-nav { display: flex; flex-direction: column; gap: .8rem; }
.s-res-tab { position: relative; display: block; background: var(--light-gray); border: 2px solid transparent; border-radius: 1.2rem; padding: 1.1rem 1.3rem; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.s-res-tab:hover { background: var(--gray); }
.s-res-tab input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.s-res-tab:has(input:checked) { border-color: var(--yellow); background: var(--white); }
.s-res-tab:has(input:focus-visible) { outline: 2px solid var(--black); outline-offset: 2px; }
.s-res-tab-title { display: block; font-weight: 800; font-size: 1.15rem; }
.s-res-tab-sub { display: block; font-size: .85rem; line-height: 1.5; opacity: .7; margin-top: .25rem; }
.s-res-panels { min-width: 0; }
.s-res-panel { background: var(--white); border: 1.5px solid var(--gray30); border-radius: 1.4rem; padding: 2rem 2.2rem; margin-bottom: 1.2rem; }
.s-res-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 .3rem; }
.s-res-sub { margin: 0 0 1.4rem; opacity: .7; }
.s-res-group { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; opacity: .62; margin: 1.6rem 0 .6rem; }
.s-res-panel p { line-height: 1.65; max-width: 60ch; }
@supports selector(:has(a)) {
  .s-res-panel { display: none; margin-bottom: 0; }
  .s-res:has(#tab-living:checked) #panel-living,
  .s-res:has(#tab-commercial:checked) #panel-commercial,
  .s-res:has(#tab-vpp:checked) #panel-vpp,
  .s-res:has(#tab-community:checked) #panel-community { display: block; }
}
@media (max-width: 800px) {
  .s-res { grid-template-columns: 1fr; gap: 1.2rem; }
  .s-res-panel { padding: 1.5rem 1.2rem; }
}

/* Forms: honeypot field for bots (kept out of sight, not display:none, so bots still fill it),
   and the status line under the submit button (see assets/js/forms.js). */
.s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-form-status { font-size: .9rem; margin-top: .8rem; max-width: 480px; }
.s-form-status:empty { display: none; }
.s-form-status.is-ok { color: var(--black); }
.s-form-status.is-error { color: var(--error); }
.s-submit:not(:disabled) { cursor: pointer; opacity: 1; }

/* "autocell" is always written in lowercase (brand rule), also inside labels
   that the CSS sets in capitals (.s-kicker and the like): wrap the word in
   <span class="s-brandname">autocell</span>. The span also keeps the name in
   one piece: card texts hyphenate automatically and split it ("au-tocell"). */
.s-brandname { text-transform: none; hyphens: none; -webkit-hyphens: none; white-space: nowrap; }

/* Community page */
/* A table that stays readable: on a narrow screen only the table scrolls
   sideways, never the page. */
.s-table-wrap { overflow-x: auto; }
.s-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.s-table th, .s-table td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray20); }
.s-table thead th { font-weight: 700; }
.s-table tbody th { font-weight: 600; }
.s-table tbody tr:last-child th, .s-table tbody tr:last-child td { border-bottom: 0; }
/* Small label next to a heading, e.g. "In Vorbereitung". Unlike
   .s-product-tile-tag it sits in the text flow, not on top of an image. */
.s-tag {
  display: inline-block; vertical-align: middle;
  background: var(--black); color: var(--white); border-radius: 999px; padding: .3rem .7rem;
  font-size: .66rem; font-weight: 700; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}

/* Cookie-Einstellungen (vanilla-cookieconsent, assets/css/cookieconsent.css):
   the page font and the dark button colour instead of the library's
   defaults. The dialog itself is configured in assets/js/cookie-settings.js. */
#cc-main {
  --cc-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cc-primary-color: var(--black);
  --cc-btn-secondary-bg: var(--black);
  --cc-btn-secondary-color: var(--white);
  --cc-btn-secondary-border-color: var(--black);
  --cc-btn-secondary-hover-bg: var(--gray90);
  --cc-btn-secondary-hover-color: var(--white);
  --cc-btn-secondary-hover-border-color: var(--gray90);
}

/* One short text and no buttons: the box takes the height of its content
   instead of the library's fixed height. */
#cc-main .pm--box { height: auto; }
