/* Fonts (von adobe geladen)*/

@font-face {
  font-family: 'IvySoft Variable';
  src: url('../fonts/IvySoft-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


:root {
  --font-body: 'ivysoft-variable', sans-serif;
  --font-script: 'filmotype-lacrosse', cursive;

  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --color-overlay: rgba(23, 43, 56, 0.55);

  --sidebar-padding-x: 70px;
}

/* seo überschriften (nicht sichtbar) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


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

html,
body {
  height: 100%;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: var(--font-body);
  font-variation-settings: "slnt" 0, "wght" 200;
  color: var(--color-dark);
  line-height: 1.5;
}

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

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

/* index */

.hero {
  display: grid;
  grid-template-columns: 66% 34%; 
  height: 100vh;
  overflow: hidden;
}


.hero-image {
  position: relative;
  overflow: hidden;
  min-width: 0; 
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--color-overlay) 0%,
    rgba(23, 43, 56, 0.25) 22%,
    rgba(23, 43, 56, 0) 45%
  );
  pointer-events: none;
}

.hero-brand {
  position: absolute;
  top: 48px; 
  left: 60px; 
  z-index: 2;
}

/* mobile layout */
.brand-logo {
  width: clamp(220px, 32vw, 600px);
  height: auto;
}

/* sidebar */

.hero-sidebar {
  background: var(--color-white);
  padding: clamp(28px, 5vw, 56px) clamp(24px, 6vw, var(--sidebar-padding-x));
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-top {
  text-align: right;
}

/* text */
.sidebar-role {
  font-size: clamp(13px, 1.3vw, 17px); 
  color: var(--color-dark);
  margin-bottom: 15px; 
}


.sidebar-email {
  display: inline-block;
  font-size: clamp(13px, 1.3vw, 17px); 
  font-variation-settings: "slnt" 0, "wght" 600; 
}

.sidebar-email:hover {
  text-decoration: underline;
}

/* Über mich, kontakt und Therapie Links */

.sidebar-nav {
  margin-top: clamp(32px, 20vh, 45vh); 
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vh, 45px); 
}


.nav-link {
  display: flex;
  align-items: center;
  gap: 15px; 
  font-size: clamp(20px, 3vw, 35px); 
  font-variation-settings: "slnt" 0, "wght" 500; 
  width: fit-content;
}

/* pfeile für Links */
.nav-link .arrow {
  position: relative;
  display: inline-block;
  width: clamp(45px, 7vw, 90px); 
  height: 1px; 
  background: var(--color-dark);
  transition: width 0.3s ease; 
}

.nav-link:hover .arrow {
  width: clamp(60px, 9vw, 115px); 
}

.nav-link .arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  border-style: solid;
  border-width: 3.5px 0 3.5px 4px;
  border-color: transparent transparent transparent var(--color-dark);
}

/* grid foto und text layout*/

.page {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  min-height: 100vh; 
}


.page--reverse .page-photo {
  order: -1;
}

.page-content {
  padding: clamp(28px, 6vw, 56px) clamp(24px, 8vw, 75px); 
  display: flex;
  flex-direction: column;
  min-width: 0; 
}

.page-photo {
  position: relative;
  overflow: hidden;
  min-width: 0; 
}

.page-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 10%;
}



.page-label {
  display: flex;
  align-items: center;
  gap: 18px; 
  margin-bottom: clamp(32px, 7vw, 64px); 
}

.page-label-icon {
  width: clamp(44px, 6vw, 76px); 
  height: auto;
}

.page-label-text {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(16px, 2vw, 25px); 
  font-variation-settings: "slnt" 0, "wght" 500; 
}

.page-label-text .arrow {
  position: relative;
  display: inline-block;
  width: clamp(30px, 4vw, 44px);
  height: 1px;
  background: var(--color-dark);
  transition: width 0.3s ease;
}

.page-label:hover .arrow {
  width: clamp(44px, 5.5vw, 62px);
}

.page-label-text .arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -3px;
  border-style: solid;
  border-width: 3px 0 3px 5px;
  border-color: transparent transparent transparent var(--color-dark);
}

