/* ----------------------------------------
   RESET & BASE
---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #f4f7fb;
  color: #123041;
}

/* ----------------------------------------
   DESIGN-TOKENS
---------------------------------------- */
:root {
  --blue: #1663af;
  --blue-soft: #e0ecff;
  --blue-dark: #0c3456;
  --teal: #18a38c;
  --teal-soft: #d4f2eb;
  --accent: #f6b456;
  --green: #159a8c;   /*#1A8684*/
  --text: #123041;
  --text-muted: #5c6f7b;
  --bg-page: #f4f7fb;
  --bg-white: #ffffff;

  --shadow-soft: 0 18px 40px rgba(3, 31, 54, 0.08);
  --shadow-card-hover: 0 24px 45px rgba(3, 31, 54, 0.16);
  --radius-lg: 18px;
  --radius-md: 12px;
}

/* ----------------------------------------
   LAYOUT
---------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  padding: 6rem 0;
  background: linear-gradient(135deg, #edf4ff 0%, #f4fbf9 100%);
}

.section-header {
  margin-bottom: 2.2rem;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  letter-spacing: 0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}



/* ----------------------------------------
   HEADER / NAVIGATION
---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.94);
  border-bottom: 1px solid rgba(5, 35, 63, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, #47c2ac, #1663af);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 10px 20px rgba(11, 119, 102, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  font-size: 0.96rem;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----------------------------------------
   HEADER – höher & transparenter
---------------------------------------- */

.site-header{
  /* mehr Höhe */
  padding: 0.6rem 0;
  background: rgba(244, 247, 251, 0.65);


  /* transparenter Glas-Look */
  background: rgba(244, 247, 251, 0.78);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
  border-bottom: 1px solid rgba(5, 35, 63, 0.06);
}

/* Innenabstand leicht erhöhen */
.header-inner{
  padding: 0.9rem 0;
}



/* Nav */
.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--bg-white);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  margin: 0;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(3, 31, 54, 0.12);
}

.nav-links li {
  border-radius: 999px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--text-muted);
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-links a:hover {
  background: rgba(225, 236, 255, 0.9);
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.nav-links a.is-active,
.nav-links a.nav-link-active {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
}

/* ----------------------------------------
   BUTTONS
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 10px 25px rgba(24, 103, 168, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(24, 103, 168, 0.45);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: rgba(24, 103, 168, 0.4);
}

.btn-outline:hover {
  background: var(--blue-soft);
}

/* ----------------------------------------
   HERO
---------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  padding: 12rem 0 5rem;
  overflow: hidden;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("nurtingen_ningel.jpg") center center / cover no-repeat;
  filter: blur(0px) brightness(0.9);
  transform: scale(1.06);
  z-index: -2;
  animation: heroFloat 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(26, 163, 139, 0.18), transparent 55%),
    radial-gradient(circle at top right, rgba(24, 103, 168, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(3, 25, 40, 0.36), rgba(3, 25, 40, 0.52));
  z-index: -1;
}

@keyframes heroFloat {
  from { transform: scale(1.04) translateY(0); }
  to   { transform: scale(1.08) translateY(-6px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.1rem;
  align-items: stretch;
  position: relative;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.1vw, 2.8rem);
  margin: 0 0 0.8rem;
  background: linear-gradient(135deg, #dffcf6 0%, #ffffff 40%, #dff1ff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.35));
}

.hero-subtitle {
  margin: 0 0 1.3rem;
  color: #e5f0f8;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #d1e4f4;
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(208, 222, 238, 0.96);
}

.hero-card h2 {
  margin-top: 0;
  color: #1A8684;
}

/* ----------------------------------------
   GENERISCHE CARDS & LISTEN
---------------------------------------- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(211, 222, 236, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(24, 103, 168, 0.22);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.55rem;
  color: var(--green);
}

/* ----------------------------------------
   SPRECHZEITEN
---------------------------------------- */
#sprechzeiten {
  background: linear-gradient(135deg, #f2fbf9 0%, #eef5ff 100%);
}

.times-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.times-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.times-table th,
.times-table td {
  padding: 0.45rem 0.35rem;
}

.times-table thead {
  border-bottom: 1px solid #d4e1ee;
}

.times-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.note {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.section-header h2 {
  color: #1A8684;
}

/* ----------------------------------------
   TEAM
---------------------------------------- */
#team {
  background: radial-gradient(circle at top left, #eefbf7, #f5f9ff);
}

.team-layout {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.team-doctors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.team-photo img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 400px;
}

.team-members {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-role {
  margin: 0.25rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--teal);
}

.team-az {
  margin: 0.25rem 0 0.6rem;
  font-size: 0.9rem;
  color: var(--blue);
}

.team-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}




/* ----------------------------------------
   LEISTUNGEN – Future Premium (Bild sichtbarer, Glass, modern)
---------------------------------------- */

#leistungen{
  position: relative;
  overflow: hidden;
  color: #0f172a;

  /* Bild + dezente Farbakzente */
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(20,184,166,.22), transparent 60%),
    radial-gradient(900px 520px at 88% 0%, rgba(125,211,252,.24), transparent 65%),
    url("praxis-innen.JPEG");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* fixed wirkt oft alt/ruckelig */
  background-attachment: scroll;
}

