/* =========================================================
   Massagepraxis Laura Fuchs – Stylesheet
   Farben: Dunkelpetrol #073e4d · Petrol #507780 · Hellblau #cdd8db
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.55;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }

a { color: #073e4d; text-decoration: none; transition: color .2s ease, background-color .2s ease; }
a:hover { color: #507780; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #073e4d;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: 40px; margin-bottom: 18px; }
h2 { font-size: 30px; margin-bottom: 16px; }
h3 { font-size: 21px; margin-bottom: 10px; }
h4 { font-size: 16px; margin-bottom: 6px; color: #507780; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 14px 1.1em; }
li { margin-bottom: 5px; }
strong { font-weight: 700; }

.wrap {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0 28px;
  height: 54px;
  line-height: 54px;
  background: #073e4d;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.btn:hover { background: #507780; color: #fff; }
.btn.light { background: #fff; color: #073e4d; }
.btn.light:hover { background: #cdd8db; color: #073e4d; }
.btn.ghost { background: transparent; color: #073e4d; border: 2px solid #073e4d; line-height: 50px; }
.btn.ghost:hover { background: #073e4d; color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid #e7ebec; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-logo { width: 188px; flex-shrink: 0; }
.site-logo img { width: 100%; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #073e4d;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #507780; }
.main-nav a.active { border-bottom-color: #073e4d; }
.main-nav .btn { font-size: 14px; height: 46px; line-height: 46px; padding: 0 20px; color: #fff; }
.main-nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: relative;
  width: 26px;
  height: 3px;
  background: #073e4d;
  border-radius: 2px;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(7,62,77,.80) 0%, rgba(7,62,77,.58) 100%),
    url(../img/hero.jpg) center 40% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero .wrap { padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; font-size: 46px; }
.hero p {
  font-weight: 300;
  font-size: 21px;
  max-width: 700px;
  margin: 0 auto 30px auto;
}
.hero .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero {
  background: linear-gradient(68deg, #073e4d 0%, #507780 100%);
  color: #fff;
  text-align: center;
}
.page-hero .wrap { padding: 56px 40px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { font-weight: 300; font-size: 18px; max-width: 680px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section.tint { background: #f3f6f6; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px auto; }
.section-head p { font-weight: 300; font-size: 18px; }
.lead { font-weight: 300; font-size: 19px; }

/* ---------- Teaser-Karten ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 280px;
  background: #cdd8db;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .card-body {
  padding: 22px 22px 60px 22px;
  flex: 1;
  background-image: url(../img/link.svg);
  background-size: 42px;
  background-position: right 16px bottom 16px;
  background-repeat: no-repeat;
  transition: background-size .25s ease;
}
.card:hover .card-body { background-size: 50px; }
.card h3 { font-size: 19px; }
.card p { font-weight: 300; font-size: 15px; }
.card.plain .card-body { background-image: none; padding-bottom: 22px; }

/* ---------- Sprungnavigation ---------- */
.jumpnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}
.jumpnav a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background: #cdd8db;
  color: #073e4d;
  padding: 9px 16px;
  border-radius: 6px;
}
.jumpnav a:hover { background: #073e4d; color: #fff; }

/* ---------- Methoden-Block ---------- */
.method {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 46px 0;
  border-top: 1px solid #e2e7e8;
  scroll-margin-top: 20px;
}
.method:first-of-type { border-top: 0; }
.method .method-img { flex: 0 0 38%; }
.method .method-img img { border-radius: 4px; }
.method .method-text { flex: 1; }
.method .method-text > p:first-of-type { font-size: 17px; }
.method-text .sub { margin-top: 16px; }

/* ---------- Breadcrumb (Unterseiten) ---------- */
.breadcrumb {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #cdd8db;
  margin-bottom: 10px;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #cdd8db; }

/* ---------- Cookie-Consent-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #fff;
  border: 1px solid #cdd8db;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0,0,0,.20);
  padding: 22px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  color: #1a1a1a;
}
.cookie-text strong { color: #073e4d; }
.cookie-text a { text-decoration: underline; }
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-buttons .btn {
  height: 44px;
  line-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
}
.cookie-buttons .btn.ghost { line-height: 40px; }
@media (max-width: 680px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px 18px; }
  .cookie-buttons { width: 100%; }
  .cookie-buttons .btn { flex: 1; padding: 0 10px; }
}

/* ---------- Preis-Box (Behandlungsseiten) ---------- */
.price-box {
  background: #cdd8db;
  border-radius: 6px;
  padding: 24px 28px;
}
.price-box h3 { margin-bottom: 14px; }
.price-box table { width: 100%; border-collapse: collapse; }
.price-box td { padding: 8px 0; border-bottom: 1px solid #b6c4c8; font-size: 15px; }
.price-box tr:last-child td { border-bottom: 0; }
.price-box td.p { text-align: right; font-weight: 700; white-space: nowrap; }

/* ---------- Info-/Text-Spalten ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split > div { flex: 1 1 320px; }
.bordered {
  background: #f3f6f6;
  border: 0;
  border-left: 4px solid #073e4d;
  border-radius: 10px;
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(7, 62, 77, .05);
}
.bordered h3 {
  color: #073e4d;
  font-size: 18px;
  letter-spacing: .03em;
  margin-bottom: 12px;
}
.bordered ul { padding-left: 20px; }
.bordered li { margin-bottom: 6px; }
.bordered li:last-child { margin-bottom: 0; }
.bordered p:last-child { margin-bottom: 0; }

/* "warn" = wichtige Information (warm-amber Akzent statt rot) */
.bordered.warn {
  background: #fcf6ec;
  border-left-color: #c89b4d;
  box-shadow: 0 2px 10px rgba(200, 155, 77, .10);
}
.bordered.warn h3 { color: #8a6022; }

/* ---------- Galerie + Lightbox ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
  background: #cdd8db;
  aspect-ratio: 3 / 2;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, opacity .3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 30, 38, .94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 70px 70px;
  animation: lb-fade .2s ease;
}
.lightbox.open { display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .6);
  display: block;
}
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  line-height: 1;
  transition: background .2s;
  padding: 0;
}
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 680px) {
  .lightbox { padding: 60px 16px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; font-size: 24px; }
}

/* ---------- Tabelle (Preise) ---------- */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th,
.price-table td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid #e2e7e8;
}
.price-table th {
  background: #073e4d;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .03em;
}
.price-table td.dur,
.price-table td.price { white-space: nowrap; }
.price-table td.price { font-weight: 700; text-align: right; }
.price-table tr:nth-child(even) td { background: #f3f6f6; }
.price-note { font-size: 14px; font-weight: 300; margin-top: 10px; color: #555; }

/* ---------- Krankenkassen-Band ---------- */
.kk-band { background: #cdd8db; }
.kk-band .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 46px 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.kk-band img { width: 140px; flex-shrink: 0; }
.kk-band .kk-text { max-width: 640px; }

/* ---------- Kontakt-Daten ---------- */
.contact-list { list-style: none; margin: 0; font-size: 17px; }
.contact-list li { margin-bottom: 10px; }
.contact-list strong { display: inline-block; min-width: 96px; color: #507780; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(68deg, #073e4d 0%, #507780 100%);
  color: #fff;
  text-align: center;
}
.cta-band .wrap { padding: 60px 40px; }
.cta-band h2 { color: #fff; }
.cta-band p { font-weight: 300; font-size: 18px; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #073e4d;
  background-image: url(../img/footer.svg);
  background-repeat: no-repeat;
  background-position: right -10px bottom -10px;
  background-size: 240px auto;
  color: #fff;
}
.site-footer .wrap {
  padding: 56px 40px 60px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.site-footer .col { flex: 1 1 240px; }
.site-footer h4 { color: #cdd8db; }
.site-footer p, .site-footer li { font-weight: 300; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #cdd8db; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  color: #cdd8db;
  padding-top: 18px;
  margin-top: 8px;
  flex-basis: 100%;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  h1 { font-size: 27px; }
  .hero h1 { font-size: 31px; }
  h2 { font-size: 24px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid #e7ebec;
    padding: 10px 22px 20px 22px;
    gap: 4px;
    z-index: 50;
  }
  .site-header { position: relative; }
  .site-header.open .main-nav { display: flex; }
  .main-nav a { padding: 11px 0; border-bottom: 1px solid #eef1f1; }
  .main-nav a.active { border-bottom-color: #073e4d; }
  .main-nav .btn { text-align: center; margin-top: 8px; }

  .method { flex-direction: column; gap: 18px; }
  .method .method-img { flex-basis: auto; width: 100%; }
  .method.alt { flex-direction: column; }

  .hero .wrap { padding-top: 64px; padding-bottom: 68px; }
  .section { padding: 50px 0; }
}
