/* Content pages (Ratgeber, Artikel, Glossar, FAQ, Seite, Über uns, 404): shared pieces. */

/* sticky tool bar under the header (filters, A-Z) */
.subbar { position: sticky; top: var(--head-h); z-index: 30; background: rgba(251, 252, 253, .94); backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid var(--linie); }
.subbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; padding: 3px; margin: -3px; }
.chips::-webkit-scrollbar { display: none; }
.chips .chip { text-decoration: none; flex: none; min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.chip .n { font-stretch: 68%; font-weight: 700; opacity: .6; }

/* search field with icon */
.find { position: relative; flex: 0 1 320px; min-width: 0; }
.find .ph { position: absolute; z-index: 1; left: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--granit); pointer-events: none; }
.find .input { height: 46px; padding-left: 44px; font-size: 16px; }
.find.big .input { height: 60px; font-size: 19px; padding-left: 50px; }
.find.big .ph { font-size: 24px; left: 16px; }
.dark .find .ph { color: var(--nebel); }
.on-photo .find .ph { color: #fff; }
.on-photo .input { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.on-photo .input::placeholder { color: rgba(255, 255, 255, .7); }
.on-photo .input:focus { border-color: #fff; }
.count-line { font-size: 14px; color: var(--granit); min-height: 1.5em; }
.dark .count-line, .on-photo .count-line { color: var(--nebel); }
mark { background: rgba(213, 43, 30, .14); color: inherit; border-radius: 2px; padding: 0 1px; }

/* guide teaser cards */
.g-card { display: grid; gap: 16px; align-content: start; text-decoration: none; color: inherit; min-width: 0; }
.g-img { display: block; overflow: hidden; border-radius: var(--r); background: var(--eis); }
.g-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--ease); }
.g-card:hover .g-img img { transform: scale(1.035); }
.g-body { display: grid; gap: 8px; align-content: start; }
.g-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--granit); }
.g-topic { font-weight: 700; color: var(--rot); }
.g-title { font-size: clamp(21px, 1.9vw, 27px); font-stretch: 106%; line-height: 1.14; letter-spacing: -.01em; transition: color .2s; text-wrap: balance; }
.g-card:hover .g-title { color: var(--rot); }
.g-ex { color: var(--granit); font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-card.tall .g-img img { aspect-ratio: 4 / 3; }
.g-card.line { grid-template-columns: 148px 1fr; gap: 18px; align-items: start; padding-top: 22px; border-top: 2px solid var(--tinte); }
.g-card.line .g-img img { aspect-ratio: 1; }
.g-card.line .g-title { font-size: clamp(19px, 1.6vw, 22px); }
@media (max-width: 700px) {
  .g-card.line { grid-template-columns: 96px 1fr; gap: 14px; padding-top: 18px; }
}

/* photo head used by FAQ and Über uns: shorter than the start hero */
.hero-photo.short { min-height: min(72vh, 680px); }
.hero-photo.short h1 { max-width: 16ch; font-size: clamp(40px, 5.6vw, 80px); }
.hero-photo .crumbs { color: rgba(255, 255, 255, .75); }
.hero-photo .crumbs a:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo.settle > img, .hero-photo.settle > picture img { animation: c-settle 2.4s var(--ease) both; }
  .hero-photo.settle h1, .hero-photo.settle .lead, .hero-photo.settle .actions { animation: c-rise 1s var(--ease) both; }
  .hero-photo.settle .lead { animation-delay: .12s; }
  .hero-photo.settle .actions { animation-delay: .24s; }
}
@keyframes c-settle { from { transform: scale(1.07); } }
@keyframes c-rise { from { opacity: 0; transform: translateY(26px); } }

