/* Beratung: Unterrichtsbesuch, Nachbesprechung, Coaching, Perspektivgespräche */
.reiter.text button { padding-left: .95rem; }
.feld { border-top: 4px solid var(--akzent); padding: 1.2rem 1.3rem 1.5rem; }
.feld h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 .5rem; }
.feld h3 { font-size: 1.3rem; margin: 1.6rem 0 .4rem; }
.feld h4 { font-family: var(--titel-schrift); font-weight: 500; font-size: 1.15rem; margin: 0 0 .3rem; }
.feld > p, .feld li { max-width: var(--lesebreite); }

.spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalte); margin: 1.2rem 0; }
.spalten:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .spalten, .spalten:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); } }


/* Nachbesprechung: sechs Schritte */
.schritte { display: grid; gap: var(--eng); margin: 1.2rem 0; }
details.schritt { border-left: 4px solid var(--akzent); }
details.schritt > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .8rem 1rem; cursor: pointer; list-style: none; }
details.schritt > summary::-webkit-details-marker { display: none; }
details.schritt > summary::after { content: '›'; color: var(--akzent); font-size: 1.2rem; transition: transform .15s ease; }
details.schritt[open] > summary::after { transform: rotate(90deg); }
details.schritt[open] > summary { background: var(--akzent-hell); border-radius: 0 var(--rund) 0 0; }
details.schritt .nummer { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--akzent); color: var(--akzent-text); font-family: var(--titel-schrift); font-size: 1.15rem; line-height: 1; }
details.schritt .titel { font-weight: 600; }
details.schritt .inhalt { padding: .9rem 1.1rem 1.1rem 4rem; }
details.schritt .inhalt p { margin: .3rem 0; }
details.schritt .inhalt ul { margin: .3rem 0 .6rem; padding-left: 1.1rem; }
@media (max-width: 640px) { details.schritt .inhalt { padding-left: 1rem; } }

/* Notizblatt */
.notizblatt { margin-top: 1.8rem; padding: 1rem 1.1rem 1.2rem; border: 1px solid var(--linie-fest); border-radius: 12px; background: var(--blatt); }
.notizblatt h3 { margin-top: 0; }
.notizblatt .felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: .8rem 0; }
@media (max-width: 760px) { .notizblatt .felder { grid-template-columns: minmax(0, 1fr); } }
.notizblatt label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.notizblatt textarea { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--linie-fest); border-radius: 10px; background: var(--papier); color: var(--tinte); resize: vertical; min-height: 6rem; }
.notizblatt textarea:focus-visible { outline: 3px solid var(--akzent); }
.knoepfe { display: flex; flex-wrap: wrap; gap: var(--eng); }
#druck { display: none; }

/* Coaching */
.anlaesse { columns: 2 22rem; column-gap: 2rem; padding-left: 1.1rem; }
.anlaesse li { margin: .3rem 0; break-inside: avoid; }
.grow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalte); margin: .8rem 0; }
@media (max-width: 900px) { .grow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grow { grid-template-columns: minmax(0, 1fr); } }
.grow .buchstabe { --b: 2.375rem; --b-rund: 50%; margin-bottom: .4rem; }
.ablauf { padding-left: 1.3rem; max-width: var(--lesebreite); }
.ablauf li { margin: .45rem 0; }
.tabelle { display: grid; border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; max-width: var(--lesebreite); margin: .6rem 0; }
.tabelle > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.tabelle > div > span { padding: .55rem .8rem; border-top: 1px solid var(--linie); font-size: .93rem; }
.tabelle > div:first-child > span { border-top: 0; }
.tabelle .kopfzeile { background: var(--akzent-hell); font-weight: 700; }
.tabelle [role="rowheader"] { font-weight: 600; background: color-mix(in srgb, var(--akzent-hell) 40%, var(--blatt)); }
@media (max-width: 640px) { .tabelle > div { grid-template-columns: minmax(0, 1fr); } .tabelle .kopfzeile { display: none; } .tabelle > div > span { border-top: 0; } .tabelle > div { border-top: 1px solid var(--linie); } }

