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

* {
  font-weight: 200;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: row;
  margin: 0;
  background-color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
  text-wrap: pretty;
}

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

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

figure {
  margin: 0;
}

.menu {
  position: fixed;
  left: 0;
  z-index: 100;
  background-color: #f5f5f5;
  border-right: 2px solid black;
  padding: 3rem 0;
  height: 100vh;
  width: 25vw;
  overflow-y: scroll;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  min-height: stretch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.id-card,
.nav {
  height: stretch;
  flex: 1 1 0;
  justify-content: space-between;
}

.id-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: center;
  text-align: left;
  max-height: fit-content;
  width: min-content;
}

.id-card h1 {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 0.95;
}

.mobile {
  display: none;
}

.id-card h1 span,
.id-card .desktop span,
.address-desktop {
  display: inline-block;
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
}

.address-desktop {
  margin: 0 auto;
}

.id-card h2 {
  display: none;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 55vh;
}

.nav h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 200;
}

.id-card .desktop {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

#contact,
.contact {
  display: none;
}

.content {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  margin-left: 25vw;
}

section {
  padding: 4rem 0;
  min-height: 75vh;
}

section#welcome {
  padding-top: 2rem;
}

.welcome-center {
  text-align: center;
  margin-bottom: 2rem;
}

.welcome-center h3 {
  display: none;
}

desktop {
  display: block;
}

.image {
  margin: 1.5rem auto;
  width: 45vw;
}

.about-image {
  max-width: 700px;
}

figcaption {
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  text-align: left;
}

h2 {
  margin: 0 0 1.25rem;
  font-weight: 200;
}

h3 {
  margin: 2rem 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  text-transform: uppercase;
  font-weight: 200;
}

.text {
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.text p {
  margin: 0 0 1rem;
}

.address {
  margin: 1rem 0 0;
  text-align: center;
  font-style: normal;
}

.text-container {
  display: grid;
}

ol,
ul {
  margin: 0 0 1.5rem;
}

ol {
  padding-left: 1.25rem;
}

ul {
  padding-left: 1.25rem;
}

ol li,
ul li {
  margin-bottom: 0.75rem;
}

.ol-text {
  margin-bottom: 1.5rem;
}

.nav .active,
.anchor h2 {
  display: inline-block;
  border-bottom: solid 2px #f9e4b7;
}

a:hover,
.welcome.active {
  text-decoration: none;
}

.nav .psychotherapy,
#psychotherapy h2 {
  border-bottom-color: #f9e4b7;
  padding: 3px;

}

.nav .process,
#process h2 {
  border-bottom-color: #f9e4b7;
  padding: 3px;
}

.nav .about,
#about h2 {
  border-bottom-color: #f9e4b7;
  padding: 3px;
}

.nav .contact,
#contact h2 {
  text-decoration-color: #f9e4b7;
  padding: 3px;
}

.imprint {
  font-size: clamp(.6rem, 1vw, 5.5rem);
}

@media (max-width: 900px) {
  body {
    flex-direction: column;
  }

  .mobile {
    display: block;
  }

  .anchor {
    scroll-margin-top: 2rem;
  }

  .menu {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #f5f5f5;
    border-bottom: 2px solid black;
    border-right: none;
    padding: 1rem 0;
    height: auto;
    width: 100vw;
    align-items: unset;
  }

  .nav {
    gap: 0.5rem;
    min-height: unset;
  }

  .container {
    align-items: flex-start;
    gap: 1.5rem;
    height: unset;
  }

  .id-card {
    align-self: unset;
    min-height: stretch;
  }

  .id-card h1 {
    font-size: clamp(1.6rem, 5vw, 3rem);
  }

  .id-card h2 {
    display: block;
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    font-weight: 200;
  }

  .image {
    margin: 1.5rem auto;
    width: auto;
  }

  .welcome-center h2 {
    display: block;
    margin: 0;
    font-weight: 200;
  }

  .welcome-center h3 {
    display: block;
    margin: 0.25rem 0;
    text-transform: none;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 200;
  }

  .nav h2,
  .id-card h1,
  .id-card h2,
  .welcome-center h2,
  h2 {
    font-size: clamp(1.3rem, 2.8vw, 1.4rem);
  }

  .content {
    padding: 1rem 0 0 0;
    margin: 0 auto;
  }

  .anchor {
    scroll-margin-top: 9rem;
  }

  #contact,
  .contact {
    display: block;
  }

  .desktop {
    display: none;
  }

  .imprint {
    font-size: clamp(.6rem, 1vw, 5.5rem);
  }
}

@media (max-width: 700px) {
  .menu {
    padding: 0.75rem 0;
  }

  .container {
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
  }

  .id-card,
  .nav {
    width: 100%;
  }

  .nav {
    align-items: end;
    text-align: left;
    gap: 0.4rem;
  }

  .content {
    width: min(100% - 1.5rem, 1200px);
  }

  section {
    padding: 3rem 0;
  }

  .welcome-center {
    margin-bottom: 1.5rem;
  }

  .anchor {
    scroll-margin-top: 7rem;
  }

  .imprint {
    font-size: clamp(.6rem, 1vw, 5.5rem);
  }
}