/*
Theme Name: MKG Burgdorf
Theme URI: https://mkg-burgdorf.de
Author: MKG Burgdorf
Author URI: https://mkg-burgdorf.de
Description: WordPress theme for MKG Burgdorf – Praxis für Mund-, Kiefer- und Gesichtschirurgie, Implantologie und ästhetische Operationen in Burgdorf. Dr. med. Evgeniy Prives.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mkg-burgdorf
Tags: medical, one-page, responsive
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design System)
   ============================================================ */
:root {
  --background:        hsl(180, 10%, 98%);
  --foreground:        hsl(200, 25%, 10%);
  --card:              hsl(0, 0%, 100%);
  --card-foreground:   hsl(200, 25%, 10%);
  --primary:           hsl(174, 62%, 38%);
  --primary-foreground:hsl(0, 0%, 100%);
  --secondary:         hsl(180, 15%, 95%);
  --muted:             hsl(180, 10%, 94%);
  --muted-foreground:  hsl(200, 10%, 45%);
  --border:            hsl(180, 15%, 90%);
  --hero-overlay:      hsl(200, 30%, 8%);
  --section-alt:       hsl(180, 15%, 96%);
  --radius:            0.75rem;
  --font-heading:      'Playfair Display', serif;
  --font-body:         'DM Sans', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes accordion-down {
  from { max-height: 0; opacity: 0; }
  to   { max-height: 600px; opacity: 1; }
}

@keyframes accordion-up {
  from { max-height: 600px; opacity: 1; }
  to   { max-height: 0; opacity: 0; }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: hsl(174, 62%, 32%);
  border-color: hsl(174, 62%, 32%);
  color: var(--primary-foreground);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--primary-foreground);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.btn:hover svg.arrow-icon {
  transform: translateX(4px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

#site-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
}

@media (min-width: 1024px) {
  .navbar-inner {
    padding: 1rem 2rem;
  }
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-logo img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
}

.navbar-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  transition: color 0.3s;
}

#site-navbar.scrolled .navbar-logo-text {
  color: var(--foreground);
}

.navbar-logo-text span {
  color: var(--primary);
}

/* Desktop nav links */
.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
  text-decoration: none;
}

.navbar-links a:hover {
  color: var(--primary);
}

#site-navbar.scrolled .navbar-links a {
  color: var(--foreground);
}

#site-navbar.scrolled .navbar-links a:hover {
  color: var(--primary);
}

/* Desktop CTA */
.navbar-cta {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .navbar-cta {
    display: flex;
  }
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
  text-decoration: none;
}

.navbar-phone:hover {
  color: var(--primary);
}

#site-navbar.scrolled .navbar-phone {
  color: var(--foreground);
}

.navbar-phone svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile toggle */
.navbar-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #ffffff;
  transition: color 0.3s;
}

#site-navbar.scrolled .navbar-mobile-toggle {
  color: var(--foreground);
}

.navbar-mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .navbar-mobile-toggle {
    display: none;
  }
}

/* Mobile menu */
.navbar-mobile-menu {
  display: none;
  background-color: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  animation: fade-in 0.2s ease-out;
}

.navbar-mobile-menu.open {
  display: block;
}

.navbar-mobile-menu-inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.navbar-mobile-menu a {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  text-decoration: none;
}

.navbar-mobile-menu a:hover {
  color: var(--primary);
}

.navbar-mobile-menu .btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 26, 33, 0.75);
}

.hero-content {
  position: relative;
  width: 100%;
  padding: 8rem 1rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 8rem 2rem;
  }
}

.hero-content-inner {
  max-width: 42rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(36, 160, 144, 0.3);
  background-color: rgba(36, 160, 144, 0.1);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  animation: fade-in 0.6s ease-out forwards;
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.5rem;
  animation: fade-in-up 0.8s ease-out forwards;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-in-up 0.8s ease-out 0.2s forwards;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: fade-in-up 0.8s ease-out 0.4s forwards;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Bottom wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  display: block;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#leistungen {
  padding: 5rem 0;
  background-color: var(--background);
}

@media (min-width: 1024px) {
  #leistungen {
    padding: 7rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-desc {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: rgba(36, 160, 144, 0.3);
  box-shadow: 0 20px 40px rgba(36, 160, 144, 0.05);
}

.service-card-img {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-card-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#ueber-uns {
  padding: 5rem 0;
  background-color: var(--section-alt);
}

@media (min-width: 1024px) {
  #ueber-uns {
    padding: 7rem 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

/* Doctor image */
.about-img-wrap {
  position: relative;
}

.about-img-inner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.about-img-inner img {
  width: 100%;
  height: 31.25rem;
  object-fit: cover;
  object-position: top;
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,26,33,0.4), transparent);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .about-badge {
    right: 2rem;
  }
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.about-badge-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* About content */
.about-content {
  padding-top: 1.5rem;
}

.about-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .about-name {
    font-size: 2.5rem;
  }
}

