@font-face {
  font-family: "Arimo";
  src: url("../fonts/Arimo-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arimo";
  src: url("../fonts/Arimo-Italic-Variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Variable.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Italic-Variable.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #ffffff;
  --color-text: #141414;
  --color-muted: #6e6e6e;
  --color-border: #e6e6e6;
  --color-placeholder: #f0f0f0;
  --color-accent: #ee736d;
  --font-sans: "Arimo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max-width: 1400px;
  --gap: 1.5rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

/* Full-bleed helper: breaks an element out of the padded .site-main container */

.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
}

.site-logo {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.site-logo-img {
  width: auto;
}

.site-logo-img--desktop {
  height: 52px;
}

.site-logo-img--mobile {
  display: none;
  height: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-nav a {
  color: var(--color-text);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  border-bottom-color: var(--color-text);
}

.site-nav .social-icons {
  margin-left: 0.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-border);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-icons a {
  display: flex;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.social-icons a:hover {
  color: var(--color-accent);
}

/* Main */

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) 4rem;
}

/* Hero / Home */

.hero {
  padding: clamp(2rem, 6vw, 3.5rem) 0 1rem;
  max-width: 40rem;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--gap);
  padding-top: clamp(2rem, 6vw, 3.5rem);
}

.portfolio-item {
  position: relative;
  display: block;
  flex: 0 1 320px;
}

.portfolio-item:nth-child(even) {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 640px) {
  .portfolio-item {
    flex-basis: 100%;
  }

  .portfolio-item:nth-child(even) {
    margin-top: 0;
  }
}

.portfolio-item img {
  width: 100%;
  height: auto;
  background: var(--color-placeholder);
  transition: opacity 0.2s ease;
}

.portfolio-item:hover img {
  opacity: 0.9;
}

.portfolio-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

/* Top-level page blocks (Automobiles / Travel / Features) */

.blocks.page-blocks {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.page-blocks--center .block-heading {
  max-width: none;
  text-align: center;
}

/* Content blocks */

.blocks {
  padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.blocks > * {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.blocks > *:last-child {
  margin-bottom: 0;
}

.block-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  max-width: 30rem;
}

h1.block-heading {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
}

h2.block-heading {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

h3.block-heading {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.block-text {
  max-width: 30rem;
}

.block-text p {
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}

.block-text-de {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.block-text-de-heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-muted);
  margin: 0 0 0.85rem;
}

.block-text-de p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0;
}

.block-footnote {
  max-width: 42rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.block-footnote p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.block-footnote-de {
  margin-top: 0.5rem;
}

.block-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--color-placeholder);
  display: block;
}

@media (max-width: 700px) {
  .block-image img {
    aspect-ratio: 4 / 3;
  }
}

.block-image figcaption {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Feature-Bild (volle Breite): like .block-image, but keeps the source
   image's own aspect ratio instead of a fixed 21:9 crop. */

.block-feature-image img {
  width: 100%;
  height: auto;
  background: var(--color-placeholder);
  display: block;
}

.block-feature-image figcaption {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--color-muted);
}

.shoot-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.block-shoot h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.block-shoot .block-imagerow {
  margin-bottom: 1.25rem;
}

.block-shoot .block-imagerow:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gallery-lightbox-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.gallery-lightbox-link:hover {
  color: var(--color-text);
}

/* Shoot info: metadata + description, hidden until hover/focus */

.shoot-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
  color: var(--color-muted);
  outline: none;
}

.shoot-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-size: 0.7rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.shoot-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shoot-info-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + 0.75rem);
  left: 0;
  width: max(20rem, 60%);
  max-width: 24rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.shoot-info:hover .shoot-info-panel,
.shoot-info:focus .shoot-info-panel,
.shoot-info:focus-within .shoot-info-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Image row: sequential, manually curated pair/trio layout (Automobiles / Travel).
   All images in a multi-image row share one row height, so rows never leave
   whitespace under a shorter image. Each image's width share (--share, set inline)
   is its curated "Größe" weight × its own aspect ratio, so the row still fills its
   full width edge-to-edge, and a portrait shot gets a narrower slice rather than a
   landscape-shaped box. Because the box rarely matches a photo's exact ratio, it's
   cropped (object-fit: cover) anchored at the file's own Focus point from the Panel. */

.block-imagerow {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 1rem;
  height: clamp(16rem, 28vw, 26rem);
}

.imagerow-item {
  display: block;
  flex: var(--share, 1) 1 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.imagerow-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--color-placeholder);
}

