/*
 * Tierwissen, app, help, contact and legal pages (boards XWissen, XArticle, XApp, XHelp, XContact, XLegal and
 * their Mob* counterparts). Loaded only by templates extending content/base.html. Values that are not tokens
 * come from the boards.
 */
:root {
  --content-green: #17663A;
  --content-green-pale: #E6F4EC;
  --content-gold-pale: #FFF8E8;
  --content-peach: #FBDDD3;
  --content-mint: #DCF0E4;
  --content-lilac: #DCE4F2;
  --content-rose: #EFDCE6;
  --content-sand: #FBEBCE;
  --content-pink: #FFB3C0;
  --content-hero: #004652;
  --content-prose: 18px;
}

/* Shared parts */
.content-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-10);
}
.heading-hero {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -1px;
  color: var(--pl-teal-deep);
}
.heading-hero em {
  font-style: italic;
  color: var(--pl-em);
}
.heading-section {
  font-size: var(--fs-title-lg);
}
.underline--light em {
  color: var(--content-pink);
}
.underline--light {
  color: var(--pl-coral);
}
.language-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--r-lg);
  background: var(--pl-gold-bg);
  color: var(--pl-cookie);
  font-size: var(--fs-body);
  font-weight: 700;
}
.search-field {
  position: relative;
  display: block;
}
.search-field .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pl-teal-deep);
}
.search-field input {
  width: 100%;
  height: 52px;
  padding: 0 14px 0 44px;
  border: 1.5px solid var(--pl-line);
  border-radius: var(--r-lg);
  background: var(--pl-surface-card);
  font-size: var(--fs-body-lg);
  font-weight: 500;
}
.search-field input:focus {
  outline: none;
  border-color: var(--pl-teal);
  box-shadow: var(--sh-glow);
}
.tag--reviewed {
  gap: 5px;
  background: var(--content-green-pale);
  color: var(--content-green);
}
.tag--season,
.tag--time {
  background: var(--content-gold-pale);
  color: var(--pl-cookie);
  font-weight: 700;
}
.btn--danger {
  background: var(--pl-red);
  color: #fff;
}
.btn--danger:hover {
  background: #A82842;
  color: #fff;
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
}

/* Tierwissen list */
.wissen__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.wissen__intro {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wissen__lead {
  font-size: 19px;
  color: var(--pl-ink-muted);
}
.wissen__search {
  flex: 0 1 340px;
}
.chip-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.chip-row__label {
  width: 64px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--pl-line);
  border-radius: var(--r-pill-inf);
  background: var(--pl-surface-card);
  font: 700 var(--fs-body) var(--font-body);
  color: var(--pl-ink);
  white-space: nowrap;
}
.chip[aria-pressed="true"] {
  border-color: var(--pl-teal-deep);
  background: var(--pl-teal-deep);
  color: #fff;
}
.featured-card,
.article-card,
.article-teaser {
  background: var(--pl-surface-card);
  border: 1.5px solid var(--pl-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  color: var(--pl-teal-deep);
}
.featured-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 24px;
}
.featured-card__image {
  flex: 1 1 480px;
  min-width: 0;
  height: 340px;
  object-fit: cover;
}
.featured-card__body {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 32px 36px;
}
.featured-card .tag {
  align-self: flex-start;
}
.featured-card__title {
  font: 600 36px / 1.1 var(--font-display);
  letter-spacing: -0.6px;
}
.featured-card__intro {
  font-size: 17px;
  color: var(--pl-ink-muted);
}
.wissen__list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
}
.wissen__count {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}
.article-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  /* Shown until the image has loaded, never a white gap (fix round G9). */
  background: var(--pl-teal-pale);
}
.article-card__image--empty,
.article-teaser__image--empty {
  background: var(--pl-teal-pale);
}
.article-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}
.article-card__title {
  font: 600 22px / 1.2 var(--font-display);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.article-meta__time {
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.wissen__more {
  align-self: center;
  min-width: 260px;
}
.wissen__empty,
.wissen__empty-state p {
  color: var(--pl-ink-muted);
}
.wissen__empty-state {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--pl-surface-card);
  border: 1.5px dashed var(--pl-line);
}
.practice-cta,
.toc {
  margin: 24px 0;
  padding: 16px 20px;
  border: 1.5px solid var(--pl-line);
  border-radius: 16px;
  background: var(--pl-surface-card);
}
.toc__title {
  margin: 0 0 8px;
}
.toc__list {
  margin: 0;
  padding-left: 20px;
}
.toc__item {
  margin: 4px 0;
}
.toc__item a {
  display: inline-block;
  min-height: 24px;
  color: var(--pl-teal-deep);
  text-decoration: underline;
}
.toc__item--h3 {
  margin-left: 16px;
  list-style-type: circle;
}
.article__content :is(h2, h3)[id] {
  scroll-margin-top: 96px;
}
.editor-note {
  padding: 14px 18px;
  border: 2px dashed var(--pl-red);
  border-radius: 12px;
  background: var(--pl-surface-card);
}
.editor-note__title {
  display: block;
}
.editor-note__text p {
  margin: 4px 0 0;
}
.booking-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  border-radius: 20px;
  background: var(--pl-teal-deep);
  color: var(--footer-ink);
}
.practice-cta {
  margin-top: 20px;
  padding: 28px 32px;
}
.practice-cta__title,
.booking-block__title {
  font-size: 26px;
  line-height: 1.15;
  color: #fff;
}

