/* ===========================================
   GLOBAL 基础设置
=========================================== */
:root {
  /* ⭐⭐ 你想“白色减轻”，主要改这两个值即可 */
  --panel-bg: rgba(255,255,255,0.75);  /* 大面积容器（content-wrapper） */
  --card-bg: rgba(255,255,255,0.28);   /* 卡片（feature-box / card 等） */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("../assets/background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
  background-size: 100% auto;
}

@media (max-width: 850px) {
  body {
    background-size: cover;
    background-attachment: scroll;
  }
}

html, body { overflow-x: hidden; }

/* 内容容器：桌面 */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--panel-bg);
  border-radius: 12px;
  padding: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* 手机端：真正满屏 */
@media (max-width: 850px) {
  .content-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    border-radius: 0;
  }
}

/* ===========================================
   HEADER（统一组件）
=========================================== */
.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}
.logo { height: 50px; }

/* ✅ 仅作用于 header 的 nav，避免误伤其它页面 nav */
.site-header #navMenu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 32px;
}
.site-header #navMenu a {
  text-decoration: none;
  color: #0E2F24;
  font-weight: 550;
}
.site-header #navMenu a.active {
  border-bottom: 2px solid #0E2F24;
  padding-bottom: 3px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch a {
  text-decoration: none;
  color: #0E2F24;
  opacity: 0.55;
  font-weight: 500;
}
.lang-switch a.active {
  opacity: 1;
  font-weight: 700;
}

/* desktop default */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* ===========================================
   HERO（苹果风）
=========================================== */
.hero-content {
  text-align: center;
  padding: 60px 50px;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 40px;
  color: #244b3a;
}

.btn-hero {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #7ac2a7, #66b298);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-hero:hover { transform: translateY(-3px); }

@media (max-width: 850px) {
  .hero-content {
    padding: 35px 20px;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 32px 16px;
  }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 18px; }
}

/* ===============================
   FEATURES – 医疗权威布局（方案 B）
=============================== */
.features-medical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 60px 20px;
}
.feature-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.feature-group-title {
  font-size: 20px;
  font-weight: 600;
  color: #0E2F24;
  text-align: center;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.feature-group-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 1.5px;
  background: none;
  margin: 10px auto 0;
  border-radius: 2px;
}
.feature-box {
  padding: 26px 28px;
  border-radius: 18px;
  background: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0E2F24;
}
.feature-text {
  font-size: 16.5px;
  line-height: 1.65;
  color: #2d463d;
}
@media (max-width: 850px) {
  .features-medical {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ===========================================
   TESTIMONIALS
=========================================== */
.stars {
  color: #E8B923;
  font-size: 20px;
  margin-bottom: 10px;
}

.testimonials h2 {
  text-align: center;
  font-size: 30px;
}

.testimonials .subtitle {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 30px;
  color: #244b3a;
  font-size: 17px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 20px 10px;
}

.card {
  background: var(--card-bg);
  padding: 26px 30px;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-size: 17px;
  font-style: italic;
}
.testimonial-grid,
.card {
  text-align: left;
}
.card .author {
  margin-top: 14px;
  font-weight: bold;
  font-style: normal;
}

@media (max-width: 850px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* 页面统一内容宽度 */
.features,
.testimonials,
.clinic-photos,
.price-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===========================================
   PRICE LIST
=========================================== */

/* 外层区块：确保整个模块居中 */
.price-section{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 标题必须居中（不受其它 left !important 影响） */
.price-title{
  font-size: 28px;
  margin: 0 auto 20px;
  text-align: center;
}

/* 表格整体再收窄并居中（你想“往中间凑凑”就是靠它） */
.price-table{
  max-width: 820px;
  margin: 0 auto;
}

/* 每一行：左右两列 */
.price-row{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.18);
}

/* 左边内容允许左对齐，但不要用 !important 去污染其它元素 */
.price-left,
.price-item,
.price-desc{
  text-align: left;
}

/* 右侧价格列固定宽度 + 右对齐 */
.price-right{
  width: 110px;
  text-align: right;
  white-space: nowrap;
}

/* 手机：改成上下排列 */
@media (max-width: 850px){
  .price-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .price-right{
    width: auto;
    text-align: left;
    margin-top: 8px;
  }
}

/* ===========================================
   CONTACT
=========================================== */
.kontakt-container {
  max-width: 1100px;
  margin: auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 18px;
  display: flex;
  gap: 40px;
}
@media (max-width: 850px) {
  .kontakt-container { flex-direction: column; }
}
.contact-section {
  text-align: center;
  margin-bottom: 80px;
}

/* ===========================================
   FOOTER（三列）
=========================================== */
.footer {
  max-width: 1100px;
  margin: 60px auto;
  padding: 30px 20px;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.footer-col { padding: 0 20px; }
.footer-col:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,0.25);
}
.footer-separator {
  border-top: 1px solid rgba(0,0,0,0.25);
  margin: 25px 0;
}
@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .footer {
    max-width: 100%;
    margin: 40px 0;
    padding: 0 16px;
  }
}

/* ===========================================
   Betriebsferien 绿条提示
=========================================== */
.footer-box {
  background: rgba(225, 238, 210, 0.9);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 40px auto;
  max-width: 900px;
  font-size: 18px;
}

/* ===========================================
   ÜBER MICH —— 专业版（左右高度对齐 + 紧凑布局）
=========================================== */
.uebermich-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}
.uebermich-photo {
  flex: 0 0 35%;
  display: flex;
  justify-content: center;
}
.uebermich-img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.uebermich-text {
  flex: 1;
  max-width: 430px;
  line-height: 1.7;
}
.uebermich-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0E2F24;
}
.uebermich-text h3 {
  margin-top: 30px;
  font-size: 22px;
  color: #0E2F24;
}
@media (max-width: 850px) {
  .uebermich-section {
    flex-direction: column;
    padding: 25px 20px;
  }
  .uebermich-photo { width: 100%; }
  .uebermich-img {
    max-width: 340px;
    width: 85%;
  }
  .uebermich-text {
    max-width: none;
    text-align: left;
    padding: 0 10px;
  }
  .uebermich-text h2 { text-align: center; }
}

