@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@1&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #F1E6E2;
}

/* Header */
header.header {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 737px;
  background: url("julia-header-12.jpg") no-repeat center center;
  background-size: cover;
}

.header-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height: 100%;
  text-align: center;
  padding: 20px;
}

.logo {
  position: absolute;
  top: 77px;
  left: 77px;
}

.headline {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
}

.sun {
  position: absolute;
  bottom: 77px;
  left: 77px;
}

/* Globale Schriftgrößen */
p {
  font-size: 1.8vmax;
}

h1 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 2.3vmax;
  letter-spacing: 1px;
}

h3 {
  font-size: 1vmax;
  text-transform: uppercase;
}

/* About-Block (einspaltig) */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #000;
}

.about-section h1 {
  margin-bottom: 20px;
}

.about-section p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #A19A98;
}

/* Über-mich-Bild + Text nebeneinander */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
  align-items: flex-start;
}

.about-box {
  flex: 1 1 0;
  min-width: 280px;
  overflow: hidden;
}

.about-box img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Drei Blöcke – Hintergrund über volle Breite */
.three-blocks {
  background-color: #ffffff;
  padding: 40px 20px;
}

.three-blocks-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.three-blocks-container h2 {
  font-family: 'Instrument Serif', serif;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
  color: #000;
  font-size: 2.3vmax;
  letter-spacing: 1px;
}

.three-blocks-container .block {
  flex: 0 1 calc(33.33% - 50px);
  margin: 0;
  background-color: transparent;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
  color: #999;
}

.three-blocks-container .block p,
.three-blocks-container p {
  font-size: 1.2vmax;
  line-height: 1.6;
  color: #999;
}

/* Empfehlungen */
.empfehlung-section {
  margin: 0 auto;
  padding: 60px 20px;
  color: #000;
  background-color: #ecd8e6;
}

.empfehlung-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.empfehlung-container h2 {
  font-family: 'Instrument Serif', serif;
  text-align: left;
  color: #000;
  font-size: 2.3vmax;
  letter-spacing: 1px;
  margin: 0 0 20px 0;
  flex: 0 0 100%;
}

.empfehlung-section p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #A19A98;
}

.empfehlung-container .box {
  flex: 1 1 calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  margin: 10px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.empfehlung-container .box-title {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #000;
  font-size: 1.6vmax;
}

/* Bilder in den Boxen: Safari-sichere Variante ohne gap, max 2 pro Reihe */
.empfehlung-container .box-images {
  display: flex;
  flex-wrap: wrap;
  margin: -8px; /* für die inneren Margins der Bilder */
}

.empfehlung-container .box-images img,
.empfehlung-container .box-images a {
  box-sizing: border-box;
  width: calc(50% - 16px); /* zwei pro Reihe */
  margin: 8px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

/* Kontakt / Termin buchen */
.contact-appointment-section {
  background-color: #F1E6E2;
  padding: 40px 20px;
}

.contact-appointment-section h2 {
  font-family: 'Instrument Serif', serif;
  text-align: left;
  margin-bottom: 20px;
  color: #000;
  font-size: 2.3vmax;
  letter-spacing: 1px;
  max-width: 1200px;
  margin: 0 auto 20px;
}

.contact-appointment-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact-appointment-left,
.contact-appointment-right {
  flex: 0 1 48%;
  box-sizing: border-box;
}

/* Kontaktformular */
.contact-form {
  text-align: left;
}

.contact-form p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #A19A98;
  font-size: 1.2vmax;
}

.contact-form form {
  max-width: 600px;
  margin: 0;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1.3vmax;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.contact-form button {
  background-color: #C8BDFF;
  color: #333;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1vmax;
}

/* Calendly Integration */
.calendly-container {
  min-height: 700px;
}

/* Footer */
.footer {
  background-color: #C8BDFF;
  padding: 20px;
  text-align: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
}

/* Mobile Anpassungen */
@media only screen and (max-width: 768px) {
  .logo {
    top: 20px;
    left: 20px;
    transform: scale(0.8);
    transform-origin: top left;
  }

  .sun {
    bottom: 20px;
    left: 20px;
    transform: scale(0.8);
    transform-origin: bottom left;
  }

  .headline {
    transform: translate(-50%, -50%) scale(0.55);
  }

  p {
    font-size: 2.5vmax;
    font-family: 'Inter', sans-serif;
  }

  .contact-form p {
    font-size: 2vmax;
  }

  .three-blocks-container .block p,
  .three-blocks-container p {
    font-size: 2vmax;
    line-height: 1.6;
  }

  h1,
  h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 3vmax;
    letter-spacing: 1px;
  }

  .three-blocks-container,
  .empfehlung-container h2 {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    color: #000;
    font-size: 3vmax;
    letter-spacing: 1px;
  }

  .contact-appointment-section h2 {
    font-size: 3vmax;
    margin: 0 auto 20px;
  }

  h3 {
    font-size: 1.8vmax;
  }

  .contact-form button {
    font-size: 1.8vmax;
  }

  .empfehlung-container .box {
    flex: 1 1 100%;
  }

  /* Optional: auf Mobile nur 1 Bild pro Zeile */
  .empfehlung-container .box-images img,
  .empfehlung-container .box-images a {
    width: calc(50% - 16px);
  }
}

@media only screen and (min-width: 761px) and (max-width: 912px) {
  .headline {
    transform: translate(-50%, -50%) scale(0.8);
  }
}