/* Article */
.article-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}
.article {
  flex: 999 1 620px;
  min-width: 0;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article__title {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--content-peach);
  color: var(--pl-teal-deep);
  font-weight: 800;
}
.reviewer__name {
  display: block;
}
.reviewer__detail,
.article__byline {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.article__hero {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}
.article__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article__intro {
  font-size: 20px;
  line-height: 1.6;
}
.prose {
  font-size: var(--content-prose);
  font-weight: 400;
  line-height: 1.65;
}
.prose > * + * {
  margin-top: 14px;
}
.prose h2 {
  margin-top: 28px;
  font-size: var(--fs-title-lg);
  line-height: 1.2;
}
.prose h3 {
  margin-top: 22px;
  font-size: var(--fs-22);
  line-height: 1.25;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 6px;
}
.prose a {
  text-decoration: underline;
  font-weight: 700;
}
.prose blockquote {
  margin: 14px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--pl-teal);
  color: var(--pl-ink-muted);
}
.content-figure img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.content-figure figcaption {
  margin-top: 8px;
  font-size: var(--fs-body);
  color: var(--pl-ink-muted);
}
.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1.5px solid var(--pl-line);
  border-radius: 16px;
  background: var(--pl-surface-card);
}
.callout .icon {
  margin-top: 2px;
  color: var(--pl-teal-deep);
}
.callout--emergency {
  border-color: #F5A9B6;
}
.callout--emergency .icon {
  color: var(--pl-red);
}
.callout__title {
  display: block;
}
.callout__text {
  color: var(--pl-ink-muted);
}
.callout__text p {
  display: inline;
}
.callout__link {
  font-weight: 700;
  text-decoration: underline;
}
.booking-block {
  padding: 24px;
}
.article-aside {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-aside .label + .article-teaser {
  margin-top: 0;
}
.article-aside .article-teaser + .label {
  margin-top: 10px;
}
.article-teaser {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  border-radius: var(--r-card);
}
.article-teaser__image {
  width: 110px;
  height: 86px;
  flex-shrink: 0;
  object-fit: cover;
}
.article-teaser__text .label {
  display: block;
  font-size: var(--fs-overline);
}
.article-teaser__text strong {
  display: block;
  font: 600 var(--fs-body-lg) / 1.25 var(--font-display);
}

/* FAQ (articles, help, app page) */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq__heading {
  font-size: var(--fs-title-lg);
}
.faq__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border: 1.5px solid var(--pl-line);
  border-radius: var(--r-card);
  background: var(--pl-surface-card);
  box-shadow: var(--sh-1);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 22px;
  font-size: var(--fs-body-lg);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary .icon {
  color: var(--pl-teal-deep);
  transition: transform 0.3s var(--ez-soft);
}
.faq__item[open] summary .icon {
  transform: rotate(180deg);
}
.faq__answer {
  padding: 0 22px 18px;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--pl-ink-muted);
}

