:root {
  --ink: #3b4743;
  --muted: #66716d;
  --paper: #fffdf8;
  --soft: #f3eee4;
  --orange: #f1a24d;
  --orange-dark: #de790c;
  --orange-soft: #fee7ce;
  --sage: #7fb28c;
  --sage-dark: #5f8d70;
  --sage-soft: #edf6ef;
  --line: #ddd5c8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(45, 53, 49, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(95, 141, 112, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(222, 121, 12, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 6vw, 86px);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-block;
  min-width: 260px;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--orange);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.05;
}

.brand small {
  margin-top: 5px;
  color: var(--orange-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.site-header nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--orange-dark);
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 246, 232, 0.86) 100%),
    var(--paper);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: none;
}

.hero::before {
  content: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 760px;
  margin: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
  width: 100%;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 86px) clamp(54px, 7vw, 88px);
}

.hero-visual {
  position: relative;
}

.hero-visual figure {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(222, 121, 12, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(45, 53, 49, 0.13);
  transform: rotate(1.2deg);
}

.hero-visual figure::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 34px;
  width: 86px;
  height: 20px;
  border-radius: 3px;
  background: rgba(241, 162, 77, 0.24);
  transform: rotate(-4deg);
}

.hero-visual img {
  position: static;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 5px;
  background: #fffaf3;
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  hyphens: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.05rem, 3vw, 3.35rem);
}

.title-mobile {
  display: none;
}

.title-desktop,
.title-desktop span {
  display: block;
}

h2 {
  font-size: clamp(1.75rem, 2.55vw, 2.85rem);
}

h3 {
  font-size: 1.24rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
}

.trust-note {
  display: inline-block;
  max-width: 560px;
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--sage);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--orange-dark);
  color: var(--white);
}

.button.secondary {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: rgba(255, 255, 255, 0.72);
}

.button.secondary:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
  background: var(--sage-soft);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 86px);
  scroll-margin-top: 96px;
}

.intro,
.about,
.contact {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 82px);
}

.text-flow p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.therapy-note {
  position: relative;
  display: grid;
  gap: 5px;
  max-width: 360px;
  margin: 10px 0 26px;
  padding: 18px 20px 16px;
  border-radius: 8px;
  background: #fff9dc;
  box-shadow: 0 14px 32px rgba(45, 53, 49, 0.1);
  color: var(--ink);
  transform: rotate(-0.6deg);
}

.therapy-note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 28px;
  width: 72px;
  height: 16px;
  border-radius: 3px;
  background: rgba(241, 162, 77, 0.2);
  transform: rotate(-3deg);
}

.therapy-note span {
  font-family: "Lucida Handwriting", "Segoe Print", cursive;
  font-size: 1.08rem;
  line-height: 1.35;
}

.therapy-note small {
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.45;
}

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

#lerntherapie {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 247, 235, 0.76) 100%);
}

#ablauf {
  background:
    linear-gradient(90deg, rgba(127, 178, 140, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(222, 121, 12, 0.026) 1px, transparent 1px),
    #ffffff;
  background-size: 42px 42px;
  border-top: 1px solid rgba(221, 213, 200, 0.72);
  border-bottom: 1px solid rgba(221, 213, 200, 0.72);
}

#leistungen {
  background: linear-gradient(180deg, #f6fbf7 0%, #fffdf8 100%);
}

#ueber-mich {
  background: linear-gradient(180deg, #f9f5ee 0%, #f2f7f0 100%);
  border-top: 1px solid rgba(127, 178, 140, 0.28);
  border-bottom: 1px solid rgba(127, 178, 140, 0.28);
}

#kontakt {
  background: linear-gradient(180deg, #ffffff 0%, #fff9f0 100%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--sage) 100%);
}

.steps,
.cards {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  position: relative;
  max-width: 920px;
}

.steps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--sage) 100%);
  opacity: 0.45;
}

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

