* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f5f5f7;
  --bg-white: #ffffff;
  --bg-dark: #1d1d1f;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-on-dark: #f5f5f7;
  --text-muted-dark: rgba(245,245,247,0.55);
  --accent: #0066cc;
  --accent-hover: #0077ed;
  --border: rgba(0,0,0,0.08);
  --border-dark: rgba(255,255,255,0.09);
  --tile-gap: 20px;
  --tile-radius: 18px;
  --page-width: 980px;
  --page-pad: 22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.page-wrap {
  max-width: calc(var(--page-width) + var(--page-pad) * 2);
  margin: 0 auto;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 48px;
  display: flex; align-items: center;
  background: rgba(245,245,247,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--page-pad);
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 17px; font-weight: 400; color: var(--text-primary); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 12px; color: var(--text-primary); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta { font-size: 12px; color: var(--accent); text-decoration: none; transition: color 0.2s; }
.nav-cta:hover { color: var(--accent-hover); }

/* HAMBURGER (nur mobil sichtbar) */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px; height: 34px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px; width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* LANGUAGE SWITCH */
.lang-switch {
  display: flex; align-items: center; gap: 0;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 980px;
  overflow: hidden;
  height: 24px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 0 9px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}
.lang-btn:not(.active):hover {
  background: rgba(0,0,0,0.04);
  color: var(--text-primary);
}

/* GRID */
.tiles {
  padding: 20px var(--page-pad) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tile-gap);
}

.tile {
  border-radius: var(--tile-radius);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  text-align: center;
  padding: 56px 44px 44px;
  background: var(--bg-white);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tile:hover { transform: scale(1.004); box-shadow: 0 8px 40px rgba(0,0,0,0.07); }
.tile-full { grid-column: 1 / -1; }
.tile-dark { background: var(--bg-dark); }
.tile-offwhite { background: #fbfbfd; }

/* TYPOGRAPHY */
.tile-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; color: var(--accent); }
.tile-title { font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--text-primary); margin-bottom: 14px; }
.tile-dark .tile-title { color: var(--text-on-dark); }
.tile-sub { font-size: 17px; font-weight: 300; line-height: 1.6; color: var(--text-secondary); margin-bottom: 28px; }
.tile-dark .tile-sub { color: var(--text-muted-dark); }

/* BUTTONS */
.tile-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.btn-blue { font-size: 14px; font-weight: 400; padding: 9px 20px; border-radius: 980px; background: var(--accent); color: #fff; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-blue:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost-blue { font-size: 14px; font-weight: 400; padding: 8px 19px; border-radius: 980px; background: transparent; color: var(--accent); text-decoration: none; border: 1px solid var(--accent); cursor: pointer; display: inline-block; transition: background 0.2s, color 0.2s, transform 0.15s; }
.btn-ghost-blue:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-ghost-dark { font-size: 14px; font-weight: 400; padding: 8px 19px; border-radius: 980px; background: transparent; color: var(--text-on-dark); text-decoration: none; border: 1px solid rgba(245,245,247,0.3); cursor: pointer; display: inline-block; transition: border-color 0.2s, transform 0.15s; }
.btn-ghost-dark:hover { border-color: rgba(245,245,247,0.65); transform: translateY(-1px); }

/* ARCH VISUAL */
.visual-arch { width: 100%; height: 180px; position: relative; margin-top: 32px; }
.arch-node { position: absolute; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 7px 13px; font-size: 11px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; animation: afloat 3s ease infinite; }
.arch-node.accent { color: var(--accent); border-color: rgba(0,102,204,0.22); background: rgba(0,102,204,0.06); }
.an1 { left: 4%; top: 18%; animation-delay: 0s; }
.an2 { left: 28%; top: 4%; animation-delay: 0.4s; }
.an3 { right: 26%; top: 18%; animation-delay: 0.8s; }
.an4 { right: 4%; top: 38%; animation-delay: 1.2s; }
.an5 { left: 16%; top: 58%; animation-delay: 0.6s; }
.an6 { right: 18%; top: 62%; animation-delay: 1.0s; }
.an7 { left: 44%; top: 40%; animation-delay: 0.3s; }
@keyframes afloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* PROBLEM QUOTES */
.problem-quotes { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 28px; max-width: 640px; }
.pq { padding: 12px 16px; background: rgba(255,255,255,0.07); border-radius: 10px; font-size: 13px; color: rgba(245,245,247,0.72); text-align: left; line-height: 1.5; transition: background 0.2s, transform 0.2s; }
.pq:hover { background: rgba(255,255,255,0.13); transform: translateX(4px); }

/* PRODUKTE / SERVICES */
.service-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; width: 100%; margin-top: 40px; border-top: 1px solid var(--border); }
.service-item { padding: 26px 22px; border-right: 1px solid var(--border); text-align: left; transition: background 0.25s ease; position: relative; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 0; }
.service-item::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.4s ease; }
.service-item:hover { background: #f0f5fc; }
.service-item:hover::after { width: 100%; }
.service-item:hover h4 { color: var(--accent); }
.service-item:last-child, .service-item:nth-child(3) { border-right: none; }
.service-item h4 { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 7px; letter-spacing: -0.01em; transition: color 0.25s ease; }
.service-item p { font-size: 12px; font-weight: 300; line-height: 1.6; color: var(--text-secondary); flex: 1; }
.service-item .service-cta { margin-top: 16px; }
.service-item .service-cta span { font-size: 12px; color: var(--accent); font-weight: 400; display: inline-flex; align-items: center; gap: 3px; transition: color 0.2s, gap 0.2s; }
.service-item:hover .service-cta span { color: var(--accent-hover); gap: 6px; }
.product-badge { font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: rgba(0,102,204,0.08); border-radius: 4px; padding: 3px 7px; display: inline-block; margin-bottom: 10px; align-self: flex-start; }
.product-hook { font-size: 12px; font-style: italic; font-weight: 400; color: var(--text-primary); line-height: 1.55; margin-bottom: 6px; }
.product-answer { font-size: 12px; font-weight: 500; color: var(--accent); line-height: 1.55; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border-dark); width: 100%; margin-top: 44px; }
.stat-item { padding: 26px 18px; border-right: 1px solid var(--border-dark); text-align: center; transition: background 0.25s; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--text-on-dark); margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--text-muted-dark); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; width: 100%; margin-top: 44px; text-align: left; }
.about-bio p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--text-secondary); margin-bottom: 15px; }
.about-bio strong { color: var(--text-primary); font-weight: 500; }
.timeline-entry { padding: 14px 0; border-bottom: 1px solid var(--border); transition: transform 0.2s ease; }
.timeline-entry:hover { transform: translateX(4px); }
.timeline-entry:last-child { border-bottom: none; }
.tl-year { font-size: 10px; font-weight: 500; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 3px; text-transform: uppercase; }
.tl-title { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 3px; }
.tl-desc { font-size: 12px; font-weight: 300; line-height: 1.55; color: var(--text-secondary); }

