/* klimmit.com · Styles
   Alle Pfade sind relativ: die Seite funktioniert auf dem Server und auch,
   wenn man die Dateien direkt am Computer öffnet. */

@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url('../fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url('../fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0B0909; --text: #17131C; --muted: #3F3946; --soft: #4F4857;
  --paper: #F3F4F4; --white: #FFFFFF; --lila: #A459D1; --lila-dark: #7A35A8; --lila-deep: #4E1F70;
  --yellow: #F6FA70; --pink: #F266AB; --orange: #FFB84C; --cyan: #2CD3E1;
  --display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img, svg { max-width: 100%; }
[id] { scroll-margin-top: 90px; }
a { color: var(--lila-dark); }
a:hover { color: var(--lila-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lila-dark); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 16px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.section { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }

/* Typo */
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
.h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.lead { margin: 0; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }

/* Markierung wie mit dem Textmarker: bleibt in ihrer eigenen Zeile */
.mark { background: linear-gradient(180deg, transparent 50%, var(--yellow) 50%, var(--yellow) 94%, transparent 94%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Überschrift mit kleiner Griff-Form davor */
.ico svg { display: inline-block; width: 22px; height: 22px; vertical-align: -3px; margin-right: 9px; }
.ico .bald { margin-left: 6px; vertical-align: 3px; }

/* Funktionen, die noch kommen */
.bald { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #EDE3F5; color: var(--lila-deep); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; }

/* Karten */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--paper); border-radius: 24px 18px 26px 16px; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.card:nth-child(2n) { border-radius: 18px 26px 16px 24px; }
.card p { margin: 0; font-size: 16px; color: var(--muted); }

/* Der Knopf: Bricolage, schwarze Pille, gibt beim Drücken nach */
.cta { display: inline-flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 9px 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .15s ease; -webkit-tap-highlight-color: transparent; }
.cta:hover { color: var(--white); transform: translateY(-2px); }
.cta:active { transform: translateY(3px); transition-duration: .06s; }
.cta .pfeil { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--ink); transition: transform .2s ease; }
.cta:hover .pfeil { transform: translateX(3px) rotate(-8deg); }
.cta.klein { min-height: 46px; font-size: 16px; padding: 0 6px 0 18px; gap: 10px; }
.cta.klein .pfeil { width: 34px; height: 34px; }
.cta[disabled] { opacity: .8; cursor: progress; transform: none; }

/* Formular */
.formkarte { position: relative; background: var(--white); border-radius: 34px 26px 38px 24px; padding: clamp(24px, 3.4vw, 40px); box-sizing: border-box; box-shadow: 0 24px 60px -28px rgba(11,9,9,.45); display: flex; flex-direction: column; gap: 22px; }
.zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px 16px; }
.feld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.feld label, .gruppe legend { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.feld .opt { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--soft); }
.feld input { font: inherit; font-size: 17px; color: var(--text); background: #F4F1F8; border: 2px solid transparent; border-radius: 16px; padding: 0 16px; min-height: 54px; width: 100%; box-sizing: border-box; transition: border-color .15s, background .15s; }
.feld input::placeholder { color: #8A8292; }
.feld input:hover { background: #EEE8F4; }
.feld input:focus { outline: none; background: var(--white); border-color: var(--lila-dark); box-shadow: 0 0 0 4px rgba(164,89,209,.2); }
.gruppe { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gruppe legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; box-sizing: border-box; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #F4F1F8; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s, color .15s, transform .12s; user-select: none; }
.chip span:hover { background: #EDE3F5; }
.chip input:checked + span { background: var(--ink); color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--lila-dark); outline-offset: 2px; }
.chip span:active { transform: scale(.95); }
.hinweis { margin: 0; font-size: 14px; color: var(--soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rechtliche und kurze Seiten */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 24px clamp(56px, 7vw, 96px); box-sizing: border-box; font-size: 17px; line-height: 1.6; }
.legal h1 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; }
.legal h2 { margin: 40px 0 8px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal address { font-style: normal; margin: 0 0 12px; }
.legal .stand { color: var(--soft); font-size: 15px; margin-top: 40px; }
mark.fill { background: var(--yellow); color: var(--text); padding: 0 .2em; border-radius: 4px; }

/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
  .cta, .cta .pfeil, .chip span { transition: none; }
}


/* Kreidekreis um „Demo anfragen“: lila, von Hand gezogen, mit Kreide-Körnung */
.cta.demo { padding-left: 34px; gap: 26px; }
.cta.demo.klein { padding-left: 24px; gap: 19px; }
.kreis { position: relative; display: inline-block; }
.kreide { position: absolute; max-width: none; left: -16px; top: -11px; width: calc(100% + 32px); height: calc(100% + 22px); overflow: visible; pointer-events: none; }
.cta.klein .kreide { left: -12px; top: -8px; width: calc(100% + 24px); height: calc(100% + 16px); }
.kreide path { fill: none; stroke: var(--lila); stroke-width: 3.2px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cta.klein .kreide path { stroke-width: 2.6px; }


/* Knöpfe immer einzeilig; auf schmalen Handys etwas kleineres Logo im Kopf */
.cta { white-space: nowrap; }
@media (max-width: 420px) {
  header img { height: 36px !important; }
  .cta.demo.klein { padding-left: 20px; gap: 17px; font-size: 15px; }
}

/* Textfeld „Eure Nachricht“ */
.feld textarea { font: inherit; font-size: 17px; line-height: 1.5; color: var(--text); background: #F4F1F8; border: 2px solid transparent; border-radius: 16px; padding: 12px 16px; min-height: 120px; width: 100%; box-sizing: border-box; resize: vertical; transition: border-color .15s, background .15s; }
.feld textarea:hover { background: #EEE8F4; }
.feld textarea:focus { outline: none; background: var(--white); border-color: var(--lila-dark); box-shadow: 0 0 0 4px rgba(164,89,209,.2); }

/* Häkchen „Neuigkeiten“ */
.haken { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.haken input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
