/*
Theme Name: Coaching Perspektivenwechsel Editor
Theme URI: https://example.com/
Author: Katja Jöri
Author URI: https://example.com/
Description: Theme für Coaching Perspektivenwechsel mit bearbeitbarem Inhalt und Customizer-Farben.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: coaching-perspektivenwechsel-editor
*/

:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --accent: #4b6f72;
  --accent-soft: #e7f0f2;
  --text: #222222;
  --muted: #6b6b6b;
  --border: #e0e4ee;
  --radius-lg: 20px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.10);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0, var(--bg) 44%, #edf1f7 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.6rem; }
section { padding: 3.5rem 0; }

@media (max-width: 768px) {
  section { padding: 3rem 0; }
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245,247,251,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224,228,238,0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.7rem 0;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-brand-main {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-back {
  font-size: 0.9rem;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
  margin-bottom: 2.2rem;
}

@media (max-width: 780px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.accordion {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  padding: 1.4rem 1.4rem;
}

.accordion h2 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.accordion details {
  border-radius: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.3rem;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}

.accordion details[open] {
  background: #f9fbfd;
  border-color: var(--accent-soft);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion ul {
  margin: 0.4rem 0 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.section-footer {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(15,23,42,0.22);
}

.btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--accent);
  border-color: var(--accent-soft);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--accent);
}

footer.site-footer {
  padding: 2.2rem 0 2.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2.5rem;
}

/* --- Mobile Optimization --- */
@media (max-width: 640px) {
  h1 { font-size: 1.55rem; }
  .section-intro { font-size: 0.95rem; }
  .hero-top { gap: 1.4rem; }
  .card img { max-width: 70%; margin: 0 auto; }
  .accordion { padding: 1rem; }
  .accordion summary { font-size: 1rem; }
  .accordion p, .accordion ul { font-size: 0.92rem; }
  body { padding-bottom: 2rem; }
}
