/* REGINA STEINER — SIMPLIFIED RESPONSIVE STYLESHEET
   Navigation: portrait phones/tablets = menu; landscape tablets/desktop = links.
*/

/* 1. SITE-WIDE SETTINGS */
:root {
  --text-color: #949494;
  --background: #ffffff;
  --link-hover: #c33;
  --content-width: 980px;
  --reading-width: 700px;
  --page-padding: clamp(18px, 5vw, 54px);
  --body-size: 15px;
  --nav-size: 15px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 280px;
  background: var(--background);
  color: var(--text-color);
  font-family: sans-serif;
  font-size: var(--body-size);
  font-weight: 200;
  text-align: center;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a,
a:visited {
  color: var(--text-color);
}
a {
  text-decoration: none;
}
a:hover,
a:focus-visible {
  color: var(--link-hover);
}

/* 2. SITE NAME AND NAVIGATION */
.site-header {
  width: min(100% - 2 * var(--page-padding), var(--content-width));
  margin: 0 auto;
  padding-top: clamp(24px, 4vw, 56px);
}
.header-left {
  text-align: center;
}
.name {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
div.page-title {
  font-size: clamp(26px, 3vw, 44px);
  /* Removed invalid margin-top: auto-10%; */
}
.navig {
  position: relative;
  margin-top: clamp(16px, 3vw, 32px);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-size: var(--nav-size);
  font-style: italic;
}
.main-nav a {
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  border: 0;
  padding: 8px 10px;
  background: transparent;
  color: #222;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* 3. MAIN CONTENT AND READING TEXT */
.container {
  width: min(100% - 2 * var(--page-padding), var(--content-width));
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 42px);
  padding-bottom: 70px;
}
.container p {
  margin: 0 0 1.3em;
}
.container footer {
  margin: 0;
}
.quote-supp,
.quote-lehr,
.quote-musik {
  max-width: var(--reading-width);
  margin: 28px auto 0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* 4. HOME PAGE */
.main_img {
  width: min(100%, 610px);
  margin: 22px auto 0;
}
.globe {
  width: 100%;
  margin: 0 auto;
}
.globe img {
  margin: 0 auto;
}

/* 5. MUSIKTHERAPIE AND SUPERVISION */
.musik {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  width: min(100%, 720px);
  margin: 0 auto;
}
.supp-img {
  flex: 1 1 55%;
  min-width: 0;
}
.supp-img img {
  width: 70%;
  margin-top: -5%;
}
.supp-text {
  flex: 1 1 35%;
  min-width: 0;
  text-align: center;
  font-style: italic;
}
.page-title {
  font-size: clamp(20px, 4vw, 64px);
  text-align: center;
  margin-top: 5%;
}
.musik-text p {
  margin: 0;
  font-size: clamp(12px, 1.3vw, 15px);
  font-style: italic;
  line-height: 1.35;
}
.musik-text,
.musik-img {
  min-width: 0;
}

/* 6. LEHRTHERAPIE */
.lehr-img {
  width: min(100%, 450px);
  margin: 0 auto;
}
.lehr-img img {
  margin: 0 auto;
}
.quote-lehr {
  margin-top: 30px;
}

/* 7. PORTRAIT PAGE */
.container:has(.port-img) {
  display: grid;
  grid-template-columns: minmax(160px, 30%) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.container:has(.port-img) > .musik {
  width: 100%;
  margin: 0;
}
.port-img {
  width: 70%;
  max-width: 260px;
  margin: 0 auto;
}
.port-img img {
  width: 100%;
}
.container:has(.port-img) > .port {
  min-width: 0;
}
.quote-portrait {
  width: 100%;
  margin: 0;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
}
.quote-portrait ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.quote-portrait li {
  margin: 0;
  overflow-wrap: anywhere;
}
.port_cat {
  font-weight: 700;
  text-decoration: underline;
}

/* 8. CONTACT PAGE */
/* 8. CONTACT PAGE */
.contact {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}
.contact li {
  margin: 0;
}
.contact a {
  font-style: italic;
}

/* 9. PHONE + PORTRAIT TABLET NAVIGATION */
@media (max-width: 767px),
  (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .navig {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 14px;
  }
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: relative;
    z-index: 10;
    width: max-content;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px;
    background: var(--background);
    font-size: 15px;
  }
  .main-nav.menu-open,
  .main-nav.open {
    display: flex;
  }
}

/* 10. PHONES — preserve the existing phone layout */
@media (max-width: 767px) {
  :root {
    --page-padding: 22px;
    --body-size: 14px;
  }
  .site-header {
    padding-top: 28px;
  }
  .name {
    font-size: clamp(34px, 9vw, 46px);
  }
  .container {
    padding-top: 22px;
  }
  .main_img {
    margin-top: 18px;
  }
  .musik {
    gap: 12px;
  }
  .supp-img {
    flex-basis: 52%;
    margin-left: 24%;
    margin-right: auto;
    margin-top: -5%;
  }
  .supp-img img {
    width: 100%;
    height: auto;
  }
  /* Lehrmusiktherapie — iPhone portrait */
  .lehr-img {
    flex-basis: 52%;
    width: 50%;
    max-width: 175px;
    margin: -15px auto 2%;
  }

  .lehr-img img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* Lehrtherapie heading — iPhone portrait */
  .lehr-heading {
    display: block;
    width: 100%;
    margin: 5px auto 0px;
    text-align: center;
    font-weight: 600;
    text-decoration: underline;
    line-height: 1.5;
  }
  .supp-text {
    flex-basis: 48%;
  }
  .supp-text p {
    font-size: 11px;
    line-height: 1.25;
    font-style: italic;
    text-align: center;
  }
  .quote-supp,
  .quote-lehr,
  .quote-musik {
    margin-top: 10px;
    font-size: 12px;
    width: 95%;
  }
  .quote-portrait li {
    margin-top: 15px;
    font-size: 0.9rem;
    width: 95%;
    line-height: 1.1rem;
  }
  .container:has(.port-img) {
    display: block;
  }
  .port-img {
    max-width: 40vw;
    margin-top: -10%;
  }
  .port_cat {
    text-align: center;
    font-weight: 400;
  }
  .quote-portrait {
    margin-left: 4%;
  }
  .quote-portrait li {
    font-size: 0.8rem;
  }
  .contact {
    margin-bottom: 24px;
  }
  /* Working phone portrait layout for Musiktherapie and Supervision */
  .musik {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: -15px;
  }
  /* Musiktherapie image — iPhone portrait */
  /* Musiktherapie image — iPhone portrait */
  /* Musiktherapie image — iPhone portrait */
  .musik .supp-img {
    flex: 0 0 47%;
    width: 47%;
    max-width: 175px;
    margin: 0 auto;
  }

  .musik .supp-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .supp-img {
    flex: 0 0 45%;
    margin: 0;
  }
  .supp-text {
    flex: 0 0 45%;
    margin: 0;
  }
  /* Supervision — iPhone portrait */
  .musik .supp-img:has(img[src*="supervision"]) {
    transform: translateY(-10px);
  }
  /* Musiktherapie and Supervision — phone portrait */
  @media (orientation: portrait) {
    .musik {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }

    .musik .supp-img {
      flex: 0 0 auto;
      width: 47%;
      max-width: 175px;
      margin-left: auto;
      margin-right: auto;
    }

    .musik .supp-img img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }
}

/* 11. PORTRAIT TABLETS — iPad mini and iPad Pro */
@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .site-header {
    padding-top: 40px;
  }
  .name {
    font-size: clamp(48px, 6vw, 68px);
  }
  .container {
    padding-top: 30px;
  }
  .port-img {
    max-width: 220px;
  }
  .lehr-img {
    max-width: 320px;
    margin-top: -10%;
  }
  .container:has(.port-img) {
    grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
  }

  /* IMPORTANT: the image itself fills its column, so gap is the real spacing. */
  .musik {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Change this to 4px or 16px to adjust spacing */
    width: 90%;
    max-width: 850px;
    margin: 35px auto 25px;
  }
  .supp-img {
    flex: 0 0 36%;
    width: 36%;
    min-width: 0;
    margin: 0;
  }
  .supp-img img {
    width: 100%;
    height: auto;
    margin-top: -5%;
  }
  .supp-text {
    flex: 0 0 45%;
    width: 45%;
    min-width: 0;
    margin: 0;
    text-align: center;
  }
  .supp-text p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

/* 12. LANDSCAPE TABLETS AND DESKTOPS */
@media (min-width: 768px) and (orientation: landscape) {
  .site-header {
    padding-top: 26px;
  }
  .navig {
    margin-top: 12px;
  }
  .menu-toggle {
    display: none;
  }
  .main-nav {
    display: flex;
    flex-direction: row;
  }
}

/* 13. VERY NARROW PHONES */
@media (max-width: 380px) {
  :root {
    --page-padding: 15px;
  }
  .musik {
    flex-direction: column;
  }
  .supp-img,
  .supp-text {
    width: min(100%, 360px);
  }
}

//* 14. iPad Pro 13 portrait */

@media (min-width: 1000px) and (max-width: 1100px)
       and (orientation: portrait) {
  .container {
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .quote-supp {
    width: 90%;
    max-width: 850px;
    margin: 25px auto;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .quote-supp p {
    font-size: inherit;
    line-height: inherit;
  }
}
/* iPad Pro 13 portrait — Musiktherapie */

@media (min-width: 1001px) and (max-width: 1100px) and (orientation: portrait) {
  /* Illustration */
  .musik .supp-img img {
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
  }

  /* Main body text */
  .musik-text {
    font-size: 16px;
    line-height: 1.55;
  }

  /* Introductory text */
  .supp-text {
    font-size: 15px;
    line-height: 1.5;
  }
  /* Move quote closer to illustration */
  .musik .supp-text {
    transform: translateX(-30px);
  } /*lehr-img size*/
  .lehr-img img {
    width: 200px !important;
    height: auto !important;
  }
  .image-slider {
    width: 100%;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }
  /*slider size*/
  .image-slider {
    width: 100%;
    max-width: 850px;
    margin: 55px auto 0;
  }

  .slider-frame {
    width: 100%;
    max-width: 850px;
    height: auto;
    margin: 0 auto;
    overflow: visible;
  }

  #slider-image {
    display: block;
    width: 760px !important;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
  }
  /* iPad Pro 13" portrait – Correct arrow positions */
  @media (min-width: 1001px) and (max-width: 1100px) and (orientation: portrait) {
    .slider-frame {
      position: relative;
      width: 760px;
      max-width: 100%;
      margin: 0 auto;
      overflow: visible;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      bottom: auto;
      transform: translateY(-50%);
      z-index: 20;

      background: transparent;
      border: none;
      color: #222;
      font-size: 30px;
      cursor: pointer;
    }

    .slider-prev {
      left: -35px;
      right: auto;
    }

    .slider-next {
      right: -35px;
      left: auto;
    }
  }
}
/* 15. iPHONE LANDSCAPE */
@media (min-width: 600px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  /* Site name */
  .site-header {
    padding-top: 8px;
  }

  .name {
    font-size: 2rem;
    line-height: 1.05;
  }

  /* Page title */
  .page-title,
  div.page-title {
    font-size: 1.35rem;
    margin-top: 3px;
    margin-bottom: 3px;
  }

  /* Navigation */
  .navig {
    margin-top: 4px;
  }

  /* Main content */
  .container {
    padding-top: 6px;
  }

  /* Musiktherapie and Supervision */
  .musik {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(92%, 430px);
    margin: 0 auto;
  }

  .supp-img {
    flex: 0 0 120px;
    width: 120px;
    min-width: 0;
    margin: 0;
  }

  .supp-img img {
    display: block;
    width: 100%;
    max-height: 100px;
    height: auto;
    object-fit: contain;
    margin: 0;
  }

  .supp-text {
    flex: 0 1 260px;
    width: auto;
    min-width: 0;
    margin: 0;
  }

  .supp-text p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .quote-supp {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  /* Lehrtherapie — smaller photograph */
  .lehr-img {
    width: 30%;
    max-width: 150px;
    margin: 0 auto;
  }

  .lehr-img img {
    width: 100%;
    height: auto;
  }
  /* Lehrmusiktherapie – iPhone landscape */
  .lehr-img {
    margin-top: 10px;
  }
  /* Lehrmusiktherapie heading – iPhone landscape */
  .lehr-heading {
    display: block;
    text-align: center;
    font-style: italic;
    font-weight: 400;
    margin-top: -12px;
    margin-bottom: 14px;
  }

  /* Contact — smaller slider */
  /* Contact slider — smaller in iPhone landscape */
  .slider {
    width: 45%;
    max-width: 220px;
    margin: 0 auto;
  }

  .slider img {
    max-width: 100%;
    height: auto;
  }
  /* Contact page — move contact details upward */
  .contact {
    margin-top: -25px;
  }
  /* Contact slider — iPhone landscape */
  .image-slider {
    width: 100%;
    max-width: 300px;
    margin: 5px auto 0;
  }

  .slider-frame {
    width: 100%;
    max-width: 300px;
    height: 160px;
    margin: 0 auto;
    left: 0;
  }

  .slider-frame img {
    width: auto;
    max-width: 100%;
    height: 130px;
    object-fit: contain;
  }

  .slider-arrow {
    bottom: 0;
  }
}
/* 16. LARGER iPHONES — LANDSCAPE */
@media (min-width: 933px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  /* Supervision and Musiktherapie */
  .supp-img {
    flex: 0 0 110px;
    width: 110px;
  }

  .supp-img img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
  }

  /* Lehrtherapie */
  .lehr-img {
    width: 25%;
    max-width: 130px;
    margin: 0 auto;
  }

  .lehr-img img {
    width: 100%;
    height: auto;
  }

  /* Contact slider */
  .image-slider {
    max-width: 280px;
    margin: 5px auto 0;
  }

  .slider-frame {
    max-width: 280px;
    height: 145px;
    margin: 0 auto;
    left: 0;
  }

  .slider-frame img {
    height: 115px;
    max-width: 100%;
    object-fit: contain;
  }
}
/* 17. HOME PAGE GLOBE — iPHONE LANDSCAPE */
@media (min-width: 600px) and (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .globe {
    width: 50%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
  }

  img.globe {
    max-height: 220px;
    object-fit: contain;
  }
}
/* ==================================================
   18. iPAD MINI — LANDSCAPE (1024 × 768)
   ================================================== */

@media (min-width: 1001px) and (max-width: 1100px) and (orientation: landscape) {
  /* Musiktherapie and Supervision */

  .container:not(:has(.port-img)) > .musik {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 500px;
    max-width: 95%;
    margin: 0 auto;
  }

  .musik .supp-img {
    flex: 0 0 200px;
    width: 200px;
    min-width: 0;
    margin: 0;
  }

  .musik .supp-img img {
    display: block;
    width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    margin: 0;
  }

  .musik .supp-text {
    flex: 0 1 260px;
    width: 260px;
    min-width: 0;
    margin: 0;
    text-align: center;
  }

  .musik .supp-text p {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  /* Lehrtherapie — smaller photograph */

  .container .lehr-img {
    width: 200px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .container .lehr-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  /* Contact slider */

  .image-slider {
    width: 100%;
    max-width: 350px;
    margin: 15px auto 0;
  }

  .slider-frame {
    width: 100%;
    max-width: 350px;
    height: 300px;
    margin: 0 auto;
    left: 0;
  }

  .slider-frame img {
    width: auto;
    max-width: 100%;
    height: 260px;
    object-fit: contain;
  }

  .slider-arrow {
    bottom: 4px;
  }

  /* Portrait page — preserve working layout */

  .container:has(.port-img) {
    display: grid;
    grid-template-columns: 140px 500px;
    column-gap: 18px;
    justify-content: center;
    align-items: start;
  }

  .container:has(.port-img) > .musik {
    width: 140px;
    margin: 0;
  }

  .container:has(.port-img) .port-img {
    width: 140px;
    max-width: 140px;
    margin: 0;
  }

  .container:has(.port-img) .port-img img {
    display: block;
    width: 100%;
    height: auto;
  }

  .container:has(.port-img) > .port {
    width: 500px;
    margin: 0;
  }

  .container:has(.port-img) .quote-portrait {
    width: 100%;
    margin: 0;
    text-align: left;
  }
  /* Page title */
  .page-title {
    transform: translateY(-25px);
  }

  /* Navigation */
  .navig {
    transform: translateY(-15px);
  }

  /* Main content: image, quote and body text */
  main.container {
    transform: translateY(-15px);
  }
  .lehr-img img {
    width: 140px !important;
    height: auto;
  }
  /* PORTRAIT PAGE */

  .port-img {
    transform: translateX(-10px);
  }

  /* CONTACT PAGE — iPad Mini Landscape */

  /* Move contact information higher */
  .contact {
    transform: translateY(-20px);
  }

  /* Enlarge slider */
  /* CONTACT PAGE — iPad Mini Landscape */

  .image-slider {
    width: 100%;
    max-width: 600px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-frame {
    width: 100%;
    max-width: 600px !important;
    height: 390px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-frame img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 370px !important;
    object-fit: contain;
  }
  /* CONTACT — iPad Mini Landscape */

  /* Move entire slider upward */
  .image-slider {
    transform: translateY(-20px);
  }

  /* Position arrows beside photograph */
  .slider-frame {
    position: relative;
    overflow: visible;
  }

  .slider-frame .slider-arrow {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0;
  }

  /* Left arrow */
  .slider-frame .slider-prev {
    left: 15px !important;
    right: auto !important;
  }

  /* Right arrow */
  .slider-frame .slider-next {
    right: 15px !important;
    left: auto !important;
  }
  /* CONTACT AND PORTRAIT — navigation spacing */

  body:has(.contact) .navig,
  body:has(.quote-portrait) .navig {
    transform: translateY(12px);
  }
  /* CONTACT — move information down */

  .contact {
    transform: none;
  }
  .contact + .image-slider {
    margin-top: 25px;
  }
  /* Keep navigation above the main content */

  .site-header {
    position: relative;
    z-index: 100;
  }

  .main-nav {
    position: relative;
    z-index: 101;
  }

  .container {
    position: relative;
    z-index: 1;
  }
}
/* ==================================================
   19. iPAD PRO 13" — LANDSCAPE
   ================================================== */

@media (min-width: 1200px) and (max-width: 1400px) and (orientation: landscape) {
  /* Musiktherapie and Supervision */

  .container:not(:has(.port-img)) > .musik {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4;
    width: 600px;
    max-width: 95%;
    margin: 0 auto;
  }

  .musik .supp-img {
    flex: 0 0 250px;
    width: 250px;
    margin: 0;
  }

  .musik .supp-img img {
    width: 100%;
    max-height: 220px;
    height: auto;
    object-fit: contain;
    margin: 0;
  }

  .musik .supp-text {
    flex: 0 1 300px;
    width: 300px;
    margin: 0;
    text-align: center;
  }

  /* Lehrtherapie */

  .container .lehr-img {
    width: 280px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .container .lehr-img img {
    width: 100%;
    height: auto;
  }
  .lehr-img img {
    width: 180px !important;
    height: auto !important;
  }
  /*port-img size)*/
  .port-img img {
    width: 170px !important;
    height: auto !important;
  }
  .port-img {
    position: relative;
    left: 20px;
  }
  /* Move contact information higher */
  .contact {
    position: relative;
    top: -20px;
  }

  /* Enlarge slider and move it down */
  /* iPad Pro 13 landscape – Contact page */

  @media (min-width: 1300px) and (max-width: 1400px) and (orientation: landscape) {
    /* Contact information */
    .contact {
      position: relative;
      top: -20px;
    }

    /* Slider position and size */
    .image-slider {
      width: 100%;
      max-width: 800px;
      margin: 15px auto 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .slider-frame {
      position: relative;
      width: 100%;
      max-width: 800px;
      height: auto;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: visible;
    }

    .slider-frame img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 540px;
      object-fit: contain;
    }
        .slider-frame {
        position: relative;
        padding-bottom: 40px;
    }

    .slider-arrow {
        position: absolute;
        top: auto;
        bottom: 0;
        margin: 0;
        transform: none;
        background: transparent;
        border: none;
        font-size: 24px;
        color: #222;
        cursor: pointer;
        z-index: 10;
    }

    .slider-prev {
        left: calc(50% - 35px);
        right: auto;
    }

    .slider-next {
        left: calc(50% + 15px);
        right: auto;
    }
}
  }
}
/* ==================================================
   20. iPAD PRO 13" — PORTRAIT — CONTACT PAGE
   ================================================== */

@media (min-width: 1000px) and (max-width: 1100px) and (orientation: portrait) {
  /* Move contact information upward */
  .container:has(.contact) {
    padding-top: 0;
  }

  .contact {
    margin-top: -25px;
    margin-bottom: 5%;
  }

  /* Center the slider */
  .image-slider {
    width: 100%;
    max-width: 800px;
    margin: 15px auto 0;
    align-items: center;
  }

  .slider-frame {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    transform: none;
  }
}
/* ==================================================
   21. DESKTOP — 1440px AND LARGER
   ================================================== */

@media (min-width: 1401px) {
  /* Musiktherapie and Supervision */

  .container:not(:has(.port-img)) > .musik {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 580px;
    max-width: 100%;
    margin: 0 auto;
  }

  .musik .supp-img {
    flex: 0 0 280px;
    width: 280px;
    min-width: 0;
    margin: 0;
  }

  .musik .supp-img img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .musik .supp-text {
    flex: 0 0 280px;
    width: 280px;
    min-width: 0;
    margin: 0;
    text-align: center;
  }

  /* Contact — move information slightly upward */

  .container:has(.contact) {
    padding-top: 10px;
  }

  .contact {
    margin-top: -20px;
  }

  /* Contact — center slider */

  .image-slider {
    width: 100%;
    max-width: 800px;
    margin: 15px auto 0;
    align-items: center;
  }

  .slider-frame {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    transform: none;
  }
  /* Lehrtherapie — smaller desktop photograph */

  .container .lehr-img {
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
  }

  .container .lehr-img img {
    display: block;
    width: 100%;
    height: auto;
  }
}
/* ==================================================
   22. LARGE DESKTOP — 1600px AND ABOVE
   ================================================== */

@media (min-width: 1600px) {
  /* Header and navigation */

  .site-header {
    max-width: 1400px;
  }

  .name {
    font-size: 4.5rem;
  }

  .main-nav {
    font-size: 19px;
    gap: 12px 26px;
  }

  /* Main content area */

  .container {
    width: min(90%, 1400px);
    max-width: 1400px;
  }

  /* Wider body text for less scrolling */

  .quote-supp,
  .quote-lehr,
  .quote-musik {
    max-width: 1000px;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  /* Musiktherapie and Supervision */

  .container:not(:has(.port-img)) > .musik {
    width: 850px;
    max-width: 100%;
    gap: 18px;
  }

  .musik .supp-img {
    flex: 0 0 400px;
    width: 400px;
  }

  .musik .supp-img img {
    width: 100%;
    max-height: 310px;
    height: auto;
    object-fit: contain;
  }

  .musik .supp-text {
    flex: 0 0 400px;
    width: 400px;
  }

  .musik .supp-text p {
    font-size: 1.15rem;
    line-height: 1.4;
  }

  /* Lehrtherapie */

  .container .lehr-img {
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
  }

  .container .lehr-img img {
    width: 100%;
    height: auto;
  }

  /* Portrait biography */

  /* Portrait — larger photograph on large desktops */

  .container:has(.port-img) {
    grid-template-columns: 280px minmax(0, 850px);
    column-gap: 30px;
    justify-content: center;
  }

  .container:has(.port-img) .port-img {
    width: 260px;
    max-width: 260px;
    margin: 0 auto;
  }

  .container:has(.port-img) .port-img img {
    width: 100%;
    height: auto;
  }

  .quote-portrait {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  /* Contact slider — maintain centering */

  .image-slider {
    margin-left: auto;
    margin-right: auto;
  }

  .slider-frame {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    transform: none;
  }
  /* CONTACT PAGE — LARGE DESKTOP */

  /* Move contact information and slider downward */
  .container:has(.contact) {
    padding-top: 55px;
  }

  .container:has(.contact) .contact {
    margin-top: 0;
  }

  /* Enlarge contact information */
  .container:has(.contact) .contact,
  .container:has(.contact) .contact p,
  .container:has(.contact) .contact a {
    font-size: 19px;
    line-height: 1.6;
  }

  /* Keep slider centered and move it slightly down */
  .container:has(.contact) .image-slider {
    margin: 25px auto 0;
  }
}
/* Musiktherapie — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .musik {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .musik .supp-img img {
    display: block;
    width: 125px;
    max-width: none;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .musik .supp-img img {
    display: block;
    width: 125px;
    max-width: none;
    height: auto;
    object-fit: contain;
  }
}
/* Portrait page — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  /* Slightly smaller photograph, positioned lower */
  .port-img {
    width: 145px;
    max-width: 145px;
    margin-top: 15px;
  }

  .port-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* Move the text away from the navigation */
  .quote-portrait {
    margin-top: 12px;
  }
}
/* Contact page — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .contact {
    line-height: 1.15;
  }

  .contact ul {
    margin-top: 0;
    margin-bottom: 8px;
    padding: 0;
  }

  .contact li {
    line-height: 1.15;
    margin-bottom: 3px;
  }
}
/* Contact slider — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .image-slider {
    margin-top: 8px;
  }

  .slider-frame {
    width: 230px;
    max-width: 230px;
    height: 175px;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-frame img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }
}
/* Contact slider arrows — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .image-slider .slider-frame {
    position: relative;
    width: 230px;
    max-width: 230px;
    height: 175px;
    margin: 0 auto;
  }

  .image-slider .slider-arrow {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin: 0;
    background: transparent;
    z-index: 5;
  }

  .image-slider .slider-prev {
    left: -45px;
    right: auto;
  }

  .image-slider .slider-next {
    right: -45px;
    left: auto;
  }
}
/* Contact slider arrows — iPhone landscape */
@media (orientation: landscape) and (max-height: 500px) {
  .image-slider .slider-frame {
    overflow: visible;
  }

  .image-slider .slider-arrow {
    display: block;
    visibility: visible;
    opacity: 1;
    color: #222;
    font-size: 26px;
    z-index: 10;
  }
}
/* iPad Mini — Portrait */
@media screen and (min-width: 700px) and (max-width: 850px) and (orientation: portrait) {
  /* Move image and quote higher */
  .musik {
    margin-top: -30px;
    gap: 12px;
  }

  /* Reduce photograph size */
  .musik .supp-img {
    width: 190px;
    max-width: 190px;
    flex: 0 0 190px;
  }

  .musik .supp-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  /* Keep quote alongside photograph */
  .musik .supp-text {
    flex: 1;
  }
}
/* iPad Mini portrait – Lehrtherapie */
@media (min-width: 700px) and (max-width: 820px) and (orientation: portrait) {
  .lehr-img {
    width: 100%;
    margin-top: 2px;
    display: flex;
    justify-content: center;
  }

  .lehr-img img {
    width: 180px;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .lehr-heading {
    display: block;
    text-align: center;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 18px;
  }
  /* Portrait page – iPad Mini portrait */
  .port-img {
    transform: translateX(-20px);
  }
  /* Portrait page – iPad Mini portrait */
  .quote-portrait {
    max-width: 370px;
    transform: translateX(-15px);
  }

  .port_cat {
    transform: translateX(0px);
  }
  .contact {
    margin-top: -40px;
  }
  .contact ul {
    transform: translateY(-30px);
  }
}
/* Surface Pro 10 – Portrait */

@media (min-width: 950px) and (max-width: 999px)
       and (orientation: portrait) {

    /* Main content */
    .container {
        width: 90%;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Illustration */
    .supp-img img {
        width: 230px;
        height: auto;
    }

    /* Quote beside illustration */
    .quote-musik {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Body text */
    .musik-text {
        font-size: 16px;
        line-height: 1.55;
    }
       .musik-img img,
    .supp-img img {
        width: 210px;
        height: auto;
    }
    .lehr-img img {
    width: 210px;
    height: auto;
}
/* Surface Pro 10 – Portrait: Contact page */

.contact {
    transform: translateY(-25px);
}

.image-slider {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: none;
}

.slider-frame {
    width: 100%;
    max-width: 680px;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
}

.slider-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
/* Slider arrows – Surface Pro 10 portrait */

.slider-frame {
    position: relative;
    padding-bottom: 35px;
}

.slider-arrow {
    position: absolute;
    top: auto;
    bottom: 0;
    transform: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.slider-prev {
    left: calc(50% - 35px);
    right: auto;
}

.slider-next {
    left: calc(50% + 10px);
    right: auto;
}
}
/* Surface Pro 10 – Landscape */

/* Surface Pro 10 – Landscape */
@media screen and (min-width: 1400px)
       and (max-width: 1450px)
       and (orientation: landscape) {

    .musik .supp-img img {
        width: 210px !important;
        height: auto !important;
        max-width: none;
    }
      .lehr-img img {
        width: 230px !important;
        height: auto !important;
    }

    .port-img img {
        width: 160px !important;
        height: auto !important;
    }
    .port-img {
    transform: translateX(50px);
}
 .image-slider {
        width: 720px;
        max-width: 100%;
        margin: 25px auto 0;
    }

    .slider-frame {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

  /* Surface Pro 10 – Landscape – Contact slider */


    .image-slider {
        width: 720px !important;
        max-width: 100%;
        margin: 25px auto 45px;
    }

    .slider-frame {
        position: relative;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .slider-frame img {
        display: block;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain;
    }

    .slider-arrow {
        position: absolute !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        top: auto !important;
        bottom: -35px !important;
        transform: none !important;
        z-index: 20;
        background: transparent;
        border: none;
        color: #222;
        font-size: 24px;
        padding: 0;
    }

    .slider-prev {
        left: calc(50% - 30px) !important;
        right: auto !important;
    }

    .slider-next {
        left: calc(50% + 15px) !important;
        right: auto !important;
    }
}
/* 13-inch laptop: move title and navigation up */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .page-title{
        transform: translateY(-20px);
    }

    .navig {
        transform: translateY(-10px);
    }
     .lehr-img img {
        width: 160px;
        height: auto;
    }

    .lehr-img {
        transform: translateY(-15px);
    }
    .quote-lehr {
    transform: translateY(-15px);
}
     .port-img img {
        width: 153px !important;
        height: auto !important;
        max-width: none !important;
    }
    /* Portrait: move image closer to text */


    .port-img {
        transform: translateX(40px);
    }
    .image-slider {
        width: 560px;
        max-width: 90%;
        margin: -25px auto 0;
    }

    .slider-frame {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .slider-frame img {
        width: 100%;
        height: auto;
        object-fit: contain;}
   /* Contact slider: arrows on the sides */


    .slider-frame {
        position: relative;
        overflow: visible;
    }

    .slider-arrow {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 30;
    }

    .slider-prev {
        left: -40px !important;
        right: auto !important;
    }

    .slider-next {
        right: -40px !important;
        left: auto !important;
    }
  }
  /* 16-inch laptop: 1536px */
@media screen and (min-width: 1400px) and (max-width: 1699px) {

     section.musik .supp-img img {
        width: 210px !important;
        max-width: 210px !important;
        height: auto !important;
    }

  .supp-text {
        align-self: center;
        margin-top: 0;
        transform: translateX(-30px);
    }
   
    /* Lehrtherapie – smaller image */
.lehr-img img {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
}
/* Portrait page – smaller photograph */
.port-img img {
    width: 160px !important;
    max-width: 160px !important;
    height: auto !important;
    margin-left: 45px;
}
       /* 16-inch laptop – Contact page */
@media screen and (min-width: 1400px) and (max-width: 1699px) {

    .image-slider {
        width: 680px !important;
        max-width: 680px !important;
        margin: 25px auto 0 !important;
        position: relative;
        overflow: visible !important;
    }

    .slider-frame {
        width: 100% !important;
        height: 500px !important;
        position: relative;
        overflow: visible !important;
    }

    .slider-frame img {
        width: 100% !important;
        height: 500px !important;
        object-fit: contain !important;
        object-position: center;
    }

    .slider-arrow {
        position: absolute !important;
        top: auto !important;
        bottom: -35px !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        font-size: 24px;
        z-index: 30;
    }

    .slider-prev {
        left: calc(50% - 30px) !important;
        right: auto !important;
    }

    .slider-next {
        left: calc(50% + 15px) !important;
        right: auto !important;
    }
}
/* Contact address spacing */
section.contact .contact ul {
    line-height: 1.2;
    padding: 0;
    margin-bottom: 0;
}

section.contact .contact li {
    margin: 0;
    padding: 0;
}
section.contact .contact {
    transform: translateY(10px);
}
}

@media screen and (min-width: 1800px) {

    /* Image and introductory text together */
    .musik {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 35px;
        width: 100%;
        max-width: 850px;
        margin: 20px auto 0;
    }

    /* Illustration */
    .supp-img {
        flex: 0 0 190px;
        width: 190px;
        margin: 0;
    }

    .supp-img img {
        display: block;
        width: 190px;
        height: auto;
    }

    /* Introductory text beside image */
    .supp-text {
        flex: 0 1 320px;
        width: 320px;
        max-width: 320px;
        margin: 0;
        font-size: 14px;
        line-height: 1.3;
        text-align: center;
    }

    /* Long body text below image */
   .quote-supp {
    width: 90%;
    max-width: 1050px;
    margin: 20px auto 0;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

    .quote-supp p {
        margin: 0;
    }
    .lehr-img img {
    width: auto;
    height: 260px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
   .port_cat {
        width: 850px;
        max-width: 90%;
        margin: 25px auto 0;
    }

    /* Make the portrait photograph smaller */
    .port-img img {
        width: 210px;
        height: auto;
        display: block;
    }
    main.container .contact {
        position: relative;
        top: -25px;
    }

}
@media screen and (min-width: 1800px) {
    .musik .lehr-img img {
        width: auto !important;
        height: 310px !important;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}
@media screen and (min-width: 1800px) {

    .port-img img {
        width: 210px;
        height: auto;
        max-width: 100%;
    }

}
@media screen and (min-width: 1800px) {

    /* Center the portrait image section */
   

    /* Reduce photograph */
    main.container .port-img img {
        width: 210px;
        height: auto;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

   
}
/* PORTRAIT — LARGE DESKTOP */

@media screen and (min-width: 1800px) {

    /* Center photograph and biography as one group */
    main.container:has(.port-img) {
        display: grid;
        grid-template-columns: 210px 700px;
        column-gap: 30px;
        justify-content: center;
        align-items: start;
    }

    /* Photograph column */
    main.container:has(.port-img) > section.musik {
        width: 210px;
        max-width: 100%;
        margin: 0;
        display: block;
    }

    .container:has(.port-img) .port-img {
        width: 210px;
        max-width: 210px;
        margin: 0;
    }

    .container:has(.port-img) .port-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Biography column */
   main.container:has(.port-img) > footer.port {
    width: 660px;
    max-width: 100%;
    margin: 0 0 0 40px;
    justify-self: stretch;
}

    .container:has(.port-img) .quote-portrait {
        width: 100%;
        margin: 0;
        text-align: left;
    }
}
/* LARGE DESKTOPS — 1700px and above */

@media screen and (min-width: 1700px) {

    .image-slider {
        width: 900px !important;
        max-width: 900px !important;
       margin: 0 auto 0 !important;
        position: relative;
        overflow: visible !important;
    }

    .slider-frame {
        width: 100% !important;
       height: 620px !important;
      margin-left: 30px !important;
        position: relative;
        overflow: visible !important;
    }

    .slider-frame img {
        width: 100% !important;
       height: 620px !important;
        object-fit: contain !important;
        object-position: center;
    }

    .slider-arrow {
        position: absolute !important;
        top: auto !important;
        bottom: -35px !important;
        transform: none !important;
        background: transparent !important;
        border: none !important;
        font-size: 24px;
        z-index: 30;
    }

    .slider-prev {
        left: calc(50% - 30px) !important;
        right: auto !important;
    }

    .slider-next {
        left: calc(50% + 15px) !important;
        right: auto !important;
    }
}


  


    