/* überschriften */
.page-signature {
  font-family: var(--font-body);
  font-variation-settings: "slnt" 0, "wght" 500;
  font-size: clamp(34px, 5.5vw, 60px);
  color: var(--color-dark);
  margin-bottom: 25px;
}

.page-signature--long {
  font-size: clamp(28px, 4.5vw, 50px);
  text-wrap: balance;
}



.page-role-title {
  font-size: clamp(17px, 2vw, 25px);
  font-variation-settings: "slnt" 0, "wght" 500;
  margin-bottom: 20px;
}

.page-role-subtitle {
  font-size: clamp(17px, 2vw, 25px);
  font-variation-settings: "slnt" 0, "wght" 300;
  margin-bottom: 45px;
}

/* fliestext */

.page-text {
  font-size: clamp(15px, 1.4vw, 17px);
  font-variation-settings: "slnt" 0, "wght" 300; 
  max-width: 60ch;
  margin-bottom: 22px;
}

/* Blume mit Zitat */

/* größe */
.quote-flower {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 38vw, 550px);
  height: clamp(240px, 38vw, 550px);
  background-image: url('fotos/Zitat-BG.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.quote-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(28px, 7vw, 100px);
}

/* zitat */
.quote-text {
  font-family: var(--font-script);
  font-size: clamp(19px, 3vw, 40px);
  line-height: 1.35;
  color: var(--color-dark);
  text-wrap: balance; 
}

/* Virginia Satir */
.quote-author {
  margin-top: 16px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-style: italic;
  font-variation-settings: "slnt" 0, "wght" 300;
}

/* unterüberschriften */

.page-section-label {
  font-size: clamp(17px, 1.8vw, 22px);
  font-variation-settings: "slnt" 0, "wght" 500;
  margin-bottom: 25px;
}

/* Kontakt.html */


.contact-info {
  font-size: clamp(17px, 2vw, 25px); 
  font-variation-settings: "slnt" 0, "wght" 300;
  margin-bottom: 50px;
}

.contact-info strong {
  font-variation-settings: "slnt" 0, "wght" 600;
}

.contact-info a {
  font-variation-settings: "slnt" 0, "wght" 300;
}




/* Impressum und Datenschutz*/

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(50px, 10vw, 90px) clamp(20px, 6vw, 40px) clamp(70px, 14vw, 120px);
}

.legal-page h1 {
  font-family: var(--font-body);
  font-variation-settings: "slnt" 0, "wght" 700; 
  font-size: clamp(34px, 5vw, 60px); 
  margin-bottom: 50px;
}

.legal-page h2 {
  font-size: clamp(17px, 1.6vw, 20px); 
  font-variation-settings: "slnt" 0, "wght" 600;
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-page p,
.legal-page li {
  font-size: clamp(14px, 1.3vw, 16px); 
  font-variation-settings: "slnt" 0, "wght" 300;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-page a {
  text-decoration: underline;
}

.legal-note {
  margin-top: 60px;
  padding: 20px 24px;
  border: 1px solid var(--color-dark);
  border-radius: 4px;
  font-size: 14px;
  font-style: italic;
  font-variation-settings: "slnt" 0, "wght" 300;
}

/* footer für Impressum und datenschutz*/

.site-footer-links {
  position: fixed;
  bottom: 18px;
  right: 24px;
  z-index: 5;
  display: flex;
  gap: 18px;
  font-size: 12px;
  font-variation-settings: "slnt" 0, "wght" 300;
}

.site-footer-links a {
  color: var(--color-dark);
  opacity: 0.55;
}

.site-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}


.hero .site-footer-links a {
  color: var(--color-white);
}

/* Mobiles layout*/


@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr; 
    height: auto; 
    overflow: visible;
  }

  .hero-image {
    height: 55vh; 
  }

  .sidebar-nav {
    margin-top: clamp(28px, 6vh, 60px);
  }

  /* uebermich.html, kontakt.html, therapie.html */
  .page {
    grid-template-columns: 1fr; 
    height: auto; 
    overflow: visible;
  }

  .page-photo {
    height: 42vh; 
    order: -1; 
  }


  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .hours-row {
    flex-wrap: wrap;
  }

  
  .site-footer-links {
    right: 14px;
    bottom: 10px;
    gap: 12px;
    font-size: 11px;
  }
}