/* A row with a single image reads as one big image rather than a full-width bar,
   left-aligned like everything else. Never cropped — sized from its own intrinsic
   ratio, capped so it never dominates the page. */

.block-imagerow:has(.imagerow-item:only-child) {
  max-width: 60rem;
  height: auto;
}

.block-imagerow:has(.imagerow-item:only-child) .imagerow-item {
  overflow: visible;
}

.block-imagerow:has(.imagerow-item:only-child) .imagerow-item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(44rem, 80vh);
  object-fit: contain;
}

@media (max-width: 700px) {
  .block-imagerow {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .imagerow-item {
    flex: none;
    height: clamp(14rem, 60vw, 22rem);
  }

  .block-imagerow:has(.imagerow-item:only-child) .imagerow-item {
    height: auto;
  }
}

/* Spacer block: extra breathing room on top of the default gap between blocks */

.blocks > .block-spacer {
  margin-bottom: 0;
}

.block-spacer[data-size="klein"] {
  height: clamp(1rem, 3vw, 2rem);
}

.block-spacer[data-size="mittel"] {
  height: clamp(3rem, 7vw, 5rem);
}

.block-spacer[data-size="groß"] {
  height: clamp(6rem, 12vw, 9rem);
}

/* About: two-column layout */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
  align-items: start;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-placeholder);
}

/* Without a portrait uploaded, .about-content is the grid's only child —
   let it fill the row instead of sitting alone in the narrow first column. */
.about-content:only-child {
  grid-column: 1 / -1;
  max-width: 46rem;
}

.about-content h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 2rem 0 1.5rem;
}

.about-content p {
  color: var(--color-muted);
  line-height: 1.75;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-content h1 {
    margin-top: 0;
  }
}

/* Contact: two-column layout */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}

.button {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 2.25rem;
  transition: opacity 0.15s ease;
}

.button:hover {
  opacity: 0.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  text-align: center;
}

.contact-label {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.contact-link {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 1.1rem;
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Static content pages (Legal) */

.page-content {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
  max-width: 42rem;
}

.page-content h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 1.25rem;
}

.page-content p {
  color: var(--color-muted);
}

/* Footer */

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-mark {
  width: 32px;
  height: auto;
}

.footer-legal {
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 0.8rem;
}

.footer-brand .social-icons {
  margin-left: 0.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-border);
}

