/*
Theme Name: Yiquan Basel
Theme URI: https://yiquan-basel.ch
Author: Datyq GmbH
Description: Ruhiges, responsives WordPress-Theme für Yiquan Basel und Zürich.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yiquan-basel
*/

:root {
  --ink: #21312b;
  --muted: #64716b;
  --paper: #f7f5ef;
  --white: #fff;
  --sage: #dce5d8;
  --forest: #315a48;
  --forest-dark: #203f32;
  --sand: #e9dfcf;
  --line: rgba(33,49,43,.14);
  --shadow: 0 18px 50px rgba(33,49,43,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
a { color: var(--forest); }
img { max-width: 100%; height: auto; }
.site-wrap { overflow: hidden; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,245,239,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-nav a { color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--forest); }
.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.85) 0 5%, transparent 28%),
    linear-gradient(125deg, var(--sage), var(--sand));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -170px 38%;
  width: 760px;
  height: 420px;
  background: rgba(49,90,72,.11);
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; padding: 100px 0; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.13; }
h1 { max-width: 720px; margin: 0 0 24px; font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 500; }
h2 { margin: 0 0 22px; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 500; }
h3 { margin: 0 0 12px; font-size: 1.45rem; }
.lead { max-width: 650px; margin: 0 0 34px; font-size: 1.22rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-block;
  padding: 13px 21px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--forest); }
.quick-facts {
  position: relative;
  z-index: 2;
  margin-top: -52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.fact { padding: 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.fact span { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 1.1rem; }
.section { padding: 112px 0; }
.section.alt { background: var(--white); }
.narrow { max-width: 820px; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .88rem; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 44px; }
.card { padding: 38px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.card.dark { background: var(--forest); color: var(--white); }
.card .meta { margin: 0 0 22px; font-weight: 750; }
.card ul { margin: 22px 0 0; padding-left: 20px; }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.practice { padding: 34px; background: var(--paper); }
.number { display: inline-block; margin-bottom: 12px; color: var(--forest); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.quote { max-width: 900px; margin: 0 auto; text-align: center; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.3; }
.contact-box { padding: 54px; border-radius: 20px; background: var(--forest-dark); color: var(--white); }
.contact-box a { color: var(--white); }
.site-footer { padding: 36px 0; background: #172920; color: rgba(255,255,255,.75); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: rgba(255,255,255,.8); }
.entry-content > *:first-child { margin-top: 0; }
.simple-page { max-width: 820px; padding: 80px 0 120px; }
.admin-note { padding: 14px 18px; border-left: 4px solid #b77d26; background: #fff5dc; color: #5c451d; }
@media (max-width: 800px) {
  body { font-size: 17px; }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .site-nav { gap: 10px 18px; }
  .hero { min-height: auto; }
  .hero-content { padding: 78px 0 104px; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .cards { grid-template-columns: 1fr; gap: 28px; }
  .practice-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 28px, 1120px); }
  .quick-facts { grid-template-columns: 1fr; margin-top: -34px; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .contact-box { padding: 32px 24px; }
}