/* BOOKS */
.books-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; width: 100%; margin-top: 40px; border-top: 1px solid var(--border); }
.book-item { padding: 28px 20px; border-right: 1px solid var(--border); text-align: left; display: flex; flex-direction: column; gap: 8px; transition: background 0.25s ease; position: relative; overflow: hidden; }
.book-item::after { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--accent); transition: height 0.4s ease; }
.book-item:hover { background: #f0f5fc; }
.book-item:hover::after { height: 100%; }
.book-item:hover .book-title { color: var(--accent); }
.book-item:last-child { border-right: none; }
.book-badge { font-size: 9px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); background: rgba(0,102,204,0.08); border-radius: 4px; padding: 3px 7px; align-self: flex-start; }
.book-title { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.35; transition: color 0.25s ease; }
.book-desc { font-size: 11px; font-weight: 300; line-height: 1.6; color: var(--text-secondary); flex: 1; }
.book-link { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 400; display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; transition: color 0.2s, gap 0.2s; }
.book-link:hover { color: var(--accent-hover); gap: 6px; }

/* QUOTE */
.big-quote { font-size: clamp(18px, 2.6vw, 28px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.4; color: var(--text-primary); max-width: 680px; font-style: italic; }
.quote-attr { font-size: 13px; color: var(--text-secondary); margin-top: 20px; }

/* CHAT */
.chat-wrap { width: 100%; max-width: 620px; margin-top: 28px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.chat-bar { background: rgba(0,0,0,0.04); padding: 11px 16px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--border); }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; animation: cblink 2s ease infinite; }
@keyframes cblink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.chat-label { font-size: 12px; color: var(--text-secondary); }
.chat-counter { font-size: 11px; color: var(--text-secondary); margin-left: auto; opacity: 0.7; }
.chat-msgs { padding: 18px 16px; min-height: 200px; max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; background: var(--bg-white); }
.msg { max-width: 76%; padding: 9px 13px; font-size: 13px; line-height: 1.5; border-radius: 14px; }
.msg-bot { background: var(--bg); color: var(--text-primary); align-self: flex-start; border-radius: 4px 14px 14px 14px; }
.msg-user { background: var(--accent); color: #fff; align-self: flex-end; border-radius: 14px 14px 4px 14px; }
.msg-fazit { max-width: 90%; background: #f0f5fc; color: var(--text-primary); align-self: flex-start; border-radius: 4px 14px 14px 14px; border-left: 3px solid var(--accent); }
.msg-hint { font-size: 11px; color: var(--text-secondary); background: transparent; padding: 2px 0; align-self: flex-start; }
.typing-bbl { background: var(--bg); align-self: flex-start; padding: 9px 13px; border-radius: 4px 14px 14px 14px; display: none; }
.tdots { display: flex; gap: 3px; align-items: center; }
.tdots span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-secondary); animation: tdot 1.2s ease infinite; }
.tdots span:nth-child(2) { animation-delay: 0.15s; }
.tdots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%,60%,100% { transform:translateY(0); } 30% { transform:translateY(-4px); } }
.chat-chips { padding: 9px 16px; display: flex; flex-wrap: wrap; gap: 5px; background: var(--bg-white); border-top: 1px solid var(--border); }
.chip { font-size: 11px; padding: 5px 11px; border-radius: 980px; background: transparent; border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; font-family: inherit; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,102,204,0.05); }
.chat-bottom { display: flex; border-top: 1px solid var(--border); background: var(--bg-white); }
.chat-input { flex: 1; border: none; outline: none; padding: 12px 14px; font-size: 13px; font-family: inherit; color: var(--text-primary); background: transparent; resize: none; }
.chat-input::placeholder { color: var(--text-secondary); }
.chat-input:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send-btn { border: none; background: transparent; cursor: pointer; padding: 0 15px; color: var(--accent); font-size: 13px; font-weight: 500; font-family: inherit; border-left: 1px solid var(--border); transition: color 0.2s, background 0.2s; }
.chat-send-btn:hover { color: var(--accent-hover); background: rgba(0,102,204,0.04); }
.chat-send-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.chat-calendar-btn { display: block; margin: 10px 16px 14px; padding: 10px 20px; background: var(--accent); color: #fff; text-align: center; border-radius: 980px; font-size: 13px; font-weight: 400; text-decoration: none; transition: background 0.2s; }
.chat-calendar-btn:hover { background: var(--accent-hover); }

/* CONTACT FORM */
.contact-form { width: 100%; max-width: 680px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0.03em; }
.form-input { border: 1px solid var(--border); background: var(--bg); padding: 11px 14px; font-size: 14px; font-weight: 300; font-family: inherit; color: var(--text-primary); border-radius: 8px; outline: none; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; width: 100%; }
.form-input:focus { border-color: var(--accent); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(0,102,204,0.1); }
.form-input::placeholder { color: var(--text-secondary); opacity: 0.6; }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-success { display: none; padding: 16px 20px; border-radius: 10px; background: rgba(52,199,89,0.1); border: 1px solid rgba(52,199,89,0.3); color: #1a7a35; font-size: 14px; font-weight: 400; margin-top: 16px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 20px var(--page-pad); max-width: calc(var(--page-width) + var(--page-pad) * 2); margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-inner span { font-size: 12px; color: var(--text-secondary); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 12px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.1s; } .rd2 { transition-delay: 0.2s; } .rd3 { transition-delay: 0.3s; }

/* HERO GUIDE LINE */
.hero-guide { font-size: 15px; font-weight: 300; color: var(--text-secondary); max-width: 520px; margin: 0 auto 28px; line-height: 1.65; }
.hero-guide strong { color: var(--text-primary); font-weight: 500; }

/* RESPONSIVE */
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; padding: 12px var(--page-pad) 32px; gap: 12px; }
  .tile-full { grid-column: 1; }
  .tile { padding: 40px 22px 36px; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--border); }
  .service-item:last-child { border-bottom: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .book-item:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }

  /* Mobiles Menü: Hamburger an, Text-CTA aus, Links als Klappmenü */
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 48px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(245,245,247,0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 4px var(--page-pad) 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 2px; font-size: 15px; opacity: 1; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child a { border-bottom: none; }
}

