/* ============================================================
   Google Fonts – Lato
   ============================================================ */

/* ============================================================
   Reset / Base
   ============================================================ */

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

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p {
  margin: 0;
}

/* ============================================================
   Page Layout
   ============================================================ */

.page-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  width: 960px;
  margin: 0 auto;
  background: #fff;
}

/* Left coloured accent strip */

.accent-strip {
  width: 90px;
  min-width: 90px;
  flex-shrink: 0;
  align-self: stretch;
  background-image: url('../../assets/img/LeftBorder.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #b8c8d2;
}

/* Main content column */

.main-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

/* Right accent strip (8px, same blue-grey as left) */

.main-column::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
  background-color: #b8c8d2;
  pointer-events: none;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  background-color: #b8c8d2;
  padding: 29px 0 0 0;
  position: relative;
}

.header-text {
  text-align: center;
  padding: 0 60px;
  margin-bottom: 6px;
}

.header-name {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.793;
  color: #000;
}

.header-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.79;
  color: #000;
  margin-top: 7px;
}

/* ============================================================
   Desktop Navigation
   ============================================================ */

.site-nav {
  margin-top: 0;
}

.nav-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

.nav-item {
  flex: 1;
}

.nav-item a {
  display: block;
  width: 100%;
  height: 46px;
  background-color: #ddedf7;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #000;
  text-align: center;
  line-height: 46px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s ease;
}

.nav-item a:hover, .nav-item.active a {
  background-color: #c5dff0;
}

/* ============================================================
   Mobile Hamburger
   ============================================================ */

.mobile-nav-toggle {
  display: flex;
  justify-content: flex-start;
  padding: 8px 0 0 0;
}

.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-bar {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #555;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile dropdown menu */

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #ddedf7;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-list li a {
  display: block;
  padding: 10px 20px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  border-bottom: 1px solid #c0d8e8;
  transition: background-color 0.15s ease;
}

.mobile-nav-list li a:hover {
  background-color: #c5dff0;
}

/* ============================================================
   Content Area
   ============================================================ */

.content-area {
  flex: 1;
  padding: 0;
}

.content-inner {
  padding: 0 39px;
  font-size: 16px;
  line-height: 1.313;
  overflow: hidden;
}

/* Floated practice photo */

.practice-photo-wrap {
  float: right;
  margin: 74px 0 20px 24px;
  width: 342px;
  flex-shrink: 0;
}

.practice-photo {
  width: 100%;
  height: auto;
  display: block;
}

.welcome-heading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.782;
  color: #000;
  margin-top: 0;
  padding-top: 0;
}

.content-text {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.313;
  color: #000;
  text-align: justify;
  margin-bottom: 2px;
}

.content-link {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.content-link:hover {
  text-decoration: underline;
}

.content-bold {
  font-weight: 700;
}

/* Content list (bullet/numbered) */

.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-list li {
  margin-bottom: 2px;
}

/* Kontakt page two-column layout */

.kontakt-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0;
  overflow: visible;
}

.kontakt-left {
  grid-column: 1;
  grid-row: 1 / 3;
}

.kontakt-right-top {
  grid-column: 2;
  grid-row: 1;
  padding-top: 0;
}

.kontakt-hours-label {
  grid-column: 1;
  grid-row: 3;
}

.kontakt-hours-times {
  grid-column: 2;
  grid-row: 3;
}

.kontakt-email-row {
  grid-column: 1 / 3;
  grid-row: 4;
}

@media (max-width: 767px) {
  .kontakt-grid {
    display: block;
  }
}

.content-subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 2.4;
  color: #000;
  margin: 0;
}

