/* chordchartspro.com – ein Stylesheet, keine Web-Schriften, keine Animation.
   Farben der App: Tiefblau #121F5C -> Blau #296BE6 (Verlauf), Akzent Gold #FFCC5C (nie als Textfarbe auf Hell). */

:root {
  color-scheme: light dark;
  --tiefblau: #121f5c;
  --blau: #296be6;
  --gold: #ffcc5c;

  --grund: #f7f6f2;          /* Papier */
  --flaeche: #ffffff;
  --linie: #dcdbd3;
  --text: #1b1e2b;
  --leise: #4b5068;
  --titel: #121f5c;
  --link: #1d4fbf;
  --link-hover: #121f5c;
  --fokus: #1d4fbf;
  --akzent-deko: #e2a400;    /* nur Zierlinien, nie Text */
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0c1230;
    --flaeche: #141c42;
    --linie: #2a3463;
    --text: #eceef6;
    --leise: #b0b8d4;
    --titel: #ffffff;
    --link: #a3c1ff;
    --link-hover: #ffcc5c;
    --fokus: #ffcc5c;
    --akzent-deko: #ffcc5c;
  }
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  color: var(--titel);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h2 {
  font-size: 1.4rem;
  margin: 0 0 0.6em;
}

h3 {
  font-size: 1.1rem;
  margin: 1.6em 0 0.35em;
}

p {
  margin: 0 0 1em;
}

strong {
  font-weight: 650;
}

/* ---------- Sprunglink ---------- */
.sprung {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--flaeche);
  color: var(--link);
  border: 2px solid var(--fokus);
  border-radius: 8px;
}

.sprung:focus {
  top: 0.75rem;
}

/* ---------- Kopfzeile ---------- */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--grund);
}

.kopf-innen,
.fuss-innen {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--titel);
  font-weight: 650;
  font-size: 1.05rem;
  text-decoration: none;
}

.marke img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.marke:hover {
  color: var(--titel);
}

.marke:hover span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sprachen ul,
.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.sprachen a {
  display: inline-block;
  padding: 0.35rem 0.1rem;
  color: var(--leise);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.sprachen a:hover {
  color: var(--text);
  border-bottom-color: var(--linie);
}

.sprachen a[aria-current] {
  color: var(--text);
  font-weight: 650;
  border-bottom-color: var(--akzent-deko);
}

/* ---------- Startseite: Hero ---------- */
.hero {
  background: linear-gradient(to top right, var(--tiefblau), var(--blau));
  color: #ffffff;
}

.hero-innen {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1rem 3.25rem;
  text-align: center;
}

.hero .app-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.5rem;
  border-radius: 22.4%;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18), 0 10px 30px rgb(5 10 40 / 0.35);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 0.4em;
}

.hero .claim {
  font-size: clamp(1.15rem, 1rem + 1vw, 1.4rem);
  line-height: 1.4;
  margin-bottom: 0.6em;
}

.hero .claim strong {
  font-weight: 500;
}

.hero .plattform {
  margin-bottom: 1.5rem;
}

.hero .abzeichen {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--tiefblau);
  color: var(--gold);
  font-size: 0.95rem;
}

.hero .abzeichen em {
  font-style: normal;
}

.hero :focus-visible {
  outline-color: var(--gold);
}

/* ---------- Startseite: Abschnitte ---------- */
.seite {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

.seite .abschnitt + .abschnitt {
  margin-top: 2.75rem;
}

.seite .abschnitt h2::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: 0.6rem;
  border-radius: 2px;
  background: var(--akzent-deko);
}

.funktionen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1rem;
}

.funktionen li {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  line-height: 1.55;
}

.funktionen li strong {
  color: var(--titel);
}

.kurz {
  max-width: 68ch;
}

/* ---------- Textseiten (Datenschutz, Support, 404) ---------- */
.lesespalte {
  max-width: 68ch;
  margin: 0 auto;
  padding: 2.5rem 1rem 3.5rem;
}

.seitenkopf {
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--linie);
}

.seitenkopf p {
  color: var(--leise);
  margin: 0;
}

.seitenkopf strong {
  color: var(--text);
}

.lesespalte .abschnitt + .abschnitt {
  margin-top: 2.25rem;
}

.lesespalte h3 {
  padding-top: 1.1rem;
  border-top: 1px solid var(--linie);
}

.lesespalte h2 + h3 {
  border-top: 0;
  padding-top: 0;
  margin-top: 0.5rem;
}

.nichtgefunden h1 {
  font-size: 2rem;
}

/* ---------- Fusszeile ---------- */
.fuss {
  border-top: 1px solid var(--linie);
  color: var(--leise);
  font-size: 0.95rem;
}

.fuss-innen {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.fuss a {
  color: var(--leise);
}

.fuss a:hover {
  color: var(--text);
}

.fuss a[aria-current] {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}

.copy {
  margin: 0;
}

/* ---------- Bewegung: keine; Druck schlicht ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .kopf,
  .fuss,
  .sprung {
    display: none;
  }

  .hero {
    background: none;
    color: #000000;
  }

  .hero h1 {
    color: #000000;
  }
}

@media (min-width: 48rem) {
  .hero-innen {
    padding: 4.5rem 1rem 4.75rem;
  }

  .hero .app-icon {
    width: 128px;
    height: 128px;
  }

  .seite,
  .lesespalte {
    padding-top: 3.5rem;
  }
}