.footer-copyright {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.site-footer .social-icons a {
  color: var(--color-muted);
}

.site-footer .social-icons a:hover {
  color: var(--color-accent);
}

/* Responsive header logo swap */

@media (max-width: 640px) {
  .site-logo-img--desktop {
    display: none;
  }

  .site-logo-img--mobile {
    display: block;
  }

  .site-nav {
    flex-wrap: wrap;
    flex-basis: 100%;
    gap: 0.85rem 1rem;
  }

  .site-nav .social-icons {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    flex-basis: 100%;
  }
}

/* Feature articles: EN/DE toggle. Both languages are always in the DOM;
   only one is shown, switched by toggling .lang-de on .feature-article.
   `revert` (not `initial`) restores each element's own UA default display
   (block for <div>/<p>, inline for <span>) regardless of which tag a given
   bilingual field happens to render as. */

.feature-article [data-lang="de"] {
  display: none;
}

.feature-article.lang-de [data-lang="de"] {
  display: revert;
}

.feature-article.lang-de [data-lang="en"] {
  display: none;
}

.feature-toggle {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.feature-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.feature-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  /* No reservation needed on desktop — the headline overlays the photo
     instead of sitting below it (see .feature-hero-wrap below). */
  max-height: 85vh;
  object-fit: cover;
  background: var(--color-placeholder);
  display: block;
}

@media (max-width: 700px) {
  .feature-hero img {
    aspect-ratio: 4 / 3;
    /* On mobile the header stacks below the photo again, so it still needs
       reserved room to avoid pushing the headline off-screen. */
    max-height: min(65vh, calc(100vh - 18rem));
  }
}

.feature-header {
  max-width: 40rem;
  padding: clamp(3rem, 9vw, 5.5rem) 0 2rem;
}

/* Feature-hero-wrap: when a cover photo is present, the H1 (+ optional Lead
   dek block) lives inside the same full-bleed wrapper as the photo, which
   means it needs its own horizontal gutter (the plain .feature-header above
   normally gets that for free from .site-main's own padding). On mobile it
   just stacks below the photo in normal flow. On desktop it's overlaid on
   the photo itself, matching the site's earlier design — with a gradient
   scrim so light and dark photos both stay legible. */

.feature-hero-wrap {
  position: relative;
}

.feature-hero-wrap .feature-header {
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

@media (min-width: 701px) {
  /* Scrim spans the full width of the photo (unlike .feature-header, which
     is deliberately narrower for readable line lengths) so the darkening
     doesn't cut off in a hard edge next to the text. */
  .feature-hero-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    pointer-events: none;
  }

  .feature-hero-wrap .feature-header {
    position: absolute;
    z-index: 1;
    inset: auto 0 0 0;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }

  .feature-hero-wrap .feature-headline,
  .feature-hero-wrap .feature-header .feature-dek p {
    color: #fff;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
  }

  .feature-hero-wrap .feature-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
  }

  .feature-hero-wrap .feature-toggle:hover {
    color: #fff;
    border-color: #fff;
  }
}

.feature-dek {
  margin-top: 1rem;
}

/* When the dek is overlaid on the hero (see .feature-hero-wrap), the gap
   .feature-header normally leaves below itself lives inside the photo
   instead — so the blocks that follow need their own top spacing here,
   rather than relying on an editor manually inserting a spacer block. */

.feature-article .blocks--after-hero-overlay {
  padding-top: clamp(3rem, 8vw, 5.5rem);
}

/* Feature articles read as a magazine spread: noticeably more vertical air
   between blocks than the rest of the site's tighter portfolio pages. */

.feature-article .blocks {
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.feature-article .blocks > * {
  margin-bottom: clamp(3.5rem, 9vw, 6.5rem);
}

/* Consecutive Datenblatt blocks (e.g. one per model) are grouped into a
   shared row by blocks.php so they can sit side by side on desktop instead
   of stacking with wasted whitespace next to each box. */

.feature-specs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.feature-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.feature-credit {
  max-width: 30rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Feature-Text / Feature-Pullquote blocks (toggle-driven, no stacked translation) */

.block-feature-text {
  max-width: 34rem;
}

.block-feature-text p {
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}

.block-feature-text p + p {
  margin-top: 1.2em;
}

/* Lead style: the magazine dek line, typically the first block on the page
   right under the headline — takes over the role a fixed "Subheadline" field
   used to play, but as ordinary block content like everywhere else on the site. */

.block-feature-text--lead {
  max-width: 40rem;
}

.block-feature-text--lead p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.5;
  color: var(--color-muted);
}

/* Feature-Text with an optional companion image: stacked on mobile,
   two-column magazine layout on desktop. Position (left/right) flips which
   side the image sits on via the modifier class + order. */

.block-feature-text--split {
  max-width: 100%;
}

.block-feature-text-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--color-placeholder);
}