.steps article,
.card,
.contact-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.steps article {
  position: relative;
  padding-left: 76px;
  border-left: 0;
  box-shadow: 0 12px 30px rgba(45, 53, 49, 0.08);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card::before {
  content: "";
  display: block;
  height: 5px;
  margin: -30px -30px 24px;
  background: transparent;
  transition: background-color 180ms ease;
}

.card:nth-child(1) {
  border-color: var(--line);
  background: var(--white);
}

.card:nth-child(1):hover::before {
  background: #f1a24d;
}

.card:nth-child(2) {
  border-color: var(--line);
  background: var(--white);
}

.card:nth-child(2):hover::before {
  background: var(--sage);
}

.card:nth-child(3) {
  border-color: var(--line);
  background: var(--white);
}

.card:nth-child(3):hover::before {
  background: #78a9c5;
}

.steps article,
.card {
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card:hover {
  border-color: rgba(222, 121, 12, 0.58);
  background: var(--orange-soft);
  box-shadow: 0 20px 48px rgba(222, 121, 12, 0.18);
  transform: translateY(-2px);
}

.card:nth-child(1):hover {
  border-color: rgba(222, 121, 12, 0.48);
  background: var(--orange-soft);
  box-shadow: 0 20px 48px rgba(222, 121, 12, 0.16);
}

.card:nth-child(2):hover {
  border-color: rgba(95, 141, 112, 0.48);
  background: var(--sage-soft);
  box-shadow: 0 20px 48px rgba(95, 141, 112, 0.16);
}

.card:nth-child(3):hover {
  border-color: rgba(72, 133, 166, 0.48);
  background: #dfeff6;
  box-shadow: 0 20px 48px rgba(72, 133, 166, 0.15);
}

.steps article {
  padding: 24px 24px 24px 76px;
}

.steps span {
  position: absolute;
  left: 21px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--orange-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px rgba(255, 253, 248, 0.95), 0 0 0 8px rgba(127, 178, 140, 0.28);
}

.steps p,
.card p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
}

.card {
  padding: 30px 28px 28px;
}

.card h3 {
  max-width: none;
  min-height: 2.28em;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.14;
  overflow-wrap: normal;
}

.card p {
  margin-top: 18px;
  font-size: 0.98rem;
  line-height: 1.62;
}

.qualification {
  margin: 18px 0 0;
  color: var(--sage-dark);
  font-weight: 700;
}

.experience-callout {
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.74);
  color: var(--ink) !important;
  font-size: 1.05rem !important;
  font-weight: 650;
}

.portrait,
.contact-image {
  margin: 0;
}

.portrait img,
.contact-image img {
  width: 100%;
  border-radius: 6px;
}

.inline-image {
  float: left;
  width: min(220px, 42%);
  margin: 8px 30px 18px 0;
}

.portrait {
  position: relative;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 38px rgba(45, 53, 49, 0.12);
  transform: rotate(-1.1deg);
}

.portrait::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 76px;
  height: 18px;
  border-radius: 3px;
  background: rgba(127, 178, 140, 0.28);
  transform: translateX(-50%) rotate(3deg);
  z-index: 1;
}

.portrait img {
  position: relative;
  z-index: 0;
  box-shadow: none;
}

.contact-image img {
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #fffaf3;
  box-shadow: none;
}

.contact-image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

address {
  margin-top: 20px;
  color: var(--muted);
  font-style: normal;
}

.contact-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 0;
}

.phone {
  color: var(--orange-dark);
  font-size: 1.02rem;
  font-weight: 650;
  text-decoration: none;
}

.mail {
  color: var(--orange-dark);
  font-size: 1.02rem;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.phone:hover,
.mail:hover {
  text-decoration: underline;
}

.contact-panel {
  padding: 30px;
  border-color: rgba(127, 178, 140, 0.4);
  box-shadow: 0 18px 45px rgba(95, 141, 112, 0.13);
}

.contact-panel .button {
  margin-top: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 86px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 1.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    scroll-margin-top: 152px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .hero-visual {
    max-width: 460px;
  }

  .intro,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: static;
    gap: 14px;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: 0.94rem;
  }

  .site-header nav {
    gap: 10px 14px;
  }

  .site-header nav a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    align-items: end;
  }

  .hero img {
    object-position: 58% center;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
  }

  .hero-inner {
    gap: 30px;
    padding: 42px 18px 48px;
  }

  .hero-visual figure {
    padding: 12px;
    transform: rotate(0.5deg);
  }

  .hero-visual figcaption {
    font-size: 0.86rem;
  }

  .hero-visual img {
    max-height: 185px;
  }

  .hero-visual figcaption {
    display: none;
  }

  .trust-note {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .therapy-note {
    max-width: 100%;
    font-size: 0.96rem;
  }

  .therapy-note span {
    font-size: 1rem;
  }

  .therapy-note small {
    font-size: 0.92rem;
  }

  .steps {
    gap: 14px;
  }

  .steps::before {
    content: none;
  }

  .steps article {
    padding: 22px;
  }

  .steps span {
    position: static;
    display: inline-flex;
    width: auto;
    height: auto;
    min-width: 36px;
    margin-bottom: 12px;
    padding: 4px 9px;
    border: 1px solid rgba(127, 178, 140, 0.34);
    border-radius: 999px;
    background: #f4faf5;
    color: var(--orange-dark);
    box-shadow: none;
  }

  h1 {
    font-size: clamp(1.62rem, 6.8vw, 1.82rem);
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
    padding-inline: 12px;
  }

  .section {
    padding: 58px 18px;
    scroll-margin-top: 18px;
  }

  .card,
  .contact-panel {
    padding: 24px;
  }

  .card::before {
    margin: -24px -24px 22px;
  }

  .card h3 {
    min-height: 0;
    max-width: none;
  }

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

  .inline-image {
    float: none;
    width: min(230px, 100%);
    margin: 0 0 22px;
  }

  .portrait {
    transform: rotate(-0.5deg);
  }

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

@media (max-width: 360px) {
  .site-header nav {
    gap: 8px 12px;
  }

  .site-header nav a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: 1.48rem;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .hero-actions .button {
    flex-basis: 100%;
  }
}
