/* Planer-Familie: gemeinsamer Kopf und Startbereich für Klassenfixplaner, Ganztagsplaner und Flixplaner.
   Führt die Gestaltung von notenfixplaner.de fort; je Produkt eine eigene Farbe.
   Bewusst ohne Farbverläufe und ohne Leuchteffekte. Wird nach allen anderen Stylesheets geladen.
   Der Teil unterhalb des ersten Blocks ist auf allen drei Seiten identisch. */
:root {
  --pf-accent: #1d5fd6;
  --pf-accent-hover: #174db1;
  --pf-accent-soft: #e8f0fe;
  --pf-accent-line: #bcd2fa;
  --pf-hero-bg: #f2f6fd;
  --pf-hero-line: #e4e7ec;
  --pf-hero-text: #101828;
  --pf-hero-text-2: #475467;
  --pf-btn-bg: #ffffff;
  --pf-btn-text: #101828;
  --pf-btn-line: #d0d5dd;
  --pf-btn-line-hover: #98a2b3;
  --pf-check: #1d5fd6;
  --pf-window-line: #d0d5dd;
  --pf-focus: #1d5fd6;
}

:root {
  --pf-text: #101828;
  --pf-text-2: #475467;
  --pf-line: #e4e7ec;
  --pf-line-strong: #d0d5dd;
  --pf-surface: #ffffff;
  --pf-radius: 10px;
  --pf-radius-l: 16px;
}

/* ---------- Kopfzeile: ein klarer Handlungsknopf ---------- */
.navbar .nav-container { gap: 1.25rem; }
.navbar .nav-menu { gap: 1.75rem; margin-left: auto; }
.pf-nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 18px; border: 0; border-radius: var(--pf-radius);
  background: var(--pf-accent); color: #fff;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.pf-nav-cta:hover { background: var(--pf-accent-hover); color: #fff; }
.pf-nav-cta:focus-visible, .pf-btn:focus-visible, .pf-hero__news:focus-visible {
  outline: 3px solid var(--pf-focus); outline-offset: 3px;
}
@media (max-width: 768px) {
  .pf-nav-cta { margin-left: auto; height: 38px; padding: 0 14px; font-size: .9rem; }
}

/* ---------- Startbereich ---------- */
.pf-hero {
  padding: 136px 0 72px;
  background: var(--pf-hero-bg);
  border-bottom: 1px solid var(--pf-hero-line);
  overflow: hidden;
}
.pf-hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px; align-items: center;
}
.pf-hero__news {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px; padding: 5px 14px 5px 5px;
  border: 1px solid var(--pf-accent-line); border-radius: 999px;
  background: var(--pf-surface); color: var(--pf-text);
  font-size: .875rem; font-weight: 500; text-decoration: none;
}
.pf-hero__news b {
  padding: 3px 9px; border-radius: 999px;
  background: var(--pf-accent-soft); color: var(--pf-accent-hover);
  font-weight: 600; font-size: .8rem;
}
.pf-hero__news:hover { border-color: var(--pf-accent); color: var(--pf-text); }
.pf-hero h1 {
  margin: 0 0 20px;
  color: var(--pf-hero-text);
  font-size: clamp(2.125rem, 1.2rem + 2.6vw, 3.25rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.025em;
  text-wrap: balance;
}
.pf-hero__lead {
  margin: 0 0 30px; max-width: 34em;
  color: var(--pf-hero-text-2);
  font-size: 1.125rem; line-height: 1.6;
}
.pf-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.pf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  border: 1px solid var(--pf-btn-line); border-radius: var(--pf-radius);
  background: var(--pf-btn-bg); color: var(--pf-btn-text);
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.pf-btn svg { width: 18px; height: 18px; flex: none; }
.pf-btn:hover { border-color: var(--pf-btn-line-hover); color: var(--pf-btn-text); }
.pf-btn--primary { background: var(--pf-accent); border-color: var(--pf-accent); color: #fff; }
.pf-btn--primary:hover { background: var(--pf-accent-hover); border-color: var(--pf-accent-hover); color: #fff; }
.pf-hero__facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 0; padding: 0; list-style: none;
  color: var(--pf-hero-text-2); font-size: .9375rem;
}
.pf-hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.pf-hero__facts svg { width: 17px; height: 17px; flex: none; color: var(--pf-check); }

.pf-hero__visual { position: relative; margin-right: -140px; }
.pf-window {
  border: 1px solid var(--pf-window-line); border-radius: var(--pf-radius-l);
  background: var(--pf-surface); overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, .22);
}
.pf-window__bar {
  display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border-bottom: 1px solid var(--pf-line); background: #f9fafb;
  color: #667085; font-size: .78rem;
}
.pf-window__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--pf-line-strong); }
.pf-window__bar span { margin-left: 8px; }
.pf-window img { display: block; width: 100%; height: auto; }
.pf-hero__inset {
  position: absolute; left: -36px; bottom: -32px; width: 34%; margin: 0;
  border: 1px solid var(--pf-window-line); border-radius: var(--pf-radius-l);
  background: var(--pf-surface); overflow: hidden;
  box-shadow: 0 16px 32px -10px rgba(16, 24, 40, .28);
}
.pf-hero__inset img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: top; }
.pf-hero__inset figcaption {
  padding: 10px 12px; border-top: 1px solid var(--pf-line);
  color: var(--pf-text); font-size: .8125rem; font-weight: 600; line-height: 1.3;
}