/* Overlay: heller, aber dünner -> Bild bleibt erkennbar */
#leistungen::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(248,250,252,.40),
    rgba(245,247,251,.56)
  );
}

/* Optional: sehr leichtes “Korn” (Premium), stört das Bild nicht */
#leistungen::after{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .10;
  pointer-events: none;
}

/* Inhalt über Overlay */
#leistungen .container,
#leistungen .section-header,
#leistungen .services-grid{
  position: relative;
  z-index: 1;
}

/* Header: modern, klar */
#leistungen .section-header h2{
  color: #0f766e;
  letter-spacing: .25px;
}

#leistungen .section-header p{
  color: rgba(51,65,85,.92);
  max-width: 72ch;
}

/* ================================
   LEISTUNGEN – 3 + 2 Layout (stabil)
================================ */

.services-grid{
  display: grid;
  gap: 22px;
  align-items: stretch;
}

/* Desktop: 3 oben, 2 unten zentriert */
@media (min-width: 980px){
  .services-grid{
    grid-template-columns: repeat(6, 1fr);
  }

  /* obere 3 */
  .services-grid .service-card:nth-child(1){ grid-column: 1 / span 2; }
  .services-grid .service-card:nth-child(2){ grid-column: 3 / span 2; }
  .services-grid .service-card:nth-child(3){ grid-column: 5 / span 2; }

  /* untere 2 zentriert */
  .services-grid .service-card:nth-child(4){ grid-column: 2 / span 2; }
  .services-grid .service-card:nth-child(5){ grid-column: 4 / span 2; }
}

/* Tablet/Mobil */
@media (max-width: 979px){
  .services-grid{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* ----------------------------------------
   Cards – Future Glass (lesbar + hochwertig)
---------------------------------------- */
#leistungen .card.service-card{
  position: relative;
  border-radius: 22px;

  /* kompakter & proportional */
  padding: 18px 18px 16px;
  min-height: 170px;

  overflow: hidden;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(148,163,184,.36);

  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);

  box-shadow:
    0 1px 2px rgba(15,23,42,.06),
    0 16px 38px rgba(15,23,42,.11);

  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s cubic-bezier(.2,.8,.2,1),
    border-color .22s ease,
    background .22s ease;
}


/* Premium Accent-Line oben */
#leistungen .card.service-card::before{
  content:"";
  position:absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(20,184,166,0),
    rgba(20,184,166,.95),
    rgba(125,211,252,.88),
    rgba(20,184,166,0)
  );
  opacity: .70;
}

/* Subtiler “Glow” rechts oben (Future Touch) */
#leistungen .card.service-card::after{
  content:"";
  position:absolute;
  width: 240px;
  height: 240px;
  right: -150px;
  top: -170px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, rgba(125,211,252,.28), transparent 60%);
  pointer-events: none;
}

/* Hover: minimaler Tilt + Glow (nicht kitschig) */
#leistungen .card.service-card:hover{
  transform: translateY(-6px) rotateX(0.7deg) rotateY(-0.7deg);
  border-color: rgba(20,184,166,.55);
  background: rgba(255,255,255,.66);
  box-shadow:
    0 10px 22px rgba(15,23,42,.14),
    0 34px 72px rgba(15,23,42,.16);
}