/* ===========================================
   SPEZIALGEBIETE —— 居中 + 最佳阅读宽度
=========================================== */
.spezial-wrapper {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px 10px;
  background: none;
  border-radius: 16px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.spezial-wrapper h2 {
  font-size: 32px;
  color: #0E2F24;
  margin-bottom: 25px;
  text-align: left;
}
.spezial-wrapper ul {
  padding-left: 24px;
  line-height: 1.82;
  font-size: 17px;
}
.spezial-wrapper li { margin-bottom: 10px; }
.spezial-wrapper li b { color: #0E2F24; }

/* ===========================================
   KONTAKT — 表单
=========================================== */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.kontakt-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.kontakt-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kontakt-form label {
  font-size: 16px;
  color: #0E2F24;
  font-weight: 500;
}
.kontakt-form input,
.kontakt-form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
  font-size: 16px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: #66B298;
  box-shadow: 0 0 0 3px rgba(102,178,152,0.25);
}
.kontakt-form textarea { resize: vertical; }

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.checkbox-line input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}
.kontakt-btn {
  margin-top: 8px;
  width: 200px;
  align-self: flex-start;
  text-align: center;
}
@media (max-width: 850px) {
  .kontakt-form .row-2 { grid-template-columns: 1fr; }
  .kontakt-btn { width: 100%; }
}
/* Kontakt: 左右两列固定比例，避免 DE/EN 文案导致布局变化 */
.kontakt-left,
.kontakt-right{
  flex: 1 1 0;
  min-width: 0;
}

/* 可选：让两列从顶部对齐 */
.kontakt-container{
  align-items: flex-start;
}

/* ================= FAQ ================= */
.faq-wrapper {
  max-width: 900px;
  margin: 60px auto;
}
.faq-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 50px;
}
.faq-section-title {
  font-size: 24px;
  margin: 50px 0 20px;
  color: #0E2F24;
}
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.12); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #0E2F24;
}
.faq-question::after {
  content: "＋";
  float: right;
  transition: transform 0.25s;
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  display: none;
  padding-bottom: 25px;
  font-size: 17px;
  line-height: 1.7;
  color: #2d463d;
}
.faq-item.open .faq-answer { display: block; }

