a {
  color: inherit;
  text-decoration: none;
}
li{
  list-style: none;
}
:root {
  --text: #0b1220;
  --muted: #5b6475;
  --surface: rgba(255,255,255,0.75);
  --surface-strong: #fff;
  --ring: rgba(17, 24, 39, 0.12);
  --hover: rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 30px rgba(15,23,42,0.12);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.5;
  scroll-behavior: smooth;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 50px;
  height: 100px;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-nav.is-solid {
  background: var(--surface);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--ring);
}

.logo {
  width: 250px;
  height: 200px;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  margin-top: -60px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  display: none;
  position: absolute;
  top: 10px;
  right: 20px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(6px,2vw,18px);
  align-items: center;
  transition: transform 8s ease-out, opacity 5s ease-out;
}

.menu > li { position: relative; }

.menu a,
.menu button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
}

.menu a:hover,
.menu button:hover,
.menu a:focus-visible,
.menu button:focus-visible {
  background: var(--hover);
  outline: none;
}

.caret {
  display: inline-block;
  margin-left: 4px;
  transition: transform .2s ease;
}

.submenu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface-strong);
  border: 1px solid var(--ring);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
}

.submenu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.submenu li a:hover,
.submenu li a:focus-visible {
  background: var(--hover);
  outline: none;
}

.has-submenu[aria-expanded="true"] > .submenu { display: block; }
.has-submenu[aria-expanded="true"] > button .caret { transform: rotate(180deg); }

@media (hover:hover) {
  .menu > li:hover > .submenu { display: block; }
  .menu > li:hover > button .caret { transform: rotate(180deg); }
}