@media (min-width: 768px) and (max-width: 959px) {
  .content-subheading {
    font-size: 16px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .content-subheading {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .content-subheading {
    font-size: 12px;
  }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background-color: #b8c8d2;
  padding: 8px 39px;
  clear: both;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-copy {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #fff;
}

.footer-link {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-align: right;
}

.footer-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* ============================================================
   Responsive – Tablet (768px – 959px)
   ============================================================ */

@media (min-width: 768px) and (max-width: 959px) {
  .page-wrapper {
    width: 768px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .main-column::after {
    width: 6px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .accent-strip {
    width: 72px;
    min-width: 72px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .header-text {
    padding: 0 48px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .header-name {
    font-size: 38px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .header-subtitle {
    font-size: 30px;
    margin-top: 6px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .nav-item a {
    font-size: 12px;
    height: 37px;
    line-height: 37px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .content-inner {
    padding: 0 32px;
    font-size: 12px;
    line-height: 1.334;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .welcome-heading {
    font-size: 25px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .content-text {
    font-size: 12px;
    line-height: 1.334;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .practice-photo-wrap {
    width: 272px;
    margin-top: 32px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .footer-copy, .footer-link {
    font-size: 12px;
  }
}

/* ============================================================
   Responsive – Mobile landscape (480px – 767px)
   ============================================================ */

@media (min-width: 480px) and (max-width: 767px) {
  .page-wrapper {
    width: 480px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .main-column::after {
    width: 4px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .accent-strip {
    width: 45px;
    min-width: 45px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .header-text {
    padding: 0 30px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .header-name {
    font-size: 27px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .header-subtitle {
    font-size: 21px;
    margin-top: 8px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .site-header {
    padding-top: 15px;
    position: relative;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .content-inner {
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.334;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .welcome-heading {
    font-size: 21px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .content-text {
    font-size: 15px;
    line-height: 1.334;
    text-align: left;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .practice-photo-wrap {
    width: 167px;
    margin-top: 44px;
    margin-left: 12px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer-copy, .footer-link {
    font-size: 15px;
    color: #000;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer-copy {
    color: #000;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer-link {
    color: #000;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer-link:hover {
    color: #000;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .mobile-nav-list li a {
    font-size: 18px;
  }
}

/* ============================================================
   Responsive – Mobile portrait (max 479px)
   ============================================================ */

@media (max-width: 479px) {
  .page-wrapper {
    width: 320px;
  }
}

@media (max-width: 479px) {
  .main-column::after {
    width: 3px;
  }
}

@media (max-width: 479px) {
  .accent-strip {
    width: 30px;
    min-width: 30px;
  }
}

@media (max-width: 479px) {
  .header-text {
    padding: 0 20px;
  }
}

@media (max-width: 479px) {
  .header-name {
    font-size: 18px;
    line-height: 1.834;
  }
}

@media (max-width: 479px) {
  .header-subtitle {
    font-size: 14px;
    margin-top: 5px;
  }
}

@media (max-width: 479px) {
  .site-header {
    padding-top: 10px;
    position: relative;
  }
}

@media (max-width: 479px) {
  .content-inner {
    padding: 0 13px;
    font-size: 10px;
    line-height: 1.301;
  }
}

@media (max-width: 479px) {
  .welcome-heading {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .content-text {
    font-size: 10px;
    line-height: 1.301;
    text-align: left;
    margin-bottom: 1px;
  }
}

@media (max-width: 479px) {
  .practice-photo-wrap {
    width: 116px;
    margin-top: 29px;
    margin-left: 8px;
  }
}

@media (max-width: 479px) {
  .footer-inner {
    padding: 4px 0;
  }
}

@media (max-width: 479px) {
  .footer-copy, .footer-link {
    font-size: 10px;
    color: #000;
  }
}

@media (max-width: 479px) {
  .footer-copy {
    color: #000;
  }
}

@media (max-width: 479px) {
  .footer-link {
    color: #000;
  }
}

@media (max-width: 479px) {
  .footer-link:hover {
    color: #000;
  }
}

@media (max-width: 479px) {
  .mobile-nav-list li a {
    font-size: 12px;
    padding: 8px 14px;
  }
}

/* ============================================================
   Placeholder / content photos (floated, replicate original layout)
   ============================================================ */

.page-photo-wrap {
  float: right;
  margin: 0 0 20px 24px;
  flex-shrink: 0;
  background: #e0e8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a9aaa;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  text-align: center;
  overflow: hidden;
}

/* First photo on Meine Angebote – large, beside Psychotherapie section */

.page-photo-wrap--angebote-1 {
  width: 455px;
  height: 305px;
  margin-top: 152px;
}

/* Second photo on Meine Angebote – beside Entspannungsverfahren section */

.page-photo-wrap--angebote-2 {
  width: 457px;
  height: 279px;
  margin-top: 0;
  clear: right;
}

/* Photos on single-image pages */

.page-photo-wrap--single {
  width: 342px;
  height: auto;
  margin-top: 74px;
}

/* Kontakt page photo */

.page-photo-wrap--kontakt {
  width: 342px;
  height: 220px;
  margin-top: 0;
}

.page-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #7a9aaa;
}

.page-photo-placeholder i {
  font-size: 48px;
  opacity: 0.6;
}

.page-photo-placeholder span {
  font-size: 12px;
  opacity: 0.8;
}

/* Real images placed directly inside a photo wrap */

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

/* Responsive: shrink placeholders on smaller screens */

@media (min-width: 768px) and (max-width: 959px) {
  .page-photo-wrap--angebote-1 {
    width: 344px;
    height: 216px;
    margin-top: 118px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .page-photo-wrap--angebote-2 {
    width: 373px;
    height: 227px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .page-photo-wrap--single {
    width: 272px;
    height: auto;
    margin-top: 32px;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .page-photo-wrap--kontakt {
    width: 272px;
    height: 180px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-photo-wrap--angebote-1 {
    width: 201px;
    height: 135px;
    margin-top: 122px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-photo-wrap--angebote-2 {
    width: 240px;
    height: 146px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-photo-wrap--single {
    width: 167px;
    height: auto;
    margin-top: 44px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-photo-wrap--kontakt {
    width: 167px;
    height: 120px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-photo-placeholder i {
    font-size: 32px;
  }
}

@media (max-width: 479px) {
  .page-photo-wrap--angebote-1 {
    width: 134px;
    height: 90px;
    margin-top: 79px;
  }
}

@media (max-width: 479px) {
  .page-photo-wrap--angebote-2 {
    width: 160px;
    height: 98px;
  }
}

@media (max-width: 479px) {
  .page-photo-wrap--single {
    width: 116px;
    height: auto;
    margin-top: 29px;
  }
}

@media (max-width: 479px) {
  .page-photo-wrap--kontakt {
    width: 116px;
    height: 80px;
  }
}

@media (max-width: 479px) {
  .page-photo-placeholder i {
    font-size: 24px;
  }
}

@media (max-width: 479px) {
  .page-photo-placeholder span {
    font-size: 10px;
  }
}

/* Content list (bullet/numbered) */

.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-list li {
  margin-bottom: 2px;
}

.content-subheading {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 2.4;
  color: #000;
  margin: 0;
}

.impressum-h3 {
  font-size: 20px;
  line-height: 1.8;
}

.impressum-subheading-tight {
  line-height: 1.5;
  padding-top: 4px;
}

.impressum-h1-gap {
  line-height: 1.688;
}

.impressum-link {
  color: #268bd2;
  font-weight: 700;
}

.impressum-link:hover {
  text-decoration: underline;
  color: #268bd2;
}

/* Kontakt page two-column layout */

.kontakt-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0;
  overflow: visible;
}

.kontakt-left {
  grid-column: 1;
  grid-row: 1 / 3;
}

.kontakt-right-top {
  grid-column: 2;
  grid-row: 1;
}

.kontakt-hours-label {
  grid-column: 1;
  grid-row: 3;
}

.kontakt-hours-times {
  grid-column: 2;
  grid-row: 3;
}

.kontakt-email-row {
  grid-column: 1 / 3;
  grid-row: 4;
}

@media (max-width: 767px) {
  .kontakt-grid {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 959px) {
  .content-subheading {
    font-size: 16px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .content-subheading {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .content-subheading {
    font-size: 12px;
  }
}