/* Fokus (Tastatur) */
#leistungen .card.service-card:focus-within{
  outline: none;
  border-color: rgba(125,211,252,.70);
  box-shadow:
    0 0 0 3px rgba(125,211,252,.22),
    0 18px 44px rgba(15,23,42,.12);
}

/* ----------------------------------------
   Typo – klar & gut lesbar
---------------------------------------- */
.service-card h3{
  margin: 8px 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}


/* Moderne Liste */
.service-card ul{
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  line-height: 1.62;
  color: rgba(51,65,85,.96);
}

.service-card ul li{
  position: relative;
  padding-left: 20px;
  margin: 5px 0;
}


.service-card ul li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(15,118,110,.95);
  font-weight: 800;
}






/* ----------------------------------------
   ANFAHRT
---------------------------------------- */
#anfahrt {
  background: linear-gradient(180deg, #f5f8fd 0%, #f3faf7 100%);
}

.map-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}

.map-placeholder {
  text-align: left;
  padding: 0;
}

/* Google Maps responsiv */
.map-placeholder iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ----------------------------------------
   KONTAKT
---------------------------------------- */
#kontakt {
  background: #f5faf8;
}

.contact-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}


.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.7rem;
}

label {
  font-size: 0.85rem;
  color: var(--text);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid #c8d6e5;
  padding: 0.55rem 0.6rem;
  font: inherit;
  resize: vertical;
  background: #fdfefe;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(24, 103, 168, 0.25);
}


.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
}


/* ----------------------------------------
   FAQ SEITE
---------------------------------------- */
.faq-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-column h2 {
  margin-top: 0;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid #d3e2f0;
  background: #f8fbff;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.faq-item[open] {
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "▾";
  float: right;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.faq-item[open] summary::after {
  content: "▴";
}

.faq-item p {
  margin: 0.5rem 0 0.2rem;
  color: var(--text-muted);
}

.faq-cta {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.faq-cta p {
  margin: 0;
  max-width: 30rem;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
/* Neuer moderner Footer ---------------------------------- */
.site-footer-new {
  position: relative;
  background: linear-gradient(
    180deg,
    #0e2a3b,
    #0b2230
  );
  color: #d7e6f2;
  overflow: hidden;
}

/* Glas-Effekt */
.footer-glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(26,163,139,0.18), transparent 45%),
    radial-gradient(circle at bottom right, rgba(24,103,168,0.18), transparent 45%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 2fr 1fr 1.2fr;
  padding: 3.5rem 0 2.5rem;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 0.6rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-col h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.footer-col h4 {
  font-size: 0.95rem;
}

.footer-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cfe0ee;
}

.footer-col p {
  font-size: 0.88rem;
  margin: 0.3rem 0;
  color: #cfe0ee;
}

.footer-col a {
  color: #d9f3ee;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.9rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #bcd2e2;
}

.footer-legal {
  display: flex;
  gap: 1.2rem;
}

.footer-legal a {
  color: #bcd2e2;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ----------------------------------------
   Footer Logo (Plus + Text sauber ausgerichtet)
---------------------------------------- */

.footer-logo{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.footer-logo h3{
  margin: 0;
  line-height: 1.3;
}

.site-footer-new .logo-icon{
  transform: scale(0.9);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}



/* ----------------------------------------
   POPUP AZUBI
---------------------------------------- */
.popup-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 23, 32, 0.65);
  padding: 1rem;
  z-index: 100;
}

.popup-backdrop.is-visible {
  display: flex;
}

.popup {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 22px;
  padding: 1.9rem 1.9rem 1.7rem;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.popup-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.65rem;
  border-radius: 999px;
  background: #dcf9eb;
  color: #0b7256;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.popup h2 {
  margin: 0.6rem 0 0.4rem;
}

.popup p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.35rem 0;
}

.popup-hint {
  margin-top: 0.6rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--text);
}

.popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f0f5fa;
  cursor: pointer;
  font-size: 1.1rem;
}

/* =========================================
   ANFAHRT-SLIDER
========================================= */