/* ===== HOME / HERO ===== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: stretch;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:url("img/backgroudnimg2.png");
  background-size: cover;
  background-position: center;
  filter: brightness(1.05);
  transform: scale(var(--scale,1.04));
  will-change: transform;
}

.home-content {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding: clamp(16px,6vh,64px) clamp(16px,6vw,64px);
  min-height: 100vh;
}

.home-copy {
  max-width: 60ch;
  backdrop-filter: saturate(120%) blur(2px);
  border-radius: 16px;
  padding: 20px;
  transition: transform .6s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(12px);
}

.home-copy.is-in {
  opacity: 1;
  transform: translateY(0);
}

.home-title {
  margin: 0 0 8px 0;
  font-size: clamp(28px,5vw,56px);
  line-height: 1.1;
  letter-spacing: .2px;
  text-wrap: balance;
  color: var(--text);
}
.home-title span{
  display:inline-block;
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp .5s forwards;
}
@keyframes fadeUp{
  to{opacity:1; transform:translateY(0)}
}


.home-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #50b7ef, #010812);
  border-radius: 16px;
  transition: transform .15s ease, filter .2s ease;
}

.home-cta:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 4px;
}

.home-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.home-scroll-cue {
  position: absolute;
  left: clamp(16px,6vw,64px);
  bottom: 24px;
  font-size: 14px;
  opacity: .8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.home-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111;
  opacity: .75;
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: translateY(0); opacity: .55 }
  50% { transform: translateY(4px); opacity: 1 }
}

@media (max-width: 960px) {
.logo{
  padding-left: 30px;
}
.home-hero::before {
  background-image: url("img/backgroundMobile.png"); 
  background-position: center top;  
  background-size: cover;
}
  .nav-toggle { display: block; }
 .menu {
  position: fixed;
  top: 64px;
  right: 16px;
  left: 16px;
  display: flex;                 
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px;
  background: var(--surface-strong);
  border: 1px solid var(--ring);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 1001;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
}

.site-nav.menu-open .menu {
  max-height: 80vh;   
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

  .submenu {
    position: static;
    display: none;
    margin: 6px 0 0 0;
    padding: 6px;
    background: rgba(249,250,251,0.9);
    border: 1px solid var(--ring);
    border-radius: 12px;
    box-shadow: none;
  }
  .has-submenu[aria-expanded="true"] > .submenu { display: block; }
  .logo img {
    margin-top: -80px;
    margin-left: -90px;
  }
  .third-doc-h1, .third-doc-header-text {
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-copy, .home-cta { transition: none; }
  .home-dot { animation: none; }
}

#mehr {
  padding: 64px 16px;
  max-width: 1000px;
  margin: 0 auto;
}

#kontakt {
  margin-top: 64px;
}


/* ARZT */
.third-contain{
  max-width: 900px;
  padding: 50px 0;
  margin: 0 auto;
}
.third-doc-section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.third-doc-praxis-info .third-doc-info-p {
  margin-bottom: 1rem;
}
.third-doc-h2 {
  margin-bottom: 1rem;
}
.third-doc-team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 2rem;
}
.third-doc-team-member {
  text-align: center;
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.third-doc-team-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.third-doc-team-name {
  margin: 0.5rem 0 0.2rem;
}
.third-doc-team-role {
  margin: 0.3rem 0;
  font-weight: bold;
}
.third-doc-team-text {
  margin: 0.3rem 0;
}




/* ===== FOOTER ===== */
footer {
  background-color:rgb(41, 123, 174); 
  color: #fff;
  padding: 40px 20px;
  height: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-box h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-box p, 
.footer-box a {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
}

.footer-box a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
}


/* =========PATIENT-INFO========== */
.info-patient {
    background: url('img/teeth.png') center/cover no-repeat;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-patient .content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5rem;
  max-width: 600px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.info-patient .content h1 {
  margin-top: 0;
  font-size: 2.2rem;
  color: #005a9c;
}
.info-patient .content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
.info-patient .content ul {
  text-align: left;
  padding-left: 20px;
  padding-bottom: 20px;
}
.info-patient .content ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .info-patient .content {
    font-size: 1rem;
    width: 100%;
    margin: 10px;
  }
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}




/* ===== =============AUßERHALB INDEX.HTML===================== ===== */
/* ===== FAQ ===== */
.faq-content {
  max-width: 900px;
  margin: 100px auto;
  padding: 1rem;
  height: auto;
}

.section-title {
  color: #0369a1;
}

.faq {
  background: #e0f2fe;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.faq-item {
  background: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  border: 1px solid #bae6fd;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}


/* ===== ANFAHRT ===== */
.anfahrt-inner{
  background-image:url("img/anfahrtbackground.png");
  background-size: cover;
  background-position: center;
  width: 100%;
}
.grid {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
}
.panel {
  padding: 2rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  border-right: 1px solid #e2e8f0;
}
.heading { margin: 0; }
.heading--h1 { font-size: 1.5rem; }
.text { margin: 0; }
.text--sub { color: #475569; font-size: 0.95rem; }

.contact { display: grid; gap: 0.75rem; }
.contact__row { display: flex; gap: 0.5rem; }

.link {
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px dotted #94a3b8;
}
.link:hover { border-bottom-style: solid; }

.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.05s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.btn--primary {
  background: #06b6d4;
  color: #ffffff;
  border: 1px solid #0891b2;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(6, 182, 212, 0.25);
}

.map-col { position: relative; display: grid; } 
.map-wrap {
  position: sticky;
  top: 25%;
  height: 380px;
  width: min(100%, 680px);
  justify-self: center; 
  overflow: hidden;
  padding-bottom: 50px;

}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .anfahrt-inner{
    padding: 100px 0;
  }
  .grid { grid-template-columns: 1fr; }
  .map-wrap { height: 300px; position: relative; }
}



/* ==================CERTIFICATES ===============*/
.wrap{max-width:1200px; margin:32px auto; padding:100px 16px;}

.grid-wrap{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  align-items:start;
}

.lead{margin:0 0 20px; color:var(--muted)}

.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  border:4px solid #fff;              
  border-radius:12px;
  background: rgb(241, 241, 241);
  box-shadow:0 4px 12px rgba(0,0,0,.6);
  box-shadow:0 1px 2px rgba(0,0,0,.04);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.08);
  border-color:#d1d5db;
}

.media{
  position:relative;
  height: 400px;
  background:#f8fafc;
}
.media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
}

