:root {
  --page-bg: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #eaf1f3;
  --text: #172126;
  --text-muted: #526168;
  --line: #ced9dd;
  --brand: #0d5966;
  --brand-dark: #083d46;
  --brand-soft: #d9eaed;
  --accent: #c87b2a;
  --content-width: 1180px;
  --text-width: 720px;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(23, 33, 38, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.85rem, 3vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
}

.content-width {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin-inline: auto;
}

.content-width h2 {
  color: #5B9CB6;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(206, 217, 221, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 2.5rem), var(--content-width));
  min-height: 76px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-header__nav a {
  font-weight: 700;
  text-decoration: none;
}

.site-header__contact {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
}

.hero {
  display: grid;
  min-height: 620px;
  align-items: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(200, 123, 42, 0.18), transparent 28%),
    linear-gradient(135deg, #e8f1f3 0%, #f9fbfb 60%, #eef2ed 100%);
}

.hero__content {
  padding-block: 7rem;
}

.hero__lead {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}

.source-feature {
  padding-block: 6rem;
  background: var(--brand-dark);
  color: #fff;
}

.source-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(250px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.source-feature h2 {
  max-width: 780px;
  color: #ffffff;
}

.source-feature h3 {
  max-width: 780px;
  color: #e4bc0b;
}

.source-feature h4 {
  max-width: 780px;
  color: #aae40b;
}

.source-feature p:not(.eyebrow) {
  max-width: 760px;
  color: #dbe8ea;
}

.source-feature__meta {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.source-feature .eyebrow,
.source-feature a {
  color: #f2bb7f;
}

.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  gap: 0.5rem;
  color: #ff0000;
  align-items: center;
  font-weight: 800;
}

.source-feature__aside {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.source-feature__aside strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1.15rem;
}

.jump-nav {
  position: sticky;
  z-index: 80;
  top: 76px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 248, 0.96);
  backdrop-filter: blur(10px);
}

.jump-nav .content-width {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
}

.jump-nav__title {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 800;
}

.jump-nav ol {
  display: flex;
  min-width: max-content;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
  list-style: none;
}

.jump-nav a {
  display: block;
  padding-block: 1.15rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.jump-nav a:hover,
.jump-nav a:focus-visible {
  color: var(--brand);
}

.topic-section {
  position: relative;
  padding-block: 7rem 4.5rem;
  background: var(--surface);
}

.topic-section--alternate {
  background: var(--surface-soft);
}

.topic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.topic-grid--reverse .topic-copy {
  order: 2;
}

.topic-grid--reverse .image-placeholder {
  order: 1;
}

.topic-number {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.topic-text {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.topic-copy > p:not(.topic-number) {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.check-list {
  margin: 1.75rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.7rem;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  color: var(--brand);
  content: "✓";
  font-weight: 900;
}

.reader-benefit {
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.image-placeholder {
  margin: 0;
}

.image-placeholder__frame {
  display: grid;
  aspect-ratio: 8 / 5;
  width: 100%;
  min-height: 300px;
  padding: 2rem;
  place-content: center;
  border: 2px dashed #8ca3aa;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(13, 89, 102, 0.08), rgba(200, 123, 42, 0.08)),
    var(--surface);
  color: var(--brand-dark);
  text-align: center;
}

.image-placeholder__frame span {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 900;
}

.image-placeholder__frame small {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-muted);
}

.image-placeholder figcaption {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.back-link {
  display: block;
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 3rem auto 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: right;
}

.offer-section {
  padding-block: 7rem;
  background: #172126;
  color: #fff;
}

.offer-section h2 {
  max-width: 800px;
}

.offer-section__intro {
  max-width: 760px;
  margin-bottom: 3rem;
  color: #cbd6da;
  font-size: 1.15rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.offer-card {
  padding: 1.65rem;
  border: 1px solid #38474d;
  border-radius: var(--radius);
  background: #5b9cb6;
}

.offer-card p {
  margin-bottom: 0;
  color: #ffffff;
  font-weight: 700;
}

.offer-cta {
  display: flex;
  margin-top: 3rem;
  padding: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.offer-cta h3,
.offer-cta p {
  margin-bottom: 0.35rem;
}

.sources {
  padding-block: 5rem;
  background: var(--surface);
}

.sources h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.sources ul {
  max-width: 900px;
  padding-left: 1.2rem;
}

.sources li {
  margin-bottom: 0.75rem;
}

.site-footer {
  padding-block: 2rem;
  background: var(--brand-dark);
  color: #fff;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

@media (max-width: 900px) {
  .source-feature__grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-grid--reverse .topic-copy,
  .topic-grid--reverse .image-placeholder {
    order: initial;
  }

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jump-nav__title {
    display: none;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .content-width,
  .site-header__inner,
  .back-link {
    width: min(calc(100% - 1.5rem), var(--content-width));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .site-brand__logo {
    width: 40px;
    height: 40px;
  }

  .site-header__nav > a:not(.site-header__contact) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__content,
  .source-feature,
  .topic-section,
  .offer-section {
    padding-block: 4.5rem;
  }

  .jump-nav {
    position: static;
  }

  .jump-nav .content-width {
    min-height: 54px;
  }

  .jump-nav a {
    padding-block: 0.9rem;
  }

  .image-placeholder__frame {
    min-height: 240px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-cta,
  .site-footer__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-cta .button {
    width: 100%;
  }
}

.topic-image {
  display: block;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 8 / 5;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ajordi-name,
p .ajordi-name,
a .ajordi-name,
h1 .ajordi-name,
h2 .ajordi-name,
h3 .ajordi-name {
  color: var(--red);
}

/* =========================================================
   FAQ – Kategorienauswahl dauerhaft sichtbar
   In CSS/IT-Leistungen-Style.css einfügen
   ========================================================= */

:root {
  --faq-header-offset: 85px;
}

/* Hauptmenü bleibt oben */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Kategorienauswahl bleibt direkt unter dem Hauptmenü */
.faq-subnav {
  position: sticky;
  top: var(--faq-header-offset);
  z-index: 990;
  width: 100%;
  background: var(--surface, #ffffff);
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Verhindert, dass Inhalte beim Scrollen durchscheinen */
.faq-subnav__inner {
  background: var(--surface, #ffffff);
}

/* Mobil: Höhe des Hauptmenüs bei Bedarf anpassen */
@media (max-width: 760px) {
  :root {
    --faq-header-offset: 64px;
  }

  .faq-subnav {
    top: var(--faq-header-offset);
  }
}

/* Kreislauf: Informatik-Unterstützung für Senioren */
.support-cycle {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 7rem 18rem;
  min-height: 660px;
  margin-top: 2.5rem;
  align-items: center;
}

.support-cycle::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  top: 50%;
  left: 50%;
  border: 12px solid rgba(13, 89, 102, 0.22);
  border-right-color: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
}

.support-cycle::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(50% - 154px);
  left: calc(50% + 105px);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 23px solid var(--accent);
  transform: rotate(46deg);
}

.support-cycle__ring {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  place-items: center;
  padding: 1.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transform: translate(-50%, -50%);
}

.support-cycle__ring span {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.support-cycle__step {
  position: relative;
  z-index: 3;
  min-height: 205px;
  padding: 1.7rem 1.7rem 1.7rem 5rem;
  background: #759bb0;
  border-color: #405a68;
  color: var(--text);
  box-shadow: var(--shadow);
}

.support-cycle__step p {
  color: #fff;
  font-weight: 600;
}

.support-cycle__number {
  position: absolute;
  display: grid;
  width: 3rem;
  height: 3rem;
  top: 1.5rem;
  left: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.support-cycle__step--1 { grid-column: 1; grid-row: 1; }
.support-cycle__step--2 { grid-column: 2; grid-row: 1; }
.support-cycle__step--3 { grid-column: 2; grid-row: 2; }
.support-cycle__step--4 { grid-column: 1; grid-row: 2; }

@media (max-width: 1050px) {
  .support-cycle {
    gap: 6rem 12rem;
  }

  .support-cycle::before {
    width: 280px;
    height: 280px;
  }

  .support-cycle__ring {
    width: 185px;
    height: 185px;
  }
}

@media (max-width: 820px) {
  .support-cycle {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }

  .support-cycle::before,
  .support-cycle::after,
  .support-cycle__ring {
    display: none;
  }

  .support-cycle__step {
    min-height: 0;
  }

  .support-cycle__step:not(:last-child)::after {
    content: "↓";
    position: absolute;
    left: 50%;
    bottom: -1.35rem;
    color: var(--accent);
    font-size: 1.8rem;
    font-weight: 800;
    transform: translateX(-50%);
  }
}