/* Facts table (Impressum company data) */
.facts__heading {
  font-size: var(--fs-title-lg);
}
.facts {
  margin: 0;
  padding: 20px 24px;
  border: 1.5px solid var(--pl-line);
  border-radius: 16px;
  background: var(--pl-surface-card);
}
.facts__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4px 20px;
  padding: 6px 0;
}
.facts dt {
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.facts dd {
  margin: 0;
}
.facts dd a {
  font-weight: 700;
  text-decoration: underline;
}

/* Help */
.help-hero {
  position: relative;
  padding: 64px 0 88px;
  background: radial-gradient(60% 120% at 100% 0, rgba(255, 117, 140, 0.18), rgba(255, 117, 140, 0) 60%),
    radial-gradient(50% 90% at 0 100%, rgba(59, 164, 179, 0.5), rgba(59, 164, 179, 0) 70%), var(--pl-teal-deep);
  color: #fff;
}
.help-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.help-hero__label {
  color: var(--footer-ink);
}
.help-hero__title {
  color: #fff;
}
.help-hero__search {
  width: min(620px, 100%);
}
.help__body {
  padding-top: 0;
}
.help-topics {
  /* Over the hero it overlaps (the hero is positioned, so the cards need a stacking level of their own). */
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: -48px;
}
.help-topic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--pl-surface-card);
  box-shadow: var(--sh-2);
}
.help-topic strong {
  display: block;
  font: 600 var(--fs-title) / 1.2 var(--font-display);
}
.help-topic span span {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.help-topic__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  color: var(--pl-teal-deep);
}
.help-topic__icon--1 {
  background: var(--content-peach);
}
.help-topic__icon--2 {
  background: var(--content-mint);
}
.help-topic__icon--3 {
  background: var(--content-lilac);
}
.help__columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 48px;
  margin-top: 24px;
}
.help__main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.help__no-match {
  color: var(--pl-ink-muted);
}
.help__side {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: var(--pl-surface-card);
  box-shadow: var(--sh-1);
  font-size: var(--fs-md);
}
.side-card p {
  color: var(--pl-ink-muted);
}
.side-card .btn {
  margin-top: 8px;
}
.side-card__title {
  font-size: var(--fs-title);
}
.side-card--emergency {
  flex-direction: row;
  border: 1.5px solid var(--pl-red-line);
  background: var(--pl-red-pale);
  color: var(--pl-red);
}
.side-card--emergency:hover {
  color: var(--pl-red);
}
.side-card__link {
  display: block;
  text-decoration: underline;
  font-weight: 700;
}

