*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #F6F9F8;
  --color-bg-soft: #E7F1EF;
  --color-sage: #1F756F;
  --color-sage-dark: #155D58;
  --color-water: #DBEAE7;
  --color-text: #2F4A47;
  --color-text-muted: #607477;
  --color-heading: #10282F;
  --color-border: #B7D1CB;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(31, 117, 111, 0.42);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container {
  width: min(100% - 2.6rem, var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 249, 248, 0.86);
  border-bottom: 1px solid rgba(183, 209, 203, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.topbar-logo img {
  width: 152px;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(13, 73, 69, 0.18));
}

.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.topbar-nav a {
  color: var(--color-heading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 600;
}

.topbar-nav a:hover {
  color: var(--color-sage);
}

.hero {
  padding: clamp(72px, 12vw, 118px) 0 clamp(52px, 8vw, 86px);
  background:
    linear-gradient(180deg, rgba(231, 241, 239, 0.98) 0%, rgba(246, 249, 248, 1) 100%);
}

.hero--photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(520px, 72svh, 760px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(246, 249, 248, 0.94) 0%, rgba(246, 249, 248, 0.78) 42%, rgba(246, 249, 248, 0.38) 100%),
    url("psychosoziale-beratung-bg.jpg") center 46% / cover no-repeat;
}

.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(246, 249, 248, 0.14) 0%, rgba(246, 249, 248, 0.7) 100%);
}

.hero--photo .container {
  width: 100%;
}

.breadcrumb {
  color: var(--color-sage);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  text-decoration-color: rgba(31, 117, 111, 0.32);
  text-underline-offset: 0.2em;
}

.eyebrow,
.section-label {
  color: var(--color-sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5rem);
  max-width: 12ch;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  margin-bottom: 0.55rem;
}

p {
  max-width: 72ch;
}

.hero-lede,
.section-lede {
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.76;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.btn {
  min-height: 50px;
  border: 1px solid rgba(31, 117, 111, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.35rem;
  color: var(--color-heading);
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn--primary {
  background: var(--color-sage);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 73, 69, 0.22);
}

.btn--primary:hover {
  background: var(--color-sage-dark);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
}

.btn--secondary:hover {
  background: rgba(207, 232, 227, 0.56);
  transform: translateY(-1px);
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

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

.section--white {
  background: var(--color-bg);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card,
.callout,
.info-list li {
  border: 1px solid rgba(183, 209, 203, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.card {
  padding: 1.45rem;
}

.card p,
.body-copy p,
.info-list li {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.body-copy {
  display: grid;
  gap: 1rem;
  max-width: 78ch;
}

.work-method-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(1.2rem, 3vw, 2.1rem);
  align-items: start;
}

.work-method-layout .body-copy {
  max-width: 66ch;
}

.work-method-photo {
  margin: 0;
  align-self: start;
}

.work-method-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 44%;
  border-radius: var(--radius);
  border: 1px solid rgba(183, 209, 203, 0.92);
  box-shadow: 0 18px 42px rgba(13, 73, 69, 0.12);
}

.info-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding: 0;
}

.info-list li {
  padding: 0.95rem 1rem 0.95rem 2.1rem;
  position: relative;
}

.info-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-sage);
  position: absolute;
  left: 1rem;
  top: 1.62rem;
}

.callout {
  margin-top: 1.1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: linear-gradient(180deg, rgba(231, 241, 239, 0.9), rgba(255, 255, 255, 0.8));
}

.callout h2 {
  max-width: none;
}

.legal {
  padding: clamp(50px, 8vw, 82px) 0;
}

.legal h1 {
  max-width: none;
  margin-bottom: 1.2rem;
}

.legal h2 {
  max-width: none;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-top: 2rem;
}

.legal h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.2rem;
}

.legal p,
.legal li {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal ul {
  margin: 0.65rem 0 1rem;
  padding-left: 1.2rem;
}

.legal-box {
  border: 1px solid rgba(183, 209, 203, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem 1.05rem;
  margin: 0.85rem 0 1rem;
  color: var(--color-text-muted);
}

.legal-meta {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.legal-sep {
  margin-top: 1.35rem;
  border-top: 1px solid rgba(183, 209, 203, 0.92);
  padding-top: 1.2rem;
}

.legal a {
  color: var(--color-sage);
  font-weight: 700;
  text-decoration-color: rgba(31, 117, 111, 0.32);
  text-underline-offset: 0.2em;
}

.footer {
  background: #E7F1EF;
  border-top: 1px solid rgba(183, 209, 203, 0.9);
  padding: 2.6rem 0;
  color: #385755;
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand img {
  width: 142px;
  filter: drop-shadow(0 1px 2px rgba(13, 73, 69, 0.18));
}

.footer-name {
  color: var(--color-heading);
  font-weight: 600;
}

.footer-sub {
  color: #5F7573;
  font-size: 0.88rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.5rem 0.95rem;
  width: 100%;
}

.footer-nav a,
.footer-copy {
  color: #4A6160;
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--color-heading);
}

@media (max-width: 780px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 2rem, var(--container));
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-nav {
    justify-content: flex-start;
    gap: 0.45rem 0.85rem;
  }

  .topbar-nav a {
    font-size: 0.7rem;
  }

  h1 {
    max-width: none;
  }

  .grid--2,
  .grid--3,
  .work-method-layout {
    grid-template-columns: 1fr;
  }

  .work-method-photo {
    max-width: 360px;
  }

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

  .footer-nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