.about-title {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.about-bio {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Highlights grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
}

.highlight-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background-color: rgba(36, 160, 144, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  stroke: var(--primary);
}

.highlight-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.highlight-detail {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
  padding: 5rem 0;
  background-color: var(--section-alt);
}

@media (min-width: 1024px) {
  #faq {
    padding: 7rem 0;
  }
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open {
  border-color: rgba(36, 160, 144, 0.3);
  box-shadow: 0 8px 24px rgba(36, 160, 144, 0.05);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-trigger-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  transition: transform 0.3s;
}

.faq-item.open .faq-trigger-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-content {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}

.faq-content p {
  color: var(--muted-foreground);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#kontakt {
  padding: 5rem 0;
  background-color: var(--background);
}

@media (min-width: 1024px) {
  #kontakt {
    padding: 7rem 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: rgba(36, 160, 144, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary);
}

.contact-info-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}

.contact-info-value {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-info-value a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.contact-info-value a:hover {
  color: var(--primary);
}

.contact-info-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.contact-insurance-box {
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: rgba(36, 160, 144, 0.05);
  border: 1px solid rgba(36, 160, 144, 0.2);
}

.contact-insurance-box p:first-child {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-insurance-box p:last-child {
  font-weight: 600;
  color: var(--foreground);
}

/* Doctolib CTA card */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.doctolib-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.doctolib-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(36, 160, 144, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.doctolib-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--primary);
}

.doctolib-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.doctolib-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  max-width: 24rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

/* Map */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 16rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background-color: var(--foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--background);
}

.footer-brand-text span {
  color: var(--primary);
}

.footer-tagline {
  color: rgba(247, 250, 250, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--background);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(247, 250, 250, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p,
.footer-contact a {
  color: rgba(247, 250, 250, 0.6);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.25rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 250, 250, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(247, 250, 250, 0.4);
  font-size: 0.75rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: rgba(247, 250, 250, 0.4);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  .about-badge {
    right: 0;
    bottom: -1rem;
  }
}

/* ============================================================
   INNER PAGE SHARED STYLES
   ============================================================ */

/* Section padding utility */
.py-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .py-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* Alternate background */
.bg-section-alt {
  background-color: hsl(180, 15%, 96%);
}

/* Centered section title */
.section-center-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: linear-gradient(to bottom, hsl(174, 62%, 38%, 0.1), hsl(180, 10%, 98%));
  text-align: center;
}

.page-hero .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PRAXIS PAGE
   ============================================================ */

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(174, 62%, 38%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  stroke: var(--primary);
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Location & Hours grid */
.praxis-location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .praxis-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.praxis-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.praxis-title-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--primary);
  flex-shrink: 0;
}

.praxis-map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.praxis-map-wrap iframe {
  display: block;
}

.praxis-address {
  margin-top: 1rem;
}

.praxis-address-street {
  font-weight: 600;
  color: var(--foreground);
}

.praxis-address-city {
  color: var(--muted-foreground);
}

/* Hours card */
.hours-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-row-last {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.9375rem;
}

.hours-time {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hours-closed {
  color: hsl(0, 84%, 60%);
}

.praxis-notice-box {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(174, 62%, 38%, 0.05);
  border: 1px solid hsl(174, 62%, 38%, 0.2);
}

.praxis-notice-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.praxis-notice-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.team-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.team-card-img {
  height: 16rem;
  overflow: hidden;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.team-card-img-placeholder {
  background: hsl(180, 10%, 94%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: hsl(174, 62%, 38%, 0.1);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.team-card-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.team-card-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.team-card-langs {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}

.team-card-langs span {
  font-weight: 600;
  color: var(--foreground);
}

/* Join CTA */
.join-cta {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.join-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.join-cta-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ============================================================
   STELLENANGEBOTE PAGE
   ============================================================ */

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.benefit-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(174, 62%, 38%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: var(--primary);
}

.benefit-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Jobs grid */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.job-card-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.job-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.job-meta-item svg {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  flex-shrink: 0;
}

.job-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.job-requirements {
  font-size: 0.875rem;
}

.job-req-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.job-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.job-requirements ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.job-requirements ul li::before {
  content: '•';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ (PROSE) PAGES
   ============================================================ */
.inner-page-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.prose-container {
  max-width: 48rem;
  margin: 0 auto;
}

.prose-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.prose-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prose-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.prose-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0;
}

.prose-section p {
  color: var(--muted-foreground);
  line-height: 1.75;
  margin: 0;
}

.prose-section strong {
  color: var(--foreground);
}

.prose-section ul {
  color: var(--muted-foreground);
  padding-left: 1.5rem;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.prose-section a {
  color: var(--primary);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.prose-section a:hover {
  text-decoration: underline;
}

.prose-info-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(174, 62%, 38%, 0.05);
  border: 1px solid hsl(174, 62%, 38%, 0.2);
}

.prose-info-box p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* -----------------------------------------------------------
   FOOTER SOCIAL LINKS
   ----------------------------------------------------------- */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  line-height: 1;
}

.footer-social-link:hover {
  color: hsl(174, 62%, 38%);
}

.footer-social-link svg {
  display: block;
}

/* -----------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   ----------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.from-left {
  transform: translateX(40px);
}

.scroll-reveal.from-right {
  transform: translateX(-40px);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
