/* =========================================================
   SCHOLLCONCEPT – Stylesheet
   Farben zentral anpassbar über die Variablen in :root
   ========================================================= */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #2b2e33;      /* kühles Graphit */
  --navy-2: #353940;
  --navy-3: #41464e;
  --accent: #e83e44;    /* Logo-Rot */
  --accent-light: #ff7a7f; /* Rot für Text auf dunklem Grund */
  --accent-dark: #c92f35;
  --coral: #e83e44;   /* Logo-Rot */
  --ink: #26292e;
  --muted: #5f646c;
  --line: #e4e6ea;
  --tint: #f3f4f6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 30, .08);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--accent); color: var(--white); padding: .6rem 1rem; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--coral); margin-bottom: .9rem; }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-small { padding: .55rem 1.1rem; background: var(--navy); color: var(--white) !important; }
.btn-small:hover { background: var(--navy-3); }
.text-link { font-weight: 700; color: var(--accent); text-decoration: none; border-bottom: 2px solid var(--accent); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
@media (max-width: 400px) { .logo img { height: 34px; } }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 1.35rem; }
.logo-text { display: flex; flex-direction: column; font-weight: 500; letter-spacing: .08em; font-size: 1.02rem; line-height: 1.1; }
.logo-text strong { font-weight: 800; display: contents; }
.logo-text small { font-size: .66rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; font-weight: 600; margin-top: 3px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 1.8rem; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.main-nav a:not(.btn):hover { color: var(--coral); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .main-nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { margin-top: 1rem; border: 0; text-align: center; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #23262a 0%, var(--navy) 60%, #353a42 100%); color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0; overflow: hidden; }
.hero .kicker { color: var(--accent-light); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 36em; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.trust { list-style: none; padding: 1.6rem 0 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.trust li { display: flex; align-items: center; gap: .7rem; }
.trust strong { font-size: 2.1rem; font-weight: 900; color: var(--accent-light); line-height: 1; letter-spacing: -.03em; }
.trust span { font-size: .85rem; line-height: 1.3; color: rgba(255,255,255,.75); max-width: 9em; }

.chat-mock { background: var(--white); color: var(--ink); border-radius: 18px; padding: 1rem 1.1rem 1.3rem; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(1.5deg); }
.chat-head { display: flex; align-items: center; gap: 6px; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.chat-head span { width: 10px; height: 10px; border-radius: 50%; background: #e4e6ee; }
.chat-head span:first-child { background: var(--coral); }
.chat-head span:nth-child(2) { background: var(--accent); }
.chat-head em { font-style: normal; margin-left: auto; font-weight: 600; }
.bubble { padding: .8rem 1rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; margin-bottom: .7rem; max-width: 92%; }
.bubble-user { background: var(--navy); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble-ai { background: var(--tint); border-bottom-left-radius: 4px; }
.bubble-ai strong { color: var(--coral); }
.typing { display: inline-flex; gap: 3px; margin-left: 4px; vertical-align: middle; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.mock-note { text-align: center; font-size: .82rem; color: rgba(255,255,255,.65); margin-top: 1.3rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .chat-mock { transform: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .kicker { color: var(--accent-light); }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,.82); }
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head p:last-child { color: var(--muted); }

/* ---------- Leistungen ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card-highlight { background: linear-gradient(160deg, #fdf0f0, #fff); border-color: #f6c9cb; }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.3rem; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 1.4rem; right: 1.4rem; background: var(--coral); color: var(--white) !important; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; font-weight: 500; font-size: .98rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- KI ---------- */
.ki-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.ki-intro img { border-radius: var(--radius); box-shadow: 0 25px 50px rgba(0,0,0,.35); }
.sub-head { color: var(--accent-light); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1.2rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.mini-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.5rem; }
.mini-card h4 { color: var(--white); }
.mini-card p { font-size: .94rem; margin: 0; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.office-item { border-top: 3px solid var(--accent); padding-top: 1rem; }
.office-item strong { display: block; margin-bottom: .35rem; }
.office-item span { font-size: .94rem; color: rgba(255,255,255,.75); }
.ki-check { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: linear-gradient(120deg, var(--navy-3), var(--navy-2)); border: 1px solid rgba(232,62,68,.5); border-radius: 20px; padding: 2.2rem; }
.ki-check h3 { font-size: 1.55rem; color: var(--white); }
.ki-check p { margin: 0; }
.ki-check-actions { display: flex; flex-direction: column; gap: .8rem; }
@media (max-width: 1000px) {
  .cards-4, .office-grid { grid-template-columns: repeat(2, 1fr); }
  .ki-intro, .ki-check { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .cards-4, .office-grid { grid-template-columns: 1fr; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { position: relative; padding-top: .3rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 64px; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step-no { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 1.1rem; }
.steps p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Projekte ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-btn { font: inherit; font-size: .9rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.project { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(140deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover img { transform: scale(1.04); }
.project figcaption { position: absolute; inset: auto 0 0 0; padding: 3.2rem 1.1rem 1rem; background: linear-gradient(transparent, rgba(24,26,30,.6) 35%, rgba(24,26,30,.92)); color: var(--white); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.project figcaption span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); font-weight: 700; margin-bottom: .2rem; }
.project.no-img figcaption { inset: 0; display: flex; flex-direction: column; justify-content: flex-end; background: none; }
.project.is-hidden { display: none; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } }

.clients { margin-top: 3.5rem; text-align: center; }
.clients h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1.3rem; }
.client-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.client-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; font-weight: 600; color: var(--navy); }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.about-photo { position: relative; aspect-ratio: 5 / 6; border-radius: 20px; overflow: hidden; background: linear-gradient(160deg, var(--navy), var(--navy-3)); }
.about-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 5rem; font-weight: 900; color: var(--accent); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.facts li { border-left: 3px solid var(--accent); padding-left: .9rem; }
.facts strong { display: block; }
.facts span { font-size: .9rem; color: var(--muted); }
#ueber-uns p:not(.kicker):not(.lead) { color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } .about-photo { max-width: 380px; } .facts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; padding: 0 1.4rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.15rem 2rem 1.15rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--coral); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.contact-card { font-style: normal; background: var(--navy-2); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 2rem; line-height: 1.7; color: rgba(255,255,255,.85); }
.contact-card strong { display: block; color: var(--white); font-size: 1.1rem; margin-bottom: .3rem; }
.contact-line { display: flex; gap: 1rem; margin-top: .9rem; }
.contact-line span { width: 4.5rem; color: rgba(255,255,255,.55); font-size: .9rem; }
.contact-card a { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.social { display: flex; gap: 1.2rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #1f2226; color: rgba(255,255,255,.65); font-size: .9rem; padding: 1.6rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.5rem; }
.footer-inner a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-inner a:hover { color: var(--accent-light); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 3.5rem 0 5rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal p, .legal li { color: #3c4459; }
.legal .back { display: inline-block; margin-bottom: 1.5rem; font-weight: 600; text-decoration: none; color: var(--coral); }