/* Legal */
.legal__columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 64px;
}
.legal-nav {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-nav .label {
  padding: 0 14px 8px;
}
.legal-nav a {
  padding: 11px 14px;
  border-radius: var(--r-lg);
  font-weight: 700;
  color: var(--pl-ink-muted);
}
.legal-nav a[aria-current="page"] {
  background: rgba(59, 164, 179, 0.18);
  color: var(--pl-teal-deep);
}
.legal__text {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal__as-of,
.legal__attribution {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.legal__attribution {
  padding-top: 16px;
  border-top: 1.5px solid var(--pl-line);
}
.legal__attribution a {
  text-decoration: underline;
}
.legal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal__body .prose {
  font-size: var(--fs-body-lg);
}

/* Contact */
.contact__lead {
  margin-top: 14px;
  font-size: 19px;
  color: var(--pl-ink-muted);
}
.contact-routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  background: var(--pl-surface-card);
  box-shadow: var(--sh-1);
}
.contact-route h2 {
  font-size: var(--fs-title-lg);
  line-height: 1.15;
}
.contact-route p {
  flex-grow: 1;
  color: var(--pl-ink-muted);
}
.contact-route__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg);
  color: var(--pl-teal-deep);
}
.contact-route__icon--1 {
  background: var(--content-peach);
}
.contact-route__icon--2 {
  background: var(--content-mint);
}
.contact-route__icon--3 {
  background: var(--content-lilac);
}
.contact-data {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 32px 36px;
  border-radius: 20px;
  background: var(--pl-surface-card);
  box-shadow: var(--sh-1);
}
.contact-data__mail {
  flex: 2 1 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-data__email {
  font: 600 34px / 1.2 var(--font-display);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.contact-data__mail p {
  color: var(--pl-ink-muted);
}
.contact-data__address {
  flex: 1 1 240px;
  display: flex;
  gap: 12px;
}
.contact-data__address address {
  margin-top: 6px;
  font-style: normal;
  color: var(--pl-ink-muted);
}
.contact-data__address strong {
  color: var(--pl-ink);
}
.contact-data__more {
  flex: 0 1 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-data__more a {
  font-weight: 700;
  text-decoration: underline;
}
.emergency-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 18px 24px;
  border: 1.5px solid var(--pl-red-line);
  border-radius: 20px;
  background: var(--pl-red-pale);
  color: var(--pl-red);
}
.emergency-note p {
  flex: 1 1 300px;
}

/* App page */
.app-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(700px 700px at 85% 10%, rgba(255, 117, 140, 0.34), rgba(255, 117, 140, 0) 62%),
    radial-gradient(55% 80% at 0 100%, rgba(59, 164, 179, 0.6), rgba(59, 164, 179, 0) 70%), var(--content-hero);
  color: #fff;
}
.app-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding-top: 76px;
}
.app-hero__text {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 84px;
}
.app-hero__badge {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--r-pill-inf);
  background: var(--content-pink);
  color: #5A1020;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.app-hero__title {
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: #fff;
}
.app-hero__lead {
  max-width: 520px;
  font-size: 21px;
  color: var(--footer-ink);
}
.app-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.app-hero__browser {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
}
.app-hero__browser:hover {
  color: var(--content-pink);
}
.app-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.app-hero__pills li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill-inf);
  background: rgba(255, 255, 255, 0.1);
  font-size: var(--fs-body);
  font-weight: 700;
}
.app-hero__visual {
  position: relative;
  flex: 0 1 460px;
  align-self: flex-end;
  height: 600px;
}
.app-hero__phone {
  position: absolute;
  left: 70px;
  top: 20px;
  width: 320px;
  height: auto;
  transform: rotate(5deg);
  filter: drop-shadow(0 24px 40px rgba(0, 40, 50, 0.35));
}
.app-note,
.app-qr-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pl-surface-card);
  color: var(--pl-ink);
  box-shadow: 0 16px 40px rgba(0, 40, 50, 0.32);
}
.app-note {
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  white-space: nowrap;
  line-height: 1.25;
}
.app-note strong {
  display: block;
  font-size: var(--fs-body);
}
.app-note span span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--pl-ink-muted);
}
.app-note__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-control);
}
.app-note--confirmed {
  left: -30px;
  top: 150px;
  transform: rotate(-5deg);
}
.app-note--confirmed .app-note__icon {
  background: var(--content-green-pale);
  color: var(--content-green);
}
.app-note--reminder {
  right: -20px;
  top: 330px;
  transform: rotate(4deg);
}
.app-note--reminder .app-note__icon {
  background: #FFE3E8;
  color: var(--pl-red);
}
.app-qr-card {
  left: -20px;
  bottom: 36px;
  padding: 10px;
  border-radius: 18px;
  transform: rotate(-3deg);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.3;
}
.app-qr-card span {
  max-width: 90px;
  padding-right: 6px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 96px;
}
.app-features__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: 12px;
}
.app-features__head p {
  max-width: 380px;
  font-size: var(--fs-lead);
  color: var(--pl-ink-muted);
}
.app-tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.app-tile {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 32px;
  color: #35545B;
}
.app-tile__text {
  position: relative;
  z-index: 1;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-tile .label {
  color: var(--pl-teal-deep);
}
.app-tile h3 {
  font-size: var(--fs-32);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.app-tile p {
  font-size: 17px;
}
.app-tile__phone {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 40, 50, 0.35));
}
.app-tile--appointments {
  grid-column: span 7;
  height: 540px;
  background: var(--pl-teal-deep);
  color: var(--footer-ink);
}
.app-tile--appointments .label {
  color: var(--content-pink);
}
.app-tile--appointments h3 {
  color: #fff;
}
.app-tile__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
}
.app-tile__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.app-tile__list .icon {
  margin-top: 3px;
  color: var(--content-pink);
}
.app-tile--appointments .app-tile__phone {
  right: 36px;
  top: 44px;
  width: 270px;
  transform: rotate(6deg);
}
.app-tile--health {
  grid-column: span 5;
  height: 540px;
  background: var(--content-peach);
}
.app-tile--health .app-tile__phone {
  left: 50%;
  top: 262px;
  width: 240px;
  margin-left: -120px;
  transform: rotate(-4deg);
}
.app-tile--calendar,
.app-tile--map {
  grid-column: span 4;
  height: 460px;
}
.app-tile--calendar {
  background: var(--content-rose);
}
.app-tile--calendar .app-tile__phone {
  right: 28px;
  top: 250px;
  width: 210px;
  transform: rotate(5deg);
}
.app-tile--map {
  background: var(--content-lilac);
}
.app-tile--map .app-tile__phone {
  left: 28px;
  top: 250px;
  width: 210px;
  transform: rotate(-5deg);
}
.app-tile-stack {
  grid-column: span 4;
  height: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.app-tile--small {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border-radius: 28px;
}
.app-tile--small h3 {
  max-width: 215px;
  font-size: var(--fs-title);
}
.app-tile--small p {
  max-width: 215px;
  font-size: var(--fs-md);
}
.app-tile--small .app-tile__phone {
  right: -6px;
  top: 26px;
  width: 128px;
  transform: rotate(8deg);
}
.app-tile--shop {
  background: var(--content-sand);
}
.app-tile--wissen {
  background: var(--content-mint);
}
.app-bottom {
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.app-faq {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 64px;
}
.app-faq__head {
  flex: 1 1 300px;
  min-width: 0;
}
.app-faq__head .heading-hero {
  font-size: 44px;
}
.app-faq__head p {
  margin-top: 8px;
  font-size: 17px;
  color: var(--pl-ink-muted);
}
.app-faq__head a {
  font-weight: 700;
  text-decoration: underline;
}
.app-faq .faq__items {
  flex: 2 1 520px;
  min-width: 0;
}
.app-faq .faq__answer {
  padding-top: 0;
}
.app-closing {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 56px;
  border-radius: 36px;
  background: radial-gradient(520px 520px at 100% 0, rgba(255, 117, 140, 0.38), rgba(255, 117, 140, 0) 65%),
    radial-gradient(50% 80% at 0 110%, rgba(59, 164, 179, 0.55), rgba(59, 164, 179, 0) 70%), var(--pl-teal-deep);
}
.app-closing__text {
  position: relative;
  z-index: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.app-closing h2 {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.4px;
  color: #fff;
}
.app-closing p {
  font-size: 19px;
  font-weight: 600;
  color: var(--footer-ink);
}
.app-closing__phone {
  position: absolute;
  right: 90px;
  top: 40px;
  width: 250px;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 24px 40px rgba(0, 40, 50, 0.35));
}

/* Phones and narrow windows (boards Mob*, 390 px). */
@media (max-width: 1023px) {
  .content-page {
    gap: 22px;
    padding-top: var(--sp-5);
    padding-bottom: var(--sp-8);
  }
  .heading-hero {
    font-size: 36px;
    letter-spacing: -0.6px;
  }
  .wissen__lead,
  .contact__lead {
    font-size: var(--fs-body-lg);
  }
  .wissen__search {
    flex: 1 1 100%;
  }
  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .chip-row__label {
    display: none;
  }
  .featured-card {
    flex-direction: column;
  }
  .featured-card__image {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .featured-card__body {
    flex: none;
    padding: 18px 16px 20px;
  }
  .featured-card__title {
    font-size: var(--fs-title);
  }
  .featured-card__intro {
    display: none;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .article-card {
    flex-direction: row;
    border-radius: var(--r-card);
  }
  .article-card__image {
    width: 34%;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 96px;
  }
  .article-card__body {
    padding: 14px 12px;
    gap: 4px;
  }
  .article-card__title {
    font-size: var(--fs-lead);
  }
  .wissen__more {
    align-self: stretch;
  }
  .practice-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 16px;
  }
  .practice-cta .btn,
  .booking-block .btn {
    width: 100%;
  }
  .article__title {
    font-size: var(--fs-32);
  }
  .article__intro,
  .prose {
    font-size: var(--fs-lead);
  }
  .article__hero {
    aspect-ratio: 4 / 3;
  }
  .booking-block {
    padding: 20px 18px;
  }
  .help-hero {
    padding: 40px 0 72px;
  }
  .help-topics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: -40px;
  }
  .help-topic {
    padding: 14px 16px;
  }
  .legal-nav {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .legal-nav .label {
    display: none;
  }
  .legal-nav a {
    flex-shrink: 0;
    border: 1.5px solid var(--pl-line);
    border-radius: var(--r-pill-inf);
    background: var(--pl-surface-card);
    white-space: nowrap;
  }
  .facts__row {
    grid-template-columns: 1fr;
  }
  .contact-routes {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-route {
    padding: 22px;
  }
  .contact-data {
    padding: 24px 20px;
  }
  .contact-data__email {
    font-size: var(--fs-title);
  }
  .emergency-note .btn {
    width: 100%;
  }
  .app-hero__inner {
    padding-top: 40px;
  }
  .app-hero__text {
    flex-basis: 100%;
    padding-bottom: 0;
  }
  .app-hero__title {
    font-size: 44px;
    letter-spacing: -1px;
  }
  .app-hero__lead {
    font-size: var(--fs-lead);
  }
  .app-hero__visual {
    flex: 1 1 100%;
    max-width: 360px;
    height: 460px;
    margin: 0 auto;
  }
  .app-hero__phone {
    left: 50%;
    width: 240px;
    margin-left: -120px;
  }
  .app-note--confirmed {
    left: 0;
    top: 110px;
  }
  .app-note--reminder {
    right: 0;
    top: 260px;
  }
  .app-qr-card {
    display: none;
  }
  .app-features {
    padding-top: 56px;
  }
  .app-tiles {
    grid-template-columns: 1fr;
  }
  .app-tile,
  .app-tile-stack {
    grid-column: auto;
  }
  .app-tile {
    padding: 28px 24px;
  }
  .app-tile--appointments,
  .app-tile--health,
  .app-tile--calendar,
  .app-tile--map {
    height: 520px;
  }
  .app-tile h3 {
    font-size: var(--fs-title-lg);
  }
  .app-tile--appointments .app-tile__phone,
  .app-tile--health .app-tile__phone,
  .app-tile--calendar .app-tile__phone,
  .app-tile--map .app-tile__phone {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -180px;
    width: 230px;
    margin-left: -115px;
  }
  .app-tile--appointments {
    height: 640px;
  }
  .app-tile-stack {
    height: auto;
  }
  .app-tile--small {
    min-height: 200px;
  }
  .app-bottom {
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .app-faq__head .heading-hero {
    font-size: var(--fs-32);
  }
  .app-closing {
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px 300px;
  }
  .app-closing h2 {
    font-size: 40px;
  }
  .app-closing__phone {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -200px;
    width: 220px;
    margin-left: -110px;
  }
}

/* App page on phones, as the board "MobApp" draws it (design revert R3): the pills below the hero, the hero
   phone smaller and cut by the hero's edge, compact tiles with shop and Tierwissen side by side, and the
   closing card without a phone. The pills are written twice (`--wide` in the hero, `--phone` below it). */
.app-pills {
  display: none;
}
@media (max-width: 680px) {
  .app-hero__pills--wide {
    display: none;
  }
  .app-pills {
    display: block;
    padding-top: 20px;
  }
  .app-hero__pills--phone li {
    border-color: var(--pl-line);
    background: var(--pl-surface-card);
    color: var(--pl-ink);
    white-space: nowrap;
  }
  .app-hero__inner {
    padding-top: 28px;
  }
  .app-hero__title {
    font-size: 36px;
  }
  .app-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .app-hero__actions .store-badges {
    justify-content: center;
  }
  .app-hero__browser {
    align-self: center;
  }
  .app-hero__visual {
    height: 370px;
  }
  .app-hero__phone {
    width: 220px;
    margin-left: -110px;
  }
  .app-note--confirmed {
    top: 70px;
  }
  .app-note--reminder {
    top: 230px;
  }
  .app-features {
    padding-top: 16px;
  }
  .app-features__head p {
    display: none;
  }
  .app-tile--appointments {
    height: 560px;
  }
  .app-tile--health,
  .app-tile--calendar,
  .app-tile--map {
    height: 430px;
  }
  .app-tile--appointments .app-tile__phone,
  .app-tile--health .app-tile__phone,
  .app-tile--calendar .app-tile__phone,
  .app-tile--map .app-tile__phone {
    bottom: -200px;
    width: 210px;
    margin-left: -105px;
  }
  .app-tile-stack {
    flex-direction: row;
    gap: 12px;
  }
  .app-tile--small {
    height: 230px;
    min-height: 0;
    padding: 16px;
    border-radius: 24px;
  }
  .app-tile--small h3 {
    font-size: var(--fs-lead);
  }
  .app-tile--small p {
    display: none;
  }
  .app-tile--small .app-tile__phone {
    left: 50%;
    right: auto;
    top: auto;
    bottom: -90px;
    width: 110px;
    margin-left: -55px;
    transform: none;
  }
  .app-faq__head p {
    display: none;
  }
  .app-closing {
    min-height: 0;
    padding: 26px 22px;
  }
  .app-closing__phone {
    display: none;
  }
}