/* ---------- FAQ ---------- */
.faq-hero h1 { max-width: 18ch; }
.faq-hero .find { max-width: 620px; margin-top: 30px; }
.faq-hero .count-line { margin-top: 12px; }
.faq-groups { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(64px, 9vw, 128px); }
.faq-group { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); align-items: start; padding: clamp(36px, 5vw, 64px) 0; border-top: 2px solid var(--tinte); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group[hidden] { display: none; }
.faq-side { position: sticky; top: calc(var(--head-h) + 92px); }
.faq-side h2 { font-size: clamp(28px, 3vw, 42px); }
.faq-side .n { display: block; font-stretch: 68%; font-weight: 700; font-size: clamp(64px, 7vw, 112px); line-height: .85; color: var(--rot); letter-spacing: -.03em; margin-bottom: 14px; }
.faq-side p { margin-top: 14px; color: var(--granit); font-size: 15px; }
.faq-side .link { font-size: 15px; }
details.qa[hidden] { display: none; }
.faq-empty { padding: 28px 0; font-size: 19px; }
@media (max-width: 900px) {
  .faq-group { grid-template-columns: 1fr; gap: 12px; }
  .faq-side { position: static; }
  .faq-side .n { font-size: 56px; }
}

/* ---------- Seite (legal and info) ---------- */
.s-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(64px, 9vw, 128px); }
.s-grid .prose > :first-child { margin-top: 0; }
.s-nav { position: sticky; top: calc(var(--head-h) + 24px); border-top: 2px solid var(--tinte); padding-top: 16px; }
.s-nav h2 { font-size: 15px; font-stretch: 100%; letter-spacing: 0; color: var(--granit); font-weight: 600; margin-bottom: 10px; }
.s-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.s-nav a { display: block; padding: 9px 0; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--linie); }
.s-nav a:hover { color: var(--rot); }
.s-nav a[aria-current="page"] { color: var(--rot); }
.s-mail { display: inline-flex; max-width: 100%; align-items: center; gap: 14px; font-size: clamp(22px, 3.2vw, 40px); font-weight: 800; font-stretch: 108%; letter-spacing: -.01em;
  text-decoration: none; border-bottom: 4px solid var(--rot); padding-bottom: 6px; margin: 4px 0 24px; overflow-wrap: anywhere; }
.s-mail .ph { color: var(--rot); flex: none; }
.s-mail span { min-width: 0; overflow-wrap: anywhere; }
.s-mail:hover { color: var(--rot); }
.s-paid { margin-top: 2.4em; padding-top: 1.2em; border-top: 2px solid var(--tinte); }
.s-paid h2 { margin-top: 0 !important; }
.s-paid ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-paid li { margin: 0; }
.s-paid li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r); background: var(--eis); text-decoration: none; font-size: 15px; }
.s-paid li a:hover { color: var(--rot); }
.s-paid li img { width: 22px; height: 22px; border-radius: 3px; background: #fff; padding: 2px; }
@media (max-width: 900px) { .s-grid { grid-template-columns: 1fr; } .s-nav { position: static; } }

/* ---------- 404 ---------- */
.nf { padding: clamp(48px, 8vw, 120px) 0 clamp(64px, 9vw, 128px); }
.nf-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.nf-code { font-stretch: 68%; font-weight: 700; font-size: clamp(140px, 24vw, 340px); line-height: .78; letter-spacing: -.04em; color: var(--rot); }
.nf h1 { font-size: clamp(34px, 4.6vw, 64px); }
.nf .lead { margin-top: 16px; }
.nf-links { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--tinte); }
.nf-links a { display: flex; align-items: center; gap: 14px; padding: 20px 16px 20px 0; text-decoration: none; font-weight: 800; font-stretch: 108%; font-size: clamp(19px, 1.7vw, 23px); border-bottom: 1px solid var(--linie); }
.nf-links a:nth-child(even) { padding-left: 16px; box-shadow: inset 1px 0 0 var(--linie); }
.nf-links .ph { font-size: 28px; transition: transform .3s var(--ease), color .2s; }
.nf-links a:hover { color: var(--rot); }
.nf-links a:hover .ph { transform: translateX(3px); }
@media (max-width: 760px) {
  .nf-grid { grid-template-columns: 1fr; }
  .nf-links { grid-template-columns: 1fr; }
  .nf-links a:nth-child(even) { padding-left: 0; box-shadow: none; }
}
.chip[hidden] { display: none; }