@media (max-width: 1320px) { .pf-hero__visual { margin-right: -60px; } }
@media (max-width: 1000px) {
  .pf-hero { padding: 116px 0 56px; }
  .pf-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .pf-hero__visual { margin-right: 0; }
  .pf-hero__inset { left: auto; right: 12px; bottom: -24px; width: 30%; }
}
@media (max-width: 600px) {
  .pf-hero { padding: 100px 0 48px; }
  .pf-hero__inner { padding: 0 1.25rem; gap: 36px; }
  .pf-hero__lead { font-size: 1.0625rem; margin-bottom: 24px; }
  .pf-hero__cta { flex-direction: column; }
  .pf-btn { width: 100%; }
  .pf-hero__facts { flex-direction: column; gap: 8px; }
  .pf-window__bar { height: 28px; }
  .pf-hero__inset { width: 38%; }
  .pf-hero__inset figcaption { padding: 7px 9px; font-size: .72rem; }
}

/* ---------- Cookie-Hinweis: kompakt, verdeckt den Startbereich nicht ---------- */
.cookie-consent-banner {
  left: 16px; right: auto; bottom: 16px; width: min(440px, calc(100vw - 32px));
  padding: 18px 20px;
  border: 1px solid var(--pf-line); border-radius: var(--pf-radius-l);
  background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 12px 32px -8px rgba(16, 24, 40, .2);
  transform: translateY(calc(100% + 32px));
}
.cookie-consent-banner .cookie-consent-content { display: block; text-align: left; }
.cookie-consent-banner .cookie-consent-text { min-width: 0; }
.cookie-consent-banner .cookie-consent-text h3 { margin-bottom: 4px; font-size: 1rem; }
.cookie-consent-banner .cookie-consent-text p { font-size: .84rem; line-height: 1.45; }
.cookie-consent-banner .cookie-consent-buttons { width: auto; margin-top: 14px; gap: 8px; justify-content: flex-start; }
.cookie-consent-banner .cookie-btn { padding: .55rem .8rem; font-size: .84rem; }
.cookie-consent-banner .cookie-btn:hover { transform: none; box-shadow: none; }
@media (max-width: 600px) {
  .cookie-consent-banner { left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 12px 14px; }
  .cookie-consent-banner .cookie-consent-text h3 { font-size: .9rem; }
  .cookie-consent-banner .cookie-consent-text p { font-size: .76rem; line-height: 1.4; max-height: 5.6em; overflow-y: auto; }
  .cookie-consent-banner .cookie-consent-buttons { margin-top: 10px; gap: 6px; }
  .cookie-consent-banner .cookie-btn { flex: 1 1 auto; justify-content: center; padding: .5rem .5rem; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-nav-cta, .pf-btn { transition: none; }
}

/* ==========================================================================
   Abschnitte unterhalb des Startbereichs (Ganztagsplaner)
   Gleiche Sprache wie der Startbereich: flache Flächen, feine Linien, eine Akzentfarbe.
   Die älteren Stylesheets und <style>-Blöcke der Seite bleiben unverändert; diese Regeln
   überschreiben nur Verläufe, Leuchtschatten und Daueranimationen – deshalb !important.
   ========================================================================== */
:root {
  --pf-band: #f7f9fc;
  --pf-new-bg: #fef0c7;
  --pf-new-text: #93370d;
  --pf-ok-bg: #dcfae6;
  --pf-ok-text: #085d3a;
  --pf-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

/* ---- Flächen: Weiß und ein ruhiger Grauton im Wechsel ---- */
.showcase-section, .testimonials, .tageswahl-section, .kd-section,
.video-demo, .benefits, .pricing, .faq, .product-family {
  background: var(--pf-surface) !important;
}
.features, #online-anmeldung, .anwesenheit-section, .intelligent-assistants,
.screenshots, .contact {
  background: var(--pf-band) !important;
}
.trial-license { background: var(--pf-hero-bg) !important; }
.showcase-section, .features, .testimonials, .online-anmeldung, .intelligent-assistants,
.video-demo, .screenshots, .benefits, .trial-license, .pricing, .faq, .contact, .product-family {
  border-bottom: 1px solid var(--pf-line);
}
/* schwebende Farbflecken hinter den Abschnitten */
.online-anmeldung::before, .testimonials::before, .video-demo::before,
.intelligent-assistants::before, .trial-license::before, .cta::before {
  content: none !important;
}

/* ---- Überschriften ---- */
.section-title, .showcase-title {
  color: var(--pf-text) !important;
  font-weight: 700; letter-spacing: -.02em; text-wrap: balance;
}
.section-subtitle { color: var(--pf-text-2) !important; }
.text-gradient {
  background: none !important;
  -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
}
/* In den vier Themenabschnitten ist der zweite Teil der Überschrift eine Unterzeile */
.online-anmeldung .section-title .text-gradient {
  display: block; margin-top: 10px;
  color: var(--pf-accent-hover) !important;
  font-size: .62em; font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
}

/* ---- Abzeichen über den Überschriften ---- */
.section-badge, span.section-badge.online-badge, .showcase-badge {
  background: var(--pf-accent-soft) !important;
  border: 0 !important; box-shadow: none !important;
  color: var(--pf-accent-hover) !important;
}
.section-badge i, .showcase-badge i { color: inherit !important; }
.section-badge.badge-new, .tageswahl-section .section-badge.badge-new, .nav-new-dot, .video-ribbon-new {
  background: var(--pf-new-bg) !important;
  color: var(--pf-new-text) !important;
  box-shadow: none !important; animation: none !important;
}
.time-save-badge {
  background: var(--pf-ok-bg) !important; color: var(--pf-ok-text) !important;
  box-shadow: none !important; animation: none !important;
}
.time-save-badge i { color: inherit !important; }

/* ---- Symbole: eine Farbe statt drei Verläufe ---- */
.feature-icon, .highlight-icon, .assistant-icon, .trial-icon, .quote-icon, .benefit-icon, .trial-benefit-icon {
  background: var(--pf-accent-soft) !important;
  color: var(--pf-accent) !important;
  box-shadow: none !important; animation: none !important;
}
.feature-icon i, .highlight-icon i, .assistant-icon i, .trial-icon i, .quote-icon i, .benefit-icon i, .trial-benefit-icon i {
  color: var(--pf-accent) !important;
}
.quote-icon::after { content: none !important; }

/* ---- Karten ---- */
.feature-card, .feature-highlight, .testimonial-card, .product-card, .pricing-card,
.assistant-card, .screenshot-item, .benefit-visual, .faq-category, .trial-mockup {
  box-shadow: var(--pf-shadow) !important;
}
.feature-card, .testimonial-card, .product-card, .assistant-card {
  border: 1px solid var(--pf-line) !important;
}
.feature-card:hover, .feature-highlight:hover, .testimonial-card:hover, .product-card:hover,
.pricing-card:hover, .assistant-card:hover {
  transform: none !important;
  border-color: var(--pf-line-strong) !important;
}
.feature-card::before, .testimonial-card::before, .product-card::before { content: none !important; }
.feature-card.highlight-card {
  background: var(--pf-surface) !important;
  border-color: var(--pf-accent) !important;
}
.product-card.current { border-color: var(--pf-accent) !important; }
.family-highlight { background: var(--pf-accent-soft) !important; }
/* Bildschirm-Nachbauten in den Themenabschnitten */
.anw-row, .kd-offering { background: var(--pf-surface) !important; }
.kd-section span.active { background: var(--pf-accent) !important; }

/* ---- Knöpfe ---- */
.btn { border-radius: var(--pf-radius) !important; }
.btn, .btn:hover { transform: none !important; }
.btn-primary {
  background: var(--pf-accent) !important;
  border-color: var(--pf-accent) !important;
  color: #fff !important; box-shadow: none !important;
}
.btn-primary:hover { background: var(--pf-accent-hover) !important; border-color: var(--pf-accent-hover) !important; }
.btn-trial, .btn-secondary { box-shadow: none !important; }
.btn:focus-visible { outline: 3px solid var(--pf-focus); outline-offset: 3px; }

/* ---- Handlungsblöcke: eine flache Akzentfläche ---- */
.cta, .online-cta, .video-cta, .faq-cta, .assistants-cta .cta-content {
  background: var(--pf-accent) !important;
  box-shadow: none !important;
}
.online-cta, .video-cta, .faq-cta, .assistants-cta .cta-content { border-radius: var(--pf-radius-l) !important; }
/* auf der Akzentfläche ist der Hauptknopf weiß */
.online-cta .btn-primary, .video-cta .btn-primary, .faq-cta .btn-primary,
.assistants-cta .btn-primary, .cta .btn-trial, .cta .btn-primary {
  background: #fff !important; border-color: #fff !important; color: var(--pf-accent-hover) !important;
}
.online-cta .btn-primary:hover, .video-cta .btn-primary:hover, .faq-cta .btn-primary:hover,
.assistants-cta .btn-primary:hover, .cta .btn-trial:hover, .cta .btn-primary:hover {
  background: var(--pf-accent-soft) !important; border-color: var(--pf-accent-soft) !important;
}
.online-cta .btn i, .video-cta .btn i, .faq-cta .btn i, .assistants-cta .btn i, .cta .btn-trial i { color: inherit !important; }

@media (prefers-reduced-motion: reduce) {
  .feature-card, .testimonial-card, .product-card, .pricing-card, .btn { transition: none !important; }
}
