/* INGkids – Startseite 2027 (Experiment). Farben & Schriften wie bisher: Grün #32A700, Actor + Roboto. */
:root {
	--g: #32A700; --g2: #3cba06; --g-soft: rgba(50,167,0,.08);
	--ink: #303640; --muted: #646b76; --paper: #F4F4F4; --line: #e6e8eb; --red: #FF0011;
	--r: .3em; --rc: 18px;
	--ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.p27:not(.p27-sub) { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.p27 .h27, .p27 .f27 { font: 400 17px/1.65 Roboto, system-ui, sans-serif; color: var(--ink); }
.p27:not(.p27-sub) img { max-width: 100%; height: auto; display: block; }
.p27-sub .h27 img, .p27-sub .f27 img { max-width: 100%; height: auto; display: block; }
.p27:not(.p27-sub) a, .p27 .h27 a, .p27 .f27 a { color: inherit; }
.p27:not(.p27-sub) h1, .p27:not(.p27-sub) h2, .p27 .f27 h2 { font-family: Actor, sans-serif; font-weight: 400; color: #1f242b; margin: 0; letter-spacing: -.01em; }
.p27:not(.p27-sub) h1 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.05; }
.p27:not(.p27-sub) h2, .p27 .f27 h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.p27:not(.p27-sub) h3 { font: 700 18px/1.3 Roboto, sans-serif; margin: 0 0 4px; color: var(--ink); }
:where(.p27:not(.p27-sub)) p, :where(.h27, .f27) p { margin: 0; }
.w27 { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.w27-narrow { max-width: 780px; }
.skip27 { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 99999; }
.skip27:focus { left: 8px; }
.p27 :focus-visible { outline: 3px solid rgba(50,167,0,.45); outline-offset: 3px; border-radius: 4px; }
.st27 { color: #fbbc04; letter-spacing: 1px; }

/* Buttons im Theme-Stil */
.b27 { display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.8em; border-radius: var(--r); background: var(--g); color: #fff !important; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; border: 2px solid var(--g); transition: background .3s ease, transform .3s var(--ease); }
.b27:hover { background: linear-gradient(100deg, var(--g) 0%, var(--g2) 100%); }
.b27 .ik-i { font-size: 14px; }
.b27-ghost { background: #fff; color: var(--g) !important; padding: .8em 1.4em; }
.b27-ghost:hover { background: var(--g-soft); }
.b27-soft { background: #fff; color: var(--g) !important; }
.b27-soft:hover { background: var(--g-soft); }

/* ---------- Kopfzeile ---------- */
.h27 { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); transition: box-shadow .3s ease; }
.h27.is-scrolled { box-shadow: 0 6px 24px rgba(48,54,64,.08); }
.h27-in { display: flex; align-items: center; gap: 28px; height: 80px; }
.h27-logo img { height: 52px; width: auto; }
.n27 { margin-left: auto; }
.n27 > ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.n27 li { position: relative; margin: 0; }
.n27 > ul > li > a { display: block; padding: 10px 14px; font-weight: 500; text-decoration: none; border-radius: 8px; transition: color .2s ease, background .2s ease; }
.n27 > ul > li > a:hover, .n27 a[aria-current] { color: var(--g); }
.n27 .has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.n27 .has-sub ul { position: absolute; left: 0; top: 100%; min-width: 200px; list-style: none; margin: 0; padding: 6px; background: #fff; box-shadow: 0 16px 40px rgba(48,54,64,.12); border-radius: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .25s var(--ease), visibility 0s .25s; }
.n27 .has-sub:hover ul, .n27 .has-sub:focus-within ul { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.n27 .has-sub ul a { display: block; padding: 7px 12px; font-size: 15px; text-decoration: none; border-radius: 6px; }
.n27 .has-sub ul a:hover { background: var(--g-soft); }
.h27-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.h27-burger i { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
html.m27-open .h27-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
html.m27-open .h27-burger i:nth-child(2) { opacity: 0; }
html.m27-open .h27-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.m27[hidden] { display: none !important; }
.m27 { padding: 8px 24px 24px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.m27 a { padding: 12px 0; font-size: 18px; text-decoration: none; border-bottom: 1px solid #f0f1f3; }
.m27 .b27 { margin-top: 14px; justify-content: center; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero27 { position: relative; padding: 70px 0 110px; z-index: 2; }
.hero27-bg { position: absolute; inset: 0; background: linear-gradient(100deg, #fff 0%, #fff 38%, rgba(255,255,255,.72) 70%, rgba(255,255,255,.55) 100%), url(../../wp-content/uploads/2025/06/WhatsApp-Bild-2025-06-13-um-16.21.18_75a2ad59.jpg) center / cover; }
.hero27-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero27-text { max-width: 560px; }
.hero27-claim { color: var(--red); font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.hero27-lead { font-size: 20px; line-height: 1.6; color: #2a2f36; margin: 22px 0 32px; max-width: 34em; }
.hero27-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero27-trust { margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero27-trust b { color: var(--ink); }
.hero27-visual { position: relative; }
.hero27-kids { width: 100%; max-width: 580px; margin-left: auto; }

/* Story-Einstieg: ruhiger Text-Button */
.s27 { display: inline-flex; align-items: center; gap: 12px; padding: 4px 6px 4px 4px; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: left; border-radius: 999px; }
.s27 b { display: block; font-size: 15.5px; }
.s27 small { display: block; font-size: 13px; color: var(--muted); }
.s27-play { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(48,54,64,.14); flex-shrink: 0; transition: transform .3s var(--ease); }
.s27-play::after { content: ''; position: absolute; left: 17px; top: 14px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--g); }
.s27:hover .s27-play { transform: scale(1.08); }
.s27-center { margin: 34px auto 0; display: flex; width: max-content; }

/* ---------- Stundenplan – das Erkennungszeichen ---------- */
.t27-plan { position: absolute; left: -30px; bottom: -150px; width: 268px; z-index: 5; margin: 0; background: #fff; border-radius: var(--rc); padding: 18px 18px 16px; box-shadow: 0 24px 60px rgba(48,54,64,.18); animation: t27-in .9s var(--ease) .3s both; }
@keyframes t27-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.t27-plan figcaption { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.t27-grid { display: grid; grid-template-columns: 38px repeat(4, 1fr); gap: 4px; align-items: center; }
.t27-day { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.t27-time { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.t27-slot { height: 20px; border-radius: 6px; background: #f2f3f5; }
.t27-slot.is-yours { background: var(--g); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; box-shadow: 0 0 0 0 rgba(50,167,0,.45); animation: t27-pulse 2.4s ease-out 1.4s infinite; }
.t27-slot.is-yours .ik-i { color: #fff; }
@keyframes t27-pulse { 0% { box-shadow: 0 0 0 0 rgba(50,167,0,.45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(50,167,0,0); } }
.t27-now { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--g-soft); }
.t27-now small { font-size: 12.5px; color: var(--muted); }
.t27-subj { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--g); min-height: 26px; transition: opacity .25s ease, transform .25s ease; }
.t27-subj em { font-style: normal; }
.t27-subj.is-out { opacity: 0; transform: translateY(-6px); }
.t27-note { margin-top: 10px !important; font-size: 13px; color: var(--muted); }
.t27-note .ik-i { color: var(--g); font-size: 11px; margin-right: 4px; }

/* ---------- Fakten-Band ---------- */
.facts27 { position: relative; z-index: 1; background: var(--g); color: #fff; }
.facts27 ul { padding-left: 24px; }
.facts27 ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; margin-top: 0; margin-bottom: 0; }
.facts27 li { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 17px; line-height: 1.25; }
.facts27 li .ik-i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.facts27 b { display: block; font-size: 19px; }

/* ---------- Zitat ---------- */
.quote27 { padding: 110px 0 70px; text-align: center; }
.quote27-src { font-size: 13.5px; color: var(--muted); margin-bottom: 10px !important; }
.quote27 h2 + p { margin-top: 22px; font-size: 18px; line-height: 1.75; color: var(--muted); }

/* ---------- Vorteile ---------- */
.pro27 { padding: 40px 0 110px; }
.pro27-in { display: grid; grid-template-columns: 340px 1fr; gap: 70px; align-items: start; }
.pro27-head { position: sticky; top: 120px; }
.pro27-head p { margin-top: 14px; color: var(--muted); }
.pro27-head .ik-kidpick { margin: 28px 0 0; text-align: left; }
.pro27-head .ik-kidpick-row { justify-content: flex-start; flex-direction: column; align-items: stretch; }
.pro27-head .ik-kidpick-row button { justify-content: flex-start; }
.pro27-head .ik-kidpick-h { font-size: 18px; }
.pro27-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.pro27-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); margin: 0; }
.pro27-ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(var(--c), .12); color: rgb(var(--c)); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.pro27-list p { color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- 27 Fächer ---------- */
.fach27 { position: relative; background: var(--paper); padding: 100px 0; }
.fach27::before, .fach27::after { content: ''; position: absolute; left: 0; right: 0; height: 60px; background: no-repeat center / 100% 100%; }
.fach27::before { top: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 4 64 4' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M64 6 C32 0 32 12 0 6 L0 4 L64 4 Z'/%3E%3C/svg%3E"); }
.fach27::after { bottom: -1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 4 64 4' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M64 6 C32 0 32 12 0 6 L0 8 L64 8 Z'/%3E%3C/svg%3E"); }
.fach27-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.fach27-img { margin: 0; }
.fach27-img img { border-radius: 26px; }
.fach27-text > p { margin: 16px 0 22px; color: var(--muted); font-size: 18px; }
.fach27-chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.fach27-chips li { --c: 107,114,128; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.fach27-chips li .ik-i { color: rgb(var(--c)); font-size: 12px; }
.fach27-chips li[style] { background: rgba(var(--c), .07); border-color: rgba(var(--c), .2); }
.chk27 { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.chk27 li { position: relative; padding-left: 32px; margin: 0; font-weight: 600; }
.chk27 li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 8px; height: 14px; border-right: 3px solid var(--g); border-bottom: 3px solid var(--g); transform: rotate(45deg); }

/* ---------- Lernräume ---------- */
.raum27 { padding: 120px 0 100px; }
.raum27-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.raum27-text > p { margin: 16px 0 22px; color: var(--muted); font-size: 18px; }
.raum27-imgs { position: relative; padding-bottom: 18%; }
.raum27-imgs .r1 { width: 82%; border-radius: 26px; }
.raum27-imgs .r2 { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 20px; border: 8px solid #fff; box-shadow: 0 20px 50px rgba(48,54,64,.16); }

/* ---------- Stimmen ---------- */
.voice27 { background: var(--paper); padding: 96px 0; }
.voice27-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.voice27-score { color: var(--muted); }
.voice27-score b { color: var(--ink); }
.voice27-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.voice27-q { margin: 0; padding-left: 22px; border-left: 3px solid var(--g); }
.voice27-q blockquote { margin: 0 0 16px; padding: 0; border: 0; font-family: Actor, sans-serif; font-size: 22px; line-height: 1.4; color: #1f242b; font-style: normal; }
.voice27-q blockquote::before, .voice27-q blockquote::after { content: none !important; }
.voice27-q figcaption b { display: block; }
.voice27-q figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq27 { padding: 100px 0 60px; }
.faq27 h2 { text-align: center; margin-bottom: 34px; }

/* ---------- Anmeldung ---------- */
.book27 { padding: 60px 0 110px; }
.book27-head { text-align: center; max-width: 720px; margin: 0 auto; }
.book27-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.book27-price { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 34px auto 36px; }
.book27-amount { display: flex; flex-direction: column; align-items: center; }
.book27-amount b { font-family: Actor, sans-serif; font-weight: 400; font-size: 60px; line-height: 1; color: #1f242b; }
.book27-amount span { font-size: 14px; color: var(--muted); margin-top: 6px; }
.book27-price ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.book27-price li { position: relative; padding-left: 26px; margin: 0; }
.book27-price li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 6px; height: 12px; border-right: 2.5px solid var(--g); border-bottom: 2.5px solid var(--g); transform: rotate(45deg); }

/* ---------- Fußzeile ---------- */
.f27 { background: var(--paper); color: #000; }
.f27 h2 { font-size: 25px; margin-bottom: 18px; color: #000; }
.f27-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 70px; padding-bottom: 60px; }
.f27 p { line-height: 1.6; }
.f27 a { text-decoration: none; }
.f27-links { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #cfd2d6; }
.f27-links li { margin: 0; line-height: 1.35; }
.f27-social { margin-top: 14px !important; display: flex; gap: 16px; font-size: 14px; }
.f27-more { background: #ebebeb; padding: 46px 0 52px; }
.f27-more ul { list-style: none; margin: 0; padding: 0; columns: 4; column-gap: 3rem; }
.f27-more li { margin: 0; line-height: 1.35; break-inside: avoid; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
	.n27, .h27-cta { display: none; }
	.h27-burger { display: block; }
	.h27-in { height: 68px; }
	.h27-logo img { height: 44px; }
	.hero27 { padding: 36px 0 60px; }
	.hero27-in { grid-template-columns: 1fr; gap: 30px; }
	.hero27-bg { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.9) 100%), url(../../wp-content/uploads/2025/06/WhatsApp-Bild-2025-06-13-um-16.21.18_75a2ad59.jpg) center / cover; }
	.hero27-visual { max-width: 560px; margin: 0 auto; width: 100%; }
	.hero27-kids { margin: 0 auto; }
	.t27-plan { position: relative; left: auto; bottom: auto; margin: -50px auto 0; width: min(360px, 100%); }
	.facts27 ul { grid-template-columns: 1fr 1fr; }
	.pro27-in { grid-template-columns: 1fr; gap: 30px; }
	.pro27-head { position: static; }
	.fach27-in, .raum27-in { grid-template-columns: 1fr; gap: 40px; }
	.voice27-row { grid-template-columns: 1fr; gap: 30px; }
	.f27-in { grid-template-columns: 1fr 1fr; }
	.f27-more ul { columns: 2; }
}
@media (max-width: 640px) {
	body.p27 { font-size: 16.5px; }
	.w27 { padding: 0 18px; }
	.hero27-claim { font-size: 18px; }
	.hero27-lead { font-size: 18px; margin: 16px 0 24px; }
	.hero27-actions .b27 { width: 100%; justify-content: center; }
	.facts27 li { font-size: 15px; } .facts27 b { font-size: 16px; } .facts27 li .ik-i { width: 40px; height: 40px; font-size: 16px; }
	.quote27 { padding: 70px 0 40px; }
	.pro27 { padding: 30px 0 70px; }
	.pro27-list { grid-template-columns: 1fr; }
	.pro27-list li { padding: 20px 0; }
	.fach27, .voice27 { padding: 80px 0; }
	.raum27 { padding: 80px 0 60px; }
	.book27-amount b { font-size: 48px; }
	.f27-in { grid-template-columns: 1fr; gap: 34px; text-align: center; padding-top: 50px; }
	.f27-social { justify-content: center; }
	.f27-more { text-align: center; }
	.f27-more ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.t27-plan, .t27-slot.is-yours { animation: none; }
	html { scroll-behavior: auto; }
}
/* ik.css-Formular im neuen Rahmen */
.p27 .ik-form-mount { margin: 0 auto; }
.p27 .ik-kidpick-row button { font-family: inherit; }

/* Stundenplan ragt unten ins grüne Band – Fakten weichen nach rechts aus */
@media (min-width: 1081px) { .facts27 ul { padding-left: 24px; } }
.t27-note { display: none; }
@media (max-width: 1080px) { .t27-plan { position: relative; left: auto; bottom: auto; margin: -40px auto 0; } .hero27 { padding-bottom: 60px; } }

/* Fächer: zwei ruhig laufende Reihen statt Wand aus Chips */
.fach27-marquee { display: grid; gap: 10px; margin: 0 0 26px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); overflow: hidden; }
.fach27-row { display: flex; width: max-content; animation: f27-run 60s linear infinite; }
.fach27-row.rev { animation-direction: reverse; animation-duration: 68s; }
.fach27-marquee:hover .fach27-row { animation-play-state: paused; }
.fach27-row ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0 8px 0 0; }
.fach27-row li { --c: 107,114,128; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 2px 8px rgba(48,54,64,.05); }
.fach27-row li .ik-i { color: rgb(var(--c)); font-size: 12px; }
.fach27-row li[style] { background: rgba(var(--c), .08); }
@keyframes f27-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fach27-row { animation: none; flex-wrap: wrap; width: auto; } .fach27-row ul[aria-hidden] { display: none; } .fach27-marquee { -webkit-mask-image: none; mask-image: none; } }

/* Herbst-Aktion mittig */
.pro27-head .ik-kidpick-akt { text-align: center; }

/* Vorteile: kein Strich über der ersten Reihe */
.pro27-list li:nth-child(-n+2) { border-top: 0; padding-top: 6px; }
@media (max-width: 640px) { .pro27-list li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 20px; } }

/* Olessja-Zeile unter der Überschrift, kleiner und heller */
.quote27-src { font-size: 12.5px !important; color: #9aa0a8 !important; margin: 12px 0 0 !important; }
.quote27-src .st27 { font-size: 11px; opacity: .85; }
.fach27-text { min-width: 0; }
.fach27-marquee { max-width: 100%; }
.quote27 .quote27-src + p { margin-top: 26px !important; font-size: 18px; line-height: 1.75; color: var(--muted); }

/* =========== Hero-Karte neu: „1 Termin = alle Fächer“ → Ergebnis =========== */
.t27-plan { padding: 18px 18px 16px; }
.t27-plan figcaption { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 15px; margin-bottom: 12px; }
.t27-plan figcaption b { font-size: 17px; color: #1f242b; }
.t27-plan figcaption span { color: var(--g); font-weight: 700; font-size: 17px; }
.t27-reel { position: relative; height: 152px; overflow: hidden; border-radius: 12px; background: #f6f7f8; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.t27-reel ul { list-style: none; margin: 0; padding: 0 12px; transform: translateY(-870px); }
.t27-reel li { display: grid; grid-template-columns: 20px 1fr 20px; align-items: center; gap: 10px; height: 38px; margin: 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid #eceef1; }
.t27-reel li > .ik-i { color: #8a919c; font-size: 13px; text-align: center; }
.t27-reel li em { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d5d9de; display: flex; align-items: center; justify-content: center; font-style: normal; transition: background .25s ease, border-color .25s ease, transform .3s var(--ease); }
.t27-reel li em .ik-i { font-size: 9px; color: #fff; opacity: 0; transition: opacity .2s ease; }
/* 1) Durchlaufen von oben nach unten, abbremsen, stoppen */
.t27-plan.is-run .t27-reel ul { animation: t27-roll 2.4s cubic-bezier(.12,.75,.25,1) forwards; }
@keyframes t27-roll { from { transform: translateY(-870px); } to { transform: translateY(0); } }
/* 2) Sichtbare Fächer nacheinander abhaken */
.t27-plan.is-run .t27-reel li:nth-child(-n+4) em { animation: t27-tick .35s var(--ease) forwards; }
.t27-plan.is-run .t27-reel li:nth-child(1) em { animation-delay: 2.5s; }
.t27-plan.is-run .t27-reel li:nth-child(2) em { animation-delay: 2.75s; }
.t27-plan.is-run .t27-reel li:nth-child(3) em { animation-delay: 3.0s; }
.t27-plan.is-run .t27-reel li:nth-child(4) em { animation-delay: 3.25s; }
.t27-plan.is-run .t27-reel li:nth-child(-n+4) em .ik-i { animation: t27-fade .2s ease forwards; animation-delay: inherit; }
@keyframes t27-tick { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: none; background: var(--g); border-color: var(--g); } }
@keyframes t27-fade { to { opacity: 1; } }
/* 3) „Alle 27 Fächer“ */
.t27-all { margin: 12px 0 0 !important; padding: 9px 12px; border-radius: 10px; background: var(--g); color: #fff; font-weight: 700; font-size: 14.5px; opacity: 0; transform: translateY(8px); }
.t27-all .ik-i { font-size: 12px; margin-right: 6px; }
.t27-plan.is-run .t27-all { animation: t27-up .5s var(--ease) 3.6s forwards; }
/* 4) Ergebnis */
.t27-result { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--g-soft); opacity: 0; transform: translateY(8px); }
.t27-plan.is-run .t27-result { animation: t27-up .5s var(--ease) 4.2s forwards; }
.t27-res-l { font-size: 13px; color: var(--muted); font-weight: 600; }
.t27-grade { display: inline-flex; align-items: center; gap: 8px; justify-self: end; font-family: 'Comic Sans MS', 'Segoe Print', cursive; font-size: 24px; line-height: 1; }
.t27-grade s { color: #d33; text-decoration-thickness: 2px; }
.t27-grade .ik-i { font-size: 13px; color: var(--muted); }
.t27-grade b { color: var(--g); font-size: 30px; }
.t27-result small { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); }
.t27-result small .st27 { font-size: 10px; }
@keyframes t27-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.t27-reel ul { transform: none; } .t27-reel li:nth-child(-n+4) em { background: var(--g); border-color: var(--g); } .t27-reel li:nth-child(-n+4) em .ik-i { opacity: 1; }
	.t27-all, .t27-result { opacity: 1; transform: none; }
	.t27-plan.is-run .t27-reel ul, .t27-plan.is-run .t27-all, .t27-plan.is-run .t27-result, .t27-plan.is-run .t27-reel li em, .t27-plan.is-run .t27-reel li em .ik-i { animation: none; }
}

/* Kinder stehen auf dem grünen Band (nicht mehr in der Luft) */
@media (min-width: 1081px) {
	.hero27 { padding-bottom: 0; }
	.hero27-text { padding-bottom: 110px; padding-top: 10px; }
	.hero27-visual { align-self: end; }
	.hero27-kids { display: block; margin-bottom: 0; }
	.t27-plan { bottom: 26px; left: -60px; width: 290px; }
}

@media (min-width: 1081px) {
	.hero27-in { grid-template-columns: 1fr 1.05fr; }
	.hero27-kids { width: 74%; margin-left: auto; margin-right: -2%; }
	.t27-plan { left: 0; bottom: 30px; width: 280px; }
}
@media (min-width: 1081px) {
	.hero27-in { grid-template-columns: 1.12fr 1fr; gap: 24px; }
	.hero27-kids { width: 66%; margin-right: -4%; }
	.t27-plan { left: -24px; width: 262px; bottom: 34px; }
	.t27-plan figcaption b, .t27-plan figcaption span { font-size: 16px; }
}

/* 27 Fächer: ruhiges Kachel-Raster statt Laufband */
.fach27-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 26px; }
.fach27-tile { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(48,54,64,.05); }
.fach27-tile .ik-i { width: 34px; height: 34px; border-radius: 9px; background: rgba(var(--c), .1); color: rgb(var(--c)); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.fach27-tile b { font-size: 15.5px; font-weight: 600; }
.fach27-more { display: contents; }
.fach27-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--g); color: #fff; transition: background .3s ease; }
.fach27-more summary::-webkit-details-marker { display: none; }
.fach27-more summary:hover { background: var(--g2); }
.fach27-more summary b { font-size: 17px; }
.fach27-more summary span { font-size: 15px; }
.fach27-more summary::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.fach27-more[open] summary::after { transform: rotate(-135deg); }
.fach27-more p { grid-column: 1 / -1; margin: 4px 0 0 !important; padding: 14px 16px; background: #fff; border-radius: 12px; font-size: 15px; line-height: 1.75; color: var(--muted); }
@media (max-width: 640px) { .fach27-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .fach27-tile { padding: 10px 12px; gap: 10px; } .fach27-tile b { font-size: 14.5px; } .fach27-tile .ik-i { width: 30px; height: 30px; font-size: 13px; } }
.fach27-more { display: block; }
.fach27-more[open] { grid-column: 1 / -1; }
.fach27-more[open] summary { border-radius: 12px 12px 0 0; }
.fach27-more p { margin: 0 !important; border-radius: 0 0 12px 12px; }
@media (max-width: 640px) { .fach27-more { grid-column: 1 / -1; } }

/* ===================== Hero – finale Proportionen (Desktop) ===================== */
@media (min-width: 1081px) {
	.hero27 { padding: 0; }
	.hero27-in { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; min-height: clamp(520px, calc(100vh - 80px - 92px), 640px); }
	.hero27-text { align-self: center; padding: 48px 32px 56px 0; max-width: 600px; }
	.hero27-visual { position: relative; align-self: stretch; min-height: 100%; }
	.hero27-kids { position: absolute; right: -2%; bottom: 0; width: auto; height: 94%; max-width: none; margin: 0; }
	.t27-plan { left: -10px; bottom: 36px; width: 244px; padding: 14px 14px 12px; border-radius: 16px; }
}
/* Karte kompakt */
.t27-plan figcaption { display: block; margin-bottom: 10px; }
.t27-plan figcaption b, .t27-plan figcaption span { font-size: 15.5px !important; }
.t27-reel { height: 114px; }
.t27-reel li { height: 38px; font-size: 14px; }
.t27-plan.is-run .t27-reel li:nth-child(4) em { animation: none; }
.t27-all { margin-top: 10px !important; padding: 7px 10px; font-size: 13.5px; }
.t27-result { margin-top: 8px; padding: 8px 10px; gap: 0 10px; }
.t27-grade { font-size: 22px; } .t27-grade b { font-size: 27px; }
.t27-result small { font-size: 11px; }
@media (min-width: 1081px) {
	.hero27 { overflow: hidden; }
	.hero27-in { height: clamp(540px, calc(100vh - 80px - 92px), 660px); min-height: 0; }
	.hero27-visual { height: 100%; }
	.hero27-kids { height: 96%; right: -10%; }
	.t27-plan { left: -70px; bottom: 44px; }
}
@media (min-width: 1081px) {
	.p27 .hero27-kids { max-width: none; height: 88%; width: auto; right: -6%; }
	.hero27-text { max-width: 540px; }
	.t27-plan { left: -40px; }
}
@media (min-width: 1081px) {
	.p27 .hero27 h1 { white-space: nowrap; font-size: clamp(44px, 4.3vw, 64px); }
	.hero27-text { max-width: 590px; }
	.p27 .hero27-kids { height: 86%; right: -14%; }
	.t27-plan { left: -64px; bottom: 40px; }
}
@media (min-width: 1081px) and (max-width: 1366px) {
	.hero27-text { max-width: 500px; }
	.hero27-lead { font-size: 18px; }
	.t27-plan { left: 0; }
}

/* ===== Hero: Fächer-Zeile im Text statt Karte über den Kindern ===== */
.t27-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: -10px 0 28px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(48,54,64,.06); width: fit-content; max-width: 100%; }
.t27-l1 { font-size: 16px; color: var(--ink); white-space: nowrap; }
.t27-l1 b { font-weight: 700; }
.t27-line .t27-reel { display: block; position: relative; height: 34px; width: 150px; overflow: hidden; border-radius: 9px; background: #f6f7f8; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.t27-line .t27-reel ul { padding: 0 10px; transform: translateY(-952px); }
.t27-line .t27-reel li { height: 34px; border: 0; font-size: 14.5px; grid-template-columns: 18px 1fr 18px; gap: 8px; }
.t27-line .t27-reel li em { width: 18px; height: 18px; }
.t27-l2 { font-size: 14.5px; color: var(--muted); }
.t27-l2 b { color: var(--ink); }
.hero27-text.is-run .t27-reel ul { animation: t27-roll2 2.2s cubic-bezier(.12,.75,.25,1) forwards; }
@keyframes t27-roll2 { from { transform: translateY(-952px); } to { transform: translateY(0); } }
.hero27-text.is-run .t27-reel li:first-child em { animation: t27-tick .35s var(--ease) 2.3s forwards; }
.hero27-text.is-run .t27-reel li:first-child em .ik-i { animation: t27-fade .2s ease 2.3s forwards; }
@media (prefers-reduced-motion: reduce) { .t27-line .t27-reel ul { transform: none; animation: none !important; } .t27-line .t27-reel li:first-child em { background: var(--g); border-color: var(--g); } .t27-line .t27-reel li:first-child em .ik-i { opacity: 1; } }
/* Kinder frei, groß, auf dem Band */
@media (min-width: 1081px) { .p27 .hero27-kids { height: 90%; right: -6%; } }
@media (max-width: 640px) { .t27-line { width: 100%; } .t27-line .t27-reel { flex: 1; } .t27-l2 { width: 100%; } }
.t27-line { max-width: 440px; }
@media (min-width: 1081px) { .p27 .hero27-kids { height: 86%; right: -10%; } .hero27-text { position: relative; z-index: 2; } }

/* Fächer-Badge auf dem Kinderbild (verdeckt keine Gesichter) */
.hero27-visual .t27-line { position: absolute; z-index: 3; right: 2%; bottom: 13%; margin: 0; width: 236px; max-width: none; padding: 12px 14px; gap: 8px 10px; border-radius: 14px; border: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 16px 40px rgba(48,54,64,.18); opacity: 0; transform: translateY(12px); animation: t27-up .6s var(--ease) .5s forwards; }
.hero27-visual .t27-l1 { font-size: 15px; }
.hero27-visual .t27-reel { width: 140px; height: 32px; }
.hero27-visual .t27-reel li { height: 32px; font-size: 14px; }
.hero27-visual .t27-l2 { width: 100%; font-size: 13px; }
.hero27-visual.is-run .t27-reel ul { animation: t27-roll2b 2.2s cubic-bezier(.12,.75,.25,1) .6s forwards; }
@keyframes t27-roll2b { from { transform: translateY(-896px); } to { transform: translateY(0); } }
.hero27-visual .t27-reel ul { transform: translateY(-896px); }
.hero27-visual.is-run .t27-reel li:first-child em { animation: t27-tick .35s var(--ease) 2.9s forwards; }
.hero27-visual.is-run .t27-reel li:first-child em .ik-i { animation: t27-fade .2s ease 2.9s forwards; }
@media (max-width: 1080px) {
	.hero27-visual .t27-line { right: 4%; bottom: 10%; width: 214px; padding: 10px 12px; }
	.hero27-visual .t27-reel { width: 124px; }
}
@media (max-width: 640px) {
	.hero27-visual .t27-line { right: 8px; bottom: 6%; width: 190px; transform: scale(.92); transform-origin: bottom right; }
}
@media (prefers-reduced-motion: reduce) { .hero27-visual .t27-line { opacity: 1; transform: none; animation: none; } .hero27-visual .t27-reel ul { transform: none; } }
/* Badge als schlanke Pille unten auf den Kindern – Gesichter bleiben frei */
.hero27-visual .t27-line { flex-wrap: nowrap; width: auto; left: auto; right: 6%; bottom: 7%; padding: 7px 8px 7px 16px; border-radius: 999px; gap: 10px; white-space: nowrap; }
.hero27-visual .t27-reel { width: 128px; height: 32px; border-radius: 999px; }
.hero27-visual .t27-l2 { width: auto; font-size: 13.5px; padding-right: 8px; }
@media (max-width: 1080px) { .hero27-visual .t27-line { right: 50%; transform: translateX(50%); animation: none; opacity: 1; bottom: 6%; } }
@media (max-width: 640px) { .hero27-visual .t27-line { transform: translateX(50%) scale(.86); transform-origin: bottom center; bottom: 4%; } }
@media (max-width: 1080px) { .p27 .hero27 { padding-bottom: 0; } .hero27-visual { margin-bottom: 0; } .p27 .hero27-kids { display: block; } }

/* +19 weitere: Hover-Fenster, verschiebt nichts */
.fach27-more { position: relative; display: block; outline: none; }
.fach27-more[open] { grid-column: auto; }
.fach27-more-btn { display: flex; align-items: center; gap: 8px; height: 100%; min-height: 58px; padding: 12px 14px; border-radius: 12px; background: var(--g); color: #fff; cursor: default; transition: background .3s ease; }
.fach27-more-btn b { font-size: 17px; } .fach27-more-btn span { font-size: 15px; }
.fach27-more:hover .fach27-more-btn, .fach27-more:focus-within .fach27-more-btn { background: var(--g2); }
.fach27-more p { position: absolute; z-index: 20; right: 0; bottom: calc(100% + 10px); width: 340px; margin: 0 !important; padding: 16px 18px; background: #fff; border-radius: 14px !important; box-shadow: 0 20px 50px rgba(48,54,64,.18); font-size: 14.5px; line-height: 1.7; color: var(--muted); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s .3s; }
.fach27-more p::after { content: ''; position: absolute; right: 40px; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.fach27-more:hover p, .fach27-more:focus-within p, .fach27-more:focus p { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 640px) { .fach27-more p { width: calc(100vw - 36px); right: 0; } }

/* Startseite unten: nur Schritt 1 (Kinder-Auswahl) – Klick öffnet das Pop-up */
.p27 .ik-kidpick-big { max-width: 760px; margin: 0 auto; padding: 34px 40px 30px; background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(48,54,64,.10); text-align: left; }
.p27 .ik-kidpick-big .ik-kidpick-h { font-family: Roboto, sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 18px; }
.p27 .ik-kidpick-big .ik-kidpick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p27 .ik-kidpick-big .ik-kidpick-row button { flex-direction: column; justify-content: center; height: auto; min-height: 140px; gap: 14px; border-radius: 16px; font-size: 16px; }
.p27 .ik-kidpick-big .ik-kidpick-row button .ik-i { font-size: 34px; }
.p27 .ik-kidpick-big .ik-kidpick-akt { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff7ea; border: 1.5px dashed #ffb133; text-align: left; font-size: 15px; }
@media (max-width: 640px) { .p27 .ik-kidpick-big { padding: 22px 18px; } .p27 .ik-kidpick-big .ik-kidpick-row { grid-template-columns: 1fr; } .p27 .ik-kidpick-big .ik-kidpick-row button { flex-direction: row; min-height: 64px; justify-content: flex-start; padding: 0 20px; } .p27 .ik-kidpick-big .ik-kidpick-row button .ik-i { font-size: 24px; width: 34px; } }

/* Logo einen Tick größer */
.h27-logo img { height: 58px; }
@media (max-width: 1080px) { .h27-logo img { height: 50px; } }

/* Vorteile: Kinder-Auswahl links unter der Überschrift (PC), am Handy nach der Liste */
.pro27-in { grid-template-areas: "head list" "pick list"; grid-template-rows: auto 1fr; }
.pro27-head { grid-area: head; position: static; }
.pro27-list { grid-area: list; }
.pro27-pick { grid-area: pick; align-self: start; position: sticky; top: 110px; }
.pro27-pick .ik-kidpick { margin: 28px 0 0; text-align: left; }
.pro27-pick .ik-kidpick-row { justify-content: flex-start; flex-direction: column; align-items: stretch; }
.pro27-pick .ik-kidpick-row button { justify-content: flex-start; }
.pro27-pick .ik-kidpick-h { font-size: 18px; }
.pro27-pick .ik-kidpick-akt { text-align: center; }
@media (max-width: 1080px) {
	.pro27-in { grid-template-areas: "head" "list" "pick"; grid-template-rows: none; }
	.pro27-pick { position: static; }
	.pro27-pick .ik-kidpick { margin-top: 10px; }
}

/* =================== Unterseiten im 2027-Rahmen =================== */
.p27-sub { background: #fff; }
.p27-sub .l-canvas { overflow: visible; }
.p27-sub .w-header-overlay, .p27-sub #w-header-show { display: none !important; }
.p27-sub .l-main .l-section { --site-content-width: 1180px; }
.p27-sub .l-main .l-section-h { max-width: 1180px; padding-left: 24px !important; padding-right: 24px !important; }
.p27-sub .l-main h1, .p27-sub .l-main h2 { letter-spacing: -.01em; }
.p27-sub .l-main h3 { line-height: 1.2; }
.p27-sub .l-main p { line-height: 1.7; }
.p27-sub .l-main .w-btn.us-btn-style_5, .p27-sub .l-main .w-btn.us-btn-style_1 { border-radius: .3em !important; padding: 1em 1.8em !important; font-size: 16px !important; font-weight: 700 !important; transition: background .3s ease !important; }
.p27-sub .l-main .w-btn.us-btn-style_1 { background: #fff !important; color: var(--g) !important; border: 2px solid var(--g) !important; }
.p27-sub .l-main .w-btn.us-btn-style_1:hover { background: var(--g-soft) !important; }
.p27-sub .l-main .vc_column-overlay, .p27-sub .l-main .wpb_column[class*="us_custom_"] { border-radius: 18px; }
.p27-sub .l-main .ik-title-light > .l-section-overlay { background: rgba(255,255,255,.88) !important; }
.p27-sub .l-main .ik-title-light h1 { color: #1f242b !important; }
.p27-sub .l-main section:first-of-type { position: relative; }
.p27-sub .ik-form-mount { border-radius: 20px; }
.p27-sub .l-main .l-section.height_medium > .l-section-h { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.p27-sub .l-main .l-section.height_large > .l-section-h { padding-top: 6rem; padding-bottom: 6rem; }
@media (max-width: 640px) {
	.p27-sub .l-main .l-section-h { padding-left: 18px !important; padding-right: 18px !important; }
	.p27-sub .l-main h1 { margin-right: 0 !important; }
}
.p27-sub .l-main .w-iconbox-title a, .p27-sub .l-main h1 a, .p27-sub .l-main h2 a { color: inherit; }

/* Hero: Inhaber + Bewertung */
.hero27-trust { display: flex; align-items: center; gap: 14px; }
.hero27-trust p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.hero27-trust p b { color: var(--ink); }
.hero27-avs { display: flex; flex-shrink: 0; }
.p27 .hero27-avs img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: center 18%; background: #eef6ea; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(48,54,64,.12); }
.p27 .hero27-avs img + img { margin-left: -14px; }

/* Bewertungs-Slider */
.voice27-slider { overflow: hidden; }
.voice27-track { display: flex; transition: transform .7s var(--ease); }
.voice27-q { flex: 0 0 50%; padding: 0 20px 0 22px; margin: 0; border-left: 0; }
.voice27-q blockquote { position: relative; padding: 28px 28px 22px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(48,54,64,.07); font-size: 21px; min-height: 170px; }
.voice27-q figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-left: 10px; }
.voice27-av { width: 40px; height: 40px; border-radius: 50%; background: var(--g); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.voice27-q figcaption small { display: block; font-size: 13px; color: var(--muted); }
.voice27-q .ik-mk { background: linear-gradient(100deg, rgba(255,222,70,.2) 0%, rgba(255,214,10,.55) 4%, rgba(255,214,10,.5) 96%, rgba(255,222,70,.1) 100%) no-repeat 0 82% / 0% 60%; padding: 0 2px; border-radius: 3px; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1.4s cubic-bezier(.45,.05,.35,1) .5s; }
.voice27-q.is-on .ik-mk { background-size: 100% 60%; }
.voice27-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.voice27-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.voice27-nav button:hover { border-color: var(--g); color: var(--g); }
.voice27-dots { display: flex; gap: 8px; }
.voice27-dots i { width: 8px; height: 8px; border-radius: 50%; background: #cfd3d8; cursor: pointer; transition: width .3s ease, background .3s ease; }
.voice27-dots i.is-on { width: 24px; border-radius: 4px; background: var(--g); }
@media (max-width: 1080px) { .voice27-q { flex-basis: 100%; padding: 0 2px; } .voice27-q blockquote { font-size: 19px; min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .voice27-track { transition: none; } .voice27-q .ik-mk { transition: none; background-size: 100% 60%; } }

.p27 .h27-logo img { height: 58px; width: auto; max-width: none; display: block; }
@media (max-width: 1080px) { .p27 .h27-logo img { height: 50px; } }
.ik-st-track:focus, .ik-st-track:focus-visible { outline: none !important; }
.voice27-q figcaption small .st27 { color: #fbbc04; }
/* Slider-Pfeile seitlich, Punkte darunter */
.voice27-slider { position: relative; overflow: visible; padding: 0 64px; }
.voice27-slider > .voice27-track { overflow: visible; }
.voice27-clip { overflow: hidden; }
.voice27-nav { margin-top: 22px; }
.voice27-nav .voice27-prev, .voice27-nav .voice27-next { position: absolute; top: 85px; transform: translateY(-50%); box-shadow: 0 4px 14px rgba(48,54,64,.08); }
.voice27-nav .voice27-prev { left: 0; }
.voice27-nav .voice27-next { right: 0; }
.voice27 .s27-center { margin-top: 48px; }
@media (max-width: 1080px) { .voice27-slider { padding: 0 34px; } .voice27-nav .voice27-prev, .voice27-nav .voice27-next { width: 38px; height: 38px; top: 50%; margin-top: -30px; } .voice27-nav .voice27-prev { left: -8px; } .voice27-nav .voice27-next { right: -8px; } }
.p27 .voice27-av { color: #fff !important; font-size: 17px; }
/* Zitat-Überschrift in einer Zeile (PC) */
.quote27 .w27-narrow { max-width: 1040px; }
.quote27 .w27-narrow > p:not(.quote27-src) { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .quote27 h2 { white-space: nowrap; font-size: clamp(30px, 3.1vw, 44px); } }
@media (min-width: 1081px) { .pro27-in { grid-template-rows: min-content 1fr; row-gap: 0; } }
/* Fächer-Kacheln leichter */
.fach27-grid { gap: 8px; }
.fach27-tile { padding: 9px 12px; gap: 10px; box-shadow: none; border: 1px solid #e9ebee; }
.fach27-tile .ik-i { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.fach27-tile b { font-size: 15px; font-weight: 500; }
.fach27-more-btn { min-height: 0; height: 100%; padding: 9px 12px; background: #fff; color: var(--g); border: 1px solid rgba(50,167,0,.35); }
.fach27-more-btn b { font-size: 15px; font-weight: 600; }
.fach27-more-btn span { font-size: 14.5px; }
.fach27-more:hover .fach27-more-btn, .fach27-more:focus-within .fach27-more-btn { background: var(--g-soft); }
.chk27 li { font-weight: 500; }
.hero27-visual .t27-reel li.is-ok em { background: var(--g); border-color: var(--g); transform: none; animation: t27-tick .35s var(--ease); }
.hero27-visual .t27-reel li.is-ok em .ik-i { opacity: 1; }
/* Footer-Linkliste klein und dezent */
.f27-more { padding: 26px 0 30px; }
.p27 .f27-more li { line-height: 1.6; }
.p27 .f27-more a { font-size: 13px; color: rgba(48,54,64,.55) !important; transition: color .2s ease; }
.p27 .f27-more a:hover { color: var(--g) !important; }

/* ===== Sanfter Seitenwechsel ===== */

::view-transition-old(root) { animation: p27-out .22s ease both; }
::view-transition-new(root) { animation: p27-in .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes p27-out { to { opacity: 0; } }
@keyframes p27-in { from { opacity: 0; transform: translateY(8px); } }
/* Fallback für Browser ohne View Transitions */
html.p27-fade body { animation: p27-in .4s cubic-bezier(.2,.8,.2,1) both; }
html.p27-leave body { opacity: 0; transition: opacity .18s ease; }
@media (prefers-reduced-motion: reduce) {
	::view-transition-old(root), ::view-transition-new(root) { animation: none; }
	html.p27-fade body { animation: none; }
}
.p27 .f27 h2 { margin-bottom: 16px !important; }

/* =================== Unterseiten 2027 – Bausteine =================== */
.title27 { position: relative; padding: 90px 0 70px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.92)), var(--bg, none) center / cover, #f6f8f5; }
.title27 h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; }
.title27-line { display: block; width: 120px; height: 10px; margin: 16px auto 0; background: url(../../wp-content/uploads/2025/05/strich4.webp) center / contain no-repeat; }
.sec27 { padding: 96px 0; background: #fff; }
.sec27.is-alt { background: var(--paper); }
.sec27-head { max-width: 760px; margin: 0 0 40px; }
.sec27-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec27-head p, .sec27-lead { margin-top: 14px !important; color: var(--muted); font-size: 18px; line-height: 1.7; }
.sec27-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sec27-btns.is-center { justify-content: center; margin-top: 44px; }
.p27-page .hero27-lead { font-size: 19px; }
/* Karten */
.cards27 { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.cards27.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cards27.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 22px 40px; }
.cards27 li { margin: 0; padding: 26px 24px 24px; background: #fff; border: 1px solid #e9ebee; border-radius: 18px; }
.sec27.is-alt .cards27 li { border-color: transparent; box-shadow: 0 6px 20px rgba(48,54,64,.05); }
.cards27 li .pro27-ic { margin-bottom: 16px; }
.cards27 h3 { font: 700 17.5px/1.3 Roboto, sans-serif; margin: 0 0 8px; color: var(--ink); }
.cards27 p { color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.cards27.cols-2 li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.cards27.cols-2 li .pro27-ic { margin: 0; }
/* Text + Bild */
.split27-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split27.is-flip .split27-img { order: -1; }
.split27-text > p { margin: 16px 0 0; color: var(--muted); font-size: 17.5px; line-height: 1.75; }
.split27-text .chk27 { margin: 24px 0 0; }
.split27-img { margin: 0; }
.split27-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: 0 20px 50px rgba(48,54,64,.10); }
.raum27-text > p, .fach27-text > p { margin: 16px 0 22px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.raum27-text .sec27-btns, .fach27-text .sec27-btns { margin-top: 0; }
/* Fächer-Kategorien / Bücher / Kontakt */
.cats27, .contact27 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cats27 li, .contact27 li { margin: 0; padding: 26px 24px; background: #fff; border: 1px solid #e9ebee; border-radius: 18px; }
.sec27.is-alt .cats27 li, .sec27.is-alt .contact27 li { border-color: transparent; }
.cats27-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--g-soft); color: var(--g); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 14px; }
.cats27 h3, .contact27 h3 { font: 700 17.5px/1.3 Roboto, sans-serif; margin: 0 0 6px; color: var(--ink); }
.cats27 p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.books27 li .b27 { margin-top: 14px; padding: .7em 1.2em; font-size: 15px; }
.contact27 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; text-align: center; }
.contact27 .cats27-ic { margin: 0 auto 14px; }
.contact27 .b27 { margin-top: 14px; }
/* Zahlen */
.stats27 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats27 li { margin: 0; }
.stats27 b { display: block; font-family: Actor, sans-serif; font-weight: 400; font-size: clamp(42px, 4.6vw, 64px); line-height: 1; color: var(--g); }
.stats27 span { display: block; margin-top: 8px; color: var(--muted); }
/* Fließtext */
.prose27 h2 { margin-bottom: 18px; }
.prose27 p { margin: 0 0 16px !important; color: #4a515c; font-size: 17px; line-height: 1.75; }
.prose27 a { color: var(--g) !important; }
.prose27 h3, .prose27 h4 { font: 700 18px/1.35 Roboto, sans-serif; margin: 28px 0 8px; }
.prose27 .ik-prose { font-size: 17px; }
.p27-page .facts27 li span { font-size: 16px; line-height: 1.35; }
/* Fach-Seiten: Hauch der Fachfarbe im Hero */
body.ik-fach .hero27-bg { background: linear-gradient(100deg, #fff 0%, #fff 34%, rgba(var(--fach), .10) 70%, rgba(var(--fach), .16) 100%), linear-gradient(100deg, #fff 0%, #fff 38%, rgba(255,255,255,.72) 70%, rgba(255,255,255,.55) 100%), url(../../wp-content/uploads/2025/06/WhatsApp-Bild-2025-06-13-um-16.21.18_75a2ad59.jpg) center / cover; }
@media (max-width: 1080px) {
	.cards27.cols-4 { grid-template-columns: 1fr 1fr; }
	.cards27.cols-2 { grid-template-columns: 1fr; }
	.split27-in { grid-template-columns: 1fr; gap: 34px; }
	.split27.is-flip .split27-img { order: 0; }
	.cats27 { grid-template-columns: 1fr 1fr; }
	.stats27 { grid-template-columns: 1fr 1fr; gap: 30px; }
	body.ik-fach .hero27-bg { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.9) 100%), url(../../wp-content/uploads/2025/06/WhatsApp-Bild-2025-06-13-um-16.21.18_75a2ad59.jpg) center / cover; }
}
@media (max-width: 640px) {
	.sec27 { padding: 70px 0; }
	.title27 { padding: 60px 0 46px; }
	.cards27.cols-4, .cats27, .contact27 { grid-template-columns: 1fr; }
	.cards27 li { padding: 22px 20px; }
}
.prose27 { overflow-wrap: anywhere; } .prose27 * { max-width: 100%; }

/* Rezensions-Zeile näher an die Zitat-Überschrift */
.quote27 h2 { margin-bottom: 0 !important; line-height: 1.15; }
.quote27 h2 + .quote27-src { margin-top: 2px !important; }
/* PC: Video-Button rechts neben dem grünen CTA */
@media (min-width: 1081px) {
	.hero27-actions { flex-wrap: nowrap; width: max-content; gap: 22px; }
}

/* Hero: Marker „alle Fächer inklusive“ – langsam ziehen, 7 s halten, langsam ausblenden, Wiederholung */
@property --mka { syntax: '<number>'; inherits: false; initial-value: 1; }
.mk27 { --mka: 1; padding: 0 3px; margin: 0 -1px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	background-image: linear-gradient(100deg, rgba(255,222,70,calc(.15 * var(--mka))) 0%, rgba(255,214,10,calc(.55 * var(--mka))) 3%, rgba(255,214,10,calc(.5 * var(--mka))) 97%, rgba(255,222,70,calc(.1 * var(--mka))) 100%);
	background-repeat: no-repeat; background-position: 0 85%; background-size: 0% 62%;
	animation: mk27 13s cubic-bezier(.45,.05,.35,1) .8s infinite; }
@keyframes mk27 {
	0%    { background-size: 0% 62%;   --mka: 1; }
	17%   { background-size: 100% 62%; --mka: 1; }   /* ca. 2,2 s langsam ziehen */
	71%   { background-size: 100% 62%; --mka: 1; }   /* 7 s stehen lassen */
	92%   { background-size: 100% 62%; --mka: 0; }   /* ca. 2,7 s ganz langsam ausblenden */
	92.1% { background-size: 0% 62%;   --mka: 0; }
	100%  { background-size: 0% 62%;   --mka: 1; }   /* kurze Pause, dann von vorn */
}
@media (prefers-reduced-motion: reduce) { .mk27 { animation: none; background-size: 100% 62%; } }

/* Hero: Kinder größer (PC) */
@media (min-width: 1081px) { .p27 .hero27-kids { height: clamp(430px, 36vw, 540px) !important; width: auto !important; max-width: none !important; right: -12%; } }
@media (min-width: 1081px) and (max-width: 1366px) { .p27 .hero27-kids { right: -16%; } }

/* Fächer-Pille: Breite richtet sich nach dem längsten Fach, nichts wird abgeschnitten */
.hero27-visual .t27-reel { width: 128px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.hero27-visual .t27-reel li { grid-template-columns: 18px max-content 18px; white-space: nowrap; width: max-content; min-width: 100%; padding-right: 8px; }
@media (max-width: 640px) {
	.hero27-visual .t27-line { flex-wrap: wrap; justify-content: center; white-space: normal; width: max-content; max-width: calc(100vw - 28px); border-radius: 18px; padding: 8px 12px 10px; gap: 4px 8px; transform: translateX(50%); }
	.hero27-visual .t27-l2 { width: 100%; text-align: center; padding: 0; font-size: 12.5px; }
	.hero27-visual .t27-reel li { font-size: 13.5px; }
}

/* Unterseiten-Hero: lange Überschriften umbrechen statt in die Kinder zu laufen */
@media (min-width: 1081px) {
	.p27-page .hero27 h1 { white-space: normal; text-wrap: balance; font-size: clamp(40px, 3.6vw, 56px); }
	.p27-page .hero27-text { max-width: min(560px, 46vw); }
	.p27-page .hero27-kids { height: clamp(400px, 32vw, 500px) !important; right: -14%; }
}
@media (max-width: 640px) { .hero27-visual .t27-line .t27-reel { flex: none; } }

/* Lernräume: Bewertung elegant über den Bildern */
.raum27-rev { position: absolute; z-index: 3; left: -7%; bottom: 3%; width: min(330px, 62%); margin: 0; padding: 16px 18px 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 18px; box-shadow: 0 22px 50px rgba(48,54,64,.18); }
.raum27-rev figcaption { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.raum27-rev figcaption > svg { margin-left: auto; flex-shrink: 0; }
.raum27-rev figcaption b { display: block; font-size: 14.5px; color: var(--ink); }
.raum27-rev figcaption small { display: block; font-size: 12.5px; color: var(--muted); }
.raum27-rev .st27 { font-size: 11px; }
.raum27-av { width: 36px; height: 36px; border-radius: 50%; background: #1a73e8; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.raum27-rev blockquote { margin: 0; padding: 0; border: 0; font-size: 15.5px; line-height: 1.5; color: #3a414b; font-style: normal; }
.raum27-rev blockquote::before, .raum27-rev blockquote::after { content: none !important; }
.mk-sw { padding: 0 2px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 600; color: inherit;
	background: linear-gradient(100deg, rgba(255,222,70,.15) 0%, rgba(255,214,10,.55) 3%, rgba(255,214,10,.5) 97%, rgba(255,222,70,.1) 100%) no-repeat 0 85% / 0% 62%;
	transition: background-size 1.4s cubic-bezier(.45,.05,.35,1) .5s; }
.mk-in.is-in .mk-sw { background-size: 100% 62%; }
@media (max-width: 1080px) { .raum27-rev { left: 4%; bottom: auto; top: 62%; } }
@media (max-width: 640px) { .raum27-imgs { padding-bottom: 0; } .raum27-rev { position: relative; left: auto; top: auto; width: auto; margin: -40px 12px 0; } }
@media (prefers-reduced-motion: reduce) { .mk-sw { transition: none; background-size: 100% 62%; } }
@media (max-width: 640px) { .raum27-imgs .r2 { display: none; } .raum27-imgs .r1 { width: 100%; } .raum27-rev { margin: -56px 14px 0; } }

/* Titel-Seiten: H1 kräftiger (Actor hat nur einen Schnitt – daher sauberer Kontur-Verstärker statt Kunstfett) */
.p27 .title27 h1 { -webkit-text-stroke: .045em currentColor; paint-order: stroke fill; letter-spacing: 0; }

/* Startseite: Nachhilferaum mit Blick über Gifhorn als Hintergrund, weißes Overlay für Kontrast */
body.p27 .hero27-bg { background: linear-gradient(100deg, #fff 0%, #fff 36%, rgba(255,255,255,.80) 62%, rgba(255,255,255,.62) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-kinder-lernen.webp) center 35% / cover; }
@media (max-width: 1080px) { body.p27 .hero27-bg { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.86) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-kinder-lernen.webp) 70% 40% / cover; } }

/* Startseite: Foto mit lernenden Kindern im Raum – freigestellte Kinder raus */
@media (min-width: 1081px) { body.p27 .hero27-kids { display: none !important; } }
body.p27 .hero27-bg { background: linear-gradient(100deg, #fff 0%, #fff 42%, rgba(255,255,255,.88) 50%, rgba(255,255,255,.45) 60%, rgba(255,255,255,.1) 74%, rgba(255,255,255,.05) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-kinder-lernen.webp) 70% 45% / cover; }
@media (max-width: 1080px) {
	body.p27 .hero27-bg { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.93) 55%, rgba(255,255,255,.35) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-kinder-lernen.webp) 45% 50% / cover; }
	body.p27 .hero27-visual { min-height: 230px; }
}

/* Logo: neue, scharfe Datei – etwas größer */
.p27 .h27-logo img { height: 64px; }
@media (max-width: 1080px) { .p27 .h27-logo img { height: 52px; } }
@media (max-width: 380px) { .p27 .h27-logo img { height: 46px; } }

/* Fächer-Pille „1 Termin = …“ im Hero entfernt */
.hero27-visual .t27-line { display: none !important; }
@media (max-width: 1080px) { body.p27 .hero27-visual { min-height: 160px; } }

/* Startseite: Google-Rezensionen schweben über dem Raumfoto und wechseln sich ab */
.hrev27 { position: absolute; z-index: 3; right: 2%; bottom: 13%; width: 350px; display: grid; padding: 16px 18px 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 18px; box-shadow: 0 22px 50px rgba(48,54,64,.18); opacity: 0; transform: translateY(14px); animation: hrev27-in .8s cubic-bezier(.2,.8,.2,1) 2.4s forwards; }
@keyframes hrev27-in { to { opacity: 1; transform: none; } }
.hrev27-s { grid-area: 1 / 1; display: block; color: var(--ink); text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.hrev27-s.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.hrev27-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hrev27-top img, .hrev27-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.hrev27-av { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 17px; }
.hrev27-top b { display: block; font-size: 14.5px; }
.hrev27-top small { display: block; font-size: 12.5px; color: var(--muted); }
.hrev27-top .st27 { font-size: 11px; }
.hrev27-top .g { margin-left: auto; flex-shrink: 0; }
.hrev27-q { display: block; font-size: 15px; line-height: 1.5; color: #3a414b; }
.hrev27 .mk-sw { transition: background-size 1.4s cubic-bezier(.45,.05,.35,1) .9s; }
.hrev27-s.is-on .mk-sw { background-size: 100% 62%; }
.hrev27-dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.hrev27-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d5d9de; transition: width .4s ease, background .4s ease; }
.hrev27-dots i.is-on { width: 18px; background: var(--g); }
@media (min-width: 1081px) { body.p27 .hero27-visual { position: relative; } }
@media (max-width: 1080px) {
	.hrev27 { position: relative; right: auto; bottom: auto; width: auto; max-width: 420px; margin: 0 auto 24px; animation-delay: .4s; }
	body.p27 .hero27-visual { min-height: 0; padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hrev27 { animation: none; opacity: 1; transform: none; } .hrev27-s { transition: none; } }
.hrev27-s { align-self: center; }

/* Box mit Sprechblasen-Ecke unten links */
.hrev27 { border-bottom-left-radius: 6px; }
.hrev27::after { content: ''; position: absolute; left: 30px; bottom: -10px; width: 22px; height: 22px; background: rgba(255,255,255,.96); border-radius: 0 0 5px 0; transform: rotate(45deg); box-shadow: 8px 8px 16px rgba(48,54,64,.07); }

/* Mobil: freigestellte Kinder wieder zeigen, Rezension darüber, Kinder stehen auf der grünen Leiste */
@media (max-width: 1080px) {
	body.p27 .hero27-visual { display: flex; flex-direction: column; align-items: center; }
	body.p27 .hero27-visual .hrev27 { order: -1; width: 100%; margin-bottom: 18px; }
	body.p27 .hero27-kids { display: block !important; width: 100%; max-width: 460px; height: auto !important; position: static !important; margin: 0 auto; }
}

/* Stimmen-Wolke im Hero (ersetzt die Rezensions-Box) */


.vc27{position:absolute;inset:0;z-index:3;pointer-events:none}
.vc27-c{position:absolute;top:var(--t);left:var(--l);pointer-events:auto;border:0;background:none;padding:0;font:inherit;cursor:pointer;animation:vc27-float 6s ease-in-out var(--d) infinite}
@keyframes vc27-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.vc27-p{display:inline-flex;align-items:center;gap:8px;padding:9px 16px 9px 12px;background:rgba(255,255,255,.95);backdrop-filter:blur(6px);border-radius:999px;box-shadow:0 12px 30px rgba(48,54,64,.16);white-space:nowrap;transition:opacity .35s ease,transform .35s ease,box-shadow .35s ease}
.vc27-st{color:#FBBC04;font-size:11px;letter-spacing:1px}
.vc27-tx{font-weight:600;font-size:14.5px;color:#2b3038;padding:0 2px;border-radius:3px;}
.vc27-c.is-hint .vc27-p{transform:translateY(-4px) scale(1.05);box-shadow:0 18px 40px rgba(48,54,64,.22),0 0 0 3px rgba(50,167,0,.18)}
.vc27:hover .vc27-c:not(:hover) .vc27-p{opacity:.45}
.vc27-c:hover{animation-play-state:paused;z-index:5}
.vc27-c:hover .vc27-p{transform:scale(1.04);box-shadow:0 16px 40px rgba(48,54,64,.22)}
.vc27-card{position:absolute;left:50%;top:calc(100% + 12px);width:330px;margin-left:-165px;display:block;text-align:left;padding:15px 17px 16px;background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(48,54,64,.24);opacity:0;transform:translateY(-6px) scale(.97);pointer-events:none;transition:opacity .3s ease,transform .3s ease;white-space:normal}
.vc27-card::before{content:'';position:absolute;left:50%;top:-8px;width:16px;height:16px;margin-left:-8px;background:#fff;transform:rotate(45deg);border-radius:3px 0 0 0}
.vc27-c:hover .vc27-card,.vc27-c:focus-visible .vc27-card{opacity:1;transform:none}
.vc27-top{display:flex;align-items:center;gap:10px;margin-bottom:9px}
.vc27-top img,.vc27-av{width:36px;height:36px;border-radius:50%;flex-shrink:0}
.vc27-av{display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}
.vc27-top b{display:block;font-size:14px;color:#2b3038}.vc27-top small{display:block;font-size:12px;color:#646b76}
.vc27-top svg{margin-left:auto}
.vc27-q{display:block;font-size:14.5px;line-height:1.5;color:#3a414b}
.vc27-q mark{background:linear-gradient(100deg,rgba(255,214,10,.55),rgba(255,214,10,.5)) no-repeat 0 85%/0% 62%;color:inherit;font-weight:600;padding:0 2px;transition:background-size 1.2s cubic-bezier(.45,.05,.35,1) .35s}
.vc27-c:hover .vc27-q mark,.vc27-c:focus-visible .vc27-q mark,.vc27-panel.is-on .vc27-q mark{background-size:100% 62%}
@media (max-width:1080px){
 .vc27{position:static;display:flex;gap:10px;overflow-x:auto;padding:6px 18px 14px;margin:0 0 6px;scrollbar-width:none;order:-1;width:calc(100% + 36px);max-width:none;min-width:0;margin:0 -18px 6px;align-self:stretch;box-sizing:border-box} .hero27{overflow:hidden}
 .vc27-c{position:relative;top:auto;left:auto;animation:none;flex:0 0 auto}
 .vc27-card{display:none}
}
 @media (max-width:1080px){.hero27-in{grid-template-columns:minmax(0,1fr)!important}.hero27-visual,.hero27-text{min-width:0}}
.vc27-panel{display:none}
@media (max-width:1080px){
 .vc27-panel{display:block;width:100%;order:-1}
 .vc27-panel .vc27-card{position:static;display:block;width:auto;margin:0 0 16px;opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease;pointer-events:auto}
 .vc27-panel.is-on .vc27-card{opacity:1;transform:none}
 .vc27-panel .vc27-card::before{left:60px}
 .vc27-c.is-open .vc27-p{box-shadow:0 0 0 2px var(--g),0 12px 30px rgba(48,54,64,.16)}
}
@media (prefers-reduced-motion: reduce){.vc27-c{animation:none}}
/* Pillen als Sprechblasen – Stimmen aus dem Raum */
.vc27-p { position: relative; border-radius: 20px; }
.vc27-p::after { content: ''; position: absolute; bottom: -7px; width: 15px; height: 15px; background: inherit; transform: rotate(45deg); border-radius: 0 0 4px 0; box-shadow: 5px 5px 10px rgba(48,54,64,.06); }
.vc27-c:nth-child(odd) .vc27-p { border-bottom-left-radius: 5px; }
.vc27-c:nth-child(odd) .vc27-p::after { left: 18px; }
.vc27-c:nth-child(even) .vc27-p { border-bottom-right-radius: 5px; }
.vc27-c:nth-child(even) .vc27-p::after { right: 18px; }
.vc27-card { top: calc(100% + 16px); }
@media (max-width:1080px){ .vc27-panel .vc27-card{position:relative} .vc27-p::after{display:block} .vc27{padding-bottom:16px} }
@media (max-width:1080px){ .vc27-panel .vc27-card{left:auto;top:auto;margin:0 0 16px;width:auto} .vc27-panel .vc27-card::before{left:44px} }
/* Profilbild in der Sprechblase */
.vc27-p { padding-left: 7px; }
.vc27-pav { width: 28px !important; height: 28px !important; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
span.vc27-pav { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 13px; }
.vc27-p .vc27-st { font-size: 10px; margin-right: -2px; }
/* Untere Sprechblasen öffnen die Rezension nach oben – nichts wird von der grünen Leiste abgeschnitten */
@media (min-width:1081px) {
	.vc27-c:nth-child(n+4) .vc27-card { top: auto; bottom: calc(100% + 16px); transform: translateY(6px) scale(.97); }
	.vc27-c:nth-child(n+4):hover .vc27-card, .vc27-c:nth-child(n+4):focus-visible .vc27-card { transform: none; }
	.vc27-c:nth-child(n+4) .vc27-card::before { top: auto; bottom: -8px; border-radius: 0 0 3px 0; }
	.vc27-c:hover { z-index: 6; }
}
@media (min-width:1081px) {
	.vc27-c:nth-child(even) .vc27-card { left: auto; right: 0; margin-left: 0; }
	.vc27-c:nth-child(even) .vc27-card::before { left: auto; right: 40px; margin-left: 0; }
	.vc27-c:nth-child(odd) .vc27-card { left: 0; margin-left: 0; }
	.vc27-c:nth-child(odd) .vc27-card::before { left: 40px; margin-left: 0; }
}
/* rechte Sprechblasen von rechts verankern, damit sie bei jeder Breite ins Bild passen */
@media (min-width:1081px) { .vc27-c:nth-child(even) { left: auto; right: 4%; } }
/* Sprechblasen etwas enger zusammen */
@media (min-width:1081px) {
	.vc27-c:nth-child(1) { top: 25%; left: 24%; }
	.vc27-c:nth-child(2) { top: 37%; right: 10%; }
	.vc27-c:nth-child(3) { top: 49%; left: 18%; }
	.vc27-c:nth-child(4) { top: 61%; right: 12%; }
	.vc27-c:nth-child(5) { top: 73%; left: 26%; }
}
@media (min-width:1081px) {
	.vc27-c:nth-child(1) { top: 22%; left: 30%; }
	.vc27-c:nth-child(2) { top: 35%; right: 2%; }
	.vc27-c:nth-child(3) { top: 48%; left: 10%; }
	.vc27-c:nth-child(4) { top: 61%; right: 5%; }
	.vc27-c:nth-child(5) { top: 74%; left: 32%; }
}
/* Eine Rezension ist immer offen und rotiert */
.vc27-c.is-hint .vc27-p { transform: none; box-shadow: 0 12px 30px rgba(48,54,64,.16); }
.vc27-card { transition: opacity .6s ease, transform .6s ease; }
@media (min-width:1081px) {
	.vc27-c.is-auto { z-index: 5; animation-play-state: paused; }
	.vc27-c.is-auto .vc27-card { opacity: 1; transform: none; }
	.vc27-c.is-auto .vc27-q mark { background-size: 100% 62%; }
	.vc27-c.is-auto .vc27-p { box-shadow: 0 0 0 2px rgba(50,167,0,.35), 0 16px 40px rgba(48,54,64,.2); }
	.vc27:hover .vc27-c.is-auto:not(:hover) .vc27-card { opacity: 0; }
	.vc27:hover .vc27-c.is-auto:not(:hover) .vc27-p { box-shadow: 0 12px 30px rgba(48,54,64,.16); }
}

/* Mobil: WhatsApp-Button rechts neben dem Menü-Button */
.h27-wa { display: none; }
@media (max-width: 1080px) {
	.h27-wa { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #25D366; margin-left: 6px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(37,211,102,.3); }
	.h27-in { gap: 10px; }
}
/* Offene Rezension liegt direkt über ihrer Sprechblase, die anderen treten zurück */
@media (min-width:1081px) {
	.vc27-c .vc27-card { top: -10px; bottom: auto; z-index: 2; }
	.vc27-c:nth-child(n+4) .vc27-card { top: auto; bottom: -10px; }
	.vc27-c:nth-child(odd) .vc27-card { left: -10px; right: auto; }
	.vc27-c:nth-child(even) .vc27-card { right: -10px; left: auto; }
	.vc27-card::before { display: none; }
	.vc27-c .vc27-p { transition: opacity .5s ease, transform .35s ease, box-shadow .35s ease; }
	.vc27-c.is-auto .vc27-p, .vc27-c:hover .vc27-p { opacity: 0; }
	.vc27:hover .vc27-c.is-auto:not(:hover) .vc27-p { opacity: .3; }
	.vc27:has(.vc27-c.is-auto) .vc27-c:not(.is-auto):not(:hover) .vc27-p,
	.vc27:hover .vc27-c:not(:hover) .vc27-p { opacity: .3; }
	.vc27-c:hover, .vc27-c.is-auto { z-index: 6; }
}
/* Mobil: WhatsApp LINKS neben dem Menü-Button */
@media (max-width: 1080px) {
	.h27-wa { order: 1; margin-left: auto; margin-right: 2px; }
	.h27-burger { order: 2; margin-left: 0; }
}
/* Mobil: gleiches Symbol wie am PC – nur grünes WhatsApp-Logo */
@media (max-width: 1080px) {
	.h27-wa { background: none; box-shadow: none; width: 44px; height: 44px; }
	.h27-wa svg { width: 34px; height: 34px; fill: #25D366; }
}
/* Marker in der offenen Rezension erst während des Lesens */
.vc27-q mark { transition: background-size 1.8s cubic-bezier(.45,.05,.35,1) 1.8s !important; }
/* Hover: Rezension öffnet nach kurzer Verzögerung (kein Aufspringen beim Drüberfahren) */
@media (min-width:1081px) {
	.vc27-c:hover .vc27-card { transition-delay: .3s; }
	.vc27-c:hover .vc27-p { transition-delay: .3s; }
}
@media (max-width: 1080px) {
	.h27-burger, .h27-wa, .pl27-badge { flex-shrink: 0; }
	.h27-in { gap: 8px; }
	.h27-logo { min-width: 0; flex-shrink: 1; }
	.p27 .h27-logo img { height: auto !important; width: 100%; max-width: 146px; max-height: 52px; }
}
/* Mobil: kein WhatsApp in der Kopfleiste */
@media (max-width: 1080px) { .h27-wa { display: none !important; } .pl27-badge { margin-right: 4px; } }
/* Mobil: freigestellte Kinder wieder raus */
@media (max-width: 1080px) { body.p27 .hero27-kids { display: none !important; } body.p27 .hero27 { padding-bottom: 24px !important; } }
/* Handy: keine Sprechblasen-Reihe – Rezensionen wechseln, Punkte darunter */
.vc27-dots { display: none; }
@media (max-width: 1080px) {
	body.p27 .vc27 { display: none !important; }
	.vc27-panel { order: 0; min-height: 150px; }
	.vc27-panel .vc27-card::before { display: none; }
	.vc27-panel .vc27-card { margin-bottom: 0; }
	.vc27-dots { display: flex; justify-content: center; gap: 7px; width: 100%; margin: 12px 0 4px; }
	.vc27-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: rgba(48,54,64,.22); transition: width .4s ease, background .4s ease; cursor: pointer; }
	.vc27-dots button.is-on { width: 20px; background: var(--g); }
}
/* Social-Icons im Footer */
.f27-social { display: flex; gap: 10px; }
.f27-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.06); color: #3a414b !important; transition: background .25s ease, color .25s ease, transform .25s ease; }
.f27-social a:hover { background: var(--g); color: #fff !important; transform: translateY(-2px); }
/* Mobil: kein Kinder-Formular nach „Top Abi-Vorbereitung“, keine Rezensionen im Hero */
@media (max-width: 1080px) {
	body.p27 .pro27-pick { display: none !important; }
	body.p27 .hero27-visual .vc27-panel, body.p27 .hero27-visual .vc27-dots { display: none !important; }
	body.p27 .hero27-visual { min-height: 0 !important; padding: 0 !important; }
}
/* Mobil: Hero-Hintergrund nur ganz zart, Text gut lesbar */
@media (max-width: 1080px) {
	body.p27 .hero27-bg { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.95) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-kinder-lernen.webp) 45% 50% / cover !important; }
}
/* „Darauf können Sie sich verlassen“: ohne Kinder-Auswahl, Überschrift oben mittig, Liste breit in der Mitte */
body.p27 .pro27-pick { display: none !important; }
@media (min-width: 1081px) {
	.pro27-in { grid-template-columns: 1fr !important; grid-template-areas: "head" "list" !important; grid-template-rows: auto auto !important; gap: 40px !important; }
	.pro27-head { text-align: center; max-width: 720px; margin: 0 auto; }
	.pro27-head h2 { white-space: nowrap; }
	.pro27-list { max-width: 1160px; width: 100%; margin: 0 auto; gap: 0 64px; }
}
/* 8 Punkte direkt unter „Glücksgriff“ – eigene Überschrift raus */
body.p27 .pro27-head { display: none !important; }
body.p27 .pro27 { padding-top: 10px; }
body.p27 .quote27 { padding-bottom: 36px; } body.p27 .pro27 { padding-top: 0; }
/* Kinder-Auswahl wieder rein (PC): mittig unter den 8 Punkten */
@media (min-width: 1081px) {
	body.p27 .pro27-pick { display: block !important; position: static; grid-area: auto; max-width: 760px; width: 100%; margin: 8px auto 0; text-align: center; }
	.pro27-in { grid-template-areas: "list" "pick" !important; }
	.pro27-pick .ik-kidpick { margin: 0; text-align: center; }
	.pro27-pick .ik-kidpick-row { flex-direction: row !important; justify-content: center !important; align-items: stretch !important; gap: 12px; }
	.pro27-pick .ik-kidpick-row button { flex: 1; justify-content: center !important; }
	.pro27-pick .ik-kidpick-akt { display: none; }
}
@media (min-width:1081px){ .pro27-pick { max-width: 820px !important; } .pro27-pick .ik-kidpick-row button { white-space: nowrap; min-height: 56px; } .pro27-pick .ik-kidpick-h { font-size: 19px; } }
/* Mobil: Kinder-Auswahl unter den 8 Punkten wieder zeigen */
@media (max-width: 1080px) {
	body.p27 .pro27-pick { display: block !important; position: static; margin-top: 18px; text-align: center; }
	.pro27-pick .ik-kidpick { margin: 0; text-align: center; }
	.pro27-pick .ik-kidpick-row { flex-direction: column !important; align-items: stretch !important; gap: 10px; }
	.pro27-pick .ik-kidpick-row button { justify-content: center !important; min-height: 54px; }
	.pro27-pick .ik-kidpick-akt { display: none; }
	body.p27 .pro27 { padding-bottom: 40px; }
}

/* ===== Schulausfall-Ticker ===== */
.tk27-lead { margin: 14px auto 0; max-width: 620px; color: var(--muted); font-size: 18px; }
.tk27-live { padding-top: 50px; }
.tk27-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 18px; background: #fff; border: 2px solid var(--line); box-shadow: 0 16px 40px rgba(48,54,64,.08); transition: border-color .4s ease, background .4s ease; }
.tk27-dot { position: relative; flex-shrink: 0; width: 16px; height: 16px; margin-top: 8px; border-radius: 50%; background: #c3c8cf; }
.tk27-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: tk27-ping 2s ease-out infinite; }
@keyframes tk27-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.tk27-card.is-ok { border-color: rgba(50,167,0,.35); background: #f6fbf2; } .tk27-card.is-ok .tk27-dot { background: var(--g); color: var(--g); }
.tk27-card.is-out { border-color: rgba(226,35,26,.4); background: #fff4f3; } .tk27-card.is-out .tk27-dot { background: #e2231a; color: #e2231a; }
.tk27-kicker { margin: 0 0 4px; font-size: 13.5px; color: var(--muted); }
.tk27-h { margin: 0 0 8px !important; font-size: clamp(24px, 3vw, 32px) !important; }
.tk27-t { margin: 0 0 10px; color: #3a414b; }
.tk27-meta { margin: 0; font-size: 13.5px; color: var(--muted); }
.tk27-meta a { color: var(--g); }
.tk27-note { margin: 14px 4px 0; font-size: 13.5px; color: var(--muted); }
.tk27-src { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.tk27-src a { display: block; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .25s ease; }
.tk27-src a:hover { border-color: var(--g); }
.tk27-src b { display: block; } .tk27-src span { font-size: 14.5px; color: var(--muted); }
.tk27-hist { list-style: none; margin: 18px 0 0; padding: 0; }
.tk27-hist li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.tk27-hist time { font-weight: 600; color: var(--ink); }
.tk27-cta { text-align: center; } .tk27-cta p { max-width: 620px; margin: 14px auto 24px; color: var(--muted); }
@media (max-width: 640px) { .tk27-card { padding: 20px; gap: 14px; } .tk27-hist li { grid-template-columns: 1fr; gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .tk27-dot::after { animation: none; } }

/* Ticker-Seite: einheitlicher Rhythmus */
.tk27-main .title27 { padding: 64px 0 40px; }
.tk27-main .title27 h1 { margin: 0; }
.tk27-main .title27-line { margin: 14px auto 0; }
.tk27-main .tk27-lead { margin: 16px auto 0; font-size: 17px; line-height: 1.6; }
.tk27-main .sec27 { padding: 56px 0; }
.tk27-main .tk27-live { padding: 8px 0 56px; }
.tk27-main .tk27-card { max-width: 780px; margin: 0 auto; }
.tk27-main .tk27-h { line-height: 1.2; }
.tk27-main .tk27-t { line-height: 1.6; }
.tk27-main .tk27-note { max-width: 780px; margin: 12px auto 0; padding: 0 4px; line-height: 1.5; }
.tk27-main .prose27 h2 { margin: 0 0 14px; line-height: 1.2; font-size: clamp(26px, 2.6vw, 34px); }
.tk27-main .prose27 h2:not(:first-child) { margin-top: 40px; }
.tk27-main .prose27 p { margin: 0 0 14px !important; line-height: 1.7; }
.tk27-main .prose27 p:last-child { margin-bottom: 0 !important; }
.tk27-main .chk27 { margin: 4px 0 16px; gap: 10px; }
.tk27-main .chk27 li { font-weight: 500; line-height: 1.55; color: #3a414b; }
.tk27-main .tk27-src { margin: 4px 0 18px; }
.tk27-main .tk27-src a { padding: 14px 18px; line-height: 1.4; }
.tk27-main .tk27-src b { margin-bottom: 2px; }
.tk27-main .tk27-hist { margin: 4px 0 0; }
.tk27-main .tk27-hist li { padding: 14px 0; line-height: 1.55; align-items: baseline; }
.tk27-main .tk27-hist li:last-child { border-bottom: 1px solid var(--line); }
.tk27-main .tk27-cta h2 { margin: 0; }
.tk27-main .tk27-cta p { margin: 14px auto 24px; line-height: 1.7; }
@media (max-width: 640px) {
	.tk27-main .title27 { padding: 40px 0 28px; }
	.tk27-main .sec27 { padding: 40px 0; }
	.tk27-main .tk27-live { padding: 4px 0 40px; }
	.tk27-main .prose27 h2:not(:first-child) { margin-top: 32px; }
	.tk27-main .tk27-hist li { padding: 12px 0; }
}
.tk27-main .chk27 li, .tk27-main .chk27 li * { font-weight: 400 !important; } .tk27-main .tk27-src span { display: block; }

/* ===== Schul-Infoseiten (sc27) ===== */
.sc27-main .tk27-lead { max-width: 680px; }
.sc27-bc ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 14px; color: var(--muted); }
.sc27-bc li + li::before { content: '›'; margin-right: 6px; color: #b3b8bf; }
.sc27-bc a { color: var(--muted) !important; text-decoration: none; } .sc27-bc a:hover { color: var(--g) !important; }
.sc27-stand { margin: 14px auto 0 !important; font-size: 14px; color: var(--muted); }
.sc27-main .sc27-intro { padding: 0 0 56px; }
.sc27-intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; align-items: start; }
.sc27-kurz { background: var(--g-soft); border-left: 4px solid var(--g); border-radius: 0 14px 14px 0; padding: 22px 26px; }
.sc27-kurz-h, .sc27-toc-h { margin: 0 0 10px !important; font: 700 17px/1.3 Roboto, sans-serif; color: #1f242b; }
.sc27-kurz ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; }
.sc27-kurz li { line-height: 1.55; color: #3a414b; }
.sc27-toc { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.sc27-toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 6px; }
.sc27-toc a { color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.sc27-toc a:hover { color: var(--g) !important; border-color: var(--g); }
.sc27-main [id] { scroll-margin-top: 90px; }
.sc27-wide-h { max-width: 780px; margin: 0 auto 26px; }
.sc27-wide-h p { margin-top: 8px !important; }
.sc27-schools { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; max-width: 1040px; }
.sc27-sch { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.sec27.is-alt .sc27-sch { border-color: transparent; }
.sc27-sch h3 { margin: 0 !important; font: 700 18px/1.3 Roboto, sans-serif; color: #1f242b; }
.sc27-sch-f { margin: 0 !important; font-size: 14px; color: var(--g); font-weight: 600; }
.sc27-sch-a { margin: 4px 0 0 !important; font-size: 15px; line-height: 1.5; color: var(--muted); }
.sc27-sch-l { margin: auto 0 0 !important; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 14.5px; }
.sc27-sch-l a { color: var(--g) !important; font-weight: 600; text-decoration: none; } .sc27-sch-l a:hover { text-decoration: underline; }
.sc27-sch-web.is-off { color: #9aa0a8; }
.sc27-steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.sc27-steps li { counter-increment: st; position: relative; padding: 0 0 22px 52px; line-height: 1.6; }
.sc27-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--g); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sc27-steps li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: #d7e9cf; }
.sc27-steps b { display: block; color: #1f242b; } .sc27-steps span { color: #4a515c; }
.sc27-tbl-wrap { max-width: 1040px; margin: 0 auto; overflow-x: auto; border-radius: 14px; background: #fff; }
.sc27-tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; line-height: 1.5; }
.sc27-tbl caption { text-align: left; padding: 0 0 10px; font-size: 14px; color: var(--muted); caption-side: top; }
.sc27-tbl th, .sc27-tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.sc27-tbl thead th { background: #1f242b; color: #fff; font-weight: 600; font-size: 14px; }
.sc27-tbl tbody th a { color: var(--g) !important; }
.sc27-offer-sec { background: linear-gradient(180deg, #fff 0%, #f1f8ee 100%) !important; }
.sc27-offer { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; max-width: 1040px; margin: 0 auto; }
.sc27-offer-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(48,54,64,.14); display: block; }
.sc27-offer-k { margin: 0 0 8px !important; font-size: 14px; font-weight: 600; color: var(--g); }
.sc27-offer h2 { margin: 0 0 14px; }
.sc27-offer-txt > p { color: #4a515c; line-height: 1.7; }
.sc27-offer .chk27 { margin: 18px 0 24px; }
.sc27-offer-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sc27-offer-more { margin: 18px 0 0 !important; font-size: 15px; color: var(--muted); }
.sc27-offer-more a { color: var(--g) !important; }
.sc27-check { margin: 18px 0 0; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: #fff; }
.sc27-check-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.sc27-check-h { margin: 0 !important; font-weight: 700; color: #1f242b; }
.sc27-check-n { margin: 0 !important; font-size: 14px; color: var(--muted); }
.sc27-check-bar { height: 6px; background: #eef0f2; border-radius: 3px; margin: 12px 0 8px; overflow: hidden; }
.sc27-check-bar i { display: block; height: 100%; width: 0; background: var(--g); border-radius: 3px; transition: width .4s var(--ease); }
.sc27-check ul { list-style: none; margin: 0; padding: 0; }
.sc27-check li { border-top: 1px solid #f0f1f3; } .sc27-check li:first-child { border-top: 0; }
.sc27-check label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; line-height: 1.5; }
.sc27-check input { appearance: none; -webkit-appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid #c5cad0; border-radius: 6px; background: #fff; cursor: pointer; transition: background .2s ease, border-color .2s ease; position: relative; }
.sc27-check input:checked { background: var(--g); border-color: var(--g); }
.sc27-check input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.sc27-check input:focus-visible { outline: 3px solid rgba(50,167,0,.35); outline-offset: 2px; }
.sc27-check input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(100,107,118,.5); }
.sc27-check.is-done .sc27-check-n { color: var(--g); font-weight: 700; }
.sc27-check-note { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--muted) !important; }
.sc27-tabs { max-width: 780px; margin: 0 auto; }
.sc27-tab-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sc27-tab-row button { font: 600 15px/1.2 Roboto, sans-serif; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.sc27-tab-row button:hover { border-color: var(--g); }
.sc27-tab-row button[aria-selected="true"] { background: var(--g); border-color: var(--g); color: #fff; }
.sc27-tab-row button:focus-visible { outline: 3px solid rgba(50,167,0,.35); outline-offset: 2px; }
.sc27-tab-p { background: #fff; border-radius: 14px; padding: 22px 24px; }
.sc27-tab-p p { margin: 0 !important; color: #4a515c; line-height: 1.7; }
.sc27-calc { margin: 18px 0 0; border: 2px solid var(--g); border-radius: 16px; padding: 22px 24px; background: #fff; }
.sc27-calc label { display: block; font-weight: 700; margin-bottom: 10px; color: #1f242b; }
.sc27-calc-row { display: flex; gap: 12px; flex-wrap: wrap; }
.sc27-calc input { flex: 1 1 200px; font: 400 17px Roboto, sans-serif; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); color: var(--ink); min-height: 50px; }
.sc27-calc input:focus { outline: none; border-color: var(--g); }
.sc27-calc .b27 { cursor: pointer; }
.sc27-calc-out { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sc27-calc-out p { margin: 0 0 10px !important; }
.sc27-calc-big { font-size: 20px !important; color: #1f242b !important; }
.sc27-calc-big b { color: var(--g); }
.sc27-calc-flex { background: #fff8e6; border-radius: 10px; padding: 12px 14px; }
.sc27-calc-note { margin: 12px 0 0 !important; font-size: 13.5px !important; color: var(--muted) !important; }
.sc27-faq { box-shadow: none; }
.sc27-src { margin: 4px 0 24px; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }
.sc27-src a { overflow-wrap: anywhere; }
.sc27-author { display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--paper); }
.sc27-author img { flex: 0 0 auto; width: 112px; height: auto; }
.sc27-author p { margin: 0 !important; font-size: 15.5px !important; line-height: 1.6 !important; }
.sc27-legal { margin: 14px 0 0 !important; font-size: 13.5px !important; line-height: 1.6 !important; color: var(--muted) !important; }
.sc27-rel { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; max-width: 1040px; }
.sc27-rel a { display: block; height: 100%; padding: 16px 18px; background: #fff; border-radius: 12px; text-decoration: none; color: var(--ink) !important; border: 1px solid transparent; transition: border-color .25s ease, transform .25s var(--ease); }
.sc27-rel a:hover { border-color: var(--g); transform: translateY(-2px); }
.sc27-rel b { display: block; color: #1f242b; } .sc27-rel span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
	.sc27-intro-grid, .sc27-offer { grid-template-columns: 1fr; gap: 20px; }
	.sc27-offer-img { order: 2; }
}
@media (max-width: 640px) {
	.sc27-main .sc27-intro { padding: 0 0 40px; }
	.sc27-kurz, .sc27-toc, .sc27-check, .sc27-calc, .sc27-tab-p { padding: 18px; }
	.sc27-author { flex-direction: column; align-items: flex-start; }
	.sc27-offer-btns { flex-direction: column; align-items: stretch; }
	.sc27-offer-btns .b27 { justify-content: center; }
	.sc27-tab-row button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .sc27-check-bar i, .sc27-rel a { transition: none; } }
/* Footer: vierte Spalte „Schulen in Gifhorn“ */
.f27-in { grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 1000px) { .f27-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .f27-in { grid-template-columns: 1fr; } }
.f27-schulen { border-top: 0; margin-top: 0; padding-top: 0; } .f27-schulen li + li { margin-top: 4px; }
#fragen .sc27-wide-h { max-width: 820px; }
.p27 .f27 h2 { font-size: clamp(24px, 2.1vw, 30px); }
@media (max-width: 640px) {
	.sc27-tbl-wrap { overflow: visible; background: none; }
	.sc27-tbl { min-width: 0; }
	.sc27-tbl thead { display: none; }
	.sc27-tbl caption { display: block; width: 100%; }
	.sc27-tbl, .sc27-tbl tbody, .sc27-tbl tr, .sc27-tbl th, .sc27-tbl td { display: block; width: 100%; }
	.sc27-tbl tr { background: #fff; border-radius: 14px; padding: 6px 0; margin-bottom: 12px; }
	.sc27-tbl th, .sc27-tbl td { border: 0; padding: 8px 18px; }
	.sc27-tbl tbody th { font-size: 18px; padding-top: 12px; }
	.sc27-tbl td::before { content: attr(data-l); display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
}
/* Handy: Fakten-Leiste ruhig statt grün, damit der grüne CTA allein heraussticht */
@media (max-width: 860px) {
	.facts27 { background: #f4f6f3; color: var(--ink); border-top: 1px solid #e6e8eb; border-bottom: 1px solid #e6e8eb; }
	.facts27 li, .facts27 b { color: #1f242b; } .facts27 li span { color: #4a515c; }
	.facts27 li .ik-i { background: #fff; color: var(--g); box-shadow: 0 2px 8px rgba(48,54,64,.08); }
}
.hero27-by { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font: 400 14px/1.3 Roboto, sans-serif; color: var(--muted); vertical-align: middle; white-space: nowrap; }
.hero27-by .st27 { color: #fbbc04; letter-spacing: 1px; font-size: 13px; }
@media (max-width: 640px) { .hero27-by { display: flex; margin: 6px 0 0; font-size: 13px; } }
.hero27-lead b { font-weight: 700; color: #1f242b; }
.hero27-by { font-size: 12.5px !important; color: rgba(100,107,118,.7); margin-top: 4px; }
@media (min-width: 900px) { .p27 .pro27-list { max-width: 940px !important; margin-left: auto !important; margin-right: auto !important; gap: 0 56px !important; } }
@media (min-width: 900px) { .p27 .pro27-list { max-width: 820px !important; gap: 0 40px !important; } }
/* Handy: 8 Vorteile als ruhige Zebra-Liste */
@media (max-width: 899px) {
	.p27 .pro27-list li { border-top: 0 !important; padding: 18px 16px !important; border-radius: 12px; }
	.p27 .pro27-list li:nth-child(odd) { background: #fafafb; }
}
/* Unter den 8 Vorteilen: die zwei Hero-Buttons statt Kinder-Auswahl */
.pro27-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 40px; }
@media (max-width: 640px) { .pro27-cta { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; } .pro27-cta .b27 { justify-content: center; } .pro27-cta .s27 { align-self: center; } }
.hero27-who { font: 400 13px/1 Roboto, sans-serif; color: rgba(100,107,118,.65); margin-left: 2px; white-space: nowrap; vertical-align: middle; }
@media (max-width: 640px) { .hero27-who { margin-left: 0; } }
/* Handy: Kinder-Auswahl statt der zwei Buttons, PC: umgekehrt */
.pro27-kids-m { display: none; }
@media (max-width: 640px) {
	.pro27-kids-m { display: block; margin-top: 28px; text-align: center; }
	.pro27-kids-m .ik-kidpick-row { flex-direction: column !important; align-items: stretch !important; gap: 10px; }
	.pro27-kids-m .ik-kidpick-row button { justify-content: center !important; min-height: 54px; }
	.pro27-kids-m .ik-kidpick-akt { display: none; }
	.pro27-cta { display: none !important; }
}
.f27 .f27-mond { margin-top: 14px !important; }
/* Bewertungen: gut lesbare Schrift statt Actor */
.p27 .voice27-q blockquote { font-family: Roboto, system-ui, sans-serif !important; font-size: 18px !important; line-height: 1.65 !important; color: #2b313a; }
@media (max-width: 1080px) { .p27 .voice27-q blockquote { font-size: 16.5px !important; } }

/* ===== Informationen: „Ein Termin. Alle 27 Fächer.“ (#faecher) ===== */
.fx27 { padding: 96px 0; background: linear-gradient(180deg, #fff 0%, #f3f9f0 100%); scroll-margin-top: 80px; }
.fx27-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.fx27-k { display: inline-block; margin: 0 0 14px !important; padding: 6px 14px; border-radius: 999px; background: var(--g-soft); color: var(--g); font-weight: 700; font-size: 14px; }
.fx27-head h2 { font-size: clamp(34px, 3.8vw, 52px) !important; line-height: 1.08 !important; }
.fx27-lead { margin: 18px auto 0 !important; color: #4a515c; font-size: 18px; line-height: 1.7; }
.fx27-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.fx27-card { background: #fff; border-radius: 20px; padding: 28px 30px; box-shadow: 0 10px 30px rgba(48,54,64,.06); }
.fx27-card h3 { margin: 0 0 18px !important; font: 700 18px/1.3 Roboto, sans-serif !important; color: #1f242b; }
.fx27-weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fx27-weeks li { display: grid; grid-template-columns: 74px 1fr; gap: 4px 14px; align-items: center; margin: 0; padding: 0 0 14px; border-bottom: 1px dashed #e3e6e9; }
.fx27-weeks li:last-child { border-bottom: 0; padding-bottom: 0; }
.fx27-wk { grid-row: span 2; align-self: start; font: 700 13px/1 Roboto, sans-serif; color: var(--g); background: var(--g-soft); border-radius: 8px; padding: 8px 0; text-align: center; }
.fx27-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fx27-chip { --c: 50,167,0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(var(--c), .09); color: rgb(var(--c)); font-weight: 700; font-size: 14px; }
.fx27-chip .ik-i { font-size: 12px; }
.fx27-weeks p { margin: 0 !important; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.fx27-note { margin: 18px 0 0 !important; padding: 12px 14px; border-radius: 12px; background: #fffbea; font-size: 15px; font-weight: 600; color: #3a414b; }
.fx27-note .ik-i { color: #e0a800; margin-right: 6px; }
.fx27-vs-h { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; font: 700 13px/1 Roboto, sans-serif; color: var(--muted); }
.fx27-vs-h span:last-child { color: var(--g); }
.fx27-vs { list-style: none; margin: 0; padding: 0; }
.fx27-vs li { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 11px 0; border-top: 1px solid #eef0f2; font-size: 15px; line-height: 1.45; }
.fx27-vs .ik-i { margin-right: 8px; font-size: 12px; }
.fx27-no { color: #8a9099; } .fx27-no .ik-i { color: #c8ccd1; }
.fx27-yes { color: #1f242b; font-weight: 600; } .fx27-yes .ik-i { color: var(--g); }
.fx27-q { margin: 18px 0 0; padding: 16px 18px; border-left: 3px solid var(--g); background: #f7faf6; border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.6; color: #3a414b; }
.fx27-q cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--muted); }
.fx27-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1040px; margin: 34px auto 0; }
.fx27-why div { padding: 0 6px; }
.fx27-why b { display: block; font-size: 17px; color: #1f242b; margin-bottom: 4px; }
.fx27-why span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.fx27-all { max-width: 1040px; margin: 40px auto 0; }
.fx27-all-h { text-align: center; font-weight: 700; color: #1f242b; margin: 0 0 14px !important; }
.fx27-all .fach27-grid { grid-template-columns: repeat(4, 1fr); }
.fx27 .sec27-btns { margin-top: 10px; }
@media (max-width: 900px) {
	.fx27 { padding: 64px 0; }
	.fx27-grid, .fx27-why { grid-template-columns: 1fr; gap: 16px; }
	.fx27-card { padding: 22px 18px; }
	.fx27-all .fach27-grid { grid-template-columns: 1fr 1fr; }
	.fx27-lead { font-size: 16.5px; }
}
@media (max-width: 420px) { .fx27-vs li { font-size: 14px; } .fx27-weeks li { grid-template-columns: 64px 1fr; } }
/* Hero: echter Lernraum statt Stockfoto – Bild rechts, volle Höhe, links weich ins Weiß */
html body.p27 .hero27-bg { background-image: linear-gradient(100deg, #fff 0%, #fff 40%, rgba(255,255,255,.86) 48%, rgba(255,255,255,.4) 58%, rgba(255,255,255,.08) 72%, rgba(255,255,255,0) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-lernraum-hero.webp) !important; background-size: cover, auto 100% !important; background-position: 0 0, right center; background-repeat: no-repeat !important; background-color: #fff; }
@media (max-width: 1080px) {
	html body.p27 .hero27-bg { background-image: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.9) 100%), url(../../wp-content/uploads/2026/10/nachhilfe-gifhorn-lernraum-hero.webp) !important; background-size: cover, cover !important; background-position: 0 0, 60% 50%; }
}
/* Über uns: Pausenraum – Bilder links, Text rechts */
.pause27 { background: var(--paper); }
@media (min-width: 1081px) { .pause27 .raum27-in { direction: rtl; } .pause27 .raum27-in > * { direction: ltr; } }
/* Handy-Menü: gleiche Struktur wie am PC (Untermenüs zum Aufklappen) */
.m27 > a, .m27-sub > summary { display: block; padding: 13px 0; font-size: 18px; color: var(--ink) !important; text-decoration: none; border-bottom: 1px solid #f0f1f3; }
.m27-sub > summary { list-style: none; cursor: pointer; position: relative; }
.m27-sub > summary::-webkit-details-marker { display: none; }
.m27-sub > summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--g); border-bottom: 2px solid var(--g); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.m27-sub[open] > summary { color: var(--g) !important; }
.m27-sub[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.m27-sub > div { display: grid; padding: 4px 0 8px 14px; border-bottom: 1px solid #f0f1f3; }
.m27-sub > div a { padding: 9px 0; font-size: 16px; color: #4a515c !important; text-decoration: none; border: 0; }
.m27 > a[aria-current], .m27 > a.is-on { color: var(--g) !important; }
.m27 > a.b27 { color: #fff !important; border-bottom: 0; text-align: center; margin-top: 14px; padding: 14px 0; font-size: 17px; font-weight: 700; }
