.aktionshinweis {
  width: calc(100% - 2 * var(--rand, 24px));
  max-width: var(--inhalt-max, 96rem);
  box-sizing: border-box;
  margin: var(--studio-anschluss-abstand, 32px) auto 0;
  border-block: 1px solid rgba(32, 36, 33, 0.22);
  color: inherit;
}
.aktionshinweis--start .aktionshinweis__flaeche { padding-block: 16px; }
/* Linien folgen der tatsächlichen Position statt der Seitenart. */
.aktionshinweis[data-hinweis-position="einleitung"] { border-bottom: 0; }
.aktionshinweis:is([data-hinweis-position="kontakt"], [data-hinweis-position="ende"]) { margin-bottom: 12px; }
.aktionshinweis--unterseite .aktionshinweis__flaeche { grid-template-columns: auto minmax(0, 70ch) auto; }
.aktionshinweis--unterseite .aktionshinweis__link { grid-column: auto; }
.aktionshinweis__flaeche {
  display: grid;
  grid-template-columns: auto minmax(0, 70ch) auto;
  justify-content: start;
  gap: 24px;
  align-items: start;
  padding-block: 24px;
  padding-inline: 16px;
  color: inherit;
  text-decoration: none;
  background: rgba(0, 0, 0, 0);
  transition: background-color .2s ease;
}
.aktionshinweis__flaeche:focus-visible { background: var(--studio-link-hover, rgba(32, 35, 34, 0.06)); }
@media (hover: hover) {
  .aktionshinweis__flaeche:hover { background: var(--studio-link-hover, rgba(32, 35, 34, 0.06)); }
}
.aktionshinweis__flaeche:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.aktionshinweis .aktionshinweis__rubrik {
  justify-self: start;
  margin: 0;
  padding: 3px 8px;
  max-width: 18ch;
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid rgba(32, 36, 33, 0.35);
  color: inherit;
  font-size: .8125rem;
  line-height: 1.5;
}
.aktionshinweis .aktionshinweis__rubrik--schlicht { padding: 0; border: 0; }
.aktionshinweis .aktionshinweis__rubrik--invers {
  border-color: rgba(32, 36, 33, 1);
  background: rgba(32, 36, 33, 1);
  color: rgba(255, 255, 255, 1);
}
/* Ein Anschlussabstand statt Hinweis-Margin plus Abschnitt-Padding. */
.aktionshinweis + .abschnitt,
.studie-studio .aktionshinweis + .abschnitt,
.startseite-beton .aktionshinweis + .abschnitt,
.studie-studio.seite-innen .titelband ~ .aktionshinweis + .abschnitt:nth-child(1 of .abschnitt) {
  padding-top: clamp(24px, 2.5vw, 32px);
}
.aktionshinweis__inhalt { min-width: 0; }
.aktionshinweis #aktionshinweis-titel { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; overflow-wrap: anywhere; }
.aktionshinweis .aktionshinweis__inhalt p { margin: 12px 0 0; max-width: 70ch; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.aktionshinweis .aktionshinweis__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  justify-self: start;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .6rem 0;
  border: 0;
  background: rgba(0, 0, 0, 0);
  color: inherit;
  font-size: .9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.aktionshinweis.aktionshinweis--unterseite .aktionshinweis__link {
  min-height: 0;
  padding-block: 0;
}
.aktionshinweis__link::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: currentColor;
  opacity: .45;
  transform: scaleX(.68);
  transform-origin: left;
  transition: transform .28s ease, opacity .28s ease;
}
.aktionshinweis .studio-pfeil { display: inline-block; flex-shrink: 0; transition: transform .28s ease; }
.aktionshinweis .aktionshinweis__flaeche:is(:hover, :focus-visible) .aktionshinweis__link::after { opacity: 1; transform: scaleX(1); }
.aktionshinweis .aktionshinweis__flaeche:is(:hover, :focus-visible) .studio-pfeil { transform: translateX(3px); }
@media (max-width: 900px) {
  .aktionshinweis__flaeche { grid-template-columns: auto minmax(0, 1fr); }
  .aktionshinweis__link { grid-column: 2; }
}
@media (max-width: 700px) {
  .aktionshinweis__flaeche, .aktionshinweis--unterseite .aktionshinweis__flaeche { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .aktionshinweis__link, .aktionshinweis--unterseite .aktionshinweis__link { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .aktionshinweis__flaeche, .aktionshinweis .studio-pfeil, .aktionshinweis__link::after { transition: none; }
}

/* Unterseiten: nach der Einleitung, innerhalb ihres Inhaltsrasters. */
.aktionshinweis.aktionshinweis--inhalt {
  width: 100%;
  max-width: var(--inhalt-max, 96rem);
  margin: clamp(24px, 2.5vw, 32px) auto;
  margin-bottom: 12px;
  container-type: inline-size;
}
.aktionshinweis--inhalt .aktionshinweis__flaeche { grid-template-columns: auto minmax(0, 70ch) auto; }
.aktionshinweis--inhalt .aktionshinweis__link { grid-column: auto; }
.seiten-einleitung:has(+ .aktionshinweis),
.studie-studio.seite-innen .seiten-einleitung:has(+ .aktionshinweis) { margin-bottom: 0; }
.aktionshinweis--inhalt + :is(.leistung-sprung, .leistung-bereich, .bereich-auswahl, .abschnitt__kopf) { margin-top: 0; }
@container (max-width: 700px) {
  .aktionshinweis--inhalt .aktionshinweis__flaeche { grid-template-columns: minmax(0, 1fr); }
  .aktionshinweis--inhalt .aktionshinweis__link { grid-column: 1; }
}

/* Kompaktes Innenpadding für Hinweise auf allen Unterseiten. */
.aktionshinweis--unterseite .aktionshinweis__flaeche { padding-block: 16px; }

/* Alternative Darstellungen; ohne Auswahl bleibt die bestehende Hinweiszeile. */
.aktionshinweis--textlink, .aktionshinweis--bildkarte { container-type: inline-size; }
.aktionshinweis--textlink #aktionshinweis-titel { font-size: 1.125rem; line-height: 1.4; }
.aktionshinweis--bildkarte .aktionshinweis__flaeche { grid-template-columns: 160px auto minmax(0, 70ch) auto; }
.aktionshinweis__bild { display: block; width: 160px; }
.aktionshinweis__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@container (max-width: 1000px) {
  .aktionshinweis--bildkarte .aktionshinweis__flaeche { grid-template-columns: 160px minmax(0, 1fr); }
  .aktionshinweis--bildkarte .aktionshinweis__bild { grid-column: 1; grid-row: 1 / 4; }
  .aktionshinweis--bildkarte .aktionshinweis__rubrik { grid-column: 2; grid-row: 1; }
  .aktionshinweis--bildkarte .aktionshinweis__inhalt { grid-column: 2; grid-row: 2; }
  .aktionshinweis--bildkarte .aktionshinweis__link { grid-column: 2; grid-row: 3; }
}
@container (max-width: 700px) {
  .aktionshinweis--bildkarte .aktionshinweis__flaeche { grid-template-columns: minmax(0, 1fr); }
  .aktionshinweis--bildkarte :is(.aktionshinweis__bild, .aktionshinweis__rubrik, .aktionshinweis__inhalt, .aktionshinweis__link) { grid-column: 1; grid-row: auto; }
  .aktionshinweis--bildkarte .aktionshinweis__bild { width: 100%; }
  .aktionshinweis--bildkarte .aktionshinweis__bild img { aspect-ratio: 16 / 9; }
}