.meta{padding:14px 14px 16px;}
.meta h3{margin:0 0 6px; font-size:16px; line-height:1.3}
.meta small{display:block; color:var(--muted)}

@media print{
  .wrap{margin:0; padding:0}
  .card{page-break-inside:avoid; box-shadow:none}
}
@media (max-width:1200px){
    .wrap{
      padding: 100px 100px;
    }
}
@media (max-width:600px){
    .wrap{
      padding: 100px 10px;
    }
}

/* ============PRAXIS============= */
.pra-page {
    line-height: 1.6;
    color: #111;
}

.pra-section {
  padding: clamp(2rem, 4vw, 4rem) 1rem;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 100px;
}

.pra-scanner {
  background: #f8fafc;
}

.pra-scanner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding-left: 30px;
}

.pra-scanner-media img {
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,.1);
  width: 100%;
  height: auto;
  display: block;
}

.pra-scanner-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: .75rem;
}

.pra-scanner-benefits {
  margin: .75rem 0 1rem;
  padding-left: 1.25rem;
}

.pra-scanner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  align-items: center;
}

.pra-btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  background: #0b6bcb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(11, 107, 203, .25);
  transition: background .2s ease;
}

.pra-btn:hover {
  background: #084a8a;
}

.pra-scanner-invest,
.pra-scanner-note {
  font-size: .95rem;
  color: #6b7280;
}

.pra-scanner-faq summary {
  cursor: pointer;
  font-weight: 600;
  margin: .5rem 0;
}

.pra-gallery-intro {
  color: #6b7280;
}

.pra-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.pra-tile {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,.1);
}

.pra-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
  display: block;
}

.pra-tile:hover img {
  transform: scale(1.05);
}

.pra-lightbox[hidden] {
  display: none;
}

.pra-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 1rem;
}

.pra-lightbox-wrap {
  position: relative;
  width: min(1200px, 92vw);
  max-height: 90vh;
}

.pra-lightbox-img {
  width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,.1);
  background: #000;
}

.pra-lightbox-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  background: #fff;
  color: #111;
  box-shadow: 0 6px 14px rgba(0,0,0,.1);
}


@media (max-width: 800px) {
    .pra-scanner-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding-left: 0;
    }

    .pra-section {
      padding: 3.5rem 1rem;
    }

    .pra-scanner-title {
      font-size: 1.5rem;
    }

    .pra-scanner-cta {
      flex-direction: column;
      align-items: flex-start;
      gap: .75rem;
    }

    .pra-gallery-grid {
      grid-template-columns: 1fr 1fr;
      gap: .75rem;
    }

    .pra-tile img {
      aspect-ratio: 1 / 1;
    }
  }




/* =========TEAM============== */
.team-inner {
    max-width: 1100px;
    margin-inline: auto;
    padding: 150px 50px;
}

.heading-xl {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 .6rem;
}

.heading-lg {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.25;
  margin: 0 0 .6rem;
  color: #475569;
  font-weight: 600;
}

.heading-md {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 .6rem;
}

.text-team {
  margin: 0 0 1rem;
}

.hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
}

.hero img {
  width: 100%;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
  display: block;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, .45), rgba(2, 6, 23, 0));
}

.intro {
  margin-top: clamp(18px, 3vw, 28px);
}

.intro .lead {
  background: linear-gradient(180deg, #e0f2fe, #fff 60%);
  border: 1px solid #e5e7eb;
  border-left: 6px solid #0ea5e9;
  border-radius: 18px;
  padding: clamp(14px, 2.4vw, 22px);
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
}

.lead-section {
  margin-top: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;

 span, h1, p {
  margin-bottom: 50px;
}

}



.lead-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
  border: 1px solid #e5e7eb;
}

.lead-photo img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.lead-copy {
  padding: 6px;
}

.chip {
  display: inline-block;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0c4a6e;
  font-weight: 600;
  font-size: .82rem;
  border: 1px solid #e5e7eb;
}

.kicker {
  margin-top: .5rem;
  color: #475569;
  font-size: .95rem;
}

