/* Ecki, das Berufe-Tool auf karrieremag.de/ecki/index.html
   Stand 15.10.2026, Paket 39. Alles ist mit .ecki- vorangestellt, damit nichts anderes auf der Seite betroffen ist. */

@font-face {
  font-family: 'EckiNunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('/files/cto_layout/ecki/nunito.woff2') format('woff2');
}

/* ---------- Einstieg (Hero) ---------- */
.ecki-hero { display: flex; gap: 40px; align-items: flex-start; justify-content: space-between; padding: 60px 0 70px 0; }
.ecki-hero-text { display: flex; flex-direction: column; gap: 18px; max-width: 470px; }
.ecki-crumb { font-size: 14px; color: #555555; }
.ecki-crumb a { color: #8a4f00; }
.ecki-hero .ecki-h1 { margin: 0; font-size: 45px; line-height: 1.15; font-weight: 700; color: #3b3c42; text-wrap: balance; }
.ecki-hero .ecki-h2 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; color: #3b3c42; }
.ecki-hero-text p { margin: 0; font-size: 17px; line-height: 1.65; color: #555555; }
.ecki-feat { display: flex; flex-wrap: wrap; gap: 8px; }
.ecki-feat span { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: #fff4e6; color: #3b3c42; }
.ecki-hero-bild { position: relative; width: 540px; height: 600px; flex-shrink: 0; }
.ecki-foto { position: absolute; right: 0; top: 0; width: 460px; height: 380px; object-fit: cover; border-radius: 90px 0 0 0; display: block; }
.ecki-hero-bild .ecki-card { position: absolute; left: 0; bottom: 0; width: 440px; }

.ecki-card { box-sizing: border-box; background: #ffffff; border: 2px solid #f1dcc0; border-radius: 28px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 0 #f1dcc0; font-family: 'EckiNunito', Nunito, system-ui, sans-serif; color: #2a2118; }
.ecki-card-kopf { display: flex; gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; font-weight: 700; }
.ecki-card-kopf img { display: block; flex-shrink: 0; width: 64px; height: 64px; }

/* ---------- gemeinsame Bausteine ---------- */
.ecki-card, .ecki-app { -webkit-font-smoothing: antialiased; }
.ecki-card *, .ecki-app * { box-sizing: border-box; }
.ecki-feld { display: flex; flex-direction: column; gap: 8px; }
.ecki-label { font-size: 15px; font-weight: 800; }
.ecki-input { font-family: inherit; font-size: 19px; font-weight: 700; padding: 12px 14px; border: 2px solid #e3cba8; border-radius: 14px; background: #fff9f1; color: #2a2118; width: 100%; }
.ecki-input:focus, .ecki-app textarea:focus, .ecki-app select:focus { outline: 3px solid #ffa535; outline-offset: 1px; }
.ecki-card button:focus-visible, .ecki-card a:focus-visible, .ecki-app button:focus-visible, .ecki-app a:focus-visible { outline: 3px solid #ffa535; outline-offset: 2px; }
.ecki-klassen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ecki-klassen button { font-family: inherit; font-size: 18px; font-weight: 900; min-height: 48px; border-radius: 14px; cursor: pointer; border: 2px solid #e3cba8; background: #ffffff; color: #2a2118; padding: 0; }
.ecki-klassen button[aria-pressed="true"] { border-color: #2a2118; background: #ffa535; }
.ecki-los { display: block; width: 100%; text-align: center; text-decoration: none; background: #2a2118; color: #ffffff !important; font-family: inherit; font-size: 18px; font-weight: 900; padding: 16px; border: 0; border-radius: 16px; box-shadow: 0 5px 0 #ffa535; cursor: pointer; }
.ecki-los:hover { opacity: .9; }
.ecki-los[disabled] { opacity: .5; cursor: default; }
.ecki-klein { text-align: center; font-size: 13px; color: #5a4d40; }
.ecki-fehler { font-size: 14px; font-weight: 800; color: #9a2a00; }

/* ---------- Tool im Overlay ---------- */
html.ecki-offen, html.ecki-offen body { overflow: hidden; }
.ecki-app[hidden] { display: none !important; }
.ecki-app { position: fixed; inset: 0; z-index: 2147483000; background: rgba(42, 33, 24, .55); display: flex; align-items: center; justify-content: center; font-family: 'EckiNunito', Nunito, system-ui, sans-serif; color: #2a2118; }
.ecki-app h2, .ecki-app h3 { font-family: 'EckiNunito', Nunito, system-ui, sans-serif !important; color: #2a2118; }
.ecki-screen { position: relative; width: 430px; max-width: 100%; height: min(860px, calc(100vh - 40px)); background: #fff9f1; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
@media (max-width: 600px) {
  .ecki-app { align-items: stretch; }
  .ecki-screen { width: 100%; height: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
}
.ecki-screen.ecki-teal { background: #0097b2; }

.ecki-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px 10px 20px; }
.ecki-zurueck, .ecki-zu { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: #ffffff; border: 2px solid #f1dcc0; cursor: pointer; padding: 0; color: #2a2118; }
.ecki-fortschritt { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.ecki-fortschritt span { font-size: 13px; font-weight: 800; color: #6b5d4f; }
.ecki-balken { height: 10px; border-radius: 99px; background: #f1dcc0; overflow: hidden; }
.ecki-balken i { display: block; height: 10px; background: #0097b2; }

.ecki-sagt { display: flex; gap: 12px; align-items: flex-start; padding: 6px 20px 0 20px; }
.ecki-sagt img { display: block; flex-shrink: 0; width: 64px; height: 64px; }
.ecki-blase { background: #ffffff; border: 2px solid #f1dcc0; border-radius: 18px; border-top-left-radius: 6px; padding: 12px 14px; font-size: 16px; line-height: 1.4; font-weight: 700; }

.ecki-modus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 20px 0 20px; }
.ecki-modus button { font-family: inherit; font-size: 15px; font-weight: 900; min-height: 56px; border-radius: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; color: #2a2118; border: 2px solid #e3cba8; background: #ffffff; }
.ecki-modus button[aria-pressed="true"] { border-color: #2a2118; background: #ffa535; }

.ecki-scroll { flex-grow: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 20px 10px 20px; display: flex; flex-direction: column; gap: 10px; }
.ecki-box { background: #ffffff; border: 2px solid #f1dcc0; border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ecki-box-titel { font-size: 16px; font-weight: 900; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ecki-weg { font-family: inherit; border: 0; background: none; color: #8a4300; font-size: 13px; font-weight: 800; cursor: pointer; padding: 4px; }
.ecki-noten { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ecki-noten button { font-family: inherit; font-size: 17px; font-weight: 900; min-height: 44px; border-radius: 12px; cursor: pointer; color: #2a2118; border: 2px solid #eadcc8; background: #fffdf9; padding: 0; }
.ecki-noten button[aria-pressed="true"] { border-color: #2a2118; background: #ffa535; }
.ecki-foto-box { background: #ffffff; border: 2px dashed #e3cba8; border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.ecki-foto-box b { font-size: 17px; font-weight: 900; }
.ecki-foto-box p { margin: 0; font-size: 14px; line-height: 1.4; color: #5a4d40; }
.ecki-foto-box .ecki-los { max-width: 280px; }
.ecki-plus { font-family: inherit; font-size: 15px; font-weight: 800; min-height: 48px; border-radius: 16px; border: 2px dashed #c9ad86; background: transparent; color: #5c2c00; cursor: pointer; width: 100%; }
.ecki-app select { font-family: inherit; font-size: 16px; font-weight: 700; padding: 12px; border: 2px solid #e3cba8; border-radius: 14px; background: #ffffff; color: #2a2118; width: 100%; }
.ecki-zaehler { display: flex; align-items: center; gap: 10px; flex-direction: row; padding: 12px; }
.ecki-zaehler > div { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.ecki-zaehler small { font-size: 13px; color: #5a4d40; }
.ecki-zaehler button { width: 44px; height: 44px; border-radius: 14px; border: 2px solid #e3cba8; background: #fff9f1; font-family: inherit; font-size: 22px; font-weight: 900; color: #2a2118; cursor: pointer; padding: 0; }
.ecki-zaehler output { min-width: 28px; text-align: center; font-size: 22px; font-weight: 900; }

.ecki-fuss { padding: 12px 20px 22px 20px; background: #fff9f1; border-top: 2px solid #f1dcc0; display: flex; flex-direction: column; gap: 8px; }
.ecki-fuss .ecki-klein { font-size: 14px; font-weight: 800; }

.ecki-kats { display: flex; gap: 8px; padding: 14px 20px 2px 20px; overflow-x: auto; scrollbar-width: none; }
.ecki-kats::-webkit-scrollbar { display: none; }
.ecki-chip { font-family: inherit; font-size: 16px; font-weight: 800; min-height: 44px; padding: 0 16px; border-radius: 99px; cursor: pointer; color: #2a2118; white-space: nowrap; border: 2px solid #e3cba8; background: #ffffff; }
.ecki-chip[aria-pressed="true"] { border-color: #2a2118; background: #ffa535; }
.ecki-kats .ecki-chip { font-size: 15px; flex-shrink: 0; }
.ecki-kats .ecki-chip[aria-pressed="true"] { background: #2a2118; color: #ffffff; }
.ecki-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ecki-chips .ecki-chip.ecki-klein-chip { font-size: 15px; }
.ecki-app textarea { font-family: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid #e3cba8; border-radius: 16px; background: #ffffff; color: #2a2118; resize: none; width: 100%; }

/* Rechnet */
.ecki-rechnet { flex-grow: 1; display: flex; flex-direction: column; padding: 0 24px; }
.ecki-rechnet-kopf { padding-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ecki-rechnet-kopf img { width: 140px; height: 140px; display: block; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .15)); }
.ecki-rechnet-kopf strong { font-size: 26px; font-weight: 900; color: #ffffff; text-align: center; line-height: 1.2; }
.ecki-schritte { margin-top: 26px; background: #ffffff; border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.ecki-schritt { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; opacity: 0; animation: eckiDa .4s ease-out forwards; }
.ecki-schritt span { width: 28px; height: 28px; border-radius: 50%; background: #1d7a45; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ecki-s1 { animation-delay: .4s; } .ecki-s2 { animation-delay: 1.2s; } .ecki-s3 { animation-delay: 2s; } .ecki-s4 { animation-delay: 2.8s; }
.ecki-route { stroke-dasharray: 420; animation: eckiStrich 3.6s ease-in-out forwards; }
.ecki-fahrt { animation: eckiFahrt 1.6s ease-in-out infinite; }
.ecki-rechnet .ecki-unten { margin-top: auto; padding-bottom: 30px; }
.ecki-rechnet .ecki-fehler { color: #ffffff; background: rgba(0, 0, 0, .2); padding: 12px; border-radius: 14px; margin-bottom: 12px; }
@keyframes eckiDa { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes eckiStrich { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
@keyframes eckiFahrt { 0% { transform: translateX(-14px) rotate(-6deg); } 50% { transform: translateX(14px) rotate(6deg); } 100% { transform: translateX(-14px) rotate(-6deg); } }
@keyframes eckiWackeln { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.ecki-denkt { animation: eckiWackeln .8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .ecki-fahrt, .ecki-route, .ecki-denkt { animation: none; }
  .ecki-schritt { opacity: 1; animation: none; }
}

/* Ergebnis */
.ecki-erg { flex-grow: 1; overflow-y: auto; padding: 14px 0 12px 0; display: flex; flex-direction: column; gap: 18px; }
.ecki-gruppe { display: flex; flex-direction: column; gap: 10px; }
.ecki-gruppe-kopf { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.ecki-ampel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 900; padding: 5px 12px 5px 8px; border-radius: 99px; }
.ecki-ampel i { width: 12px; height: 12px; border-radius: 50%; }
.ecki-a-gruen { background: #1d7a45; color: #ffffff; } .ecki-a-gruen i { background: #ffffff; }
.ecki-a-gelb { background: #f5c400; color: #2a2118; } .ecki-a-gelb i { background: #2a2118; }
.ecki-a-orange { background: #ffd9bf; color: #7a2e00; } .ecki-a-orange i { background: #e86a1a; }
.ecki-gruppe-kopf small { font-size: 13px; font-weight: 800; color: #6b5d4f; }
.ecki-swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 20px 4px 20px; scroll-padding-left: 20px; }
.ecki-karte { flex: 0 0 292px; max-width: calc(100vw - 60px); scroll-snap-align: start; background: #ffffff; border: 2px solid #f1dcc0; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ecki-karte-kopf { display: flex; align-items: flex-start; gap: 8px; }
.ecki-karte h3 { margin: 0; flex-grow: 1; font-size: 19px !important; font-weight: 900; line-height: 1.2; }
.ecki-stern { flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; border: 2px solid #e3cba8; background: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ecki-stern[aria-pressed="true"] { border-color: #2a2118; background: #fff4e6; }
.ecki-stern[aria-pressed="true"] path { fill: #ffa535; }
.ecki-warum { font-size: 14px; line-height: 1.45; min-height: 40px; }
.ecki-warum.ecki-laedt { color: #8a7a68; }
.ecki-sw { display: flex; flex-wrap: wrap; gap: 6px; }
.ecki-sw span { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; border: 1.5px solid #c9ad86; background: #fff4e6; color: #5c2c00; }
.ecki-profil { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 14px; border: 2px solid #e3cba8; background: #fff9f1; color: #2a2118 !important; font-size: 15px; font-weight: 900; text-decoration: none !important; }
.ecki-karte-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; background: #0097b2; color: #ffffff !important; font-size: 15px; font-weight: 900; text-decoration: none !important; }
.ecki-neu-link { align-self: center; font-family: inherit; font-size: 14px; font-weight: 800; color: #8a4300; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.ecki-leer { margin: 0 20px; background: #ffffff; border: 2px solid #f1dcc0; border-radius: 18px; padding: 16px; font-size: 16px; line-height: 1.45; font-weight: 700; }
.ecki-fuss-zeile { flex-direction: row; gap: 10px; }
.ecki-zweit { flex: 0 0 auto; display: flex; align-items: center; font-family: inherit; font-size: 15px; font-weight: 900; padding: 0 16px; border-radius: 16px; border: 2px solid #e3cba8; background: #ffffff; color: #2a2118; cursor: pointer; }
.ecki-fuss-zeile .ecki-los { flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 12px; width: auto; }
.ecki-hinweis { font-size: 12px; color: #6b5d4f; text-align: center; padding: 0 20px; }

/* ---------- Einstieg mobil ---------- */
@media (max-width: 1100px) {
  .ecki-hero { flex-direction: column; gap: 22px; padding: 26px 0 30px 0; }
  .ecki-hero-text { max-width: none; }
  .ecki-hero-bild { width: 100%; height: auto; }
  .ecki-foto { position: static; width: 100%; height: 260px; border-radius: 60px 0 0 0; }
  .ecki-hero-bild .ecki-card { position: relative; width: auto; max-width: 520px; margin: -80px 10px 0 10px; }
}
@media (max-width: 600px) {
  .ecki-hero .ecki-h1 { font-size: 32px; }
  .ecki-hero .ecki-h2 { font-size: 21px; }
  .ecki-hero-text p { font-size: 16px; }
  .ecki-foto { height: 220px; }
}

/* ---------- Abschnitte unter dem Tool (Paket 24) ---------- */
.ecki-teil { padding: 56px 0; display: flex; flex-direction: column; gap: 22px; color: #555555; }
.ecki-teil .ecki-h2gross { margin: 0; font-size: 35px; line-height: 1.2; font-weight: 700; color: #3b3c42; text-wrap: balance; }
.ecki-teil h3 { margin: 0; font-size: 20px; font-weight: 700; color: #3b3c42; }
.ecki-teil p { margin: 0; font-size: 16px; line-height: 1.6; color: #555555; }
.ecki-schritte3 { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ecki-schritte3 li { margin: 0; background: #ffffff; border: 1px solid #e6e6e8; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ecki-schritte3 li::before { content: none; }
.ecki-nr { width: 40px; height: 40px; border-radius: 50%; background: #ffa535; color: #3b3c42; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.ecki-grau { background: #f4f4f5; box-shadow: 0 0 0 100vmax #f4f4f5; clip-path: inset(0 -100vmax); }
.ecki-texte3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.ecki-texte3 article { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ecki-texte3 img { width: 100%; height: 210px; object-fit: cover; border-radius: 12px 12px 48px 12px; display: block; }
.ecki-texte3 h2 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; color: #3b3c42; }
.ecki-texte3 p { line-height: 1.7; }
.ecki-faq { gap: 6px; max-width: 760px; }
.ecki-faq .ecki-h2gross { margin-bottom: 10px; }
.ecki-frage { border-bottom: 1px solid #e6e6e8; padding: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.ecki-frage h3 { font-size: 18px; }
.ecki-links4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ecki-links4 a { text-decoration: none !important; color: #3b3c42; background: #ffffff; border: 1px solid #e6e6e8; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ecki-links4 a:hover { border-color: #ffa535; }
.ecki-links4 b { font-size: 18px; font-weight: 700; color: #3b3c42; }
.ecki-links4 span { font-size: 15px; line-height: 1.45; color: #555555; }
.ecki-dunkel { text-decoration: none !important; background: #3b3c42; color: #ffffff !important; border-radius: 22px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ecki-dunkel > span { display: flex; flex-direction: column; gap: 4px; }
.ecki-dunkel b { font-size: 22px; font-weight: 700; color: #ffffff; }
.ecki-dunkel > span > span { font-size: 15px; line-height: 1.45; color: #e9dccb; }
.ecki-dunkel i { font-style: normal; flex-shrink: 0; background: #ffa535; color: #3b3c42; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 14px; }
@media (max-width: 900px) {
  .ecki-schritte3, .ecki-texte3 { grid-template-columns: 1fr; }
  .ecki-links4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ecki-teil { padding: 32px 0; }
  .ecki-teil .ecki-h2gross { font-size: 26px; }
  .ecki-links4 { grid-template-columns: 1fr; }
  .ecki-dunkel { flex-direction: column; align-items: flex-start; }
}

/* Die Contao-Artikel der Ecki-Seite bringen je 100px Innenabstand mit. Den setzen die Ecki-Abschnitte selbst. */
.mod_article.ecki-sec > .container { padding-top: 0 !important; padding-bottom: 0 !important; }
.mod_article.ecki-5 > .container { padding-bottom: 40px !important; }

/* FAQ mit Kasten „Die Geschichte hinter Ecki“ (Paket 25) */
.ecki-faq-wrap { flex-direction: row; gap: 48px; align-items: flex-start; }
.ecki-faq-wrap .ecki-faq { flex: 1; min-width: 0; padding: 0; max-width: none; }
.ecki-geschichte { flex: 0 0 380px; background: #0097b2; color: #ffffff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ecki-geschichte img { display: block; width: 72px; height: 72px; }
.ecki-geschichte h2 { margin: 0; font-size: 24px; font-weight: 700; color: #ffffff !important; }
.ecki-geschichte p { margin: 0; font-size: 16px; line-height: 1.5; color: #ffffff; }
.ecki-geschichte a { align-self: flex-start; background: #ffffff; color: #3b3c42 !important; text-decoration: none !important; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 14px; }
@media (max-width: 900px) {
  .ecki-faq-wrap { flex-direction: column; }
  .ecki-geschichte { flex: none; width: 100%; box-sizing: border-box; }
}

/* Hobbys: alle Bereiche untereinander, Suche oben (Paket 26) */
.ecki-suche { margin: 14px 20px 0 20px; display: flex; align-items: center; gap: 10px; background: #ffffff; border: 2px solid #e3cba8; border-radius: 99px; padding: 0 8px 0 16px; min-height: 52px; }
.ecki-suche:focus-within { border-color: #ffa535; }
.ecki-suche input { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; background: transparent; font-family: inherit; font-size: 17px; font-weight: 700; color: #2a2118; padding: 12px 0; box-shadow: none !important; }
.ecki-suche input::-webkit-search-cancel-button { cursor: pointer; }
.ecki-zahl { flex-shrink: 0; font-size: 14px; font-weight: 900; background: #fff4e6; border: 2px solid #f1dcc0; border-radius: 99px; padding: 6px 12px; }
.ecki-hobby-scroll { padding-top: 6px; }
.ecki-bereiche { display: flex; flex-direction: column; gap: 4px; }
.ecki-bereich { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 8px 0; }
.ecki-bereich h3 { margin: 0; font-size: 20px !important; font-weight: 900; line-height: 1.2; color: #2a2118; }
.ecki-leer-text { margin: 0; font-size: 15px; color: #5a4d40; }
.ecki-bereich .ecki-chip { font-size: 16px; min-height: 44px; }

/* Schulform auf der Startkarte (Paket 27) */
.ecki-schulen { display: flex; flex-wrap: wrap; gap: 6px; }
.ecki-schulen button { font-family: inherit; font-size: 15px; font-weight: 800; min-height: 42px; padding: 0 14px; border-radius: 99px; cursor: pointer; border: 2px solid #e3cba8; background: #ffffff; color: #2a2118; }
.ecki-schulen button[aria-pressed="true"] { border-color: #2a2118; background: #ffa535; }
.ecki-card { gap: 14px; }

/* Paket 28: Karten mit der Maus ziehen, Blätter-Pfeile, Profil-Auswahl */
.ecki-swipe { cursor: grab; scrollbar-width: thin; }
.ecki-swipe.ecki-zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.ecki-swipe.ecki-zieht a, .ecki-swipe.ecki-zieht button { pointer-events: none; }
.ecki-swipe img { -webkit-user-drag: none; }
.ecki-gruppe-kopf { gap: 10px; }
.ecki-gruppe-kopf small { margin-left: auto; }
.ecki-pfeile { display: flex; gap: 6px; }
.ecki-pfeile button { width: 36px; height: 36px; border-radius: 12px; border: 2px solid #e3cba8; background: #ffffff; color: #2a2118; font-family: inherit; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; padding: 0 0 3px 0; }
.ecki-pfeile button:hover { border-color: #2a2118; background: #fff4e6; }
@media (hover: none) { .ecki-pfeile { display: none; } .ecki-swipe { cursor: auto; } }
.ecki-profil-box small { font-size: 13px; color: #5a4d40; margin-top: -4px; }
.ecki-profil-box .ecki-chip { min-height: 38px; font-size: 14px; padding: 0 12px; }

/* Paket 30: Ampel-Gruppen als Akkordeon, Stärken-Chips in zwei Arten */
.ecki-erg { gap: 10px; }
.ecki-gruppe { margin: 0 20px; background: #ffffff; border: 2px solid #f1dcc0; border-radius: 20px; overflow: hidden; gap: 0; }
.ecki-gruppe.ecki-auf { background: #fffdf9; }
.ecki-gruppe-kopf { padding: 0 10px 0 0; }
.ecki-akk { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 12px; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; color: #2a2118; }
.ecki-akk small { margin-left: auto; font-size: 13px; font-weight: 800; color: #6b5d4f; }
.ecki-chevron { flex-shrink: 0; transition: transform .2s ease; }
.ecki-auf .ecki-chevron { transform: rotate(180deg); }
.ecki-gruppe-kopf small { margin-left: auto; }
.ecki-gruppe .ecki-swipe { padding: 4px 12px 14px 12px; scroll-padding-left: 12px; animation: eckiDa .25s ease-out; }
.ecki-gruppe .ecki-karte { flex-basis: 280px; max-width: calc(100vw - 80px); }
.ecki-sw .ecki-sw-du { background: #ffa535; border-color: #ffa535; color: #2a2118; }
.ecki-sw .ecki-sw-beruf { background: #ffffff; border: 1.5px dashed #c9ad86; color: #5c2c00; }
.ecki-gruppe { flex-shrink: 0; }
.ecki-ampel { white-space: nowrap; }
.ecki-akk small { white-space: nowrap; }
@media (max-width: 420px) { .ecki-pfeile { display: none; } }

/* Paket 31: Notebook (wenig Höhe). Fenster breiter, Kopf und Bedienelemente kompakter. */
@media (min-width: 601px) {
  .ecki-screen { width: 480px; height: calc(100vh - 24px); max-height: 900px; }
}
@media (min-width: 601px) and (max-height: 860px) {
  .ecki-top { padding: 10px 16px 6px 16px; }
  .ecki-zurueck, .ecki-zu { width: 38px; height: 38px; border-radius: 12px; }
  .ecki-sagt { padding: 4px 16px 0 16px; gap: 10px; align-items: center; }
  .ecki-sagt img { width: 44px; height: 44px; }
  .ecki-blase { font-size: 14px; padding: 8px 12px; }
  .ecki-modus { padding: 10px 16px 0 16px; }
  .ecki-modus button { min-height: 44px; font-size: 14px; }
  .ecki-scroll { padding: 10px 16px 8px 16px; gap: 8px; }
  .ecki-box { padding: 8px 10px; gap: 6px; }
  .ecki-box-titel { font-size: 15px; }
  .ecki-noten button { min-height: 36px; font-size: 16px; }
  .ecki-suche { margin: 10px 16px 0 16px; min-height: 44px; }
  .ecki-bereich { padding: 8px 0 4px 0; gap: 8px; }
  .ecki-bereich h3 { font-size: 17px !important; }
  .ecki-chip, .ecki-bereich .ecki-chip { min-height: 38px; font-size: 15px; padding: 0 13px; }
  .ecki-fuss { padding: 8px 16px 14px 16px; gap: 6px; }
  .ecki-los { padding: 12px; font-size: 17px; }
  .ecki-fuss-zeile .ecki-los { min-height: 48px; }
  .ecki-gruppe { margin: 0 16px; }
  .ecki-akk { min-height: 48px; }
  .ecki-karte { padding: 12px; gap: 8px; }
  .ecki-karte h3 { font-size: 17px !important; }
  .ecki-profil { min-height: 40px; font-size: 14px; }
  .ecki-karte-link { min-height: 42px; font-size: 14px; }
  .ecki-rechnet-kopf { padding-top: 24px; }
  .ecki-rechnet-kopf img { width: 100px; height: 100px; }
}
/* Einstieg auf Notebooks: weniger Luft, damit „Los geht's“ ohne Scrollen sichtbar ist */
@media (min-width: 1101px) and (max-height: 860px) {
  .ecki-hero { padding: 24px 0 40px 0; }
  .ecki-hero .ecki-h1 { font-size: 40px; }
  .ecki-hero-bild { height: 560px; }
  .ecki-foto { height: 330px; }
  .ecki-card { padding: 18px; gap: 12px; }
  .ecki-klassen button { min-height: 42px; }
  .ecki-schulen button { min-height: 38px; font-size: 14px; }
  .ecki-input { padding: 10px 12px; font-size: 18px; }
  .ecki-los { padding: 13px; }
}

/* Paket 34: Das Theme setzt bei input:hover und button:hover einen 1px-Rahmen. Dadurch sprangen Felder und Knöpfe.
   Hier bekommen alle Ecki-Elemente beim Überfahren ihren eigenen Rahmen zurück (nur etwas dunkler). */
.ecki-card .ecki-input:hover { border: 2px solid #c9a77a; }
.ecki-card .ecki-klassen button:hover, .ecki-card .ecki-schulen button:hover { border: 2px solid #c9a77a; }
.ecki-card .ecki-klassen button[aria-pressed="true"]:hover, .ecki-card .ecki-schulen button[aria-pressed="true"]:hover { border-color: #2a2118; }
.ecki-card .ecki-los:hover, .ecki-app .ecki-los:hover { border: 0; }
.ecki-app .ecki-zurueck:hover, .ecki-app .ecki-zu:hover { border: 2px solid #c9a77a; }
.ecki-app .ecki-modus button:hover, .ecki-app .ecki-chip:hover, .ecki-app .ecki-zaehler button:hover,
.ecki-app .ecki-stern:hover, .ecki-app .ecki-pfeile button:hover, .ecki-app .ecki-zweit:hover { border: 2px solid #c9a77a; }
.ecki-app .ecki-modus button[aria-pressed="true"]:hover, .ecki-app .ecki-chip[aria-pressed="true"]:hover,
.ecki-app .ecki-stern[aria-pressed="true"]:hover { border-color: #2a2118; }
.ecki-app .ecki-noten button:hover { border: 2px solid #c9a77a; }
.ecki-app .ecki-noten button[aria-pressed="true"]:hover { border-color: #2a2118; }
.ecki-app .ecki-plus:hover { border: 2px dashed #a8875c; }
.ecki-app .ecki-weg:hover, .ecki-app .ecki-akk:hover, .ecki-app .ecki-neu-link:hover { border: 0; }
.ecki-app textarea:hover, .ecki-app select:hover { border: 2px solid #c9a77a; }
.ecki-app .ecki-suche input:hover { border: 0 !important; }
/* Zwei Foto-Knöpfe am Handy */
.ecki-foto-knoepfe { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 300px; }
.ecki-foto-knoepfe .ecki-los { max-width: none; }
.ecki-galerie { justify-content: center; min-height: 50px; width: 100%; }

/* Paket 36: eigenes Fach oder Profil eintragen */
.ecki-eigen { display: flex; gap: 8px; margin-top: 4px; }
.ecki-eigen input { flex: 1; min-width: 0; font-family: inherit; font-size: 15px; padding: 10px 12px; border: 2px solid #e3cba8; border-radius: 12px; background: #fffdf9; color: #2a2118; }
.ecki-app .ecki-eigen input:hover { border: 2px solid #c9a77a; }
.ecki-eigen input:focus { outline: 3px solid #ffa535; outline-offset: 1px; }
.ecki-eigen .ecki-zweit { min-height: 44px; }

/* Paket 39: Ergebnis in der Optik der Box „Das erwartet dich“ aus den Berufsprofilen */
.ecki-erg { padding-top: 12px; }
.ecki-kmt { margin: 0 16px; background: #f2f4f7; border-radius: 20px; padding: 16px 14px 10px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.ecki-kmt-lbl { margin: 0 0 2px 2px; font-size: 18px; font-weight: 800; color: #3b3c42; }
.ecki-kmt .ecki-gruppe { margin: 0; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; gap: 0; }
.ecki-kmt .ecki-gruppe-kopf { padding: 0; }
.ecki-kmt .ecki-akk { gap: 12px; min-height: 0; padding: 12px 16px; border-radius: 14px; background: #ffa535; color: #1f2024; box-shadow: 0 8px 18px -10px rgba(255, 140, 0, .8); }
.ecki-kmt .ecki-akk:hover { background: #ff9a1a; border: 0; }
.ecki-ic { flex: 0 0 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #1f2024; color: #ffa535; font-style: normal; font-weight: 800; font-size: 15px; }
.ecki-akk-t { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ecki-akk-t b { font-size: 16px; font-weight: 800; line-height: 1.25; }
.ecki-akk-t small { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.3; color: inherit; white-space: normal; }
.ecki-kmt .ecki-chevron { margin-left: auto; }
.ecki-kmt .ecki-g-gelb .ecki-akk { background: #fff4e6; color: #3b3c42; box-shadow: inset 0 0 0 2px #ffa535; }
.ecki-kmt .ecki-g-gelb .ecki-akk:hover { background: #ffeacc; }
.ecki-kmt .ecki-g-gelb .ecki-ic { background: #3b3c42; color: #ffffff; }
.ecki-kmt .ecki-g-orange .ecki-akk { background: #3b3c42; color: #ffffff; box-shadow: 0 8px 18px -10px rgba(59, 60, 66, .8); }
.ecki-kmt .ecki-g-orange .ecki-akk:hover { background: #2c2d32; }
.ecki-kmt .ecki-g-orange .ecki-ic { background: #ffa535; color: #1f2024; }
.ecki-kmt .ecki-pfeile { display: flex; justify-content: flex-end; gap: 6px; padding: 8px 2px 0 0; }
.ecki-kmt .ecki-swipe { padding: 8px 2px 8px 2px; scroll-padding-left: 2px; }
.ecki-kmt .ecki-karte { flex-basis: 270px; border-color: #e1e4ea; }
@media (hover: none) { .ecki-kmt .ecki-pfeile { display: none; } }
