:root {
  --ink: #212b4d;
  --muted: #5b6685;
  --sky: #c7ebff;
  --mint: #d9f7e0;
  --blue: #3373e6;
  --green: #2eb366;
  --card: rgba(255, 255, 255, 0.86);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky), var(--mint)) fixed;
  min-height: 100vh;
}

a { color: var(--blue); }

/* Breite und Höhe stehen im HTML, damit nichts springt; die Höhe richtet sich nach der Breite. */
img { max-width: 100%; height: auto; }

.wrap {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

header.site a.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}

header.site a.brand img { width: 2.25rem; height: 2.25rem; border-radius: 0.55rem; }

nav a {
  margin-left: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 900;
}

.hero p.lead { font-size: 1.2rem; margin: 0 0 1.5rem; }

.hero img.phone {
  width: 100%;
  max-width: 19rem;
  justify-self: center;
  border-radius: 2rem;
  box-shadow: 0 1.2rem 3rem rgba(33, 43, 77, 0.25);
}

.badge {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0 0 3rem;
  list-style: none;
}

.cards li, .panel {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 1.25rem 1.4rem;
}

.cards h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.cards p { margin: 0; color: var(--muted); }

h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; font-weight: 800; }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.shots img {
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: 0 0.6rem 1.6rem rgba(33, 43, 77, 0.18);
}

table.grades { width: 100%; border-collapse: collapse; }
table.grades th, table.grades td { text-align: left; padding: 0.5rem 0.6rem; vertical-align: top; }
table.grades th { white-space: nowrap; }
table.grades tr + tr { border-top: 1px solid rgba(33, 43, 77, 0.1); }

.text { max-width: 44rem; }
.text .panel { margin-bottom: 1rem; }
.text h1 { font-size: 2rem; font-weight: 900; margin: 1.5rem 0 1rem; }
.text h2 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.text ul { padding-left: 1.2rem; }

.todo { background: #ffe89a; padding: 0 0.3em; border-radius: 0.25em; }

footer.site {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

footer.site a { color: var(--muted); margin-right: 1rem; }

@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 1rem; }
  nav a { margin-left: 0.7rem; font-size: 0.95rem; }
  header.site a.brand span { display: none; }
}