.bullets {
  margin: .6rem 0 0;
  padding: 0 0 0 1rem;
}

.team-wrap {
  margin-top: clamp(28px, 4vw, 46px);
}

.team-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.team-head small {
  color: #475569;
}

ol.team {
  counter-reset: mitglieder;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}
.teamcard {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(2, 8, 23, .08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  height: auto;
  width: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.teamcard:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 36px rgba(14,165,233,.25);
}

.teamcard::before {
  counter-increment: mitglieder;
  content: counter(mitglieder);
  position: absolute;
  top: 10px;
  left: 10px;
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  background: #0ea5e9;
  color: white;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 6px 16px rgba(14,165,233,.35);
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(2, 8, 23, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.avatar:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 32px rgba(14,165,233,.35);
}

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

.meta {
  line-height: 1.35;
}

.meta .name {
  font-weight: 700;
  font-size: 1.05rem;
}

.meta .role {
  color: #475569;
  font-size: .95rem;
}

.meta .tags {
  margin-top: .5rem;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.tag {
  font-size: .8rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.section-title {
  margin: clamp(16px, 3vw, 22px) 0 8px;
  font-weight: 800;
}

a:focus,
button:focus,
.teamcard:focus {
  outline: 3px solid #0ea5e9;
  outline-offset: 2px;
}

@media (min-width: 860px) {
  .lead-section {
    grid-template-columns: 1fr 1.1fr;
  }
}

@media (max-width: 899px) {
  .team-inner { padding: 80px 16px; }

  ol.team {
    grid-template-columns: 1fr;
  }

  .teamcard {
    height: auto;
    padding: 16px;
    gap: 12px;
  }

  .avatar {
    width: 72px;
    height: 72px;
  }
  .lead-section{
    margin-bottom: 100px;

      span, h1, p {
      margin-bottom: 20px;
    }
  }
  .section-title{
    font-size: 2rem;
  }
}


/* =========IMPRESSUM=========== */
.rechte {
    line-height: 1.6;
    margin: 2rem auto;
    max-width: 820px;
    padding: 100px 1rem;
    color: #222;
}

.impressum-title-h1 {
    color: #005fa3;
    margin-top: 1.6rem;
}

.impressum-title-h2 {
    color: #005fa3;
    margin-top: 1.6rem;
}

.impressum-link {
    color: #005fa3;
    text-decoration: none;
}

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

.impressum-header,
.impressum-footer {
    margin: 1rem 0;
}

.impressum-muted {
    color: #666;
}

.impressum-nav-link {
    margin-right: .6rem;
}


/* =========LANGUAGES=========== */
.lang-inner {
    overflow: hidden; 
    height: 100vh;
}

.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.languages-inner {
  position: relative;
  z-index: 1;
  max-width: 950px;
  height: 600px;
  margin: auto;
  background: rgba(255,255,255,0.85);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.1);
  animation: pop-in 500ms ease-out both;
  top: 50%;
  transform: translateY(-50%);
}

.languages-title {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  text-align: center;
  margin-bottom: .5rem;
}

.languages-text {
  text-align: center;
  color: #475569;
  margin-bottom: 1.25rem;
}

.languages-list {
  list-style: none;
  display: grid;
  gap: .7rem;
  padding: 0 50px;
}

.languages-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  animation: fade-up 400ms ease both;
}

.languages-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
  border-color: #c7d2fe;
}

.languages-left {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.languages-name {
  font-weight: 700;
}

.languages-alt {
  color: #64748b;
  font-size: .95rem;
}

.languages-badge {
  font-size: .85rem;
  padding: .28rem .6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f1f5f9;
  letter-spacing: .5px;
}

.languages-arabic {
  direction: rtl;
  unicode-bidi: embed;
  font-family: "Noto Naskh Arabic", "Scheherazade New", "Amiri", serif;
  font-size: 1.05rem;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(-40%) scale(.96); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 1000px) {
.lang-inner{
    padding: 50px 20px;
    margin-bottom: 100px;
    margin-top: 60px;

    ul{
      padding: 0;
    }
  } 
}

/* ========Prophylaxe========== */
.leistungen-section {
  padding: 4rem 1.5rem;
  background: #f9fbfc;
  color: #333;
}

.leistungen-section h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #005b8f;
  text-align: center;
}

.leistungen-section .subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}
.prohy{
  max-width: 1000px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.text-block h2 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #005b8f;
}

