/* --------------------------- CSS RESET ------------------------------ */
* {padding: 0; margin: 0; box-sizing: border-box;}
img { max-width: 100%; height: auto; }
[class*=col] { padding: 0; }
[class*=grid] { margin: 0; }
section { position: relative; }
/* ------------------------ CSS Variables ------------------------------- */
:root {
  --dark: #0E0B1F;
  --featured: #baafee;
  --medium: #2a2155;
  --light: #f2effc;
  --v-light: #ffffeb;
  --white: #fff;
}
/* ---------------------- Typography Styles ----------------------------- */
@font-face {
  font-family: 'Marcellus';
  src: url('fonts/Marcellus-Regular.woff2') format('woff2'),
       url('fonts/Marcellus-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'PT Sans';
  src: url('fonts/PTSans-Regular.woff2') format('woff2'),
       url('fonts/PTSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Reenie Beanie';
  src: url('fonts/ReenieBeanie-Regular.woff2') format('woff2'),
      url('fonts/ReenieBeanie-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.right   { text-align: right; }
.center  { text-align: center; }

body {
  font-family: 'PT Sans', sans-serif;
  color: var(--dark);
  padding-top: 5rem;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
}

header.shrink {
  transition: ease 0.3s;
  box-shadow: 0 10px 20px rgba(186, 175, 238, 0.1);
}

h1, h2, h3, h4, h5, h6, nav {
  line-height: 1.1;
  margin-bottom: 1.2rem;
  font-family: 'Marcellus', serif;
}

h1 { font-size: 3rem;}
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; line-height: 1.6;}
h4 { font-size: 1.4rem;}
h5 { font-size: 1.2rem;}
h6 { font-size: 1rem;}

p, a, li {
  line-height: 1.6; 
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

ul {padding-left: 5%;}
li {margin-bottom: 0.5rem; margin-left: 0.5rem;}
li:last-child {margin-bottom: 1rem;}

h2:last-child, 
h3:last-child, 
h4:last-child, 
h5:last-child, 
h6:last-child, 
p:last-child {
	margin-bottom: 0;
}

/* Unique Typography Styles  */
.light-text     { color: var(--light);}
.copyright      { font-size: 0.9rem; opacity: 0.8; margin-top: 3rem;}
.signature {font-family: 'Reenie Beanie', cursive; font-size: 3.8rem; margin-left: 1rem;}
.emphasis {
  display: inline;
  background: linear-gradient(120deg, #fff176 0%, #fff176 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 85%;}

hr {
  color: var(--featured);
  border: 1px dashed;
  max-width: 85%;
  margin: auto;
}

/* ------------------------ Buttons & Links ------------------------ */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
  color: var(--featured); 
  transition: ease 0.1s;
}

p a {
    text-decoration: none;
    border-bottom: 1px solid;
}

p a:hover { 
  color: var(--featured); 
}

.button { 
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    padding: 0.5rem 1.5rem;
    border: 1px solid;
    border-radius: 5px;
}

.button:hover {
  background-color: var(--medium);
  color: white;
  border-color: var(--medium);
  transition: ease 0.3s;
}

/* .logo-hover img {transition: transform 1s ease-in-out;}
.logo-hover img:hover {transform: rotate(360deg);} */

.logo-hover img {
  transition: transform 0.6s ease-in-out;
}

.logo-hover img:hover {
  transform: rotate(15deg) scale(1.05);
}

/* ------------ Backgrounds & Background Images  ----------------------- */

.bg-dark     { background-color: var(--dark);}
.bg-featured { background-color: var(--featured);}
.bg-medium   { background-color: var(--medium);}
.bg-light    { background-color: var(--light);}
.bg-v-light  { background-color: var(--v-light);}

.bg-image {
    background-color: var(--light); /* Set a fall-back color while images are loading */ 
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
}

.bg-therapie {
  background-image: url('/images/kind.jpg');
}

.float-img {
    float: right;
    margin: 0 0 5% 5%;
    border-radius: 50%;
    width: 250px;         /* feste Breite fürs Bild */
    height: auto;
}

.square        { padding-bottom: 100%; }

/* cards */
.card, .card-contact {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.card:hover, .card-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 10px rgba(63, 21, 92, 0.15);
  color: var(--dark);
}

/* Unterschiede */
.card { min-height: 60vh; }
.card-contact { min-height: 20vh; text-align: center;}

.card .button {
    display: inline-block;  /* sorgt dafür, dass Button nur so breit wie Inhalt ist */
    margin-top: 1em;        /* Abstand zum Text */
    text-align: center;
    width: auto;             /* wichtig: überschreibt 100% Breite */
}

.card .button:hover,
.card-contact .button:hover {
  background-color: var(--medium);
  color: white;
  border-color: var(--medium);
  transition: ease 0.3s;
}

.card-icon {font-size: 2rem; padding-bottom: 2rem;}
.icon-margin{margin-left:-0.2rem; min-height: 2.3rem;}
.contact-info {font-size: 0.8rem; opacity: 0.5; margin-top: -0.5rem;}

/* ------------------ Hamburger Menu ---------------------- */
nav a {
    padding: 0.25rem 0.5rem;
    display: inline-block;
    text-decoration: none;
    text-transform: capitalize;
}
nav a:hover {
  color: var(--featured);
}

.logo {
  text-decoration: none;
  font-size: 2.5rem;
} 

/* mobile menu styles */
.hamburger-button {
    cursor: pointer;
    padding: 0.5rem;
    display: inline-block;
    font-weight: 200;
    font-size: 2.5rem;
    line-height: 0.8;
    position: fixed;
    right: 5%;
    top: -0.2rem;
    z-index: 4;
  }

  .hamburger-button:hover {color:var(--featured);}
  
  .hamburger-button.active {
    color: var(--featured);
  }
  
  .mobile-menu {
    display: none;
    padding: 5%;
    position: fixed; 
    z-index:3;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    min-height: 100vh;
    margin-top: 5rem;
  }
  
  .mobile-menu a {
    text-decoration: none; 
    color: inherit; 
    padding: 2%;
    display: block;
    font-weight: normal;
    font-size: 1.5rem;
  }

/* ------------ Contact Forms  ----------------------- */
form input,
form textarea {
 	width: 100%;
	padding: 0.5rem;
  border: 1.5px solid var(--medium); 	
  outline: none;
 	font-family: inherit;
 	font-size: 1rem;
  border-radius: 5px;
}

form input:focus,
form textarea:focus {
 	border-color: var(--featured);
}

textarea {
 	min-height: 4rem;
}

form label {
 	display: block;
 	font-weight: bold;
  font-size: 1.1rem;
}

form button {
   	border: 1.5px solid var(--medium);
    border-radius: 5px; 
   	font-weight: bold;
   	padding: 0.5rem 2rem;
   	margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    background-color: var(--light);
    color: var(--medium);
}

form button:hover {
  background: var(--medium);
  color: var(--light);
}

.button-wrapper {
    display: flex;
    justify-content: center;
}

/* ------------ Cookie banner Styles  ----------------------- */

#cookie-notice {
  display: none;
  padding: 2rem;
  text-align: center;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 30%;
  background: var(--medium);
  color: var(--white);
  min-height: 30%;
  z-index: 100;
  border-radius: 15px;
}

#cookie-notice p {
  font-size: 0.8rem;
  line-height: 1.1;
  padding: 1% 5%;
}

#cookie-notice h4{
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  text-transform: none;
}

#cookie-notice a {
  display: inline-block;
  cursor: pointer;
  margin-left: 0.5rem;
}

#cookie-notice .privacy a {
  padding-top: 1rem;
  margin: 0rem;
}

