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

body {
  font-family: system-ui, -apple-system, sans-serif;
  color: light-dark(#222, #ccc);
  background: light-dark(#fff, #1a1a1a);
  color-scheme: light dark;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* ── Header ── */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 3px solid light-dark(#aaa, #555);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
.logo { height: 90px; width: auto; flex-shrink: 0; }
.logo-dark { display: none; }

/* ── Navigation ── */
nav {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  width: 100%;
}
nav a {
  color: light-dark(#222, #ccc);
  text-decoration: none;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  padding: .3rem .5rem;
  border-radius: 6px;
  border: 1px solid light-dark(#e0e0e0, #444);
  flex: 1;
  min-width: 0;
  transition: background .15s, border-color .15s;
}
nav a.active { background: light-dark(#e0e0e0, #333); color: light-dark(#222, #fff); }
nav a:hover:not(.active) { background: light-dark(#f0f0f0, #333); border-color: light-dark(#ccc, #555); }

/* ── Typography ── */
h1, h2, h3 { font-weight: 600; color: light-dark(#111, #eee); margin-bottom: 1rem; }
h1 { font-size: 1.35rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.15rem; }
p  { margin-bottom: .75rem; color: light-dark(#444, #bbb); }
a  { color: light-dark(#333, #bbb); }

/* ── Sections ── */
section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 3px solid light-dark(#aaa, #555);
}

/* ── Contact ── */
.contact-block { text-align: center; }
.contact-block a    { color: light-dark(#000, #eee); text-decoration: none; }
.contact-block img  { vertical-align: middle; }

/* ── Pricing Tables ── */
.table-pricing {
  width: 100%;
  border-collapse: collapse;
}
.table-pricing thead th {
  font-weight: 600;
  border-bottom: 1px solid light-dark(#ccc, #555);
  padding: .5rem 0;
  text-align: left;
}
.table-pricing thead th:last-child { text-align: right; }
.table-pricing td {
  padding: .5rem 0;
  vertical-align: top;
  color: light-dark(#444, #bbb);
}
.table-pricing td:last-child { text-align: right; }
.table-wrap {
  overflow-x: auto;
}

/* ── Images ── */
.gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
  display: block;
}

/* ── Maps ── */
.map {
  border: 1px solid light-dark(#ddd, #555);
  border-radius: 4px;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ── Courses ── */
.course {
  border-left: 2px solid light-dark(#aaa, #666);
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
}
.course h3 { margin-bottom: .25rem; font-size: 1rem; }
.course .meta { font-size: .85rem; color: light-dark(#888, #999); }

/* ── Misc ── */
address      { font-style: normal; color: light-dark(#444, #bbb); line-height: 1.8; }
.text-center { text-align: center; }
.hero-title { font-size: 1.3rem; }
.probestunde { text-align: center; margin: 1.5rem 0; }
.probestunde a { text-decoration: none; }
ul           { list-style: none; padding-left: 0; }
ul li        { padding: .3rem 0; color: light-dark(#444, #bbb); }
ul li::before { content: "— "; color: light-dark(#aaa, #888); }

/* ── Footer ── */
footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid light-dark(#eee, #333);
  color: light-dark(#999, #888);
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
}
footer a { color: light-dark(#999, #888); }

/* ── Responsive ── */
@media (max-width: 480px) {
  body   { padding: 1rem .75rem; }
  .logo  { height: 65px; }
  nav    { gap: .3rem; }
  nav a  { font-size: .85rem; padding: .25rem .35rem; flex: 1 1 calc(50% - .15rem); }
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark  { display: block; }
  .contact-block img { filter: invert(1); }
  .probestunde img { filter: invert(1); }
}