/* aus frueheren Inline-Stilen */
.s1 { font-size: clamp(38px, 6vw, 68px); max-width: 720px; margin: 0 auto 16px; }
.s2 { font-size: 19px; max-width: 560px; margin: 0 auto 16px; }
.s3 { color: rgba(245,245,247,0.4); }
.s4 { font-size: clamp(26px, 4vw, 46px); max-width: 640px; margin: 0 auto 14px; }
.s5 { font-size: 16px; max-width: 560px; margin: 0 auto; }
.s6 { max-width: 560px; margin: 0 auto 24px; }
.s7 { margin-bottom: 12px; }
.s8 { color: rgba(245,245,247,0.35); }
.s9 { font-size: clamp(26px, 3.5vw, 42px); max-width: 540px; margin: 0 auto 10px; }
.s10 { font-size: 15px; max-width: 400px; margin: 0 auto; }
.s11 { align-items:flex-start; text-align:left; }
.s12 { width:100%; text-align:center; margin-bottom: 4px; }
.s13 { font-size: clamp(26px, 4vw, 50px); }
.s14 { justify-content:flex-start; margin-top: 24px; }
.s15 { border-bottom:none; }
.s16 { max-width: 480px; margin: 0 auto; }
.s17 { justify-content: center; }
.s18 { color: rgba(245,245,247,0.38); }
.s19 { font-size: 24px; max-width: 300px; margin: 0 auto 10px; }
.s20 { font-size: 14px; max-width: 300px; margin: 0 auto; }
.s21 { min-height: 340px; }
.s22 { font-size: clamp(30px, 5vw, 54px); max-width: 560px; margin: 0 auto 16px; }
.s23 { max-width: 420px; margin: 0 auto 28px; }
.s24 { font-size: clamp(24px, 3.5vw, 40px); max-width: 500px; margin: 0 auto 12px; }
.s25 { max-width: 440px; margin: 0 auto 36px; }
.s26 { margin-top: 14px; }
.s27 { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.s28 { border-radius: 980px; cursor: pointer; }
.s29 { font-size: 18px; }
.s30 { position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden; }