#cookie-notice .button-subtle {
  opacity: 0.8;
}

#cookie-notice .button:hover {
  color: var(--medium);
  background-color: var(--light);
  border-color: var(--light);
}

#cookie-banner-datenschutz{
  display: inline-block;
  font-size: 0.8rem;
  margin: 0 1rem;
  text-decoration: none;
  border-bottom: 1px solid;
}

.reshow-button {
  background-color: var(--light);
  position: fixed;
  bottom: -0.3rem;
  right: 0.1rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.8rem 0.8rem 0 0;
  cursor: pointer;
}

.hide-button.reshow-button {
  display:block;
  position: fixed;
  right: 0.2rem;
}

/* --------------- Negative Space Utility Classes  ---------------------- */ 
.capped-width           { max-width: 1000px; margin: auto; }
.capped-width-narrow    { max-width: 800px; margin: auto; }

.vh100 { min-height: 100vh;}
.vh90  { min-height: 90vh; }
.vh80  { min-height: 80vh; }
.vh70  { min-height: 70vh; }
.vh60  { min-height: 60vh; }
.vh50  { min-height: 50vh; }

/* Padding Utility Classes */ 
.padded-sm { padding: 2.5%; }
.padded    { padding: 5%;   }
.padded-lg { padding: 10%;  }
.padded-1  { padding: 1rem; }
.padded-t  { padding-top: 5%; }
.padded-tb  { padding-top: 2.5%; padding-bottom: 2.5%; }
.padded-lr  { padding-left: 5%; padding-right: 5%; }
.padded-t-05 { padding-top: 0.5rem; }
.padded-b-0 { padding-bottom: 0; }
.padded-nr {padding: 5%;}

