/*
Theme Name: Pflegegrad Startklar
Theme URI: https://pflegegrad-startklar.de
Author: Pflegegrad Startklar
Description: Landingpage-Theme fuer das digitale Vorbereitungspaket Pflegegrad Startklar.
Version: 1.0.4
Text Domain: pflegegrad-startklar
*/

:root {
  --ink: #172326;
  --muted: #5f6f72;
  --paper: #f7f5ed;
  --soft: #eef3f1;
  --white: #ffffff;
  --teal: #0f6f68;
  --teal-dark: #0a4946;
  --rust: #b85f3c;
  --line: #dfe7e4;
  --shadow: 0 18px 42px rgba(23, 35, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

p {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 5vw;
  color: var(--white);
  background: rgba(14, 30, 31, 0.28);
  backdrop-filter: blur(14px);
}

.site-header-solid {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.site-header-solid .nav-links {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--rust);
  box-shadow: 0 14px 28px rgba(126, 55, 30, 0.24);
}

.button-primary:hover {
  background: #9f4f31;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.button-small {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  color: var(--white);
  background: var(--teal);
  font-size: 0.9rem;
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 7.5rem 5vw 4.5rem;
  color: var(--white);
  background-image: url("assets/hero-pflegegrad-startklar.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 24, 0.88) 0%, rgba(8, 22, 24, 0.68) 42%, rgba(8, 22, 24, 0.14) 100%),
    linear-gradient(0deg, rgba(8, 22, 24, 0.45) 0%, rgba(8, 22, 24, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(42rem, 100%);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--rust);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #f0b08f;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: 3.55rem;
}

h2 {
  font-size: 2.45rem;
}

h3 {
  font-size: 1.1rem;
}

.hero-claim {
  max-width: 40rem;
  margin-top: 1.15rem;
  font-size: 1.45rem;
  font-weight: 750;
}

.hero-text {
  max-width: 39rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.fineprint {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero .fineprint {
  color: rgba(255, 255, 255, 0.74);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.signal-strip div {
  padding: 1.35rem 5vw;
  background: var(--white);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--teal-dark);
  font-size: 1rem;
}

.signal-strip span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 5rem 5vw;
}

.section-light {
  background: var(--paper);
}

.section-muted {
  background: var(--soft);
}

.section-inner {
  width: min(70rem, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
}

.lead-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  width: min(48rem, 100%);
  margin-bottom: 2.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 13.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-number {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--rust);
  font-weight: 900;
  font-size: 0.78rem;
}

.feature-card p,
.steps p,
.offer-layout p,
.faq-list p {
  margin-top: 0.65rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  padding: 1.4rem;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--soft);
}

.steps span {
  display: grid;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.offer-section {
  color: var(--white);
  background: var(--teal-dark);
}

.offer-section .eyebrow {
  color: #f0b08f;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 3rem;
  align-items: center;
}

.offer-layout p {
  color: rgba(255, 255, 255, 0.82);
}

.offer-box {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.price {
  color: var(--white) !important;
  font-size: 2.3rem;
  font-weight: 900;
}

.price-note {
  margin: 0.25rem 0 1.15rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 850;
}

details p {
  padding: 0 1.15rem 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 5vw;
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink);
}

.site-footer p {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

.simple-page {
  background: var(--paper);
}

.simple-main {
  min-height: calc(100vh - 5rem);
  display: grid;
  place-items: center;
  padding: 4rem 5vw;
}

.download-panel,
.legal-page {
  width: min(52rem, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.download-panel h1,
.legal-page h1 {
  font-size: 2.35rem;
}

.download-panel > p {
  margin-top: 1rem;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.download-actions .button-secondary {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: var(--white);
}

.legal-page {
  margin: 4rem auto;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.legal-page p {
  margin-top: 0.75rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .two-column,
  .offer-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .steps,
  .signal-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .brand span:last-child {
    max-width: 8.6rem;
  }

  .hero {
    min-height: 86vh;
    padding: 6.5rem 1rem 3rem;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 22, 24, 0.9) 0%, rgba(8, 22, 24, 0.72) 100%);
  }

  .hero-claim {
    font-size: 1.18rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section,
  .signal-strip div,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .button-small {
    display: none;
  }
}

