/* Variablen & Basics */
:root {
  --bg: #ffffff;
  --text: #2e308d;
  --muted: #6b7280;
  --brand: #83bc55;
  --brand-2: #83bc55;
  --surface: #f5f7fb;
  --ring: rgba(30, 136, 229, 0.25);
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.test {
  color:#2e308d;
}
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  z-index: 999;
}

#start, #leistungen, #praxis, #kontakt, #aktuelles {
    scroll-margin-top: 3rem;
}


/* Layout */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: inherit;
}
.logo {
  width: auto;
  height: 4.5rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  color:#2e308d;
;
}
.nav a.active {
  background: var(--surface);
}

.nav a:last-child{
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  filter: brightness(0.95);
}
.btn-secondary {
  background: var(--brand-2);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: #dfe3ea;
  color: #111827;
}
.btn-ghost:hover {
  background: #f8fafc;
}

.aktuelles {
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
    width: min(1100px, 92%);
  margin-inline: auto;
}

.hero {
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 4rem 0 0 0;
}
.hero-copy h1 {
  font-size: clamp(2rem, 1rem + 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero img {
  width: 70%;
  margin: auto;
}
.cta-row {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}
.badges {
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #374151;
}

.features {
  padding: 2.5rem 0;
}
.features h2 {
  margin-bottom: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid #e9eef5;
  padding: 1.25rem;
  border-radius: var(--radius);
}
.cards .card h3 {
  margin-top: 0;
}

.highlight {
  background: #83bc55;
  color: #fff;
  margin: 2rem 0;
}
.highlight-inner {
  padding: 2rem 0;
  text-align: center;
}
.highlight .btn {
  margin-top: 0.5rem;
}

.page {
  padding: 2rem 0;
}
.note {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #cfe3ff;
  border-radius: 12px;
  background: #f7fbff;
}

.hp {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.tiny {
  font-size: 0.875rem;
}
.muted {
  color: var(--muted);
}

.site-aktuelles {
  border-top: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid #eef0f4;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
}
.footer-grid h4 {
  margin: 0.2rem 0 0.5rem;
}
copyright,
.copyright {
  text-align: center;
  color: #6b7280;
  padding: 0.25rem 0 1.25rem;
}

/* Responsiv */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2rem 0;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