/* ===========================================
   CLINIC PHOTOS – Homepage (2 rooms)
=========================================== */
.clinic-photos {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 20px;
}

.clinic-photos__header {
  text-align: center;
  margin-bottom: 28px;
}
.clinic-photos__header h2 {
  font-size: 30px;
  margin: 0 0 10px;
  color: #0E2F24;
}
.clinic-photos__header p {
  margin: 0;
  font-size: 17px;
  color: #244b3a;
}

/* 桌面端两列 */
.clinic-photos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.clinic-photo {
  margin: 0;
  background: rgba(255,255,255,0.78);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.clinic-photo__btn {
  padding: 0;
  border: none;
  background: none;
  display: block;
  width: 100%;
  cursor: pointer;
}

.clinic-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.clinic-photo__btn:hover img { transform: scale(1.03); }

.clinic-photo figcaption {
  padding: 12px 14px 14px;
  font-size: 15px;
  color: #2d463d;
}

@media (max-width: 850px) {
  .clinic-photos {
    margin: 40px 0;
    padding: 0 16px;
  }
  .clinic-photos__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
    margin: 0;
  }
  .clinic-photo img { height: 210px; }
  .clinic-photo { border-radius: 16px; }
}

/* ===========================================
   ÜBER MICH – Zertifikate（最终单一版本）
=========================================== */
.certificates {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
  text-align: center;
}

.cert-title {
  font-size: 26px;
  color: #0E2F24;
  margin-bottom: 26px;
  position: relative;
}

.cert-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 1.5px;
  background: rgba(14,47,36,0.35);
  margin: 12px auto 0;
  border-radius: 2px;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: center;
}

.cert-item {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.cert-item img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 850px) {
  .certificates { padding: 0 16px; }
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cert-item img { max-width: 260px; }
}

/* ==============================
   CERTIFICATES – NAREG single + 2x2 below
============================== */

/* 上面：单独居中 */
.cert-single{
  display: flex;
  justify-content: center;
  margin: 18px 0 34px;
}

/* 下面：2×2 */
.cert-grid-2x2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

/* 统一图片尺寸（你可按需要微调 max-width） */
.cert-item img{
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
}

/* 手机端：变成单列 */
@media (max-width: 850px){
  .cert-grid-2x2{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cert-single{
    margin: 14px 0 24px;
  }
}
.cert-single img{
  width: 100%;
  max-width: 520px;
}

@media (max-width: 850px){
  .cert-single img{
    max-width: 320px;
  }
}

/* ===========================================
   LIGHTBOX（最终单一版本）
=========================================== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  background: rgba(0,0,0,0.85);
}

.lightbox.is-open {
  display: flex !important;
}

.lightbox__content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.95);
  padding: 18px;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  margin: 0 auto;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ===============================
   FIX: GLASS / BACKDROP FILTER
   (put near the END of style.css)
=============================== */
.content-wrapper {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.spezial-wrapper {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ===============================
   FIX: MOBILE HEADER & HAMBURGER (SAFE SCOPE)
=============================== */

/* desktop default */
.menu-toggle { display: none; }

/* mobile */
@media (max-width: 850px) {

  .header-container{
    max-width: 100%;
    margin: 0;
    padding: 0 16px;
  }

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

  .menu-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10001;

    font-size: 30px;
    line-height: 1;
    cursor: pointer;

    background: none;
    border: none;
    padding: 8px 10px;
    margin: 0;
  }

  /* ONLY header navMenu */
  .site-header #navMenu{
    display: none;
    position: absolute;
    top: 64px;
    right: 0;
    width: 260px;

    background: #fff;
    padding: 16px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    z-index: 10000;
  }

  .site-header #navMenu.show-menu{
    display: block;
  }

  .site-header #navMenu a{
    display: block;
    padding: 12px 0;
    font-size: 18px;
    color: #0E2F24;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
  }

  .site-header #navMenu a:last-child{
    border-bottom: none;
  }
}

/* 仅仅这一段，为你的动态组件预留位置 */
#header-placeholder { min-height: 80px; display: block; }
#footer-placeholder { min-height: 200px; display: block; }