/* Perspektivgespräche */
.pgkopf { display: flex; align-items: center; gap: .7rem; margin: 2rem 0 .3rem; }
.pgkopf h3 { margin: 0; }
.pgmarke { flex: none; display: grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--akzent); color: var(--akzent-text); font-family: var(--titel-schrift); font-size: 1.15rem; line-height: 1; }
.feld h4 { margin-top: 1.1rem; }
.fragen { padding-left: 1.1rem; }
.fragen li { margin: .3rem 0; }

@media print {
  body.druckt > *:not(main):not(#druck) { display: none; }
  body.druckt main > *, body.druckt .tab { display: none !important; }
  body.druckt #druck { display: block !important; padding: 1rem; color: #000; }
  body.druckt #druck h1 { font-size: 1.6rem; margin: 0 0 1rem; }
  body.druckt #druck h2 { font-size: 1.1rem; margin: 1rem 0 .3rem; }
  body.druckt #druck p { white-space: pre-wrap; margin: 0; min-height: 3rem; }
}
.ovp-zitat { margin: .6rem 0; padding: .8rem 1rem; border-left: 4px solid var(--akzent); background: var(--akzent-hell); border-radius: 0 8px 8px 0; font-family: var(--titel-schrift); font-size: 1.08rem; line-height: 1.4; }
.ovp-zitat small { display: block; margin-top: .4rem; font-family: var(--schrift); font-size: .8rem; color: var(--tinte-leise); }
.plg-merkmale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalte); margin: .6rem 0 1rem; }
.plg-merkmale .symbol { display: inline-grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 10px; background: var(--blatt); color: var(--akzent); margin-bottom: .3rem; line-height: 1; }
.plg-merkmale .symbol .ic { width: 1.25rem; height: 1.25rem; }
.plg-merkmale .anregung { font-size: .88rem; padding: .4rem .6rem; border-radius: 8px; background: var(--gold-hell); }
.feld h3 .marke { background: var(--gold-hell); color: var(--gold); font-size: .7rem; vertical-align: middle; }
@media (max-width: 900px) { .plg-merkmale { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plg-merkmale { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Gestaltung: Icons, Zeitleiste, Schrittband, Abläufe, SMART ---------- */
.spalten .symbol { display: inline-grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 10px; background: var(--blatt); color: var(--akzent); margin-bottom: .35rem; line-height: 1; }
h3.mit-ic { display: flex; align-items: center; gap: .45rem; }
h3.mit-ic .ic { color: var(--akzent); width: 1.3rem; height: 1.3rem; }

.zeitleiste { margin: .8rem 0 .4rem; padding: .9rem 1rem; border: 1px solid var(--linie); border-radius: 14px; background: var(--blatt); display: grid; gap: .45rem; }
.zl-kopf, .zl-zeile { display: grid; grid-template-columns: 13rem repeat(6, minmax(0, 1fr)); gap: 4px; align-items: center; }
.zl-kopf span { text-align: center; font-size: .75rem; font-weight: 700; color: var(--tinte-leise); padding-bottom: .2rem; border-bottom: 2px solid var(--linie); }
.zl-kopf .zl-leer { border-bottom: 0; }
.zl-name { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; }
.zl-name .ic { color: var(--akzent); width: 1.125rem; height: 1.125rem; }
.zl-zeile > span:not(.zl-name) { grid-row: 1; }
.zl-balken { padding: .3rem .6rem; border-radius: var(--rund-pille); background: var(--akzent); color: var(--akzent-text); font-size: .78rem; font-weight: 600; line-height: 1.25; border-radius: 10px; }
.zl-hell { background: var(--akzent-hell); color: var(--akzent); }
.zl-gold { background: var(--gold); color: var(--blatt); }
.zl-punkt { justify-self: center; padding: .25rem .7rem; border-radius: var(--rund-pille); border: 2px solid var(--akzent); color: var(--akzent); font-size: .78rem; font-weight: 700; background: var(--akzent-hell); }
@media (max-width: 700px) {
  .zl-kopf, .zl-zeile { grid-template-columns: 0 repeat(6, minmax(0, 1fr)); gap: 2px; }
  .zl-kopf .zl-leer { display: block; }
  .zl-kopf span { font-size: .66rem; }
  .zl-name { grid-column: 1 / -1; grid-row: 1; margin-top: .4rem; }
  .zl-zeile > span:not(.zl-name) { grid-row: 2; }
  .zl-balken, .zl-punkt { font-size: .64rem; padding: .2rem .3rem; hyphens: auto; overflow-wrap: anywhere; }
}


.schrittband { list-style: none; padding: 0; margin: 1rem 0 .4rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; position: relative; }
.schrittband::before { content: ''; position: absolute; left: 8%; right: 8%; top: 27px; border-top: 2px dashed var(--linie-fest); }
.schrittband li { position: relative; }
.schrittband a { display: grid; justify-items: center; text-align: center; gap: .15rem; text-decoration: none; color: var(--tinte); }
.schrittband .kreis { display: grid; place-items: center; width: 3.375rem; height: 3.375rem; border-radius: 50%; background: var(--akzent-hell); border: 2px solid var(--akzent); color: var(--akzent); transition: transform .15s ease; line-height: 1; }
.schrittband .kreis .ic { width: 1.5rem; height: 1.5rem; }
.schrittband b { font-family: var(--titel-schrift); font-size: 1rem; color: var(--akzent); }
.schrittband small { font-size: .78rem; line-height: 1.25; color: var(--tinte-leise); }
.schrittband a:hover .kreis { transform: scale(1.07); }
@media (max-width: 700px) { .schrittband { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: .8rem; } .schrittband::before { display: none; } }

.ablauf { list-style: none; counter-reset: ab; padding-left: 0; }
.ablauf > li { counter-increment: ab; position: relative; padding: .1rem 0 .7rem 2.8rem; margin: 0; }
.ablauf > li::before { content: counter(ab); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--akzent); color: var(--akzent-text); font-family: var(--titel-schrift); line-height: 1; }
.ablauf > li:not(:last-child)::after { content: ''; position: absolute; left: .93rem; top: 2rem; bottom: .1rem; border-left: 2px solid var(--akzent-hell); }

.smart { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; max-width: var(--lesebreite); margin: .6rem 0; }
.smart div { display: grid; justify-items: center; gap: .1rem; padding: .5rem .3rem; border-radius: 12px; background: var(--akzent-hell); }
.smart span { font-family: var(--titel-schrift); font-size: 1.8rem; line-height: 1; color: var(--akzent); }
.smart small { font-size: .8rem; font-weight: 600; }
@media (max-width: 520px) { .smart small { font-size: .7rem; } }
.leise-klein { font-size: .88rem; color: var(--tinte-leise); }

/* Abläufe kompakt in zwei Spalten */
.ablauf { columns: 2; column-gap: var(--spalte); max-width: none; }
.ablauf > li { break-inside: avoid; }
@media (max-width: 720px) { .ablauf { columns: 1; } }

/* Zwei Abschnitte nebeneinander (Text links, Liste oder Beispiel rechts), damit die Reiter die Breite nutzen */
.paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--spalte) calc(var(--spalte) * 2); align-items: start; margin: 1rem 0; }
.paar > div > :first-child { margin-top: 0; }
.paar :where(p, ul, ol, blockquote, .smart) { max-width: none; }
.paar-kasten { padding: .9rem 1.1rem; }
.paar-kasten .anlaesse { columns: 1; }
.paar .vergleich { margin-top: 0; }
@media (max-width: 820px) { .paar { grid-template-columns: minmax(0, 1fr); } }

/* PLG-Rotation 2027/28 */
.kachel .plg-termine { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .95rem; }
.plg-termine li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0 .6rem; margin: .35rem 0; padding: .3rem .5rem .3rem .6rem; border-left: 3px solid var(--linie-fest); }
.plg-termine time { font-weight: 600; font-variant-numeric: tabular-nums; }
.plg-termine small { grid-column: 2; color: var(--tinte-leise); font-size: .82rem; }
.plg-termine li.plg-ks { border-left-color: var(--akzent); }
.plg-termine li.plg-fach { border-left-color: var(--tinte); }
.plg-termine li.plg-aufgabe { border-left-style: dashed; }
.plg-termine li.plg-offen { border-left-style: dotted; }
.plg-termine li.vorbei { opacity: .55; }
.plg-termine li.naechstes { background: var(--blatt); border-radius: 0 8px 8px 0; }
