/* AI for Teams: ruhiges Blau-Weiß, Farben aus dem IT-Titans-Branding */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --navy: #021130;
  --navy-deep: #070614;
  --blue: #009ae2;
  --blue-dark: #0088c8;
  --cyan: #3bd4f0;
  --ink: #0F172A;
  --text: #364151;
  --muted: #64748b;
  --white: #ffffff;
  --tint: #f0f4f8;
  --line: #dde3ec;
  --radius: 6px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --c-neutral-bg: #eef1f5;  --c-neutral-fg: #475569;
  --c-warn-bg: #fff4dc;     --c-warn-fg: #8a5a00;
  --c-bad-bg: #fde8e8;      --c-bad-fg: #a12a2a;
  --c-workshop-bg: #009ae2; --c-workshop-fg: #ffffff;
  --c-practice-bg: #e0f2fc; --c-practice-fg: #075985;
  --c-coaching-bg: #021130; --c-coaching-fg: #ffffff;
  --c-result-bg: #e2f5e9;   --c-result-fg: #166534;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nowrap { white-space: nowrap; }

.link { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--navy); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em; border-radius: 4px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1rem;
  transition: background .15s, border-color .15s, color .15s;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button-quiet { background: #fff; color: var(--navy); border-color: var(--navy); }
.button-quiet:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.button-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.button-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.button-small { padding: .5em 1em; font-size: .92rem; }
.button-white { background: #fff; color: var(--navy); border-color: #fff; }
.button-white:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo { gap: 12px; }
.logo-mark { display: block; width: 38px; flex-shrink: 0; }
.logo-mark img { width: 38px; height: auto; }
.logo-text {
  display: flex; flex-direction: column; color: #fff; line-height: 1;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase;
}
.logo-text small {
  font-size: .62rem; font-weight: 400; letter-spacing: .2em; color: rgba(255,255,255,.75);
  margin-top: 6px; padding-top: 6px; border-top: 2px solid var(--blue);
}

/* Header: weiß wie auf it-titans-gmbh.com */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.header .logo-text { color: var(--navy); }
.header .logo-text small { color: var(--muted); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 6px; }

/* Sprachumschalter */
.lang { display: flex; align-items: center; gap: 2px; font-size: .85rem; font-weight: 600; }
.lang a, .lang span { padding: 4px 8px; border-radius: 3px; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--navy); background: var(--tint); }
.lang span { color: var(--navy); background: var(--tint); }

/* Hero */
.hero {
  background: var(--navy);
  color: rgba(255,255,255,.82);
  padding: 88px 0 96px;
  border-bottom: 4px solid var(--blue);
}
.hero h1 { color: #fff; text-wrap: balance; }
.hero-text { max-width: 800px; }
.intro { font-size: 1.18rem; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 0; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .link { color: var(--cyan); }
.section-dark .link:hover { color: #fff; }
.lead { font-size: 1.1rem; max-width: 46em; margin-bottom: 2rem; }
.small { font-size: .9rem; color: var(--muted); }

/* Kalender: Umschalter als Reiter */
.switch { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.switch button {
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--muted);
  background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: .7em 1.2em .6em; cursor: pointer;
}
.switch button:first-child { padding-left: 0; }
.switch button:hover { color: var(--navy); }
.switch button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--blue); }
.switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.weekdays, .days { display: grid; grid-template-columns: repeat(5, 1fr); }
.weekdays span { padding: 10px 12px; font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--tint); border-bottom: 1px solid var(--line); }
.day {
  min-height: 112px; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.day:nth-child(5n) { border-right: 0; }
.day:nth-last-child(-n+5) { border-bottom: 0; }
.day-num { font-size: .78rem; color: var(--muted); font-weight: 600; }
.day-num .wd { display: none; }
.events { display: flex; flex-direction: column; gap: 5px; }
.event {
  font-size: .8rem; line-height: 1.35; padding: 5px 7px; border-radius: 3px;
  opacity: 0; animation: show .3s ease forwards;
}
@keyframes show { to { opacity: 1; } }
.event.neutral  { background: var(--c-neutral-bg);  color: var(--c-neutral-fg); }
.event.warn     { background: var(--c-warn-bg);     color: var(--c-warn-fg); }
.event.bad      { background: var(--c-bad-bg);      color: var(--c-bad-fg); }
.event.workshop { background: var(--c-workshop-bg); color: var(--c-workshop-fg); font-weight: 600; }
.event.practice { background: var(--c-practice-bg); color: var(--c-practice-fg); }
.event.coaching { background: var(--c-coaching-bg); color: var(--c-coaching-fg); }
.event.result   { background: var(--c-result-bg);   color: var(--c-result-fg); font-weight: 600; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.legend i.event { animation: none; opacity: 1; padding: 0; }

.outcome { margin-top: 28px; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue); }
.outcome p { margin: 0 0 .4em; font-size: 1.1rem; color: var(--ink); font-weight: 500; max-width: 46em; }
.outcome.bad { border-left-color: #e05252; }
.outcome.good { border-left-color: #22a35a; }
.outcome .link { font-weight: 600; }

/* Preise */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 34px 32px; }
.plan-main { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.8); }
.plan-main h3, .plan-main .price { color: #fff; }
.plan-main .price s, .plan-main .price-note { color: rgba(255,255,255,.6); }
.plan-main .tag { color: var(--cyan); }
.plan h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.tag { font-size: .85rem; font-weight: 600; color: var(--blue-dark); margin-left: 10px; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--ink); margin: .25em 0 0; letter-spacing: -.02em; }
.price s { font-size: 1.15rem; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.price-note { color: var(--muted); margin-bottom: 1.6em; }

.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); margin-bottom: 22px; font-size: .97rem; }
.compare th, .compare td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: .95rem; font-weight: 700; color: var(--ink); background: var(--tint); }
.compare thead th:last-child { color: var(--navy); border-top: 3px solid var(--blue); }
.compare tbody th { font-weight: 500; color: var(--text); width: 36%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.no { color: #a3acb9; }
.compare td strong { color: var(--blue-dark); }

/* Inhalte */
.content-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.topics { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.topics li { padding: 15px 0 15px 18px; border-bottom: 1px solid var(--line); position: relative; }
.topics li::before { content: ""; position: absolute; left: 0; top: 24px; width: 6px; height: 6px; background: var(--blue); }
.topics strong { color: var(--ink); }

/* Team */
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 2.2rem 0 2.6rem; }
.person { display: flex; gap: 24px; align-items: flex-start; }
.person img { width: 112px; height: 112px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.person h3 { margin-bottom: .3em; font-size: 1.25rem; }
.person p { margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 40px 19px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--blue);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--blue-dark); }
.faq details p { margin: 0 0 20px; padding-right: 40px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-direct { margin-top: 1.8rem; }
.contact-direct a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.2rem; }
.contact-direct a:hover { color: var(--blue-dark); }
.form-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 34px; }
.form-box label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.optional { font-weight: 400; color: var(--muted); }
.form-box input, .form-box select, .form-box textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid #c9d2de; border-radius: 4px; padding: 10px 12px; background: #fff;
  transition: border-color .15s;
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
.form-box input.invalid { border-color: #e05252; }
.form-box .button { width: 100%; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: #c0392b; font-size: .92rem; margin-top: 12px; }
.thanks { text-align: center; padding: 40px 10px; }
.thanks h3 { font-size: 1.8rem; }

/* Footer: Aufbau wie auf den anderen IT-Titans-Seiten */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 48px 0 28px; font-size: .95rem; }
.titans {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 48px; align-items: center;
  background: var(--blue); color: #fff; border-radius: var(--radius);
  padding: 40px 44px; margin-bottom: 48px;
}
.titans h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.titans p { margin: 0 0 1.2em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer h3 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: .8em; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid .logo { display: inline-flex; margin-bottom: 1.4rem; }
.footer-grid .logo:hover { text-decoration: none; }
.footer p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding-top: 20px; font-size: .85rem; }

/* Responsive */
@media (max-width: 980px) {
  .content-grid, .contact, .people { grid-template-columns: 1fr; }
  .content-grid, .contact { gap: 28px; }
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .lang { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 60px 0 68px; }
  .section { padding: 60px 0; }
  .pricing, .row { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }

  /* Reiter untereinander, Auswahl mit blauem Balken links */
  .switch { flex-direction: column; border-bottom: 0; border-left: 1px solid var(--line); }
  .switch button, .switch button:first-child {
    text-align: left; padding: .55em 0 .55em 14px; margin: 0 0 0 -1px;
    border-bottom: 0; border-left: 3px solid transparent; font-size: .95rem;
  }
  .switch button[aria-selected="true"] { border-left-color: var(--blue); }

  /* Kalender als Liste */
  .weekdays { display: none; }
  .days { grid-template-columns: 1fr; }
  .day { min-height: 0; flex-direction: row; align-items: flex-start; gap: 12px; border-right: 0; padding: 10px 12px; }
  .day.empty { display: none; }
  .day-num { width: 52px; flex-shrink: 0; padding-top: 5px; }
  .day-num .wd { display: inline; }
  .day .events { flex: 1; }
  .day:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }

  .compare { font-size: .88rem; }
  .compare th, .compare td { padding: 10px; }
  .compare tbody th { width: 34%; }
  .person img { width: 84px; height: 84px; }
  .form-box { padding: 24px 18px; }
  .header .button-small { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .titans { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .event { animation: none; opacity: 1; }
  .button { transition: none; }
}