.text-block p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.text-block ul {
  list-style: disc;
  margin: 1rem 0 1.5rem 1.5rem;
  color: #444;
}

.image-block img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #005b8f;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0077b6;
}

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

  .image-block {
    order: -1;
  }
}


/* ======KARIESBEHANDLUNG========= */
.kariesbehandlung {
  background: url("img/karies\ Zahn\ backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}

.leistung-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 1.5rem;
}

.leistung-container {
  max-width: 1000px;
  margin: 0 auto;
}

.leistung-title {
  font-size: 2.2rem;
  color: #005b8f;
  margin-bottom: 1rem;
  text-align: center;
}

.leistung-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.leistung-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.leistung-content h2 {
  margin-top: 2rem;
  color: #005b8f;
}

.leistung-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #444;
}

/* =======PARODONTOLOGIE============ */
.parodontologie {
  background: url("img/karies\ Zahn\ backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}

/* ======ENDOTONTIE======== */
.endodontie {
  background: url("img/karies\ Zahn\ backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}

/* ========ZAHNERSATZ / KRONE ========== */
.zahnersatz {
  background: url("img/karies\ Zahn\ backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}

/* =======oralchirurgie========= */
.oralchirurgie {
  background: url("img/karies\ Zahn\ backgroundimg.png") no-repeat center center fixed;
  background-size: cover;
}


/* =======aesthetik========= */
.aesthetik {
  padding: 4rem 1.5rem;
  background: #f9fbfc;
  color: #333;
}

.aesthetik .leistung-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #005b8f;
  text-align: center;
}

.aesthetik .leistung-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.aesthetik .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.aesthetik .text-block h2 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #005b8f;
}

.aesthetik .text-block p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.aesthetik .text-block ul {
  list-style: disc;
  margin: 1rem 0 1.5rem 1.5rem;
  color: #444;
}

.aesthetik .image-block img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .aesthetik .content-grid {
    grid-template-columns: 1fr;
  }

  .aesthetik .image-block {
    order: -1;
  }
}


/* =====IMPLANTOLOGIE====== */
.implantologie {
  background: url("img/implantologie-bg.png") no-repeat center center fixed;
  background-size: cover;
}

.implant-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 1.5rem;
}

.implant-container {
  max-width: 1000px;
  margin: 0 auto;
}

.implant-title {
  font-size: 2.2rem;
  color: #005b8f;
  margin-bottom: 1rem;
  text-align: center;
}

.implant-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.implant-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.implant-content h2 {
  margin-top: 2rem;
  color: #005b8f;
}

.implant-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #444;
}


/* KIEFER */
.kiefergelenkstoerung {
  background: url("img/kiefergelenk-bg.png") no-repeat center center fixed;
  background-size: cover;
}

.kiefer-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 1.5rem;
}

.kiefer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.kiefer-title {
  font-size: 2.2rem;
  color: #005b8f;
  margin-bottom: 1rem;
  text-align: center;
}

.kiefer-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.kiefer-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.kiefer-content h2 {
  margin-top: 2rem;
  color: #005b8f;
}

.kiefer-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #444;
}


/* BOTOX */
.botox-therapie {
  background: url("img/botox-bg.png") no-repeat center center fixed;
  background-size: cover;
}

.botox-overlay {
  background: rgba(255, 255, 255, 0.9);
  padding: 4rem 1.5rem;
}

.botox-container {
  max-width: 1000px;
  margin: 0 auto;
}

.botox-title {
  font-size: 2.2rem;
  color: #005b8f;
  margin-bottom: 1rem;
  text-align: center;
}

.botox-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
}

.botox-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.botox-content h2 {
  margin-top: 2rem;
  color: #005b8f;
}

.botox-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
  color: #444;
}
