/* ============================================================
   Augenärzte BO56 – bo56.de
   Statisches Redesign nach Wix-Vorlage (Migration 2026)
   ============================================================ */

:root {
  --green:        #6ca544;  /* Markengrün (Logo, Überschriften, Buttons) */
  --green-dark:   #5f9e42;  /* Button / Topbar links */
  --green-deep:   #4f7a3a;  /* Fließtext auf Beige, Zitate */
  --lime:         #c6da7c;  /* Topbar rechts */
  --tile-mint:    #daede3;  /* Kachel 1 */
  --tile-lime:    #d8e5a3;  /* Kachel 2 */
  --tile-green:   #a6cc90;  /* Kachel 3 */
  --beige:        #f0efe2;  /* Infoboxen */
  --text:         #4a4a4a;
  --text-light:   #757575;
  --white:        #ffffff;
  --max-width:    980px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Topbar ---------- */

.topbar { display: flex; height: 10px; }
.topbar span:nth-child(1) { flex: 1 1 30%; background: var(--green-dark); }
.topbar span:nth-child(2) { flex: 1 1 30%; background: var(--lime); }
.topbar span:nth-child(3) { flex: 1 1 40%; background: var(--white); }

/* ---------- Header ---------- */

header.site-header { background: var(--white); position: relative; }

.header-inner {
  position: relative;
  text-align: center;
  padding: 14px 20px 0;
}

.logo img { width: 170px; margin: 0 auto; }

.call-btn {
  position: absolute;
  top: 0;
  right: 90px;
  background: var(--green-dark);
  color: var(--white);
  padding: 13px 22px;
  font-size: 17px;
  white-space: nowrap;
}
.call-btn:hover { background: var(--green); color: var(--white); text-decoration: none; }

/* ---------- Navigation ---------- */

nav.main-nav { margin-top: 18px; border-bottom: 1px solid #eee; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

nav.main-nav a {
  display: block;
  padding: 12px 28px;
  color: var(--text);
  font-size: 15.5px;
}
nav.main-nav a:hover { color: var(--green); text-decoration: none; }
nav.main-nav a.active { color: var(--green); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */

.hero img { width: 100%; object-fit: cover; max-height: 620px; }

/* ---------- Sektionen ---------- */

section { padding: 55px 0; }

h1, h2 {
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 32px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

h3 { color: var(--green); font-weight: 600; margin-bottom: 12px; }

.section-label {
  display: block;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Teaser-Kacheln */

.tiles { display: flex; flex-wrap: wrap; }
.tile {
  flex: 1 1 33.33%;
  min-width: 220px;
  padding: 34px 20px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--green-deep);
  text-transform: uppercase;
}
.tile:hover { text-decoration: none; filter: brightness(0.96); }
.tile.mint  { background: var(--tile-mint); }
.tile.lime  { background: var(--tile-lime); }
.tile.green { background: var(--tile-green); color: var(--white); }

/* Spektrum-Grid (Startseite) */

.spektrum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.spektrum-grid a {
  background: var(--beige);
  color: var(--green-deep);
  font-weight: 600;
  padding: 34px 18px;
  text-align: center;
  font-size: 16.5px;
}
.spektrum-grid a:hover { background: var(--tile-lime); text-decoration: none; }

/* Team-Vorschau (Startseite) */

.team-preview {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 20px;
}
.team-preview img { width: 200px; height: 200px; object-fit: cover; margin: 0 auto 14px; }
.team-preview h4 { color: var(--text); font-size: 17px; }
.team-preview p  { color: var(--text-light); font-size: 14.5px; }
.more-link {
  align-self: center;
  font-size: 42px;
  color: var(--green);
  line-height: 1;
}

/* Rezensionen */

.testimonials {
  background: linear-gradient(rgba(240, 239, 226, 0.92), rgba(240, 239, 226, 0.92)),
              url('../assets/img/praxis-behandlung.webp') center/cover no-repeat;
}
.testimonials blockquote {
  max-width: 720px;
  margin: 0 auto 28px;
  font-style: italic;
  color: var(--green-deep);
  text-align: center;
  font-size: 17px;
}

/* Standort */

.standort-flex {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 20px;
}
.standort-flex > div { flex: 1 1 300px; }
.address p { margin-bottom: 4px; }
.address img { width: 130px; margin-bottom: 16px; }

.hours h3 { letter-spacing: 2px; }
.hours table { border-collapse: collapse; }
.hours td { padding: 3px 18px 3px 0; }

/* Beige Infobox (Praxiszeiten, Anfahrt) */

.infobox {
  background: var(--beige);
  padding: 40px;
  margin: 20px 0;
}
.infobox h3 { text-transform: uppercase; letter-spacing: 1px; }
.infobox p { margin-bottom: 8px; }

/* Spektrum-Detailseite */

.leistung {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.leistung:nth-child(even) { flex-direction: row-reverse; }
.leistung .text { flex: 1 1 420px; }
.leistung .bild { flex: 1 1 300px; }
.leistung h3 { text-transform: uppercase; letter-spacing: 1px; font-size: 20px; }
.leistung p { margin-bottom: 12px; }

/* Team-Seite */

.doctor {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.doctor img { width: 250px; height: 250px; object-fit: cover; }
.doctor .info { flex: 1 1 400px; }
.doctor h3 { font-size: 22px; }
.doctor .role { color: var(--text-light); margin-bottom: 16px; }
.doctor ul { margin: 12px 0 0 20px; }
.doctor li { margin-bottom: 8px; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}
.staff-grid img { width: 100%; max-width: 200px; height: 290px; object-fit: cover; margin: 0 auto 12px; }
.staff-grid h4 { color: var(--text); }
.staff-grid p { color: var(--text-light); font-size: 14.5px; }

.praxis-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 50px;
}
.praxis-gallery figure img { width: 100%; height: 260px; object-fit: cover; }
.praxis-gallery figcaption { text-align: center; padding: 8px 0; color: var(--text-light); font-size: 14px; }

/* Impressum / Datenschutz */

.legal h1 { font-size: 30px; margin-top: 40px; }
.legal h2 { font-size: 22px; margin: 34px 0 12px; }
.legal h3 { margin: 24px 0 8px; }
.legal p { margin-bottom: 12px; }

/* ---------- Footer ---------- */

footer .footer-call {
  display: block;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 16px;
  font-size: 17px;
}
footer .footer-call:hover { background: var(--green); text-decoration: none; color: var(--white); }

footer .footer-legal {
  text-align: center;
  padding: 26px 20px;
  font-size: 15px;
}
footer .footer-legal a { color: var(--text); font-weight: 600; }
footer .footer-legal a:hover { color: var(--green); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .call-btn { position: static; display: inline-block; margin-top: 12px; }

  .nav-toggle {
    display: block;
    margin: 14px auto 0;
    background: none;
    border: 1px solid #ccc;
    padding: 8px 16px;
    font-size: 15px;
    cursor: pointer;
    color: var(--text);
  }
  nav.main-nav ul { display: none; flex-direction: column; }
  nav.main-nav ul.open { display: flex; }

  h1, h2 { font-size: 26px; }
  .spektrum-grid { grid-template-columns: 1fr; }
  .leistung, .leistung:nth-child(even) { flex-direction: column; }
}