.anfahrt-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anfahrt-media {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Glasiger Slider-Rahmen mit fester Höhe */
.anfahrt-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top left, #0f3246, #051822);
  box-shadow: var(--shadow-soft);
  height: 240px;           /* feste Höhe wie deine ursprüngliche Version */
}

/* Slides liegen exakt im Rahmen */
.anfahrt-slide {
  position: absolute;
  inset: 0;                /* top/right/bottom/left: 0 */
  display: none;
}

.anfahrt-slide.is-active {
  display: block;
}

/* Bild füllt den Slider GENAU, ohne überzulaufen */
.anfahrt-slide img {
  display: block;
  width: 100%;
  height: 100% !important;   /* erzwingt wirklich 100% Höhe */
  object-fit: cover;         /* schneidet ggf. etwas ab, verzerrt aber nie */
  transform: scale(1.05);
}

/* kleine „Adresse-Pill“ – asymmetrisch oben links */
.anfahrt-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Slider-Buttons leicht „floating“ */
.anfahrt-prev,
.anfahrt-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,0.9);
  color: var(--blue-dark);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

.anfahrt-prev { left: 10px; }
.anfahrt-next { right: 10px; }

.anfahrt-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Karte im gleichen Card-Look wie bisher */
.map-placeholder iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius-md);
}



/* Mobil: Bilder etwas flacher, Abstand optimiert */
@media (max-width: 960px) {
  .anfahrt-card {
    gap: 1.1rem;
  }
}

@media (max-width: 720px) {
  .anfahrt-slide img {
    height: 210px;
  }

  .anfahrt-pill {
    font-size: 0.7rem;
    padding-inline: 0.6rem;
  }
}


/* Mobil: Bilder etwas flacher */
@media (max-width: 720px) {
  .anfahrt-slide img {
    height: 220px;
  }
}


/* ----------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------- */

/* bis 960px: Grid auf eine Spalte umstellen, Parallax abschalten */
@media (max-width: 960px) {
  .hero-inner,
  .times-grid,
  .map-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4rem;
  }

  .team-doctors {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #leistungen {
    background-attachment: scroll;
  }

  .map-placeholder iframe {
    height: 300px;
    border-radius: var(--radius-lg);
  }
}

/* bis 720px: Mobile Menü, einspaltige Grids */
@media (max-width: 720px) {
  .header-inner {
    padding-inline: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 108%;
    margin-top: 0.4rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    padding: 0.65rem 0.7rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 210px;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 1.5rem;
  }

  .team-members,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-placeholder iframe {
    height: 260px;
  }
}

/* ganz kleine Geräte: etwas weniger Padding */
@media (max-width: 480px) {
  .container {
    padding-inline: 0.9rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 3.5rem;
  }
}


.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  margin-bottom: 0.6rem;
}

/* Speziell für Azubi-Hinweis */
.badge-azubi {
  background: linear-gradient(135deg, #1aa38b, #4fd8c6);
  border-color: rgba(0, 0, 0, 0.08);
  color: #022a24;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}




/* ================================
   TEAM – 2 Ärzte oben, Team darunter
================================ */

/* Ärzte */
.team-doctors{
  display: grid;
  grid-template-columns: repeat(2, 260px);
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Team darunter */
.team-members{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Mobile */
@media (max-width: 960px){
  .team-doctors{
    grid-template-columns: 1fr;
  }
  .team-members{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px){
  .team-members{
    grid-template-columns: 1fr;
  }
}



a{
  color: #0f766e;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover{
  color: #0d5f59;
  text-decoration: none;
  text-underline-offset: 3px;
}


a[href^="tel"]{
  color: #0f766e;
  text-decoration: none;
  font-weight: 600;
}

a[href^="tel"]:hover{
  color: #0d5f59;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ----------------------------------------
   Weihnachts-Button – Urlaubsvertretung
---------------------------------------- */



.btn-xmas {
  position: relative;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 8px 16px;
  min-width: 8em;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(to bottom, #f128286c, #a00332, #9f0f31), linear-gradient(to bottom, #ae0034, #6f094c);
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.25), inset 0 -1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: 0.2s;
  will-change: transform;
}
.btn-xmas:hover {
  transform: scale(0.92);
  filter: brightness(0.8);
}


