/* Shinson Hapkido Stuttgart – statische Website, keine externen Ressourcen (DSGVO) */

/* Schrift lokal gehostet (SIL Open Font License, siehe fonts/OFL.txt) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f7f4ee;
  --text: #1f1d1a;
  --muted: #625d55;
  --line: #e4ddd0;
  --accent: #9a7b3f;       /* Holz-/Goldton aus dem Eingangsfoto */
  --accent-dark: #735828;
  --red: #c8001d;          /* Rot aus den Logos – sparsam einsetzen */
  --blue: #33398f;         /* Blau aus dem Shinson-Logo */
  --footer: #2b2926;
  --radius: 8px;
  --max: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a30018; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent-dark); padding: 9px 20px; }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.1;
}
.brand img { width: 46px; height: 46px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent-dark); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: #6d5a33 url("img/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 30, 12, .65) 0%, rgba(40, 30, 12, .1) 70%);
}
.hero .container { position: relative; width: 100%; display: flex; justify-content: flex-start; }
.hero-text { max-width: 480px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  margin: 0 0 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
}
.hero p { font-size: 1.2rem; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 760px) {
  .hero { min-height: 62vh; background-position: 62% center; }
  .hero::before { background: rgba(40, 30, 12, .5); }
  .hero .container { justify-content: center; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }

.section-head { text-align: center; margin-bottom: 52px; }
/* kleiner roter Punkt – Anlehnung an das Ki-Do-In-Zeichen */
.section-head::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 auto 18px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 10px;
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 2px 10px;
  border-radius: 999px;
  line-height: 1.6;
}
.tag-kids   { background: #fbecc8; color: #6e4d00; }
.tag-teens  { background: #e6e7f6; color: #2c317a; }
.tag-adults { background: #efe6d6; color: #5c4520; }
.tag-health { background: #e2efe4; color: #245a31; }
.tag-all    { background: #f8e1e3; color: #8c0f1f; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* ---------- Für wen ---------- */
.audiences { padding: 0; position: relative; z-index: 1; }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -64px;
  padding-bottom: 72px;
}
.audience {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(40, 30, 12, .12);
  transition: transform .2s, box-shadow .2s;
}
.audience:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(40, 30, 12, .18); color: var(--text); }
.audience .tag { align-self: flex-start; }
.audience h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin: 4px 0 0; line-height: 1.15; }
.audience p { margin: 0; color: var(--muted); flex: 1; }
.audience-times { font-weight: 600; color: var(--accent-dark); font-size: .92rem; }
@media (max-width: 860px) {
  .audience-grid { grid-template-columns: 1fr; margin-top: -40px; padding-bottom: 56px; }
}

/* ---------- Wo & Wann ---------- */
.schedule-wrap { display: grid; grid-template-columns: 1fr 170px; gap: 40px; align-items: start; }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
}
.day h3 { font-family: var(--font-display); margin: 0 0 2px; font-size: 1.7rem; font-weight: 600; }
.day .place { font-size: .92rem; margin: 0 0 14px; }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { padding: 12px 0; border-top: 1px solid var(--line); }
.day .time { display: block; font-weight: 600; color: var(--accent-dark); }
.day .group { display: block; font-size: .9rem; color: var(--muted); }

.kidoin-mark { margin: 0; text-align: center; color: var(--muted); font-size: .85rem; }
.kidoin-mark img { width: 140px; margin: 0 auto 8px; }

@media (max-width: 960px) {
  .schedule-wrap { grid-template-columns: 1fr; }
  .kidoin-mark { display: none; }
}
@media (max-width: 760px) {
  .schedule { grid-template-columns: 1fr; }
}

.schedule-cta { text-align: center; margin-top: 40px; }
.schedule-cta p { margin: 0 0 16px; font-size: 1.1rem; font-weight: 500; }

/* ---------- Trainingsorte ---------- */
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.location {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.location-map { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.location-map img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.location-map:hover img { transform: scale(1.03); }
.location-body { padding: 22px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; }
.location h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin: 0; line-height: 1.2; }
.location-address { margin: 0; color: var(--muted); }
.location-days { margin: 6px 0 16px; flex: 1; }
.map-credit { text-align: right; font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.map-credit a { color: var(--muted); }
@media (max-width: 760px) {
  .locations { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }

.cta-box {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 32px;
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.cta-box p { margin: 0 0 18px; font-size: 1.1rem; }

/* ---------- Events ---------- */
.events { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; }
.events li {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.events .date { font-weight: 600; color: var(--accent-dark); }
.events-empty {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 28px;
  border: 1px dashed #d3c9b6;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
}
.events-more { max-width: 760px; margin: 28px auto 0; text-align: center; }
@media (max-width: 600px) {
  .events li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Über uns ---------- */
.intro { max-width: 760px; margin: 0 auto 60px; text-align: center; font-size: 1.15rem; }
.arts { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.art { text-align: center; }
.art img { width: 160px; height: 160px; object-fit: contain; margin: 0 auto 20px; }
.art h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin: 0 0 10px; }
.art p { color: var(--muted); margin: 0; }
.school-link { text-align: center; margin: 48px 0 0; }
@media (max-width: 760px) {
  .arts { grid-template-columns: 1fr; }
}

/* ---------- Trainingsablauf ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.step svg {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin: 0; }
.step-term { margin: 0 0 12px; font-style: italic; color: var(--accent-dark); font-size: .95rem; }
.step p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

.teachers-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 52px 0 0;
}
.teachers {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.teacher { text-align: center; }
.teacher strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.teacher span { color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: start; }
.contact-side { display: grid; gap: 24px; }
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-card h3 { font-family: var(--font-display); margin: 0 0 12px; font-size: 1.6rem; font-weight: 600; }
.contact-card p { margin: 0 0 12px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { word-break: break-word; }
.contact-card small { color: var(--muted); }

.contact-form {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form h3 { font-family: var(--font-display); margin: 0 0 20px; font-size: 1.8rem; font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; align-items: end; }
.field label { font-weight: 600; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #cfc6b5;
  border-radius: 6px;
  padding: 11px 12px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 123, 63, .2);
}
.form-note { font-size: .85rem; color: var(--muted); margin: 0 0 20px; }
.contact-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-form { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

.thanks .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer);
  color: #d9d4ca;
  padding: 52px 0 30px;
  text-align: center;
}
.site-footer .footer-title { font-family: var(--font-display); font-size: 1.6rem; color: #fff; font-weight: 600; margin: 0 0 18px; }
.footer-logos { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 24px; }
.site-footer .footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0;
  background: #fff;
  border-radius: 4px;
  padding: 6px;
}
.site-footer nav { margin-bottom: 20px; }
.site-footer nav a { color: #d9d4ca; margin: 0 12px; text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.site-footer small { color: #a8a296; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 60px 0 80px; }
.legal .container { max-width: 800px; }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: 2.8rem; }
.legal h2 { font-size: 1.2rem; margin-top: 36px; }
.placeholder { background: #fff3c4; padding: 0 4px; border-radius: 3px; }
