:root {
  color-scheme: light;
  --navy: #102b43;
  --ink: #222;
  --muted: #686868;
  --purple: #5a58f7;
  --deep-purple: #2a27f5;
  --surface: #edf1f1;
  --green: #7ab52d;
  --yellow: #f2c314;
  --orange: #ff6700;
  --line: #e2e3dd;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
a { color: var(--purple); text-underline-offset: .19em; overflow-wrap: anywhere; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, ul, ol { margin: 0 0 1em; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .45em; line-height: 1.14; text-wrap: pretty; }
h1,h2 { letter-spacing: -.037em; }
h1 { font-size: clamp(2.4rem,5.8vw,4.8rem); overflow-wrap: anywhere; }
h2 { font-size: clamp(1.53rem,3vw,2.35rem); }
h3 { font-size: 1.25rem; }
.wrap { width: min(1180px,calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 5; background: white; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .72rem; }
.brand { display: block; flex: 0 1 205px; min-width: 145px; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem 1.6rem; font-size: .94rem; font-weight: 650; }
.site-header nav a, .site-header summary { color: var(--ink); text-decoration: none; }
.site-header nav a:hover, .site-header summary:hover { color: var(--deep-purple); }
.site-header details { position: relative; }
.site-header summary { cursor: pointer; display: flex; align-items: center; gap: .48rem; list-style: none; }
.site-header summary::-webkit-details-marker { display: none; }
.site-header summary::after { content: ""; border: solid currentColor; border-width: 0 1.5px 1.5px 0; padding: 2.8px; transform: translateY(-1px) rotate(45deg); }
.site-header details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.dropdown { position: absolute; inset: calc(100% + .7rem) auto auto 0; min-width: 230px; padding: .44rem; background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 12px 24px #102b4322; z-index: 4; }
.dropdown a { display: block; padding: .48rem .65rem; border-radius: .4rem; }
.dropdown a:hover { background: var(--surface); }
.site-header .contact-nav { border: 1px solid var(--purple); padding: .55rem 1rem; border-radius: 2rem; color: var(--deep-purple); }
.hero { background: var(--navy); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; min-height: 520px; padding-block: 3.5rem; }
.hero-copy h1 { max-width: 12ch; margin-bottom: .27em; }
.welcome { color: white; font-size: 1.14rem; font-weight: 700; margin-bottom: .55rem; }
.lead { max-width: 43ch; font-size: clamp(1rem,1.5vw,1.2rem); color: white; margin-bottom: 1.6rem; }
.hero-photo { width: 100%; max-height: 470px; object-fit: contain; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button, .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 2rem; padding: .62rem 1.06rem; font-weight: 700; }
.button, a.btn, a:has(> .btn) .btn { background: var(--purple); color: white; }
.button:hover, a.btn:hover, a:has(> .btn):hover .btn { background: var(--deep-purple); color: white; }
.button.secondary { color: var(--deep-purple); background: white; border: 1px solid var(--purple); }
.button.secondary:hover { background: var(--surface); color: var(--ink); }
.quick-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; padding-block: 1.3rem; }
.quick-links a { display: flex; gap: .6rem; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: .76rem; padding: .8rem 1.05rem; text-decoration: none; color: var(--ink); font-weight: 680; }
.quick-links a:nth-child(2) { border-left-color: var(--purple); }
.quick-links a:nth-child(3) { border-left-color: var(--yellow); }
.quick-links a:hover { background: var(--surface); }
.quick-links a span:last-child,.arrow { color: var(--deep-purple); font-size: 1.35rem; }
.banner { background: var(--navy); color: white; padding-block: 3.3rem; }
.banner h1 { max-width: 22ch; font-size: clamp(2.2rem,5vw,4rem); margin: 0; }
.banner p { margin-bottom: .5rem; font-weight: 700; }
.archive-content, .news-archive { padding-block: 2rem 3.7rem; }
.archive-content > .notice, .archive-content > .contact-box { margin-bottom: 1.4rem; }
.notice { padding: .8rem 1rem; background: var(--surface); border-left: 4px solid var(--purple); border-radius: .45rem; }
.archive-content .row { display: flex; flex-wrap: wrap; gap: 1rem; }
.archive-content .row > div { min-width: 0; }
.archive-content .row > [class*="col-"] { flex: 1 1 215px; }
.archive-content .row > .col-md-12 { flex-basis: 100%; }
.archive-content .row > .col-md-8 { flex-basis: 58%; }
.archive-content .row > .col-md-6 { flex-basis: 42%; }
.archive-content .row > .col-md-4 { flex-basis: 26%; }
.archive-content .row > .col-md-3 { flex-basis: 19%; }
.archive-content .row > .col-md-2 { flex-basis: 13%; }
.archive-content .t-text { margin-block: .48rem .86rem; overflow-wrap: anywhere; }
.archive-content .t-text:empty { display: none; }
.archive-content .space1 { height: .5rem; }
.archive-content .space2 { height: 1rem; }
.archive-content .space3, .archive-content .space4 { height: 1.5rem; }
.archive-content .text-center { text-align: center; }
.archive-content .img-container img { border-radius: .75rem; }
.archive-content .border-box, .contact-box { padding: 1.1rem; border: 1px solid var(--line); border-radius: .85rem; background: #fff; }
.archive-content .btn { margin-block: .3rem; }
.archive-content .unavailable { display: inline-block; padding: .28rem 0; color: var(--muted); }
.archive-content .unavailable small { font-size: .8em; }
.archive-content .bg-3, .archive-content .bg-4 { border-radius: 1rem; padding: .65rem clamp(.8rem,3vw,2rem) 1rem; }
.archive-content .bg-3 { background: var(--navy); color: white; }
.archive-content .bg-4 { background: var(--surface); color: var(--ink); }
.archive-content .bg-3 a:not(.btn) { color: inherit; }
.archive-content .bg-3 :is(.border-box,.contact-box,.bg-white,.bg-4,.news-card) { color: var(--ink); }
.archive-content .bg-3 :is(.border-box,.contact-box,.bg-white,.bg-4) a:not(.btn):not(.button) { color: var(--purple); }
.archive-content .bg-3 .bg-3,.archive-content .bg-4 .bg-4 { padding-inline: 0; }
.archive-content .s_gallery .float-items { display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: .65rem; }
.archive-content .s_gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .65rem; }
.archive-content .s_gallery a[href] { display: block; }
.archive-content .s_gallery a[href]:hover { opacity: .86; }
.archive-content table { border-collapse: collapse; max-width: 100%; }
.archive-content table :is(td,th) { border: 1px solid var(--line); padding: .4rem; }
.archive-content .grid-table .grid-img { float: left; width: min(140px,30%); margin-right: 1rem; }
.archive-content .grid-table { display: flow-root; margin-bottom: .7rem; }
.archive-content .grid-table .top-right { display: none; }
.home-content { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-block: 1rem; }
.news-card { border: 1px solid var(--line); border-radius: .9rem; background: white; overflow: hidden; }
.news-card a { display: flex; min-height: 100%; flex-direction: column; color: var(--ink); text-decoration: none; }
.news-card a:focus-visible { outline-offset: -4px; }
.news-card a:hover h3 { color: var(--deep-purple); }
.news-card img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.news-copy { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.news-copy small { margin-bottom: .55rem; color: var(--muted); font-weight: 650; }
.news-copy .arrow { margin-top: auto; }
.news-copy p { color: var(--muted); }
.article-page { max-width: 880px; }
.article-photo { border-radius: .85rem; }
.site-footer { background: var(--navy); color: white; padding-block: 2.5rem 1rem; }
.site-footer a { color: inherit; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.25fr; gap: 1.4rem; }
.footer-grid img { max-width: 195px; margin-bottom: .7rem; }
.footer-grid h2 { font-size: 1.13rem; letter-spacing: 0; }
.footer-bottom { border-top: 1px solid #ffffff45; padding-top: .8rem; margin-top: .75rem; display: flex; gap: 1rem; font-size: .91rem; }
@media (max-width: 790px) {
  .header-row { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .brand { flex: 0 0 auto; width: 175px; }
  .site-header nav { gap: .65rem 1.05rem; }
  .hero-grid { gap: 1.5rem; min-height: auto; padding-block: 2.7rem; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-content .row > :is(.col-md-3,.col-md-4,.col-md-2) { flex-basis: 40%; }
}
@media (max-width: 525px) {
  .wrap { width: calc(100% - 1.8rem); }
  .hero-grid, .footer-grid, .quick-links, .news-grid { grid-template-columns: 1fr; }
  .quick-links { gap: .56rem; }
  .hero-grid { padding-block: 2.25rem 1.35rem; }
  .hero-copy h1 { font-size: clamp(2.25rem,11vw,3.1rem); }
  .hero-photo { max-height: 280px; }
  .site-header nav { gap: .6rem .9rem; font-size: .86rem; }
  .site-header details:nth-child(3) .dropdown { left: auto; right: 0; }
  .site-header .contact-nav { padding: .3rem .62rem; }
  .archive-content .row > [class*="col-"] { flex-basis: 100%; }
}
.team-grid, .offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.offer-card {
  display: block;
  min-width: 0;
  padding: 1.1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: .85rem;
  text-decoration: none;
}
.offer-card:hover { border-color: var(--purple); }
.offer-card:hover h3 { color: var(--deep-purple); }
.offer-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: .8rem; }
.offer-card p { margin-bottom: 0; }
.team-grid {
  margin: 1rem 0 2rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 1rem;
}
.team-grid > .border-box { min-width: 0; text-align: center; }
.team-name { color: var(--purple); font-size: 1.25rem; font-weight: 650; }
.team-contact { margin-top: 1rem; }
@media (max-width: 790px) {
  .team-grid, .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 525px) {
  .team-grid, .offer-grid { grid-template-columns: 1fr; }
  .team-grid { padding: .75rem; }
}
@media (min-width: 992px) {
  .club-contacts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 526px) and (max-width: 991px) {
  .club-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gts-content { padding-block: 2rem 3.7rem; }
.gts-content > p { max-width: 76ch; }
.gts-facts, .gts-week {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.gts-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gts-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gts-facts .border-box, .gts-week .border-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: 1rem;
}
.gts-facts dt, .gts-week h3 { color: var(--navy); font-weight: 700; }
.gts-facts dd { margin: .3rem 0 0; }
.gts-week ul { list-style: none; padding: 0; margin: 0; }
.gts-week li + li { border-top: 1px solid var(--line); padding-top: .7rem; }
.gts-week li span { display: block; color: var(--muted); font-size: .9rem; }
.gts-week li p { margin-block: .2rem .7rem; }
.gts-week li:last-child p { margin-bottom: 0; }
@media (max-width: 900px) {
  .gts-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 525px) {
  .gts-facts, .gts-week { grid-template-columns: 1fr; }
}
.school-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 10px;
}
.school-type-card {
  min-width: 0;
  padding: 30px;
  background: var(--navy);
  color: white;
  text-align: center;
  border: 1px solid #c1c3cd;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgb(26 26 26 / 20%);
}
.school-type-realschule { --school-color: #f0ad4e; --school-border: #ce8b2c; }
.school-type-igs { --school-color: #7ab52d; --school-border: #58930b; }
.school-type-gymnasium { --school-color: #e8561a; --school-border: #c63400; }
.school-type-card h3 {
  color: var(--school-color);
  font-size: 1.5rem;
  margin-bottom: 30px;
}
.school-type-card p { margin: 0 0 45px; }
.school-type-card a {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 20px;
  background: var(--school-color);
  color: #000921;
  border: 1px solid var(--school-border);
  border-radius: 30px;
  line-height: 1;
  text-decoration: none;
}
.school-type-card a:hover { text-decoration: underline; }
.school-type-card a:focus-visible { outline-color: white; }
@media (max-width: 991px) {
  .school-type-grid { grid-template-columns: minmax(0, 1fr); }
  .school-type-card { padding: 16px 30px; }
}
.school-calendar { max-width: 960px; padding-block: 2rem 3.7rem; }
.school-month { margin-top: 1.5rem; }
.school-month h3 {
  margin: 0;
  padding: .65rem 1rem;
  background: var(--navy);
  color: white;
  border-radius: .5rem .5rem 0 0;
}
.school-month dl { margin: 0; }
.school-month dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr);
  gap: .4rem 1rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-top: 0;
}
.school-month dl > div:nth-child(even) { background: var(--surface); }
.school-month dt { font-weight: 700; color: var(--navy); }
.school-month dd { margin: 0; }
@media (max-width: 525px) {
  .school-month dl > div { grid-template-columns: 1fr; gap: .2rem; }
}
[data-blog-feed] [role="status"]:empty, [data-blog-post] [role="status"]:empty { display: none; }
.blog-filter { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .65rem; }
.blog-filter[hidden], .blog-more[hidden] { display: none; }
.blog-filter select { padding: .45rem .6rem; border: 1px solid var(--line); border-radius: .4rem; font: inherit; }
.blog-more { border: 0; cursor: pointer; }
[data-blog-post] time { display: block; margin-bottom: 1rem; color: var(--muted); }
.blog-post-body img { border-radius: .65rem; margin-block: .85rem; }
.blog-post-body figure { margin-inline: 0; }
.home-team {
  background: var(--navy);
  color: #fff;
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}
.home-team h2 { margin-bottom: 1rem; }
.home-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.home-team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--navy);
  background: #fff;
  border-radius: .75rem;
  overflow: hidden;
  text-decoration: none;
}
.home-team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.home-team-card .home-team-portrait { object-fit: contain; background: var(--surface); }
.home-team-label {
  display: flex;
  flex: 1;
  gap: .55rem;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.home-team-card:hover .home-team-label > :first-child { text-decoration: underline; }
@media (max-width: 991px) {
  .home-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 525px) {
  .home-team-grid { grid-template-columns: 1fr; }
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-block-end: 1rem;
}
.team-intro > img { display: block; width: 100%; height: auto; border-radius: .75rem; }
@media (max-width: 650px) {
  .team-intro { grid-template-columns: 1fr; gap: .5rem; }
  .team-intro > img { width: min(100%, 220px); justify-self: center; }
}