.block-feature-text--split .block-feature-text-media {
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .block-feature-text--split {
    display: grid;
    /* Media (first in DOM) gets the larger track by default — this is the
       "left" position. "--right" below overrides both the ratio and the
       visual order so the image ends up in the wider, second track. */
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
  }

  .block-feature-text--right {
    grid-template-columns: 1fr 1.15fr;
  }

  .block-feature-text--right .block-feature-text-media {
    order: 2;
  }

  .block-feature-text--right .block-feature-text-copy {
    order: 1;
  }

  .block-feature-text--split .block-feature-text-media {
    margin-bottom: 0;
  }

  .block-feature-text--split .block-feature-text-copy {
    max-width: 28rem;
  }
}

/* Feature-Text without a companion image: centers the whole block (not just
   the text alignment) on the page, like Feature-Pullquote's "Mittig". */

.block-feature-text--center {
  margin-left: auto;
  margin-right: auto;
}

.block-feature-quote {
  max-width: 32rem;
}

.block-feature-quote--center {
  margin-left: auto;
  margin-right: auto;
}

.block-feature-quote--right {
  margin-left: auto;
}

.block-feature-quote-text {
  padding-left: 2rem;
  border-left: 3px solid var(--color-accent);
}

.block-feature-quote-text p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  line-height: 1.35;
  color: var(--color-text);
  margin: 0;
  text-align: left;
}

/* Feature-Pullquote with an optional companion (text or image): stacked on
   mobile, two-column magazine layout on desktop — mirrors Feature-Text. */

.block-feature-quote--split {
  max-width: 100%;
}

.block-feature-quote-companion {
  margin-top: 1.5rem;
}

.block-feature-quote-companion img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--color-placeholder);
}

.block-feature-quote-companion p {
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin: 0;
}

.block-feature-quote-companion p + p {
  margin-top: 1.2em;
}

@media (min-width: 900px) {
  .block-feature-quote--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
  }

  .block-feature-quote--split-right .block-feature-quote-text {
    order: 1;
  }

  .block-feature-quote--split-right .block-feature-quote-companion {
    order: 2;
  }

  .block-feature-quote--split-left .block-feature-quote-text {
    order: 2;
  }

  .block-feature-quote--split-left .block-feature-quote-companion {
    order: 1;
  }

  .block-feature-quote-companion {
    margin-top: 0;
  }
}

/* Feature-Bildraster (Masonry) / Feature-Galerie */

.block-feature-grid {
  column-count: 2;
  column-gap: var(--gap);
}

@media (max-width: 640px) {
  .block-feature-grid {
    column-count: 1;
  }
}

.feature-grid-item {
  display: block;
  break-inside: avoid;
  margin-bottom: var(--gap);
}

.feature-grid-item img {
  width: 100%;
  height: auto;
  background: var(--color-placeholder);
  transition: opacity 0.2s ease;
}

.feature-grid-item:hover img {
  opacity: 0.9;
}

.feature-grid-caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-muted);
}

/* Feature-Datenblatt (Pkw-EnVKV Pflichtangaben) */

.block-feature-specs {
  max-width: 34rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.feature-specs-heading {
  margin: 0 0 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-specs-list {
  margin: 0;
}

.feature-specs-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.feature-specs-row:last-child {
  border-bottom: none;
}

.feature-specs-row dt {
  color: var(--color-muted);
}

.feature-specs-row dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.feature-specs-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.feature-specs-note p {
  margin: 0;
}

/* Features overview: article teaser grid */

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 700px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.features-list-item {
  display: block;
}

.features-list-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--color-placeholder);
  margin-bottom: 0.85rem;
}

.features-list-text h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

.features-list-text p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* End-of-article "More Features" — keeps a reader from dead-ending after
   finishing an article. */

.feature-more {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--color-border);
}

.feature-more-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.feature-more .features-list {
  padding-bottom: 2rem;
}

.feature-more-all {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.feature-more-all:hover {
  color: var(--color-accent);
}
