/* ============ toolymindo — mindo-Familie ============
   Design-Basis: mindo-Design-System (assets/mindo-core.css zuerst einbinden).
   toolymindo ist die Orange-Marke: Marken- und CTA-Farbe fallen hier bewusst
   zusammen (--primary = --mindo-orange). KEIN Rot (Rot ist der Sprachschule
   Durlach vorbehalten). */
:root {
  --primary:      var(--mindo-orange, #FF9500);   /* Marken-Akzent = CTA-Farbe */
  --primary-dark: #E07E00;
  --primary-soft: #FFF1DE;
  --orange:       var(--mindo-orange, #FF9500);
  --teal:         var(--mindo-teal, #17BEBB);
  --yellow:       #FFCF8A;                          /* weiche Orange-Markierung statt Gelb */
  --pink:         var(--mindo-magenta, #E5007E);
  --green:        var(--mindo-teal, #17BEBB);       /* kein Grün in der Palette → Türkis */
  --blue:         var(--mindo-blue, #2E7CF6);
  --violet:       var(--mindo-violet, #7B2FF7);
  --red:          var(--mindo-magenta, #E5007E);    /* KEIN Rot → Magenta */
  --gold:         var(--mindo-orange, #FF9500);
  --navy:         var(--mindo-navy, #1E2A5A);
  --text:         var(--mindo-ink, #1D2433);
  --text-soft:    var(--mindo-gray, #5B6472);
  --bg:           #FFFFFF;
  --bg-soft:      var(--mindo-bg-soft, #F7F8FC);
  --white:        #ffffff;
  --border:       var(--mindo-border, #E6E9F2);
  --radius: 16px;
  --shadow: 0 6px 24px rgba(30, 42, 90, 0.08);
  --shadow-lg: 0 12px 40px rgba(30, 42, 90, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-sub { color: var(--text-soft); max-width: 640px; margin-bottom: 2rem; }
.section-sub-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-light { background: var(--white); color: var(--navy); font-weight: 800; }
.btn-outline { background: var(--white); color: var(--text); border: 2px solid var(--border); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(30, 42, 90, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-img { height: 46px; width: auto; display: block; }
.logo-text { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.5px; }
.logo-text strong { color: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: 600; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--bg) 65%);
  padding: 76px 0;
  overflow: hidden;
}
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-kicker { font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 18px; letter-spacing: -0.02em; }
.highlight {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 4px;
}
.hero-sub { color: var(--text-soft); font-size: 1.12rem; margin: 0 auto 30px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 20px; font-size: 0.88rem; color: var(--text-soft); }

/* ---- Fakten-Leiste ---- */
.facts { background: var(--navy); color: var(--white); padding: 26px 0; }
.facts-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.fact { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 130px; }
.fact-big { font-size: 1.25rem; font-weight: 700; }
.fact span:last-child { opacity: 0.85; font-size: 0.88rem; }

/* ---- Ablauf / Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ---- Tool-Kategorien ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-icon { font-size: 2.3rem; flex-shrink: 0; }
.cat-body { flex: 1; }
.cat-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 3px; }
.cat-desc { color: var(--text-soft); font-size: 0.88rem; line-height: 1.4; }
.cat-count { font-size: 0.78rem; font-weight: 700; color: var(--primary); margin-top: 6px; }
.cat-arrow { font-size: 1.3rem; color: var(--primary); flex-shrink: 0; font-weight: 700; }

/* ---- Testimonials ---- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.quote-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote-stars { color: var(--primary); font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
.quote-card p { font-size: 0.95rem; color: var(--text); margin-bottom: 14px; }
.quote-who { font-size: 0.85rem; font-weight: 700; color: var(--text-soft); }

/* ---- Preise ---- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 780px; margin: 0 auto; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card-featured { outline: 3px solid var(--primary); }
.badge-featured {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price-big { font-size: 2.2rem; font-weight: 800; margin: 8px 0 2px; }
.price-big small { font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.price-for { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 16px; }
.price-card ul { list-style: none; margin: 0 0 22px; flex: 1; }
.price-card li { padding: 6px 0; font-size: 0.93rem; display: flex; gap: 9px; }
.price-card .btn { width: 100%; text-align: center; }
.price-note { text-align: center; color: var(--text-soft); font-size: 0.9rem; margin-top: 26px; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.4rem;
  color: var(--primary);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding-bottom: 18px; color: var(--text-soft); }

/* ---- CTA-Band ---- */
.section-cta { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.contact-box { text-align: center; color: var(--white); }
.contact-box h2 { color: var(--white); }
.contact-box p { margin: 14px auto 24px; max-width: 560px; opacity: 0.95; }

/* ---- Footer ---- */
.site-footer { background: var(--text); color: #C9C9DC; padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text strong { color: var(--yellow); }
.footer-brand p { margin-top: 10px; font-size: 0.9rem; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #C9C9DC; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-note { margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; font-size: 0.85rem; }

/* ---- Rechtsseiten ---- */
.legal-page { padding: 56px 0; }
.legal-page h1 { margin-bottom: 24px; }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 8px; }
.legal-page p, .legal-page ul { margin-bottom: 12px; color: var(--text-soft); }
.legal-page ul { padding-left: 22px; }

/* ---- Login ---- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 18px; background: linear-gradient(160deg, var(--navy), var(--primary)); }
.login-card { background: var(--white); border-radius: 22px; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; padding: 30px 26px; }
.login-logo { display: block; max-width: 220px; margin: 0 auto 14px; }
.login-sub { text-align: center; color: var(--text-soft); font-size: 0.9rem; margin: 4px 0 22px; }
.login-card label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-soft); margin: 14px 0 5px; }
.login-card input { width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 1rem; font-family: inherit; outline: none; }
.login-card input:focus { border-color: var(--primary); }
.login-card .btn { width: 100%; margin-top: 14px; }
.btn-google { background: var(--white); color: var(--text); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 10px; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--text-soft); font-size: 0.8rem; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-msg { margin-top: 14px; padding: 11px 14px; border-radius: 11px; font-size: 0.88rem; display: none; }
.login-msg.ok { background: #E7F6EE; color: #15803D; display: block; }
.login-msg.err { background: #FCE4F0; color: #C0006A; display: block; }
.login-msg.info { background: #EEF2FB; color: #3B4F7A; display: block; }
.login-me { text-align: center; }
.login-me .email { font-weight: 700; color: var(--primary); word-break: break-all; }
.hide { display: none; }
.login-foot { text-align: center; font-size: 0.74rem; color: var(--text-soft); margin-top: 18px; }

/* ---- Kategorie-Seiten (Tool-Unterseiten) ---- */
.page-hero { background: var(--navy); color: var(--white); padding: 48px 0 56px; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 22px; text-decoration: none; transition: .15s; }
.back-link:hover { color: var(--white); }
.page-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool-icon { font-size: 1.9rem; margin-bottom: 10px; }
.tool-card h3 { font-size: 1rem; margin-bottom: 5px; }
.tool-card p { color: var(--text-soft); font-size: .87rem; flex: 1; margin-bottom: 14px; line-height: 1.45; }
.tool-foot { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tool-price { font-size: .82rem; font-weight: 700; color: var(--primary); }
.badge-mini { font-size: .64rem; font-weight: 800; border-radius: 7px; padding: 3px 9px; }
.badge-live { background: #E7F6EE; color: #15803D; }
.badge-soon { background: #FEF3C7; color: #92400E; }
.badge-partner { background: #FEF3C7; color: #92400E; }
.tool-card .btn { width: 100%; text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; max-width: 480px; }
  .price-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .btn-header { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
    margin-left: 0;
  }
  .main-nav.open { display: flex; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
}