/* Margin Utility Classes */ 
.margin-b { margin-bottom: 5%; }
.margin-l { margin-left: 5%; }
.margin-r { margin-right: 2.5%; }
.margin-t-05 { margin-top: 0.5rem; }
.margin-b-05 { margin-bottom: 0.5rem; }
.margin-r-05 { margin-right: 0.5rem; }
.margin-t-1 { margin-top: 1.2rem; }
p.margin-b-1 { margin-bottom: 1.2rem; }
.margin-t-2 { margin-top: 2rem; }
.margin-r-2 { margin-right: 2rem; }
.margin-b-0 { margin-bottom: 0; }
.margin-neg { margin-left: -1.5rem;}

/* google maps embed */
.map-container {
  position: relative;
  padding-bottom: 35%;
  height: 0;
  overflow: hidden;
  max-width: 75%;
  border-radius: 10px;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ------------------------ Responsive Styles -------------------------- */
.xs-show, 
.sm-show,
.md-show {
	display: none; 
}
/* 1100px für cards media query */
@media(max-width:1100px) {.card {min-height: 65vh;}}
/* ------------------ MD Media Query (64em / 1024px) --------------- */ 
@media(max-width:64em) {
	.md-show { display: block; }
	.md-hide { display: none;  }
  .md-center {text-align: center;}
  .card {min-height: 50vh;}
  .md-landscape {padding-bottom: 66%;}
  #cookie-notice {
    width: 50%;
  }
}
/* ------------------- SM Media Query (48em / 768px) --------------- */ 
@media(max-width:48em) {
	.sm-hide { display: none;  }
	.sm-center { text-align: center; }
  .sm-padded-t {padding-top: 5%;}
  h1 {font-size: 2.5rem;}
  .float-img {
   float: none;
   display: block;
   margin: 1em auto;
  }
 .sm-vh50 {min-height: 50vh;}
 .map-container {padding-bottom: 70%; max-width: 100%;}
 .hamburger-button {top: 0.3rem;}
}
/* ---------------- XS Media Query (36em / 576px) ------------------- */ 
@media(max-width:36em) {
	.xs-hide { display: none;  }
  h1 {font-size: 2.1rem;}
  h2 {font-size: 1.8rem;}
  h3 {font-size: 1.3rem;}
  h4 {font-size: 1rem;}
  h5 {font-size: 1rem;}
  h6 {font-size: 1rem;}
  .card-contact {min-height: fit-content;}
  .xs-padded-0 {padding: 0; margin-right: 1rem;}
  .card-icon {padding-bottom: 0;}
  .padded {padding: 12% 8% 12% 8%;}
  .padded-nr {padding: 12% 5% 12% 5%;}
  .sm-padded-lr {padding-left: 8%; padding-right: 8%;}
  .hamburger-button {top: 0.8rem;}
  .margin-b {margin-bottom: 12%;}
  #cookie-notice {
      width: calc(100% - 2rem);
  }
}
/* xxs media query */
@media(max-width:400px) {
  .card-icon, .icon-margin{margin-left:-0.4rem;}  
}